xterm.log.html revision 2eaa94a1
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<!--
3 *****************************************************************************
4 * Copyright 1996-2007,2008 by Thomas E. Dickey                              *
5 * All Rights Reserved.                                                      *
6 *                                                                           *
7 * Permission to use, copy, modify, and distribute this software and its     *
8 * documentation for any purpose and without fee is hereby granted, provided *
9 * that the above copyright notice appear in all copies and that both that   *
10 * copyright notice and this permission notice appear in supporting          *
11 * documentation, and that the name of the above listed copyright holder(s)  *
12 * not be used in advertising or publicity pertaining to distribution of the *
13 * software without specific, written prior permission.                      *
14 *                                                                           *
15 * THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD  *
16 * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND *
17 * FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE *
18 * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES         *
19 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN     *
20 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   *
21 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.            *
22 *****************************************************************************
23  $XTermId: xterm.log.html,v 1.703 2008/12/30 19:09:49 tom Exp $
24  -->
25<HTML>
26<HEAD>
27<TITLE>XTERM - Change Log</TITLE>
28<LINK REV=MADE HREF="mailto:dickey@invisible-island.net">
29<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
30</HEAD>
31<BODY>
32<HR>
33Copyright &copy; 1997-2007,2008 by <A
34HREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A>
35<HR>
36<H1>Contents</H1>
37This file contains a list of the changes that I have made for xterm,
38from the notes that I add when submitting a patch.
39<P>
40You should note that other changes have been made as well, by other people,
41to fix bugs and correct ifdef's for portability.
42Most of these are summarized in the XFree86 CHANGELOG
43(found in the unbundled tree, xc/programs/Xserver/hw/xfree86).
44<a href="http://invisible-island.net/xterm/xterm.log.html">Here</a>
45is the latest version of this file.
46
47<UL>
48<LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A>
49<LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A>
50<LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A>
51<LI><A HREF="#xterm_235">Patch #235 - 2008/04/20</A>
52<LI><A HREF="#xterm_234">Patch #234 - 2008/03/02</A>
53<LI><A HREF="#xterm_233">Patch #233 - 2008/02/24</A>
54<LI><A HREF="#xterm_232">Patch #232 - 2008/01/30</A>
55<LI><A HREF="#xterm_231">Patch #231 - 2008/01/05</A>
56<LI><A HREF="#xterm_230">Patch #230 - 2007/12/31</A>
57<LI><A HREF="#xterm_229">Patch #229 - 2007/8/12</A>
58<LI><A HREF="#xterm_228">Patch #228 - 2007/7/22</A>
59<LI><A HREF="#xterm_227">Patch #227 - 2007/6/27</A>
60<LI><A HREF="#xterm_226">Patch #226 - 2007/6/17</A>
61<LI><A HREF="#xterm_225">Patch #225 - 2007/3/24</A>
62<LI><A HREF="#xterm_224">Patch #224 - 2007/2/11</A>
63<LI><A HREF="#xterm_223">Patch #223 - 2006/11/30</A>
64<LI><A HREF="#xterm_222">Patch #222 - 2006/10/17</A>
65<LI><A HREF="#xterm_221">Patch #221 - 2006/10/1</A>
66<LI><A HREF="#xterm_220">Patch #220 - 2006/9/10</A>
67<LI><A HREF="#xterm_219">Patch #219 - 2006/9/4</A>
68<LI><A HREF="#xterm_218">Patch #218 - 2006/8/27</A>
69<LI><A HREF="#xterm_217">Patch #217 - 2006/8/20</A>
70<LI><A HREF="#xterm_216">Patch #216 - 2006/8/3</A>
71<LI><A HREF="#xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A>
72<LI><A HREF="#xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A>
73<LI><A HREF="#xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A>
74<LI><A HREF="#xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A>
75<LI><A HREF="#xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A>
76<LI><A HREF="#xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A>
77<LI><A HREF="#xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A>
78<LI><A HREF="#xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A>
79<LI><A HREF="#xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A>
80<LI><A HREF="#xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A>
81<LI><A HREF="#xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A>
82<LI><A HREF="#xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A>
83<LI><A HREF="#xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A>
84<LI><A HREF="#xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A>
85<LI><A HREF="#xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A>
86<LI><A HREF="#xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A>
87<LI><A HREF="#xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A>
88<LI><A HREF="#xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A>
89<LI><A HREF="#xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A>
90<LI><A HREF="#xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A>
91<LI><A HREF="#xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A>
92<LI><A HREF="#xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A>
93<LI><A HREF="#xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A>
94<LI><A HREF="#xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A>
95<LI><A HREF="#xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A>
96<LI><A HREF="#xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A>
97<LI><A HREF="#xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A>
98<LI><A HREF="#xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A>
99<LI><A HREF="#xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A>
100<LI><A HREF="#xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A>
101<LI><A HREF="#xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A>
102<LI><A HREF="#xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A>
103<LI><A HREF="#xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A>
104<LI><A HREF="#xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A>
105<LI><A HREF="#xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A>
106<LI><A HREF="#xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A>
107<LI><A HREF="#xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A>
108<LI><A HREF="#xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A>
109<LI><A HREF="#xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A>
110<LI><A HREF="#xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A>
111<LI><A HREF="#xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A>
112<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A>
113<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A>
114<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A>
115<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A>
116<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A>
117<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A>
118<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A>
119<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A>
120<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A>
121<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A>
122<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A>
123<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A>
124<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A>
125<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A>
126<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A>
127<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A>
128<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A>
129<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A>
130<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A>
131<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A>
132<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A>
133<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A>
134<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A>
135<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A>
136<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A>
137<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A>
138<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A>
139<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A>
140<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A>
141<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A>
142<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A>
143<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A>
144<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A>
145<LI><A HREF="#xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A>
146<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A>
147<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A>
148<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A>
149<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A>
150<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A>
151<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A>
152<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A>
153<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A>
154<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A>
155<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A>
156<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A>
157<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A>
158<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A>
159<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A>
160<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A>
161<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A>
162<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A>
163<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A>
164<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A>
165<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A>
166<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A>
167<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A>
168<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A>
169<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A>
170<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A>
171<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A>
172<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A>
173<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A>
174<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A>
175<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A>
176<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A>
177<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A>
178<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A>
179<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A>
180<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A>
181<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A>
182<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A>
183<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A>
184<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A>
185<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A>
186<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A>
187<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A>
188<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A>
189<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A>
190<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A>
191<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A>
192<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A>
193<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A>
194<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A>
195<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A>
196<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A>
197<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A>
198<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A>
199<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A>
200<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A>
201<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A>
202<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A>
203<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A>
204<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A>
205<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A>
206<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A>
207<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A>
208<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A>
209<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A>
210<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A>
211<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A>
212<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A>
213<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A>
214<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A>
215<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A>
216<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A>
217<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A>
218<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A>
219<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A>
220<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A>
221<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A>
222<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A>
223<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A>
224<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A>
225<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A>
226<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A>
227<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A>
228<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A>
229<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A>
230<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A>
231<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A>
232<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A>
233<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A>
234<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A>
235<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A>
236<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A>
237<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A>
238<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A>
239<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A>
240<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A>
241<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A>
242<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A>
243<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A>
244<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A>
245<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A>
246<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A>
247<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A>
248<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A>
249<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A>
250<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A>
251<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A>
252<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A>
253<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A>
254<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A>
255<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A>
256<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A>
257<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A>
258<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A>
259<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A>
260<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A>
261<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A>
262<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A>
263<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A>
264<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A>
265<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A>
266<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A>
267<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A>
268<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A>
269<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A>
270<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A>
271<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A>
272<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A>
273<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A>
274<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A>
275<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A>
276<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A>
277<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A>
278<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A>
279<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A>
280<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A>
281<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A>
282<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A>
283<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A>
284<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A>
285<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A>
286<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A>
287</UL>
288
289<H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1>
290<ul>
291	<li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint
292	    platforms.
293
294	<li>reset the screen wrapping-flag at the end of
295	    <code>ClearRight</code> to fix an occasional case where the last
296	    character of a scrolled and wrapped line would be cleared (patch by
297	    Joe Peterson).
298
299	<li>modify to use POSIX coding for comparing resource settings such
300	    as <code>locale</code>, to work with locales such as Turkish
301	    (report by M Vefa Bicakci).
302
303	<li>turn on configure <code>paste64</code> feature by default
304	    (request by Jean-Philippe Bernardy).
305	    It is runtime enabled/disabled with <code>allowWindowOps</code>.
306
307	<li>turn on configure <code>tcap-query</code> feature by default,
308	    add resource <code>allowTcapOps</code>
309	    to make this runtime enabled/disabled.
310
311	<li>make <code>OSC 3</code> (change X property, from
312	    <a href="#xterm_110">patch #110</a>)
313	    subject to <code>allowWindowOps</code> resource.
314
315	<li>make VT220 <code>DSR</code> responses inactive in VT100-mode.
316
317	<li>make <code>DECUDK</code> feature inactive in VT100-mode.
318
319	<li>respond to incorrectly formatted <code>DECRQSS</code> with a
320	    cancel.
321
322	<li>add <code>allowFontOps</code> 
323	    resource to allow the fontsize-switching and font query/set
324	    control sequences to be enabled/disabled
325	    (prompted by Debian #510030).
326
327	<li>some code cleanup based on gcc 4.x <code>-Wconversion</code>
328	    warnings in button.c and charproc.c
329
330	<li>modify <code>tcap-query</code> feature to not return data for
331	    shifted cursor-keys when the keyboard type is set to vt220,
332	    since returning the same string for shifted/unshifted keys may
333	    confuse some applications (GenToo #212546).
334</ul>
335
336<H1><A NAME="xterm_237">Patch #237 - 2008/09/14</A></H1>
337<ul>
338	<li>improve usability of TrueType fonts by making the font-size
339	    switching for shifted keypad plus/minus use the
340	    <code>faceSize</code> resources to determine the order of fonts
341	    (when TrueType fonts are used) rather than the bitmap fonts, since
342	    their sizes may not be in the same order (report by H Merijn
343	    Brand)
344
345	<li>remove an optimization of <code>ConfigureNotify</code> events
346	    from <a href="#xterm_236">patch #236</a>
347	    which seems to interfere with passing <code>SIGWINCH</code> to 
348	    applications (GenToo #233836).
349
350	<li>modify handling of <code>altSendsEscape</code> to reset the
351	    <code>eightBitInput</code> mode, like <code>metaSendsEscape</code> 
352	    (patch by Ted Phelps).
353
354	<li>add feature to show the text-cursor as an underline rather than a
355	    box, plus command-line options <code>-uc</code> and
356	    <code>+uc</code> and resource <code>cursorUnderLine</code> to
357	    control the feature (patch by Paul Lampert).
358
359	<li>update config.guess, config.sub
360</ul>
361<H1><A NAME="xterm_236">Patch #236 - 2008/07/27</A></H1>
362<ul>
363	<li>correct memory reallocation when handling a paste of UTF-8 text
364	    from <a href="#xterm_225">patch #225</a> changes
365	    (report/patch by Max Mikhanosha).
366
367	<li>correct allocation of temporary buffer in
368	    <code>xtermFindShell</code> in case the user's <code>$PATH</code>
369	    contains no ":" (report/analysis by Victor Stinner,
370	    Freedesktop.Org Bugzilla #16790).
371
372	<li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix
373	    new compile problem exposed by fix for fd_mask (patch by
374	    Hasso Tepper).
375
376	<li>add configure-check for ncurses <code>use_extended_names</code>,
377	    (report by Martin Mokrejs).
378
379	<li>correct computation for toolbar height; layout manager already
380	    takes into account <code>borderWidth</code> resource.
381
382	<li>implement VT320-style SCS (select character set) for ISO Latin-1
383	    supplemental.
384
385	<li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919).
386
387	<li>fix to make <code>luit</code> work with xterm's <code>-ls</code>
388	    option (report/patch by Marius Tolzmann).
389
390	<li>update config.guess, config.sub
391</ul>
392
393<H1><A NAME="xterm_235">Patch #235 - 2008/04/20</A></H1>
394<ul>
395	<li>add control sequences for some of the recent resource/menu
396	    settings:
397	    <ul>
398	    <li><code>altSendsEscape</code> (private mode 1039)
399	    <li><code>keepSelection</code> (private mode 1040)
400	    <li><code>selectToClipboard</code> (private mode 1041)
401	    <li><code>bellIsUrgent</code> (private mode 1042)
402	    <li><code>popOnBell</code> (private mode 1043)
403	    </ul>
404
405	<li>add resource <code>formatOtherKeys</code> to provide an alternate
406	    escape sequence format for the <code>modifyOtherKeys</code> 
407	    resource (request by Paul LeoNerd Evans).
408
409	<li>adjust saved-cursor position if the window is resized while
410	    displaying the alternate screen (Novell #196880, Debian #383384).
411
412	<li>improve pointer-checks to fix a bug exposed by resizing during
413	    initialization under StumpWM window manager
414	    (Fedora Bugzilla #437928).
415
416	<li>modify <code>unselectwindow()</code> to ensure that the mouse
417	    pointer is not hidden after xterm loses focus (report by Jeremy
418	    Huddleston).
419
420	<li>add special check for fd_mask on Mac OS X (report by Jeremy
421	    Huddleston).
422
423	<li>add <code>dylib</code> to autoconf's suffix list used for checking
424	    the result from <code>xmkmf</code>, to work with Mac OS X (report
425	    by Jeremy Huddleston).
426
427	<li>correct initialization of bold- and wide-, wide-bold fonts which
428	    may be set via the <code>utf8Fonts</code> subresource (Debian
429	    #347790).
430</ul>
431
432<H1><A NAME="xterm_234">Patch #234 - 2008/03/02</A></H1>
433<ul>
434	<li>modify <code>sinstall.sh</code> to use POSIX locale to 
435	    bypass GNU ls changes to date-format.
436
437	<li>improved/refined changes for closing bitmap font (patch by
438	    Andrea Odetti).
439
440	<li>improve resize computation for situations where the negotiation
441	    fails, by invoking the xterm widget's core-class resize method
442	    (Debian #365602, patch by Jim Paris).
443
444	<li>restore initialization of terminal's <code>VMIN</code> and
445	    <code>VTIME</code> settings,
446	    from <a href="#xterm_232">patch #232</a> changes
447	    (patch by Matthieu Herrb).
448</ul>
449
450<H1><A NAME="xterm_233">Patch #233 - 2008/02/24</A></H1>
451<ul>
452	<li>add configure check for <code>ttydefaults.h</code>, include if
453	    needed, e.g., for systems where defining
454	    <code>_POSIX_C_SOURCE</code>, etc.,
455	    prevents it from being included via
456	    <code>termios.h</code> (prompted by comments by Robert Delius Royar
457	    and Jeremy Huddleston).
458
459	<li>patches from Alan Coopersmith.  These correspond
460	    to bug-ids on bugs.opensolaris.org 
461	    <dl>
462	    <dt>4029911
463	    <dd>fix a typo in manpage
464	    <dt>4045962
465	    <dd>xterm doesn't properly set ut_syslen
466	    <dt>4192572
467	    <dd>left-left-right misinterpreted as triple click
468	    </dl>
469
470	<li>minor optimization to tab-initialization (patch by
471	    N�meth M�rton).
472
473	<li>fix a case where an incorrect font was freed during initialization
474	    from <a href="#xterm_232">patch #232</a> changes (patch by
475	    Andrea Odetti).
476
477	<li>improve comparison used in <code>SameFont</code> function for
478	    GC-caching (Julien Cristau).
479
480	<li>correct macro name used for default <code>CKILL</code> definition
481	    to work with Mac OS X (report by Jeremy Huddleston).
482</ul>
483
484<H1><A NAME="xterm_232">Patch #232 - 2008/01/30</A></H1>
485<ul>
486	<li>corrected logic in a font-cache used for reverse-video (Debian
487	    #404079).
488
489	<li>add control sequence to alter <code>pointerMode</code> at runtime.
490
491	<li>add limit-checks for rectangle operation parameters (report by
492	    Martin Pirker).
493
494	<li>modify <code>minstall.sh</code> to suppress <code>$MANPAGER</code>
495	    and <code>$PAGER</code> environment variables, which may interfere
496	    with redirecting output of <code>man</code> to a shell variable
497	    (report/patch by Zdenek Sekera).
498
499	<li>do not try to hide mouse pointer in the tek4014 window, fixes
500	    broken "-t" option at startup from
501	    <a href="#xterm_230">patch #230</a> changes
502	    (report by Robert K. Nelson).
503
504	<li>correct datatype used when drawing tek4014 data using xterm
505	    compiled for wide-characters, on big-endian machines (reports
506	    by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle
507	    Reinhart).
508
509	<li>modify to cache the font-names along with the bitmap font data,
510	    to improve comparison of fonts.
511
512	<li>modify to allow building with configure options
513	    <code>--disable-ansi-color</code> and
514	    <code>--disable-leaks</code> (Debian #459817, report/patch by N�meth M�rton).
515
516	<li>modify to allow building with configure options
517	    <code>--enable-wide-chars</code> and
518	    <code>--disable-c1-print</code> (Debian #459816, report/patch by N�meth M�rton).
519
520	<li>add <code>pointerMode</code> resource to control whether and
521	    when the pointer cursor is hidden as the user types.
522
523	<li>simplify initialization of ttyMode- and related characters using
524	    a table.
525
526	<li>modify initialization-logic for stty values that correspond to
527	    ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt
528	    flush, werase, lnext).  These were reset to constants for both
529	    termios and legacy interfaces immediately after asking the system
530	    for the existing values since X11R6.1, rather than using them to
531	    provide inherited values.  While the legacy interface has some
532	    constraints, e.g., on HPUX, the POSIX or termios interface should
533	    not.  Your shell may reset these anyway
534	    (prompted by patch by Ed Schouten).
535
536	<li>improve logic for hiding/displaying pointer-cursor (report by
537	    Mark Brukhartz).
538
539	<li>add limit-checks to tabs.c, increase maximum column for setting
540	    tab-stops from 320 to 1024 (report by N�meth M�rton).
541
542	<li>correct length, i.e., number of types of selection targets,
543	    computed by <code>ConvertSelection()</code> when not handling
544	    wide characters for the <code>XA_TARGETS()</code> case.
545	    This leaves an extra Atom on the end of the list which is
546	    not handled by
547	    <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java applications</a>.
548	    The problem was introduced in <a href="#xterm_151">patch #151</a>
549	    (report by David Wood).
550</ul>
551
552<H1><A NAME="xterm_231">Patch #231 - 2008/01/05</A></H1>
553<ul>
554	<li>undo change to <code>getXtermCell()</code> from patch #230
555	    using <code>PACK_PAIR</code> macro (Debian #459014, analysis by
556	    Caetano Jimenez Carezzato).
557
558	<li>minor documentation fixes (patch by Slava Semushin)
559
560	<li>add makefile actions to install KOI8RXTerm app-defaults file
561	    (patch by Julien Cristau).
562</ul>
563
564<H1><A NAME="xterm_230">Patch #230 - 2007/12/31</A></H1>
565<ul>
566	<li>add <code>quietGrab</code> resource, which when true, suppresses
567	    cursor repainting when <code>NotifyGrab</code> and
568	    <code>NotifyUngrab</code> event types are received during
569	    change of focus (request by Nicolas George).
570
571	<li>do not treat Unicode BIDI control characters as combining
572	    characters (Debian #457634).
573
574	<li>add <code>koi8rxterm</code>, from Debian.
575
576	<li>add manpage for <code>uxterm</code>, from Debian (Ubuntu #128136,
577	    Debian #438645)
578
579	<li>remove ".xpm" suffixes from Icon filenames in desktop files since
580	    it confuses some lookups following the
581	    <a href="http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">Icon Theme Specification</a>
582	    (report by Slava Semushin)
583
584	<li>correct width-calculation used for adjusting proportional fonts,
585	    to work with wide-characters (Debian #441354).
586
587	<li>fixes/improvements for double-size characters:
588	    <ul>
589	    <li>correct old clipping calculation which used total height of
590		glyphs where ascent was needed.
591
592	    <li>if bold font is unavailable, fall back to normal font
593
594	    <li>adjust to "work" with Xft (which does not support double-width
595		single-height characters). 
596
597	    <li>restore reset of doublesize for a line when it is cleared,
598	        broken in <a href="#xterm-228">patch #228</a>.
599	    </ul>
600
601	<li>modify logic for <code>forceBoxChars</code> resource when using
602	    TrueType fonts to be consistent with bitmap fonts
603
604	<li>modify logic for <code>forceBoxChars</code> resource to make the
605	    "Line-Drawing Characters" menu entry use xterm's line-drawing
606	    characters even asked to draw wide line-drawing characters which
607	    are available in the font.
608
609	<li>modify rectangle-support functions to preserve colors when
610	    filling/erasing (request by Enzo Toscano, to match WRQ Reflection
611	    behavior).
612
613	<li>add getopt-parsing to tcapquery.pl, including feature to test the
614	    extended cursor/editing keys.
615
616	<li>make missing double-width glyphs display as double-width
617	    (Debian #456236).
618
619	<li>change <code>tcap-fkeys</code> and <code>rectangles</code>
620	    configure options to enable them by default.
621
622	<li>hide the mouse pointer while user is typing (request by Rodolfo
623	    Borges).
624
625	<li>extend configure options
626	    <code>--enable-tcap-query</code> and
627	    <code>--enable-tcap-fkeys</code> to
628	    send cursor- and editing-keypad keys modified according to the
629	    keyboard (or termcap) selection for shift, alt, control, meta.
630
631	<li>modify <code>kdch1</code> in termcap, e.g., <code>xterm-r6</code>
632	    to match the terminfo file.
633
634	<li>add <code>-hm</code> option to turn <code>highlightColorMode</code>
635	    on or off.
636
637	<li>add <code>highlightColorMode</code> resource to separate the
638	    new (since <a href="#xterm_225">patch #225</a>) highlighting with both text- and
639	    background-colors (prompted by report/example by Thomas Wolff).
640
641	<li>add <em>Keep Selection</em> menu entry to turn the 
642	    <code>keepSelection</code> resource on/off at runtime.
643
644	<li>add <code>keepSelection</code> resource, which when enabled,
645	    tells xterm to retain the X selection even after it stops
646	    highlighting it (patch by Sergey Vlasov).
647
648	<li>extend the <code>CSI&nbsp;&gt;&nbsp;n</code> sequence to allow
649	    disabling all types of modified-keys that the
650	    <code>CSI&nbsp;&gt;&nbsp;m</code> sequence affects.
651
652	<li>move include for <code>&lt;xtermcap.h&gt;</code> in
653	    <code>resize.c</code> to avoid redefinition of <code>termios</code>
654	    structure on OpenSolaris (report by Rahul Gopinathan Nair).
655
656	<li>extend terminfo building blocks for modified editing keys to
657	    include all six keys.
658
659	<li>synchronize terminfo with ncurses (report by Stephane Chazelas):
660	    <ul>
661	    <li>equate <code>xterm-xfree86</code>
662	        and <code>xterm-xf86-v44</code>.
663	    <li>add ncurses extensions OTbs, AX, for termcap conversions.
664	    <li>make old/legacy entries such as
665	        <code>xterm-24</code>, <code>xterm-65</code>
666	        and aliases <code>xterms</code>, <code>vs100</code>
667		inherit from <code>xterm-old</code>.
668	    <li>make <code>xterm-r5</code> and <code>xterm-r6</code> the
669	        same, ignoring historical errors in X Consortium's version.
670	    </ul>
671
672	<li>fix an ifdef in logic for selecting regular
673	    expressions while in a narrow-character locale (Debian #449227).
674</ul>
675
676<H1><A NAME="xterm_229">Patch #229 - 2007/8/12</A></H1>
677<ul>
678	<li>override locale in minstall.sh;
679	    change in <a href="#xterm_226">patch #226</a>
680	    does not work in UTF-8 locale (report by Zdenek Sekera).
681
682	<li>undo an incorrect fix for a memory leak
683	    in <a href="#xterm_209">patch #209</a> (Debian #435858).
684</ul>
685
686<H1><A NAME="xterm_228">Patch #228 - 2007/7/22</A></H1>
687<ul>
688	<li>modify configure script to permit combining
689	    <code>--with-utempter</code>
690	    and <code>--enable-setuid</code>, e.g., for using xterm with 
691	    the utempter library on FreeBSD (report by Andriy Gapon).
692
693	<li>modify "Quit" menu entry to override the <code>-hold</code>
694	    command-line option.
695
696	<li>add a check in the startup error-reporting to avoid writing to
697	    pipe when it has not been opened.  In that case, report errors
698	    directly to the standard error.
699
700	<li>add OPT_READLINE definition to xtermcfg.hin, overlooked in
701	    <a href="#xterm_205">patch #205</a>
702	    (report by Kalle Olavi Niemitalo).
703
704	<li>modify <code>88colors2.pl</code> and <code>256colors2.pl</code>,
705	    adding <code>-r</code>
706	    option to reverse the palettes for the extended colors.
707
708	<li>check for partial overwrite or deletion of multi-column characters
709	    in several cases, e.g., insert-character, delete-character,
710	    etc.,
711	    and fill the remainder of the cells used by the multi-column
712	    characters affected with blanks.
713
714	<li>correct character-class codes in wide-character mode for characters
715	    215, 247 (see also <a href="#xterm_165">patch #165</a>).
716
717	<li>fix missing assignment for UTF-8 parsing in widget initialization
718	    (Debian #403360).
719
720	<li>correct index expression used to set line-wrapping flag, making
721	    selection from scrollback work consistently (Debian #430121,
722	    report by Vincent Lefevre).
723
724	<li>amend changes to handshake in
725	    <a href="#xterm_226">patch #226</a>
726	    to accommodate Solaris, which relies on the extra setting of
727	    the terminal size after I/O initialization.
728	    Do this by adding new resource <code>ptySttySize</code>,
729	    which is false for Linux and MacOS X, i.e., true for
730	    for Solaris and other SVR4 platforms, as well as FreeBSD
731	    (reports by David Wood, Renato Botelho).
732
733	<li>check for X events after cursor-left, and carriage return,
734	    consistent with indexing operations
735	    (comments by Vegard Nossum and Ingo Molnar on a mailing-list).
736
737	<li>initialize the <code>.keyboard</code> structure,
738	    needed for some platforms (such as Solaris) after
739	    <a href="#xterm_227">patch #227</a> fixes for keysyms
740	    (patch by David Wood).
741
742	<li>update config.guess, config.sub
743</ul>
744
745<H1><A NAME="xterm_227">Patch #227 - 2007/6/27</A></H1>
746<ul>
747	<li>exclude the Intel compiler from the extra gcc warning options
748	    added in 
749	    <a href="#xterm_226">patch #226</a>.
750
751	<li>modify change for Debian #422521
752	    from <a href="#xterm_226">patch #226</a>
753	    to work with configurations where the X server does not
754	    recognize
755	    the <code>XF86Paste</code>
756	    or <code>SunPaste</code> keysyms (report by Paolo Pumilia).
757
758	<li>fix incorrect free in fix for "Selection" menu entry in
759	    <a href="#xterm_226">patch #226</a>.
760</ul>
761
762<H1><A NAME="xterm_226">Patch #226 - 2007/6/17</A></H1>
763<ul>
764	<li>add configure check to use <code>-Wno-unknown-pragmas</code> for
765	    Solaris, and a few other new gcc warning options to address
766	    regressions in its warning options.
767
768	<li>add sample desktop and icon files, along with configure options for
769	    manipulating them.
770
771	<li>fix an infinite loop when showing a 2-column character in a
772	    1-column screen (Debian #426863).
773
774	<li>add <code>XF86Paste</code> and <code>SunPaste</code> to the
775	    default translations (Debian #422521, patch by Bernhard R Link).
776
777	<li>update wcwidth.c (partly based on/prompted by mailing list
778	    comment).
779
780	<li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and Xorg
781	    7.1 keysymdef.h file.
782
783	<li>improve <code>gen-pc-fkeys.pl</code>, making it show all of the
784	    building-block terminfo entries used by xterm.
785
786	<li>correct strings used for modifiers applied to F1-F4 in xterm+pcf1
787	    terminfo entry.
788
789	<li>improve session management by adding the ICE connection number
790	    to the <code>select</code> call rather than waking up once per
791	    second (patch by Miroslav Lichvar).
792	    
793	<li>add environment variable <code>$XTERM_LOCALE</code> to help
794	    with shell initialization, e.g., to set a specific locale for
795	    xterm on systems where a global locale is set in the shell
796	    startup scripts.
797
798	<li>add resource settings <code>mkSampleSize</code> and
799	    <code>mkSamplePass</code>
800	    to modify the <code>mkWidth</code> added
801	    in <a href="#xterm_201">patch #201</a>.
802	    In <a href="#xterm_202">patch #202</a>,
803	    xterm would also check if the system's
804	    <code>wcwidth</code> matched its built-in tables
805	    "well enough" to be used when <code>mkWidth</code> was false,
806	    and if not would use the built-in tables anyway.
807	    These resources allow the user to customize the decision
808	    (prompted by comments by Emanuele Giaquinta)
809
810	<li>modify logic which resets/updates the screensize on the child
811	    process side of the pseudo-terminal to do this only if a
812	    successful handshake was received, e.g., as determined by
813	    the <code>waitForMap</code> resource (prompted by reports
814	    by Emanuele Giaquinta and Bernhard R Link, but see also
815	    <a href="#xterm_177">patch #177</a> and
816	    <a href="#xterm_159">patch #159</a>.
817
818	<li>improve permissions logic when closing pseudo-terminal
819	    (Debian #12261,
820	     patch by Nathanael Nerode,
821	     analysis by Richard Braakman).
822
823	<li>add resource <code>highlightReverse</code> which controls whether
824	    xterm will allow selection highlighting to hide reverse-video
825	    or use the older behavior which inverts the foreground and
826	    background colors when selected text with reverse-video attribute
827	    (report by Adam M Costello, comments by Victor Vaile).
828
829	<li>restore a special case for cursor-color in
830	    <code>ReverseVideo()</code>
831	    lost in rewrite for <a href="#xterm_224">patch #224</a>
832	    (report by Adam Sulmicki).
833
834	<li>correct initialization for menu entry for <code>bellIsUrgent</code> 
835	    (patch by Emanuele Giaquinta).
836
837	<li>correct length of underlining for double-width Xft fonts
838	    (report by Shidai Liu "Leo").
839
840	<li>correct clipping for double-width Xft fonts
841	    (report by Shidai Liu "Leo").
842
843	<li>modify initialization for <code>italicULMode</code> to avoid
844	    <code>XftPatternBuild</code> reusing bold attributes
845	    (report by Shidai Liu "Leo").
846
847	<li>add a check in case someone tries to call the
848	    <code>popup-menu()</code> action on a menu which is not initialized
849	    (Debian #426364).
850
851	<li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by Peter
852	    Bray).
853
854	<li>improve guess for X's manpage section in <code>minstall.sh</code>,
855	    (prompted by comment by Miroslav Lichvar).
856
857	<li>modify <code>minstall.sh</code> to handle manpage patch with more
858	    than one dot (patch by Miroslav Lichvar).
859
860	<li>fix configure message for --disable-setgid option (patch by
861	    Miroslav Lichvar).
862
863	<li>add <code>allowTitleOps</code> resource to allow users to prevent
864	    the title- and icon-names from changing (request by John Bashinski).
865
866	<li>fix "spawn-new-terminal" action, for the case where no parameter
867	    is passed to the action (patch by Daniel Colascione).
868
869	<li>fix error-checking on internal font switching for "Selection"
870	    menu entry (Debian #421523).
871
872	<li>amend select/paste change from
873	    <a href="#xterm_225">patch #225</a>
874	    by limiting it to non-UTF-8/non-KOI8-R encoding (Debian #420974).
875
876	<li>add workaround for groff ".URL" codes which are not present in
877	    some commonly-used bitmap fonts (Debian #418324).
878</ul>
879
880<H1><A NAME="xterm_225">Patch #225 - 2007/3/24</A></H1>
881<ul>
882	<li>add <code>useClipping</code> resource to allow clipping to be
883	    disabled.
884
885	<li>use <code>XftDrawSetClipRectangles</code>
886	    to work around Xft pixel-trash (report by Reuben Thomas).
887
888	<li>add configure option <code>--enable-tcap-fkeys</code>, and
889	    resource <code>tcapFunctionKeys</code>, which can be used
890	    to tell xterm to use function-key definitions from the termcap
891	    (or terminfo) which it uses to set $TERM on startup.
892
893	<li>add resources <code>altIsNotMeta</code> and
894	    <code>altSendsEscape</code> to allow one to use Alt-keys like the
895	    meta-key even if they are bound to different keycodes (prompted by
896	    discussion with Daniel Jacobowitz).
897
898	<li>revert a change from <a href="#xterm_216">patch #216</a>
899	    that unnecessarily made the meta modifier override
900	    the <code>eightBitInput</code> resource if the alt- and
901	    meta-modifiers happened to overlap
902	    (report/patch by Daniel Jacobowitz).
903
904	<li>correct associated font for active icon for colored text
905	    (broken in <a href="#xterm_224">patch #224</a>).
906
907	<li>correct ifdef's for Darwin (patch by Emanuele Giaquinta).
908
909	<li>add <code>highlightTextColor</code> resource, and options
910	    <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code>
911	    (adapted from patch by Victor Vaile).
912
913	<li>revise <code>find_closest_color()</code> function to address
914	    concern about borrowing from <code>Tcl/Tk</code>
915	    (request by Dan McNichol).
916
917	<li>add "spawn-new-terminal" action, which can be assigned to key
918	    translation, allowing one to spawn a new copy of xterm using
919	    the current process' working directory (adapted from patch
920	    by Daniel Colascione).
921
922	<li>improve select/paste between UTF-8 and Latin1 xterms by adapting
923	    the translations from <a href="#xterm_185">patch #185</a>.
924	    Extend that to include Unicode fullwidth forms FF00-FF5E.
925	    Also modify select/paste of DEC line-drawing characters in
926	    Latin1 mode to use ASCII characters.
927
928	<li>add "Enable Bell Urgency" to VT Options menu, removed "Enable
929	    Margin Bell".
930
931	<li>add <code>bellIsUrgent</code> resource to control whether the
932	    Urgency hint is set/reset.
933
934	<li>modify to set Urgency window manager hint on bell, reset it on
935	    Focus-In event (patch by Emanuele Giaquinta).
936
937	<li>add <code>--disable-setgid</code> configure option (request by
938	    Miroslav Lichvar).
939
940	<li>fix a possible infinite loop in last change to
941	    <code>dabbrev-expand()</code> (patch by Emanuele Giaquinta).
942
943	<li>modify initialization to set the pty erase value if the
944	    <code>erase</code> is set in the <code>ttyModes</code> resource. 
945	    This overrides the <code>ptyInitialErase</code> setting (request by
946	    Llu&#237;s Batlle i Rossell).
947
948	<li>add <code>initialFont</code> resource to xterm widget, like
949	    tek-widget (Debian #299669).
950
951	<li>amend change to <code>boldMode</code> from
952	    <a href="#xterm_223">patch #223</a> for Debian #347790.
953	    As noted in Debian #412599, that made xterm
954	    no longer match the documented behavior.
955	    Add new resource <code>alwaysBoldMode</code>
956	    to allow overriding the comparison
957	    between normal/bold fonts when deciding whether to use overstriking
958	    to simulate bold fonts.
959
960	<li>restore background color in ClearCurBackground(), omitted in
961	    changes for <a href="#xterm_223">patch #223</a> (report by
962	    Miroslav Lichvar).
963
964	<li>correct logic for repainting double-width TrueType characters
965	    (prompted by test-case for Novell #246573).
966
967	<li>add a check to avoid trying to repeat a multibyte character
968	    (report by Sami Farin).
969
970	<li>modify parameter to <code>XftNameParse()</code> to select wide
971	    face-name as needed, to make <code>-fd</code> option work (patch by
972	    Mike Fabian, Novell #246573).
973
974	<li>correct logic for mouse highlight tracking's abort sequence,
975	    broken in a restructuring modification from
976	    <a href="#xterm_224">patch #224</a>
977	    (report by Thomas Wolff).
978
979	<li>revert the simplification of blinking cursor, since that broke
980	    the xor'ing introduced in <a href="#xterm_193">patch #193</a>
981	    (report by Thomas Wolff).
982</ul>
983
984<H1><A NAME="xterm_224">Patch #224 - 2007/2/11</A></H1>
985<ul>
986	<li>simplify code for set/reset mode for blinking cursor 
987	    (patch by Emanuele Giaquinta).
988
989	<li>modify <code>dabbrev-expand()</code> to restart after the last
990	    match (patch by Emanuele Giaquinta).
991
992	<li>add control sequences for enabling/disabling focus in/out event
993	    reporting (request by Bram Moolenaar).
994
995	<li>improve startup performance of menus by adding resource setting
996	    <code>menuLocale</code> which can be set to override X's
997	    lengthy initialization of fontsets - which are seldom used
998	    for the <code>Xaw</code> popup menus (adapted from patch by
999	    Dave Coffin).
1000
1001	<li>modify do_precomposition() function and make-compose.sh to handle
1002	    21-bit codes vs the 16-bit codes those were written for, and
1003	    fix a few mis-sorted codes
1004	    (patch by Thomas Wolff).
1005
1006	<li>handle special case in <code>-cjk_width</code>
1007	    which unexpectedly caused a character's width to change when
1008	    a combining character
1009	    (patch by Thomas Wolff)
1010
1011	<li>fix build for GNU/KFreeBSD (Debian #40111).
1012
1013	<li>consolidate GC creation/updating into a single module to reduce GC
1014	    manipulation (prompted by Debian #389476, though a complete fix
1015	    would involve optimizing the scrolling behavior).
1016
1017	<li>fix ifdef of xtermCellWidth(), which broke for a case without
1018	    TrueType and without wide-character support (report by Martin
1019	    Pirker).
1020
1021	<li>undo a comparison in <code>handle_translated_exposure</code> which
1022	    did not work due to X server optimization.  That caused the
1023	    inner border to be repainted with unexpected colors when handling
1024	    a repaint, e.g., after switching to/from another workspace
1025	    (Debian #401726, Redhat Bugzilla #223027).
1026
1027	<li>allow <code>-cr</code> option to override cursor color when
1028	    <code>-ah</code> option is used (Debian #406502).
1029
1030	<li>add a note in xterm's manpage explaining that the <code>-bw</code>
1031	    (or <code>-w</code>) option is only used by the window manager,
1032	    if at all (Debian #405043).
1033
1034	<li>make <code>Selection</code> of <code>VT&nbsp;Fonts</code> work with
1035	    <code>selectToClipboard</code> resource.
1036
1037	<li>correct length calculation for <code>Selection</code> entry of
1038	    <code>VT&nbsp;Fonts</code> menu, broken since it ignored the
1039	    actual selection length since X11R4.
1040
1041	<li>fixes for fontsize changes with <code>-fa</code> option (Redhat
1042	    Bugzilla #222340).
1043</ul>
1044
1045<H1><A NAME="xterm_223">Patch #223 - 2006/11/30</A></H1>
1046<ul>
1047	<li>add <code>--enable-rectangles</code> configure option (request by
1048	    Martin Pirker).
1049
1050	<li>correct default value for <code>--with-symlink</code> configure
1051	    option.
1052
1053	<li>fixes configure script macros that use <code>$X_EXTRA_LIBS</code>.
1054
1055	<li>modify configure script to provide support for pre-package config
1056	    versions of Xft (FreeType).
1057
1058	<li>add the Xaw scrollbar translations resource to the xterm manpage,
1059	    add an example showing how to change the mouse button assignments
1060	    (Debian #382225).
1061
1062	<li>amend a change from <a href="#xterm_216">patch #216</a>,
1063	    which omitted modifiers for control, meta, etc., if they were
1064	    mixed with any other modifiers.  The intent of the change was
1065	    to avoid confusion with
1066	    <code>XK_Mode_switch</code>
1067            and <code>XK_ISO_Level3_Shift</code>;
1068	    the check is now done explicitly (report by Daniel Jacobowitz).
1069
1070	<li>interpret a negative value for <code>modifyCursorKeys</code>
1071	    or <code>modifyFunctionKeys</code> resources to disable the
1072	    respective features (prompted by Novell #220728).
1073
1074	<li>amend cell-width computation for FreeType from
1075	    <a href="#xterm_217">patch #217</a>, which did not work
1076	    for VT100 line-drawing characters (Debian #399638, GenToo #147111).
1077
1078	<li>amend a change from <a href="#xterm_216">patch #216</a>,
1079	    which made alt-modifier on a cursor-key send a modifier parameter
1080	    (Novell #220728).
1081
1082	<li>correct an off-by-one that made DECCRA not work (report/patch by
1083	    Martin Pirker).
1084
1085	<li>revert an optimization in SGR_Foreground() and SGR_Background
1086	    from <a href="#xterm_209">patch #209</a> (Debian #347722,
1087	    analysis by Pierre Lombard).
1088
1089	<li>fix for <code>boldMode</code> (Debian #347790, patch by Tim Pope).
1090
1091	<li>amend fix for <code>-iconic</code> in
1092	    <a href="#xterm_208">patch #208</a>,
1093	    which broke the positioning part of <code>-geom</code> with toolbar
1094	    configuration.
1095
1096	<li>fix to prevent indexing error in regular expressions (patch
1097	    by Dennis Schneider).
1098
1099	<li>fixes to make the internalBorder area not change color due to
1100	    reverseVideo and/or related exposure events.  The latter was a very
1101	    old bug exposed in <a href="#xterm_196">patch #196</a> (report by
1102	    Neil Hoggarth, also Debian #397624).
1103</ul>
1104
1105<H1><A NAME="xterm_222">Patch #222 - 2006/10/17</A></H1>
1106<ul>
1107	<li>minor optimization for recoloring cursor via dynamic colors.
1108
1109	<li>fix a bug caused by restructuring of tek4014 widget (report by Paul
1110	    Schenkeveld)
1111</ul>
1112
1113<H1><A NAME="xterm_221">Patch #221 - 2006/10/1</A></H1>
1114<ul>
1115	<li>fix for regular expressions:  the code which converted the column
1116	    offset within a line did not check properly for the end of a line,
1117	    and if allowed to match the whole line, would select the beginning
1118	    of the following line.  If the following line were empty, in turn
1119	    it would select from the next, etc.  (report by Sean
1120	    Reifschneider).
1121
1122	<li>minor optimization of color allocation to avoid repainting the
1123	    screen if the corresponding color had not been allocated.
1124
1125	<li>fixes for vttests/256colors.pl (report by Egmont Koblinger).
1126
1127	<li>add terminfo building block entries for modifiers of the 6-key
1128	    editing keypad.
1129
1130	<li>fix for initialization of tek4014 which broke on QNX 6.1
1131</ul>
1132
1133<H1><A NAME="xterm_220">Patch #220 - 2006/9/10</A></H1>
1134<ul>
1135	<li>make "xterm -t -iconic" work as expected, i.e., start in tek4014
1136	    mode, but iconified.
1137</ul>
1138
1139<H1><A NAME="xterm_219">Patch #219 - 2006/9/4</A></H1>
1140<ul>
1141	<li>some internal restructuring to separate data for vt100 and tek4014
1142	    widgets.
1143
1144	<li>fix a few cases where form-events would be seen by the vt100
1145	    widget when built with the toolbar configuration.
1146</ul>
1147
1148<H1><A NAME="xterm_218">Patch #218 - 2006/8/27</A></H1>
1149<ul>
1150	<li>change behavior when encountering an illegal character in a title
1151	    string.  Rather than reject the string, translate illegal
1152	    characters into "?" and use the string (requested by Thomas Wolff).
1153
1154	<li>improve checks for nonprinting characters in title strings
1155	    (report by Samuel Thibault).
1156
1157	<li>correct typo in menu labels, changing <code>print-redirect</code>
1158	    to <code>print-redir</code>, making it follow the manpage and
1159	    match the usage for the actions table (report by Samuel Thibault).
1160
1161	<li>correct a typo that prevents building with some older systems such
1162	    as Solaris 2.6 (report by Julian Bridle).
1163</ul>
1164
1165<H1><A NAME="xterm_217">Patch #217 - 2006/8/20</A></H1>
1166<ul>
1167	<li>minor improvements to FreeType font layout and drawing.
1168
1169	<li>add a check in the ptyInitialErase logic to ensure that the
1170	    termcap was read (Redhat Bugzilla #201246).
1171
1172	<li>limit changes for reverse-video from
1173	    <a href="#xterm_216">patch #216</a> to cases where the
1174	    reverse-video command-line option is used
1175	    (report by Zdenek Sekera).
1176
1177	<li>correct bitmap-derived pointsizes for TrueType fonts; they should
1178	    be proportional to the square root of the area of the bitmap
1179	    fonts.
1180
1181	<li>add resources to specify pointsize of TrueType fonts (request
1182	    by Reuben Thomas).
1183
1184	<li>improve install of terminfo by filtering out harmless messages
1185	    related to extended capabilities.  At the same time, use ncurses
1186	    tic to compile the extended capabilities if possible
1187	    (report by Zdenek Sekera).
1188
1189	<li>update "xterm+pcfkeys" terminfo entry to correspond to
1190	    <a href="#xterm_216">patch #216</a>.
1191</ul>
1192
1193<H1><A NAME="xterm_216">Patch #216 - 2006/8/3</A></H1>
1194<ul>
1195	<li>improve handling of <code>ConfigureNotify</code> events by checking
1196	    if there are further events in the queue which obsolete the current
1197	    one (adapted from rxvt 2.7.5).  Only the normal normal
1198	    (non-toolbar) configuration is addressed in this patch.
1199
1200	<li>several changes to terminfo:
1201	<ul>
1202	    <li>incorporate some minor changes from ncurses to help keep these
1203	        synchronized:
1204	    <dl>
1205		<dt>2005-02-26
1206		<dd>modify sgr/sgr0 in xterm-new to improve tgetent's derived "me".
1207		<dt>2006-02-18
1208		<dd>remove ncv flag from xterm-16color
1209		<dt>2006-06-24
1210		<dd>improve xterm-256color by combining the 16-color
1211		setaf/setab strings with SGR 48,
1212		and cancelling the setf/setb strings.
1213	    </dl>
1214	    <li>use extended function-key definitions for xterm-sun, xterm-sco
1215	        entries.
1216
1217	    <li>add terminfo building-blocks corresponding to the
1218	        <code>modifyFunctionKeys</code>
1219	        and <code>modifyCursorKeys</code> resources.
1220	</ul>
1221
1222	<li>ifdef'd Sun function-key feature to make it optional, like HP and
1223	    SCO.
1224
1225	<li>extend table for termcap-query feature through F63, and updated
1226	    tcapquery.pl to match.
1227
1228	<li>modify logic for function-key input processing to allow function
1229	    key numbers which are constructed by control- and shift-modifiers
1230	    to extend beyond X's hardcoded limit of 35.
1231
1232	<li>add control sequence to set or reset the <code>eightBitInput</code>
1233	    resource.
1234
1235	<li>change default resource <code>modifyFunctionKeys</code> to 2
1236	    to avoid sending SS3 with parameters (report by Kalle Olavi Niemitalo).
1237
1238	<li>add control sequences for setting and resetting the values of the
1239	    <code>modifyCursorKeys</code>,
1240	    <code>modifyFunctionKeys</code> and
1241	    <code>modifyOtherKeys</code> resources.
1242
1243	<li>add <code>modifyFunctionKeys</code> resource like
1244	    <code>modifyCursorKeys</code>.
1245	    Setting this to zero allows one to use the control- and
1246	    shift-modifiers to construct function key strings,
1247	    for terminals using many function keys,
1248	    e.g., for <code>xterm-sun</code> or <code>xterm-sco</code>.
1249
1250	<li>modify screen responses and function-key logic to reduce the
1251	    number of writes made, to make it less likely that an application
1252	    would read only part of a function-key in a read operation
1253	    (suggested by John E Urbanczyk).
1254
1255	<li>add <code>combiningChars</code> resource, which allows the user to
1256	    specify the maximum number of combining characters that xterm will
1257	    store for each cell in wide-character mode (prompted by request by
1258	    Markus Kuhn to increase the limit from 2).
1259
1260	<li>improve logic in <code>metaSendsEscape</code> in case the Alt-
1261	    and Meta-keys are mapped to different modifiers.  That allows one
1262	    to use the Alt-key for shifting in the <code>eightBitInput</code>
1263	    and use a Meta-key modifier to prefix the result with an
1264	    <code>&lt;ESC&gt;</code>.
1265
1266	<li>improve <code>modifyCursorKeys</code> logic to prevent it from
1267	    modifying codes where <code>eightBitInput</code> or
1268	    <code>metaSendsEscape</code> are set
1269	    (request by Dan Nicolaescu).
1270
1271	<li>improve <code>modifyCursorKeys</code> logic to prevent it from
1272	    changing the user input when other modifiers such as AltGr are used
1273	    (report by Thomas Wolff).
1274
1275	<li>extend <code>modifyCursorKeys</code> to include the numeric keypad
1276	    when in application mode.
1277
1278	<li>improve <code>-reverse</code> (<code>-rv</code>) option
1279	    (patch by Jason Vas Dias, Redhat #189161).
1280
1281	<li>workaround for color resources on Fedora-5 which made the toolbar
1282	    colors inconsistent.
1283
1284	<li>corrected calls used for <code>--disable-setuid</code> option,
1285	    add debugging traces to help diagnose this area.
1286
1287	<li>modify configure script to ensure that <code>USE_UTMP_SETGID</code>
1288	    is defined only if the check for POSIX saved-ids succeeds, or
1289	    corresponds to one of the BSD systems known to have a workable
1290	    <code>setegid</code> function.
1291
1292	<li>extend configure check for POSIX saved-ids to include BSD systems
1293
1294	<li>modify CF_SYSV configure macro to work with gcc on HPUX 10.20,
1295	    whose broken
1296	    <code>&lt;term.h&gt;</code> relies on including
1297	    <code>&lt;termios.h&gt;</code>.
1298
1299	<li>change order of setuid/setgid ifdef checks in Imakefile to make
1300	    it simpler to produce a setgid install, allowing the latter to
1301	    override the former (prompted by an XFree86 commit).
1302
1303	<li>adapt a fix for setgid support from subsequent XFree86 changes
1304	    (patch by Emanuele Giaquinta).
1305
1306	<li>further improve setgid support (patches by Emanuele Giaquinta).
1307</ul>
1308
1309<H1><A NAME="xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A></H1>
1310<ul>
1311	<li>improve setgid support by exploiting the saved-ids feature on which
1312	    it relies (patch by Emanuele Giaquinta).
1313
1314	<li>make the <code>modifyOtherKeys</code> resource disabled by default
1315	    since the intermediate setting altered some common bindings
1316	    (report by Emanuele Giaquinta).
1317</ul>
1318
1319<H1><A NAME="xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A></H1>
1320<ul>
1321	<li>modify makefile rule for ctlseqs.txt to strip backspace/overstrikes,
1322	    and add a copy of ctlseqs.txt to the source tarballs (requests by
1323	    Bram Moolenaar, Emanuele Giaquinta).
1324
1325	<li>add <code>modifyOtherKeys</code> resource, analogous to the
1326	    <code>modifyCursorKeys</code> resource.  This applies to keys that
1327	    normally would transmit nothing when a given modifier is applied
1328	    (request by Dan Nicolaescu).
1329
1330	<li>add <code>default</code> to the acceptable values for the
1331	    <code>keyboardType</code> resource, allowing the <code>-kt</code>
1332	    command-line option to override app-defaults resource settings of
1333	    <code>sunKeyboard</code>, etc.
1334
1335	<li>correct ifdef's for <code>XkbBell()</code> which used the header
1336	    file but not the corresponding function in
1337	    <a href="#xterm_175">patch #175</a>
1338	    (report by Zach Beane).
1339
1340	<li>add xterm manpage to the <code>--with-symlink</code> logic.
1341
1342	<li>regenerated configure script to omit some debugging artifacts of
1343	    the SIGWINCH test.
1344
1345	<li>fix <code>install-man</code> rule in <code>Makefile.in</code> to
1346	    avoid including the <code>$(DESTDIR)</code> value in substitutions
1347	    made on the manpages (patch by Emanuele Giaquinta).
1348
1349	<li>improved fix for cursor deallocation
1350	    (Redhat #186935, patch by Jason Vas Dias).
1351
1352	<li>improve checks for setuid/setgid operation to accommodate limited
1353	    resource management in some kernels (GenToo #193238).
1354
1355	<li>update config.guess, config.sub
1356</ul>
1357
1358<H1><A NAME="xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A></H1>
1359<ul>
1360	<li>minor optimization to cell layout; will use that to simplify some
1361	    logic and allow for more than two combining characters in another
1362	    patch.
1363
1364	<li>add <code>utf8Latin1</code> resource to make optional the
1365	    feature from <a href="#xterm_209">patch #209</a> which
1366	    allowed ISO-8859-1 fonts to be used in cases
1367	    where a wide font was given.  This would only
1368	    work for the special case where the user normally used Latin-1
1369	    and wanted some wide characters (report by Rostislav Krasny).
1370
1371	<li>add <code>utf8Title</code> resource to manpage (Novell #52655).
1372
1373	<li>fix typo in table entry for <code>utf8Title</code> resource which
1374	    made it treated as an integer rather than boolean (patch by Mike
1375	    Fabian, Novell #52655).
1376</ul>
1377
1378<H1><A NAME="xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A></H1>
1379<ul>
1380	<li>improve description of <code>forceBoxChars</code> in manpage
1381	    (discussion with Joe Wells).
1382
1383	<li>set checkmark for "Select To Clipboard" menu entry on startup,
1384	    from resource setting.
1385
1386	<li>update manpage to note that <code>*customization:color</code> is
1387	    not needed, though it is useful (Redhat #188034).
1388
1389	<li>add underscore to sample pattern for URL in <code>XTerm.ad</code>
1390	    (Redhat #188037).
1391
1392	<li>modify install rule for manpage to use the configured app-defaults
1393	    directory (Redhat #188031).
1394
1395	<li>add checks in <code>releaseCursorGCs()</code> to ensure GC's are
1396	    distinct, needed since memory leak changes for
1397	    <a href="#xterm_208">patch #208</a>
1398	    (Redhat #186935, patch by Jason Vas Dias).
1399
1400	<li>modify <code>Imakefile</code> definitions to allow
1401	    <code>imake</code> to set <code>InstallXtermSetGID</code>.
1402	    Add symbol <code>InstGidFlags</code>.
1403
1404	<li>add configure script check to ensure that SIGWINCH if defined even
1405	    when headers undefine this as a side-effect of
1406	    <code>_POSIX_C_SOURCE</code>, etc.
1407
1408	<li>resync with XFree86 CVS:
1409	<ul>
1410	   <li>ifdef-out chmod of terminal device for OS/2 (XFree86 #1663,
1411	       Frank Giessler).
1412	   <li>move new <code>Imakefile</code> chunk which defines
1413	       <code>$(CSGIDFLAGS)</code> before DEFINES,
1414	       e.g., for IRIX64 (Marc La France).
1415	</ul>
1416</ul>
1417
1418<H1><A NAME="xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A></H1>
1419<ul>
1420	<li>modify prefix/suffix transformation in makefile to make
1421	    <code>uxterm</code> install properly on Cygwin.
1422
1423	<li>restore the sizeof-comparison for <code>struct lastlog</code>
1424	    added in <a href="#xterm_208">patch #208</a>,
1425	    rendered (mostly) obsolete in <a href="#xterm_210">patch #210</a>,
1426	    since an imake configuration can still turn that code on
1427	    (prompted by comment by David Dawes).
1428
1429	<li>remove feature for <code>FreeBSDArchitecture</code> from
1430	    <code>Imakefile</code> which would install xterm using the
1431	    <code>utmp</code> group since a standard FreeBSD system has no such
1432	    group, though it would support this configuration.  FreeBSD
1433	    packager uses the <code>configure</code> script, which can make the
1434	    appropriate check (prompted by comment by David Dawes).
1435
1436	<li>fixes for gcc redefinition warnings when built using imake
1437	    (reports by David Dawes, Marc La France).
1438</ul>
1439
1440<H1><A NAME="xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A></H1>
1441<ul>
1442	<li>add configure check for workaround in
1443	    <a href="#xterm_208">patch #208</a>
1444	    for Solaris' inconsistent support for struct lastlog to quiet
1445	    compiler warnings
1446	    (prompted by David Dawes commit message for XFree86).
1447
1448	<li>fixes for BASE64 selection manipulation,
1449	    e.g., ensure that the string
1450	    terminator is written after cut-buffer data (report by Joe Allen).
1451
1452	<li>add vttests/paste64.pl script to test experimental option for
1453	    setting/getting selection data.
1454
1455	<li>add some error-checking in fontutils.c
1456	    (prompted by David Dawes commit message for XFree86).
1457
1458	<li>change xterm manpage to show the actual color resource names
1459	    <code>XtDefaultForeground</code> and
1460	    <code>XtDefaultBackground</code> rather than black and white
1461	    (prompted by discussion with Emanuele Giaquinta).
1462
1463	<li>add <code>utf8Title</code> resource and menu entry, allowing the
1464	    user to control whether title strings are interpreted as ISO-8859-1
1465	    or UTF-8 encoding (Novell #52655, #113206).
1466
1467	<li>change order of ifdef's for utempter versus platforms in
1468	    <code>Imakefile</code> to ensure a proper value for
1469	    <code>InstallXtermSetGID</code>
1470	    (prompted by Marc La France commit message for XFree86).
1471
1472	<li>update the cursor GCs when menu entry for reverse video is toggled.
1473	    (Redhat #183993).
1474
1475	<li>a memory-leak fix for <code>set_cursor_gcs()</code>
1476	    in <a href="#xterm_208">patch #208</a> broke the
1477	    <code>-cm</code> option (Redhat #182382).
1478</ul>
1479
1480<H1><A NAME="xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A></H1>
1481<ul>
1482	<li>remove <code>setf</code> and <code>setb</code> from
1483	    <code>xterm-256color</code> terminfo entry to avoid issues with
1484	    applications that ignore the ANSI strings (report by Emanuele
1485	    Giaquinta).
1486
1487	<li>remove obsolete references to "Xorg" to avoid confusion with
1488	    "X.org" (prompted by David Dawes commit message for XFree86).
1489
1490	<li>improve initial layout performance for the toolbar configuration
1491	    by precalculating the height of the toolbar.
1492
1493	<li>remove menu entry for "Enable Curses Emulation" (to make room for
1494	    "Select To Clipboard").
1495
1496	<li>add resource <code>selectToClipboard</code>,
1497	    action <code>set-select</code> and a menu entry to allow
1498	    users to switch between PRIMARY and CLIPBOARD for select/paste.
1499
1500	<li>allow cursor to have the same color as foreground (text), since it
1501	    is rendered as reverse (Debian #350664).
1502
1503	<li>amend change for loading <code>utf8Fonts</code> resource from <a
1504	    href="#xterm_204">patch #204</a> to allow an ISO-8859-1 "normal"
1505	    font to be combined with an ISO-10646 font if the latter is given
1506	    via the <code>-fw</code> option or its corresponding resource
1507	    value (prompted by comment in Novell #49305).
1508
1509	<li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for
1510	    <code>__GNU__</code> to set the controlling terminal (Debian
1511	    #348457).
1512
1513	<li>add configure option <code>--disable-leaks</code>.
1514
1515	<li>add a check in <code>Bell</code> to ensure that the VT100 widget
1516	    is realized, since it may be called by <code>xtermLoadFont</code>
1517	    given an incorrect font resource (Redhat #180450).
1518
1519	<li>improve initialization of wide-bold font by not using the derived
1520	    value when it happens to have few glyphs (report by Mboso Sampson).
1521
1522	<li>improve dynamic colors by not repainting the screen if only the
1523	    cursor color changes (request by Bram Moolenaar).
1524
1525	<li>fix menu initialization for tek4014 window broken in
1526	    <a href="#xterm_206">patch #206</a>.
1527
1528	<li>typo in manpage (Debian #351425).
1529
1530	<li>correct loop logic in <code>dotext</code> to prevent an infinite
1531	    loop if a wide character was just at the right margin when wrapping
1532	    was disabled (report by Serge van den Boom).
1533
1534	<li>initialize the saved-cursor data so a restore-cursor operation
1535	    without a preceding save-cursor operation will not modify the
1536	    foreground color.
1537
1538	<li>add a new selection feature: regular expressions, and new resources
1539	    which specify what happens on multiple mouse clicks:
1540	    <code>on2Clicks</code>,
1541	    <code>on3Clicks</code>,
1542	    <code>on4Clicks</code> and
1543	    <code>on5Clicks</code>.
1544
1545	<li>revert the <code>XTerm.ad</code> change from
1546	    <a href="#xterm_208">patch #208</a> (Debian #348384).
1547
1548	<li>fixes for the print-window to make it handle combining
1549	    characters in UTF-8 mode.
1550
1551	<li>add check to ensure that double-clicking to extend selection will
1552	    not extend it into the scrollback area.  This still allows users
1553	    to scroll back and select text (Debian #347415).
1554
1555	<li>add configure option <code>--with-tty-group</code> to help work
1556	    around deficiencies in packager's build environment (Debian
1557	    #349142).
1558
1559	<li>fix typo in configure script option
1560	    <code>--disable-narrowproto</code>
1561	    (report by David Mart&#237;nez Moreno).
1562
1563	<li>amend CF_X_FREETYPE changes for <code>pkg-config</code> check to
1564	    ensure that <code>Xft</code> is known to that tool (report and
1565	    patch by Emanuele Giaquinta).
1566
1567	<li>add an ifdef to allow <code>./configure --disable-active-icon</code>
1568	    to work, broken by new code for testing memory leaks in
1569	    <a href="#xterm_208">patch #208</a> (report by Brian Lindholm).
1570</ul>
1571
1572<H1><A NAME="xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A></H1>
1573<ul>
1574	<li>add <code>charClass</code> resource to <code>XTerm.ad</code> and
1575	    <code>UXTerm.ad</code> which simplifies selecting URLs (prompted
1576	    by Kirill Ponomarew).
1577
1578	<li>modify install rule for <code>uxterm</code> to account for the
1579	    <code>--program-prefix</code>, etc., options by invoking the
1580	    transformed name of xterm rather than simply "xterm".
1581
1582	<li>modify configure <code>--with-app-defaults</code> option to allow
1583	    <code>--without-app-defaults</code>.
1584
1585	<li>add configure <code>--with-symlink</code> option to make it simpler
1586	    to install successive versions of <code>xterm</code> renamed using
1587	    the <code>--program-prefix</code>, etc., options with a symbolic
1588	    link pointing to the most recent.
1589
1590	<li>make <code>-iconic</code> option work with toolbar configuration
1591	    (GenToo #113604).
1592
1593	<li>suppress <code>lastlog</code> feature for 64-bit Solaris
1594	    configuration since that platform provides only a 32-bit interface
1595	    (report by Peter Bray).
1596
1597	<li>fix memory reallocation for the "UTF-8" menu entry when xterm is
1598	    started using the <code>+u8</code> option (reported by Jan Willem
1599	    Stumpel).
1600
1601	<li>add a configure check for the actual path of <code>luit</code>,
1602	    to work around broken <code>imake</code> configurations.
1603
1604	<li>add a configure check for <code>pkg-config</code> (Redhat Bugzilla
1605	    #173541).
1606
1607	<li>modify install-rule for <code>uxterm</code> to omit executable
1608	    suffix, e.g., for Cygwin.
1609
1610	<li>modify <code>sinstall.sh</code> to work around quirks in Cygwin
1611	    configuration.
1612</ul>
1613
1614<H1><A NAME="xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A></H1>
1615<ul>
1616	<li>enable <code>lastlogx</code> support for NetBSD (was added, but
1617	    not enabled in <a href="#xterm_186">patch #186</a>).
1618
1619	<li>work around broken <code>lastlog.h</code> in glibc 2.3.5, which
1620	    includes <code>utmp.h</code>.
1621
1622	<li>revert part of recent XFree86 Imakefile change, restoring the
1623	    <code>-I.</code> needed for <code>xmkmf</code> builds of xterm
1624	    (XFree86 Bugzilla #1633, reports by Alexander Pohoyda and Matthieu
1625	    Herrb).
1626
1627	<li>change compiled-in default for <code>printerCommand</code>
1628	    resource to an empty string.  People who want to use the
1629	    printer should be able to read the manual (Debian #311490).
1630
1631	<li>modify <code>Imakefile</code> to work around old problems in
1632	    <code>imake</code> configuration to allow test-builds using
1633	    <code>xmkmf</code> on Linux.  (This was not noticed since several
1634	    releases had broken definitions relating to Xft which were harder
1635	    to work around).
1636
1637	<li>link <code>resize</code> for SCO platforms (Kean Johnston).
1638</ul>
1639
1640<H1><A NAME="xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A></H1>
1641<ul>
1642	<li>add configure <code>--with-app-defaults</code> option to allow
1643	    app-defaults directory for install-rules to be customized.
1644
1645	<li>remove default translations for <code>dabbrev-expand()</code>
1646	    due to conflicts with existing keyboard arrangements.
1647
1648	<li>remove redundant check for <code>_NET_WM_PID</code>
1649	    (report by Emanuele Giaquinta).
1650
1651	<li>set icon border width explicitly to work around fvwm problem
1652	    with active icon resizing (report by Steve Morris, analysis
1653	    by Dominik Vogt).
1654
1655	<li>modify resource files to make the font-resources a little
1656	    more specific, e.g., changing "*VT100*" to "*VT100.", to
1657	    make the distinction between VT100.font and VT100.utf8Fonts.font
1658	    sharper, in case a packager modifies one of those.
1659
1660	<li>expanded comments in <code>UXTerm.ad</code> regarding the
1661	    font resources (Debian #319179).
1662
1663	<li>add <code>--enable-narrowproto</code> configure option to
1664	    accommodate X.org "modular" build (report by Stephan Hermann,
1665	    GenToo #17220).
1666
1667	<li>fix typo in xterm.man description of <code>+wf</code> (patch
1668	    by Tobias Stoeckmann).
1669
1670	<li>add <code>scrollBarBorder</code> resource (request by Floyd L
1671	    Davidson).
1672
1673	<li>modify <code>xterm-new</code> terminfo entry to use capabilities
1674	    for shifted scroll forward/reverse as shifted cursor up/down.
1675
1676	<li>correct updating of checkmark for toolbar entry in popup menu
1677	    (report by Emanuele Giaquinta).
1678
1679	<li>fix ifdef's to allow compiling with toolbar and without tek4014
1680	    (patch by Emanuele Giaquinta).
1681
1682	<li>use <code>openpty()</code> for Darwin port (patch by Emanuele
1683	    Giaquinta).
1684
1685	<li>fix GenToo #90697 a different way, postponing the logic in
1686	    <code>SetupToolbar</code> until the toolbar is actually needed,
1687	    i.e., the <code>+tb</code> option is handled as expected.
1688
1689	<li>revert fix made in <a href="#xterm_203">patch #203</a> for GenToo
1690	    #90697.  That introduced a problem with the control mouse
1691	    click-popups, while most of the performance problems can be
1692	    resolved by restricting the menu fonts (report by Emanuele
1693	    Giaquinta).
1694
1695	<li>fix a file-descriptor leak when calling <code>openpty()</code>
1696	    (OpenBSD system/4561).
1697
1698	<li>make a special case of resizing work like vt100: a hard reset
1699	    also resets the 132/80 mode.  The code to support this was
1700	    present since X11R5, but not used because the corresponding
1701	    initial state of the <code>-132</code> option was not saved.
1702
1703	<li>restore window manager hints after <code>XtMakeResizeRequest()</code>
1704	    calls.  One instance from <a href="#xterm_205">patch #205</a>
1705	    resulted in the window manager displaying pixels rather than
1706	    than characters after selecting a different font size (FreeBSD
1707	    ports/87424).
1708
1709	<li>remove special case for Darwin in CF_XOPEN_SOURCE
1710	    (Emanuele Giaquinta).
1711
1712	<li>modify parsing of control sequence <code>CSI&nbsp;T</code>
1713	    to allow scroll-down
1714	    to be sent while mouse tracking is enabled (request by
1715	    D Hugh Redelmeier).
1716
1717	<li>correct termcap "me" (mode-end) string so it does not modify the
1718	    alternate character set (report by Andrey Chernov).
1719
1720	<li>correct size-comparison in HandleInterpret() broken in changes
1721	    from <a href="#xterm_201">patch #201</a> to allocate input
1722	    buffer (Debian #334317).
1723
1724	<li>amend adjustments for scrollbar layout from
1725	    <a href="#xterm_204">patch #204</a> to make
1726	    this apply only to the toolbar configuration.  In the non-toolbar
1727	    configuration, the resulting scrollbar was shifted by its
1728	    borderwidth (report by Matthieu Herrb).
1729
1730	<li>add select-cursor-extend() action.
1731
1732	<li>fix some broken href's in xterm.log.html, and typo in the
1733	    INSTALL file (report/patch by David Mart&#237;nez Moreno).
1734
1735	<li>modify <code>Imakefile</code> to use setgid mode for installing
1736	    with Linux, OpenBSD and FreeBSD.
1737
1738	<li>add configure --with-setuid and --with-reference options to
1739	    allow packagers more flexibility in customizing install
1740	    permissions.
1741
1742	<li>generalize and make optional (configure --with-utmp-setgid)
1743	    the change made for XFree86 Bugzilla #878 in
1744	    <a href="#xterm_205">patch #205</a>
1745	    (FreeBSD bug report #ports/86663).
1746</ul>
1747
1748<H1><A NAME="xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A></H1>
1749<ul>
1750	<li>correct a typo in CF_FUNC_TGETENT introduced in <a
1751	    href="#xterm_198">patch #198</a> fix for Gentoo #69926.
1752
1753	<li>implement logic in termcap query to process multiple parameters
1754	    as documented in ctlseqs.ms
1755
1756	<li>fix buffer size used for termcap query, which was not long enough
1757	    for the terminfo "colors" name (patch by Bradd W. Szonye).
1758
1759	<li>add configure option --enable-readline-mouse, which turns on the
1760	    experimental OPT_READLINE code (patch by Ilya Zakharevich).
1761
1762	<li>for FreeBSD, drop setuid privileges after startup
1763	    (XFree86 Bugzilla #878, report/patch by Alexander Pohoyda)
1764
1765	<li>add menu entry (alt-esc) and corresponding action (alt-sends-esc)
1766	    to toggle the <code>eightBitInput</code> resource setting.
1767
1768	<li>generate configure script with autoconf 2.52 (patched) to use
1769	    the feature therein which forces the script's locale to POSIX
1770	    (Gentoo Bugzilla #105369).
1771
1772	<li>modify computation of rows/columns on resize to avoid extending
1773	    beyond the given limits, e.g., if resizing in response to a
1774	    "maximize" in Gnome or KDE which do not use the window manager
1775	    hints for this case (Debian #289123, Novell #61153).
1776
1777	<li>modifications to work with z/OS 1.4 (Paul Giordano).
1778
1779	<li>improve error-reporting when chown/chmod of the pseudo-terminal
1780	    fails, e.g., if a copy of xterm which was designed to work with
1781	    old-style pseudo-terminals is not installed setuid or setgid
1782	    (report by Jeremy C. Reed).
1783
1784	<li>patches from Emanuele Giaquinta:
1785	    <ul>
1786	    <li>ctlseqs.ms says that primary and secondary DA accept a
1787	        nonzero parameter, which is incorrect.  Also modify code
1788		to agree with this.
1789
1790	    <li>correct a comment in 88colres.pl
1791
1792	    <li>ctlseqs.ms says that the DEC Set/Reset control sequences for
1793		the backarrow key make it send DEL/BS, respectively, while it's
1794		the opposite.
1795
1796	    <li>update the menu entries for the metaSendsEscape, deleteIsDEL
1797		and numLock resources when changing them with the corresponding
1798		DEC Set/Reset control sequences.
1799	    </ul>
1800
1801	<li>fixes for configure script:
1802	    <ul>
1803	    <li>add special case for QNX, defining _QNX_SOURCE.
1804	    <li>check for preprocessors which do not perform -U and -D options
1805	        in the given order.
1806	    <li>improve macro to determine gcc version
1807	    <li>improve check for Intel compiler and related warning options
1808	    </ul>
1809
1810	<li>update config.guess, config.sub
1811
1812	<li>improve fix from <a href="#xterm_198">patch #198</a> for
1813	    <code>Cleanup()</code> by ensuring it is not called from the
1814	    SIGCHLD handler (patch from OpenBSD by Todd Miller).
1815
1816	<li>eliminate a retry for a better-matching bold font, to work around
1817	    recent font server changes.
1818
1819	<li>fixes for Novell #113277:
1820	    <ul>
1821	    <li>specify weight for wide font which may be derived from
1822	        normal fontname.
1823	    <li>cache the derived wide- and widebolt-fontnames.
1824	    </ul>
1825
1826	<li>workaround for GenToo Bugzilla #100728.
1827
1828	<li>add menubar's border width to layout computation.  Normally this
1829	    is zero, but patterns such as <code>XTerm*borderWidth:1</code>
1830	    would give poor layout for the toolbar configuration.
1831</ul>
1832
1833<H1><A NAME="xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A></H1>
1834<ul>
1835	<li>work around quirk in shell which allowed user to "run" uxterm
1836	    script when there was no UTF-8 locale installed by entering
1837	    "sh -x uxterm".  Also popup an xmessage to show the problem
1838	    for users who run this via a GUI (Debian #318513).
1839
1840	<li>disallow changes to fonts, toolbar and scrollbar when the vt100
1841	    window is iconified, to simplify management of the active icon.
1842
1843	<li>fixes to make <code>-geom</code> option work properly with the
1844	    toolbar configuration (Gentoo Bugzilla #90717, #91967).
1845
1846	<li>minor improvements to scrollbar layout: ensure that the scrollbar
1847	    border is zero if the vt100 border is zero.
1848
1849	<li>improve initialization due to <code>utf8</code> resource by
1850	    loading the <code>utf8Fonts</code> resource in the case where
1851	    <code>locale</code> resource is false.  Also in this case, do
1852	    not disable switching UTF-8 mode on/off.
1853
1854	<li>minor optimization of TrueType font-loading, loads italic font
1855	    only when needed.
1856
1857	<li>correct variable used to store temporary result from lookup of bold
1858	    font, when initializing the wide-bold-font data and no immediate
1859	    match is found by asking for a bold variant of the wide-font.  The
1860	    result was to use overstriking rather than the actual bold font
1861	    (Debian #318162, patch by Eugene Konev).
1862
1863	<li>add checks to ensure vt100 widget is realized when it might be
1864	    updated via actions handled from a tek4014-only configuration.
1865</ul>
1866
1867<H1><A NAME="xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A></H1>
1868<ul>
1869	<li>modify initialization of <code>allowSendEvents</code> and
1870	    <code>allowWindowOps</code> to prevent modification with the
1871	    editres protocol.
1872
1873	<li>fix compiler warning for NetBSD by including util.h in main.c
1874	    (XFree86 Bugzilla #1596).
1875
1876	<li>fix to build on Darwin 8.x, which no longer provides
1877	    <code>setpgrp()</code> (patch by Min Sik Kim).
1878
1879	<li>adapted fixes for Legend (SCO) from diffs attached to
1880	    Freedesktop.Org Bugzilla #3180.
1881
1882	<li>fix typo in xterm manpage description of <code>-ls</code> option
1883	    (Freedesktop.Org Bugzilla #3543).
1884
1885	<li>add support for interpreting the underline attribute as an italic
1886	    font in Xft mode (patch by Chuck Blake).
1887
1888	<li>improve initialization of toolbar so that individual pulldown
1889	    menus are initialized on demand, as they are in the scenario
1890	    where they are invoked as popup menus (GenToo Bugzilla #90697).
1891
1892	<li>fix logic in <code>find_utmp</code>, which did not reset result
1893	    in <code>getutid()</code>, causing an infinite loop in some
1894	    conditions (report by Emil Mikulic).
1895
1896	<li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla #91008).
1897
1898	<li>modify ifdef's in ptyx.h and xterm_io.h to build with DragonFly
1899	    (patch by Jeroen Ruigrok).
1900
1901	<li>change default values for <code>minBufSize</code> and
1902	    <code>maxBufSize</code> to 4096 and 32768 respectively so that the
1903	    initial read request will match the value from before changes to
1904	    use <code>sched_yield()</code>.
1905
1906	<li>make paste of UTF-8 faster for Western character sets by checking
1907	    range of incoming data (patch by Joe Allen).
1908
1909	<li>adapted patch by Joe Allen to add experimental option to allow
1910	    applications to get or set the selection data as a BASE64 string.
1911
1912	<li>fix an off-by-one error parsing <code>-S/nn</code> option
1913	    (Debian #311438, report/fix by Peter Chubb).
1914
1915	<li>fix an initialization bug from
1916	    <a href="#xterm_201">patch #201</a> that broke logging
1917	    (report by Rodney Thayer).
1918
1919	<li>amend change to command-line processing in
1920	    <a href="#xterm_201">patch #201</a> to avoid
1921	    conflict with <code>-e</code> option (report by Servatius Brandt).
1922
1923	<li>suppress configure check for <code>_XOPEN_SOURCE</code> on
1924	    darwin.
1925
1926	<li>update config.guess, config.sub
1927</ul>
1928
1929<H1><A NAME="xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A></H1>
1930<ul>
1931	<li>add extended shift- and control-modifier cursor keys to
1932	    "xterm+pcfkeys" terminfo entry to correspond to ncurses 20050430
1933	    patch.
1934
1935	<li>fix a rare case where text would be written with the wrong colors
1936	    because output of scrolled text would reset the colors and the
1937	    new text would be written with the same colors (report/testcase
1938	    by Thomas Glanzmann).
1939
1940	<li>rename <code>$CMD</code> variable in <code>plink.sh</code> because
1941	    it is a reserved symbol in bash 3.00.16 (report by Ted Taylor).
1942
1943	<li>add environment variables <code>$XTERM_SHELL</code> and
1944	    <code>$XTERM_VERSION</code>
1945	    (request by Zdenek Sekera).
1946
1947	<li>corrected workaround for background color of menubar, which gave
1948	    a too-broad expression, coloring the background of the VT100
1949	    widget unless overridden by another resource setting.
1950
1951	<li>correct an error in the logic which decides when
1952	    <code>sched_yield()</code> is run; it would occasionally hang when
1953	    contending with other pseudo-terminal applications such as screen
1954	    (report by Kirill Ponomarew).
1955
1956	<li>modify initialization to decide whether to default to built-in
1957	    <code>wcwidth()</code> versus system's version based on the
1958	    starting locale and whether the system's version is poor quality
1959	    (suggested by Bram Moolenaar).
1960
1961	<li>update table for <code>mk_width()</code> from UnicodeData 4.1.0
1962	    using Markus Kuhn's <code>uniset</code> script.
1963</ul>
1964
1965<H1><A NAME="xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A></H1>
1966<ul>
1967	<li>improve resource files to show how the menubar and popup menus can
1968	    be colored (prompted by report by Joe Wells).
1969
1970	<li>modify parsing of OSC (and SOS, etc), strings so their contents
1971	    are not interpreted as UTF-8.  This allows non-ASCII title strings
1972	    to be set, provided that the window manager complies (report by
1973	    Thomas Wolff).
1974
1975	<li>improved some of the built-in line-drawing glyphs.
1976
1977	<li>correct color of "box" character drawn for line-drawing glyph 1
1978	    (report by Nicolas George).
1979
1980	<li>improve behavior when switching to UTF-8 mode after startup so
1981	    xterm will check if the current fonts are already wide
1982	    (ISO10646-1).  If they are not, xterm will use the
1983	    <code>utf8Fonts</code> subresource to load appropriate fonts
1984	    (request by Bram Moolenaar).
1985
1986	<li>modify logic for setting title-string so it applies to the current
1987	    widget rather than the vt100 widget.
1988
1989	<li>modify initialization for wide-bold fontname, to search for one
1990	    if none is given (report by Michael Schroeder).
1991
1992	<li>add resource <code>mkWidth</code> and command-line option
1993	    <code>-mk_width</code> to control whether xterm uses the built-in
1994	    version of wcwidth().
1995
1996	<li>add resource settings for minimum/maximum input buffer size, and
1997	    call to <code>sched_yield</code> to improve performance with newer
1998	    Linux kernels (adapted from patch by Nicolas George).
1999
2000	<li>correct computation of width for wide characters with the invisible
2001	    attribute (report by Thomas Wolff).
2002
2003	<li>modify interaction between <code>+u8</code> and <code>locale</code>
2004	    resource to allow the command-line option to override the resource
2005	    (requested by Thomas Wolff).
2006
2007	<li>add a limit check for scrolling margins in a one-line screen,
2008	    overlooked in fixes for
2009	    <a href="#xterm_198">patch #198</a> (Debian #297430).
2010
2011	<li>correct treatment of <code>iconBorderWidth</code> for resizing
2012	    an active-icon, and its description in manpage (Debian #296592).
2013
2014	<li>modify configure script <code>--disable-imake</code> to use the
2015	    script's definitions anyway if it cannot detect imake (prompted
2016	    by FreeBSD bug 77408).
2017
2018	<li>ignore error in the I/O initialization that tries to set the
2019	    tty to 7-bit input for the case where <code>eightBitInput</code>
2020	    resource is false (Debian #298551).
2021
2022	<li>modify command-processing to accept an optional parameter that
2023	    tells xterm which shell program to use (request by Zdenek Sekera).
2024
2025	<li>add simpler resource <code>keyboardType</code> which, when set,
2026	    overrides the individual keyboard-type resources and eliminates
2027	    the possibility of conflict between them.
2028
2029	<li>add initialization for <code>scoFunctionKeys</code> resource
2030	    (report by Rick K).
2031
2032	<li>correct logic of <code>ReallocateBufOffsets()</code> which did not
2033	    copy the content of the old screen buffer to the proper location,
2034	    making a repaint clear after switching to wide-character mode
2035	    (report by Bram Moolenaar):
2036
2037	<li>implement the remaining pieces to make xterm allocate cells for
2038	    wide-characters when the "UTF-8" menu entry is selected.  Also,
2039	    load the UTF-8 font when that menu entry is selected, or the escape
2040	    sequence for UTF-8 mode is received (report by Bram Moolenaar):
2041
2042	<li>add command-line options (<code>-tb</code>, <code>+tb</code>) and
2043	    resource <code>toolBar</code> to allow menu/toolbar to disabled or
2044	    enabled at startup (prompted by reports by Joe Wells).
2045
2046	<li>correct typo in configure script's --enable-dec-locator option
2047	    (report by Bram Moolenaar).
2048</ul>
2049
2050<H1><A NAME="xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A></H1>
2051<ul>
2052	<li>increase color pairs value for xterm-256color and xterm-88color to
2053	    match ncurses, which has an experimental option to support this.
2054
2055	<li>modify ifdef's to make AIX use termios rather than termio; the
2056            struct sizes for the two were not the same.
2057
2058	<li>improve CF_WITH_IMAKE_CFLAGS configure macro script for
2059	    OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX.
2060
2061	<li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min
2062	    Sik Kim).
2063
2064	<li>modify find_utmp() to initialize the whole utmpx struct (except
2065	    ut_id), since that is needed for OSF1 4.0D to prevent an infinite
2066	    loop on exit.
2067
2068	<li>add configure check before adding -D_POSIX_SOURCE since some
2069	    platforms predefine it, e.g., cygwin.
2070
2071	<li>add simplified sed expressions in CF_IMAKE_CFLAGS configure script
2072	    macro to ensure value for PROJECTROOT is quoted on Solaris, i.e.,
2073	    when nested <code>\(</code> and <code>\)</code> are not interpreted
2074	    correctly.
2075
2076	<li>correct DEC rectangle operations to reset state after completing
2077	    the operations.
2078
2079	<li>modify CASE_ST handling in charproc.c to ensure that the parse
2080	    state is reset even if xterm is not currently processing an OSC or
2081	    other string (patch by Johnny Billquist forwarded by Matthias
2082	    Scheler, NetBSD xsrc/29003).
2083
2084	<li>fix OS/2 build for innotek_libc (patch by David Yeo).
2085
2086	<li>fix a regression from <a href="#xterm_197">patch #197</a> fix for
2087	    Debian #277832 which disowned the selection if it was scrolled,
2088	    e.g., by the user pressing return at the bottom of the screen
2089	    (Debian #291787).
2090
2091	<li>move the warning/exit for missing $DISPLAY into the error handler
2092	    in case <code>-display</code> is given, and the connect fails for
2093	    some other reason.
2094</ul>
2095
2096<H1><A NAME="xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A></H1>
2097<ul>
2098	<li>instead of setting <code>$DISPLAY</code>, check for the unset
2099	    variable and warn/exit on this condition (comments by H Merijn
2100	    Brand and Bernhard R Link).
2101
2102	<li>fix a typo in Imakefile from <a href="#xterm_198">patch #198</a>
2103	    (reports/patches by Stefan Dirsch, and Mike Castle).
2104</ul>
2105
2106<H1><A NAME="xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A></H1>
2107<ul>
2108	<li>set <code>$DISPLAY</code> to ":0" if it is not set.
2109
2110	<li>add <code>utmpDisplayId</code> resource to allow users to control
2111	    whether the display identifier (display number and screen number)
2112	    are retained in the connection information recorded in utmp
2113	    (discussion with Edoardo Tirtarahardja).
2114
2115	<li>add <code>bellOnReset</code> resource to allow users to disable
2116	    bell which sounds on hard reset since <a href="#xterm_183">patch
2117	    #183</a> changes to DECSCL (discussion with Danek Duvall).
2118
2119	<li>improve <code>$WINDOWID</code> for configuration with toolbar by
2120	    making it refer to the top-level shell rather than the parent of
2121	    the current window.  For that case, the parent is a form widget,
2122	    which does not have a name, which made the <code>$WINDOWID</code>
2123	    not very useful as a parameter for <code>xwininfo</code>
2124	    (suggested by Dave Bodenstab).
2125
2126	<li>fix a typo in WhichVFont() macro
2127	    from <a href="#xterm_197">patch #197</a> changes
2128	    which broke the --disable-active-icon configuration
2129	    (report by Ralf S. Engelschall).
2130
2131	<li>improve some limit checks (Gentoo Bugzilla #75604).
2132
2133	<li>add --disable-setuid option to configure script (Gentoo Bugzilla
2134	    #76543).
2135
2136	<li>add --disable-full-tgetent option to configure script, allowing one
2137	    to ignore a termcap library in favor of ncurses/curses (Gentoo
2138	    Bugzilla #69926).
2139
2140	<li>modify configure script to choose useful warning options for Intel
2141	    version 8.0 compiler.
2142
2143	<li>update config.guess, config.sub
2144
2145	<li>make active-icon work properly when TrueType fonts are used
2146	    (Debian #286068).
2147
2148	<li>correct change from <a href="#xterm_157">patch #157</a> which uses
2149	    getlogin() to check for an alias; the storage used for the related
2150	    getpwuid() call was overwritten by the data used for comparison
2151	    (patch by Per Hedeland).
2152
2153	<li>correct case of SCS for character set 0 (line-drawing) to allow it
2154	    to be selected into GR.
2155
2156	<li>fix a file-descriptor leak (Redhat Bugzilla #139597).
2157
2158	<li>modify <code>creat_as()</code> to only fork if xterm is actually
2159	    running as setuid and/or setgid.  This works around a Cygwin bug
2160	    which hangs when logging is enabled and makes xterm a little
2161	    faster for systems using interfaces such as utempter (report by
2162	    Al Goodman).
2163
2164	<li>modify <code>Cleanup()</code> to avoid operations such as X calls
2165	    that might use unsafe functions when it is called by a signal
2166	    handler (report by Michiel Boland).
2167
2168	<li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM changes
2169	    from <a href="#xterm_197">patch #197</a> that
2170	    broke DECSET 38:  switch to Tek4014 emulation (report by Dave
2171	    Bodenstab).
2172
2173	<li>fix for manpage escapes (Marc La France).
2174
2175	<li>improve on IRIX-specific change for Imakefile in XFree86 CVS versus
2176	    resize linking against termcap library to reflect definitions for
2177	    USE_TERMCAP in resize.c
2178</ul>
2179
2180<H1><A NAME="xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A></H1>
2181<ul>
2182	<li>modify configure script to remove empty "-DPROJECTROOT=" definition
2183	    which resulted unusable values for luit's default path.
2184
2185	<li>update precompose.c based on Unicode 4.0.1
2186
2187	<li>several minor fixes based on Intel compiler warnings.
2188
2189	<li>change default translations so a <code>BtnDown</code> which is
2190	    not recognized is simply ignored rather than emitting a bell.
2191	    That makes it less obtrusive when the user tries to use a mouse
2192	    which provides more capabilities than the X mouse driver supports,
2193	    e.g., one with a horizontal scroll wheel (Debian #265133).
2194
2195	<li>note in xterm's manpage that <code>translations</code> is not
2196	    specific to xterm (Debian #278897).
2197
2198	<li>modify uxterm script to use locale program to verify if the
2199	    derived locale is installed (Debian #246398).
2200
2201	<li>correct font handling for active icon when in UTF-8 mode (report
2202	    by Paolo Liberatore).
2203
2204	<li>make active-icon and toolbar configurations work together.
2205
2206	<li>modify the criteria for disowning primary selection.  Previously,
2207	    this happened anytime the cursor was moved before the end of the
2208	    selection.  That would ensure that any insert/delete of char or
2209	    line, as well as scrolling, would disown the selection.  The
2210	    new criteria change this to checking if the operations would
2211	    modify the data which is highlighted (Debian #277832).
2212
2213	<li>reimplement <code>DECALN</code> with functions for vt420 rectangles,
2214	    fixes selection for this case.
2215
2216	<li>implement vt420 rectangle operations.
2217
2218	<li>add parsing, for debug/test of vt220 soft-fonts.
2219
2220	<li>add menu entry, actions and escape sequence to allow
2221	    enabling/disabling toolbars at runtime.
2222
2223	<li>improve rendering for Xft, allow it to draw non-linedrawing
2224	    characters such as "pi", which were drawn from internal tables
2225	    with <a href="#xterm_180">patch #180</a>
2226	    (Freedesktop.org Bugzilla #1260).
2227
2228	<li>add configure option <code>--enable-mini-luit</code>, ifdef'd the
2229	    mini-luit feature with <code>OPT_MINI_LUIT</code>.
2230
2231	<li>add mini-luit feature, which supports Latin9 directly rather than
2232	    via luit, provided that Unicode fonts are used (Freedesktop.org
2233	    Bugzilla #1571, request by Stefan Dirsch, patch by Michael
2234	    Schroeder).
2235
2236	<li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels,
2237	    set the corresponding flag for the slave pty, to enable UTF-8
2238	    interpretation of backspace in cooked mode (Freedesktop.org
2239	    Bugzilla #1578, request by Stefan Dirsch).
2240
2241	<li>modify <code>faceSize</code> resource to use a floating-point
2242	    internal value (adapted from patch by Sam Stephenson).
2243
2244	<li>correct handling selection of tabs over cleared space in UTF-8
2245	    mode.  In this special case, xterm represents the whitespace with
2246	    a null rather than a space character (Debian #276447).
2247
2248	<li>amend fix for infinite loop from <a href="#xterm_192">patch
2249	    #192</a> to check if there is wrapped text to output in a following
2250	    iteration (Debian #273202).
2251
2252	<li>fixes ifdef'd with <code>__INTERIX</code> to allow building with
2253	    Interix (Windows Services for UNIX) 3.5 using the xlibs libraries
2254	    from freedesktop.org (patch by Min Sik Kim).
2255
2256	<li>amend solution for Debian #252873, #260471 from <a
2257	    href="#xterm_194">patch #194</a> by making the cursor not
2258	    explicitly colored if only the foreground color is set, and the
2259	    cursor is on a blank space (Debian #275473).
2260
2261	<li>correct logic for send/receive mode (SRM) with regard to control
2262	    characters.
2263
2264	<li>fix masking of invisible text in wide-character mode, which did
2265	    not work for line-drawing characters.
2266
2267	<li>incorporate CF_XOPEN_SOURCE into configure script, replacing
2268	    CF_GNU_SOURCE.
2269</ul>
2270
2271<H1><A NAME="xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A></H1>
2272<ul>
2273	<li>add a special case to configure script to ignore NetBSD's
2274	    <code>grantpt()</code> which was recently added (but not part of a
2275	    release), until someone is able to ensure that xterm can use it
2276	    (report by Min Sik Kim).
2277
2278	<li>clear the buffer returned by getutid().  This fixes an infinite
2279	    loop on some platforms introduced in <a href="#xterm_193">patch
2280	    #193</a> by Debian #256468 fix (report by David Ellement).
2281</ul>
2282
2283<H1><A NAME="xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A></H1>
2284<ul>
2285	<li>correct length used for blinking text, make the last column blink
2286	    (patch by Alexander V Lukyanov).
2287
2288	<li>start changes to make doublesize characters work with TrueType
2289	    fonts (see <a href="#xterm_44">patch #44</a>).
2290
2291	<li>trim leading/trailing blanks from color resources as done for
2292	    other strings in <a href="#xterm_167">patch #167</a>.
2293
2294	<li>fixes for <code>showBlinkAsBold</code> resource (report by
2295	    Christoph Berg).
2296</ul>
2297
2298<H1><A NAME="xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A></H1>
2299<ul>
2300	<li>change clearing operations so foreground color attribute is not
2301	    set.  Usually this is benign, but in some cases when the cursor
2302	    color is not set explicitly, the cursor would show this color
2303	    (Debian #252873, #260471).
2304
2305	<li>add extra state (cursor-moved) to guard against deciding that the
2306	    cursor did not require repainting after an indexing operation
2307	    that leaves the cursor in the same location on the screen.
2308
2309	<li>fix a case where a full-screen indexing operation would
2310	    not restore the cursor-busy state.
2311
2312	<li>fix a repainting bug introduced in
2313	    <a href="#xterm_180">patch #180</a>:  when using a font
2314	    lacking line-drawing characters, a repaint of the screen could
2315	    skip horizontally an extra amount after filling in the missing
2316	    character (reports by Nicolas George, Hans de Goede, Redhat
2317	    Bugzilla #128341).
2318
2319	<li>rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for
2320	    consistency with ncurses.
2321</ul>
2322
2323<H1><A NAME="xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A></H1>
2324<ul>
2325	<li>fix for wide-character selection from OpenBSD CVS
2326	    (report/patch by Matthieu Herrb).
2327
2328	<li>modify initialization and cleanup of utmp data to also compare
2329	    the <code>ut_line</code> member (Debian #256468).
2330
2331	<li>modify check on focus-change to ignore <code>FocusOut</code> events
2332	    generated by <code>XGrabKeyboard</code>.  This fixes a case where
2333	    the text cursor would act as if focus were lost when selecting the
2334	    "Secure Keyboard" menu option.
2335
2336	<li>add <code>gen-pc-fkeys.pl</code> script, use that to generate
2337	    terminfo fragment corresponding to the pc-style function keys.
2338
2339	<li>fix a case where the checkmark by the "VT220 Keyboard" menu entry
2340	    was not set on startup.
2341
2342	<li>separated two methods for making the cursor blink (menu and
2343	    escape sequence) by using the menu as the primary method and
2344	    XOR'ing the state of the escape sequence against that.
2345
2346	<li>modify logic for enabling blinking cursor via escape sequence as
2347	    well as the related save/restore operations so this is only
2348	    available if the <code>cursorBlink</code> resource was set on
2349	    startup.
2350</ul>
2351
2352<H1><A NAME="xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A></H1>
2353<ul>
2354	<li>change resource settings for color4 and color12, add some discussion
2355	    in <code>XTerm-col.ad</code> (Debian #241717).
2356
2357	<li>add a note in xterm manpage discussing the difference between
2358	    alt- and meta-keys, and the way the latter is used in the
2359	    <code>eightBitInput</code> resource.
2360
2361	<li>add a note in xterm manpage regarding possible conflict between
2362	    resource settings for <code>xterm.vt100.font</code> and
2363	    <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).
2364
2365	<li>add compile-time customization of <code>backarrowKeyIsErase</code>
2366	    and <code>ptyInitialErase</code> default resource values
2367	    (adapted from OpenBSD CVS).
2368
2369	<li>change parameter of <code>FIONREAD</code> <code>ioctl()</code> call
2370	    from long to int
2371	    (discussion on tech-x11@netbsd.org regarding LP64 by
2372	    John Heasley and Matthias Scheler).
2373
2374	<li>modify configure script options for Athena widgets to work as
2375	    expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455).
2376
2377	<li>add case to uxterm to accommodate locales ending with "@euro",
2378	    e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by
2379	    Matthieu Lagouge).
2380
2381	<li>add special case for VT100 graphic's "box" character (discussion
2382	    with Ben Armstrong).
2383
2384	<li>add missing initialization for bitmap-font sizes needed to make
2385	    fonts menu work with TrueType fonts (report by Ben Armstrong).
2386
2387	<li>save the fontnames for bold fonts that are derived from normal
2388	    fonts, or from the <code>boldFont</code> resource, so the same
2389	    value is restored when switching with the VT Fonts menu (Debian
2390	    #256086).
2391
2392	<li>fix manpage preprocessing (Marc La France).
2393
2394	<li>fix typo in manpage's description of character classes (Debian
2395	    #257073).
2396
2397	<li>modify terminfo to accommodate luit, which relies on G1 being used
2398	    via an ISO-2022 escape sequence (Debian #254316, analysis by
2399	    Juliusz Chroboczek).
2400
2401	<li>modify Makefile.in rule for ctlseqs.txt to work around groff SGR
2402	    misfeature.
2403
2404	<li>modify <code>XTerm.ad</code> to set <code>saveLines</code> default
2405	    to 1024 (Redhat Bugzilla #127132).
2406
2407	<li>add a limit-check in <code>dotext()</code> to prevent infinite
2408	    loop in a corner case of UTF-8 configuration.
2409
2410	<li>update config.guess, config.sub
2411</ul>
2412
2413<H1><A NAME="xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A></H1>
2414<ul>
2415	<li>correct options parsing for <code>-into</code> option so it
2416	    can be combined with <code>-e</code> (Redhat Bugzilla #124518,
2417	    report/patch by James Armstrong).
2418
2419	<li>fix ifdef's for <code>OPT_COLOR_RES2</code>
2420	    so that the fake resource table introduced in
2421	    <a href="#xterm_188">patch #188</a>
2422	    is not compiled if it is empty.
2423	    This happened to work with gcc (report by Joel Konkle-Parker).
2424
2425	<li>reorganize ptydata.c to use one input buffer shared between
2426	    the VTxxx and tek4014 emulators.  In the new scheme, UTF-8
2427	    decoding is performed on characters as they are needed by the
2428	    state machine rather than on buffers as they are read.
2429
2430	<li>work around change in quoting of PROJECTROOT symbol when using
2431	    configure script, from changes made in
2432	    <a href="#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS
2433	    (GenToo Bugzilla #50982).
2434</ul>
2435
2436<H1><A NAME="xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A></H1>
2437<ul>
2438	<li>correct state for values in the range 128-159 after translating
2439	    from UTF-8: this should be ignored unless the user overrides it
2440	    with the <code>allowC1Printable</code> resource (reported by
2441	    Simon Strandgaard).
2442
2443	<li>add configure-script check for nl_langinfo(CODESET), use this to
2444	    replace check of environment variables for UTF-8.
2445
2446	<li>change Makefile.in rules for 256colres.h and 88colres.h so they
2447	    are only made if they do not exist.  The maintainer-clean rule
2448	    will remove these files; they require perl to be made.
2449
2450	<li>remove check in configure script --enable-toolbar that suppressed
2451	    this option when building with Xaw7.
2452
2453	<li>apply fixes to Tektronix widget used for VT100 widget to make
2454	    toolbar work with Xaw7 (XFree86 4.x).
2455</ul>
2456
2457<H1><A NAME="xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A></H1>
2458<ul>
2459	<li>do not call xim_real_init() if <code>openIm</code> resource is
2460	    false (Debian #249025).
2461
2462	<li>minor improvements to built-in line-drawing.
2463
2464	<li>fix a few portability issues with dynamic abbreviation support,
2465	    i.e., did not compile on Tru64.
2466
2467	<li>modify constraints in form used to layout toolbar, to work with
2468	    newer Xaw in XFree86 4.x.
2469</ul>
2470
2471<H1><A NAME="xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A></H1>
2472<ul>
2473	<li>correct table entry for DEL in the ground state, which marked it
2474	    as a printable character from <a href="#xterm_171">patch #171</a>
2475	    (report by D Hugh Redelmeier).
2476
2477	<li>improve fix in <a href="#xterm_186">patch #186</a> for failure in
2478	    xim_real_init() by adding a sleep.
2479
2480	<li>fix a typo in os2main.c
2481	    (XFree86 Bugzilla #1358, report/patch by Frank Giessler).
2482
2483	<li>make escape sequence reporting dynamic colors consistent with the
2484	    logic that sets it; choosing the opposite color when reverse
2485	    video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye).
2486
2487	<li>modify initialization of 256- and 88-colors so that colors beyond
2488	    16 are normally not X resources.  This works around a hard-coded
2489	    limit in Xt which breaks xterm when 256-colors and luit are both
2490	    configured (report by Noah Friedman).
2491
2492	<li>remove <code>ncv</code> from <code>xterm-256color</code> terminfo
2493	    entry since it is no longer needed (report by Eli Zaretskii).
2494
2495	<li>add "erase2" and "eol2" keywords to <code>ttyModes</code> resource,
2496	    for recent/current FreeBSD.
2497
2498	<li>improve ifdef's for utempter library to omit direct calls to
2499	    <code>setutent()</code> or <code>getutent()</code> (adapted from
2500	    patch by Christian Biere).
2501
2502	<li>add dynamic abbreviation support like Emacs (patch by Tomasz
2503	    Cholewo).  This is ifdef'd with <code>OPT_DABBREV</code>, and
2504	    enabled via the configure script <code>--enable-dabbrev</code>
2505	    option.
2506
2507	<li>fix problem responding to session management events, e.g., which
2508	    would make logging out very slow (patch by Eddy De Greef, Debian
2509	    #233883).
2510
2511	<li>work around a newer bug in toolbar with XFree86 by forcing menus
2512	    to be fully initialized at startup.  In older versions of XFree86
2513	    and X11R6, it was possible to delay initialization of the menu
2514	    contents until it was popped up.  (The longstanding bug with
2515	    XFree86 4.x layout for toolbar still exists, though).
2516
2517	<li>modify <code>xtermAddInput</code> to work around core dump on
2518	    IRIX64 when initializing scrollbar translations if toolbar is
2519	    compiled-in.
2520
2521	<li>fix some minor conflicts in the 2-character entry names in the
2522	    termcap file.
2523</ul>
2524
2525<H1><A NAME="xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A></H1>
2526<ul>
2527	<li>change xterm version string to use <code>__vendorversion__</code>
2528	    where that is available, and "XTerm" otherwise.
2529
2530	<li>improve description of <code>utf8</code> resource in manpage
2531	    (Debian #179407).
2532
2533	<li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to
2534	    handle <code>-D</code> options that define string values, e.g.,
2535	    for <code>XVENDORNAME</code>.
2536
2537	<li>modify configure macro CF_IMAKE_CFLAGS to allow (if
2538	    <code>$PATH</code> is set accordingly) to use the
2539	    <code>xmkmf</code> script within an X build tree.
2540
2541	<li>add missing <code>#undef OPT_SESSION_MGT</code> to xtermcfg.hin
2542	    to make the configure script's --disable-session-mgt option work.
2543
2544	<li>update config.guess, config.sub
2545</ul>
2546
2547<H1><A NAME="xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A></H1>
2548<ul>
2549	<li>change reset on <code>DECSCL</code> to a soft-reset (appears some
2550	    DEC manuals have errors).
2551
2552	<li>add a section to ctlseqs.ms elaborating on normal/alternate screens.
2553
2554	<li>modify initialization of Acolors[] so that any XtDefaultForeground
2555	    or XtDefaultBackground values are translated as in the Tcolors[],
2556	    to use the window's foreground/background colors.  This affects
2557	    the <code>colorBD</code> and similar resources which normally have
2558	    no explicit color assigned.
2559
2560	<li>modify initialization of Tektronix window so that control sequences
2561	    setting its color before the window is popped up will apply to
2562	    its initial colors.
2563
2564	<li>add control sequence to set Tektronix window's text-cursor.
2565
2566	<li>modify initialization of terminal colors, e.g., mouse pointer and
2567	    text cursor, to treat <code>XtDefaultForeground</code> and
2568	    <code>XtDefaultBackground</code> values as the actual foreground
2569	    and background colors of the terminal rather than white and black
2570	    (Debian #241717).
2571
2572	<li>remove an incorrect comparison against <code>PTYCHARLEN</code> in
2573	    parsing the <code>-S</code> option (report by Michael B Taylor).
2574
2575	<li>minor restructuring of terminfo/termcap files, having noted some
2576	    packager's customizations which caused the structure to be
2577	    confused.
2578
2579	<li>eliminate an isolated use of MIN/MAX in charproc.c
2580
2581	<li>replace <code>XtExtdefaultfont</code> and
2582	    <code>XtExtdefaultbackground</code> by their more familiar
2583	    equivalents
2584	    <code>XtDefaultFont</code> and
2585	    <code>XtDefaultBackground</code>.
2586
2587	<li>replace ifdef's using <code>SCO</code>, <code>sco</code> and
2588	    <code>SCO325</code> with <code>__SCO__</code>
2589	    (XFree86 Bugzilla #1301, Kean Johnston).
2590	    But ensure that it still builds on platforms where this symbol
2591	    is not defined.
2592
2593	<li>add <code>scoFunctionKeys</code> resource, to match manpage.
2594
2595	<li>update manpage discussion of menus and related resources.
2596
2597	<li>enable utmpx support for NetBSD 1.6C and newer (patch by
2598	    Matthias Scheler).
2599
2600	<li>add a note in the manpage discussing xterm's treatment of open
2601	    file-descriptors (request by Dan Shearer).
2602
2603	<li>modify <code>Help()</code> to make "xterm -h" write to standard
2604	    output rather than standard error (patch by Bram Moolenaar).
2605
2606	<li>check for type of failure in xim_real_init() to avoid looping when
2607	    the problem is an unsupported input method rather than a failure
2608	    to connect to the XIM server.  Problem was introduced in
2609	    <a href="#xterm_175">patch #175</a> (XFree86 Bugzilla #1306).
2610
2611	<li>modify <code>Imakefile</code> to remove dependency of "install"
2612	    target on the <code>xterm</code> executable to make installs from
2613	    tree without attempting to rebuild anything (David Dawes, based on
2614	    a patch and report from Lee Olsen).
2615
2616	<li>remove call to <code>ShowCursor</code> from
2617	    <code>SetCursorBlink()</code> since that is redundant,
2618	    and can cause display glitches if the cursor is already
2619	    blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).
2620</ul>
2621
2622<H1><A NAME="xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A></H1>
2623<ul>
2624	<li>fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233,
2625	    report/patch by Anton Kovalenko).
2626
2627	<li>add test-scripts resize.pl and tcapquery.pl
2628
2629	<li>add translation to ASCII of commonly-used characters that groff
2630	    translates to Unicode, when the font in use does not provide the
2631	    corresponding glyphs (Debian #219551).
2632
2633	<li>modify RequestMaximize(), which performs maximize/restore via
2634	    control sequences, to account for window-frame (patch by
2635	    Jess Thrysoee).
2636
2637	<li>improve pattern used in <code>uxterm</code> to check for UTF-8
2638	    locale, e.g., for HPUX (patch by H Merijn Brand).
2639
2640	<li>add <code>-fd</code> option and resource
2641	    <code>faceNameDoublesize</code> to specify double-wide fonts with
2642	    Xft (adapted from patch by Zarick Lau).
2643
2644	<li>change a couple of resource classes from "Boolean" to specific
2645	    values: <code>freeBoldBox</code>, <code>forceBoxChars</code>.
2646
2647	<li>add resource <code>showMissingGlyphs</code> to outline places on
2648	    the screen where a font lacks the corresponding glyph.
2649
2650	<li>add resource <code>showBlinkAsBold</code> to control whether
2651	    blinking text should be shown as bold or actual blinking text.
2652
2653	<li>improve logic in ShowCursor() to avoid repainting the cursor when
2654	    it is already visible, e.g., in response to the DECTCEM escape
2655	    sequence.  This also addresses XFree86 Bugzilla #1158.
2656
2657	<li>implement blinking text, using the timer for blinking cursor.
2658
2659	<li>modify FreeType support to allow resizing the font, in the same
2660	    ways the window can be resized if fixed fonts are used.  The
2661	    relative font sizes are derived from the fixed font sizes.
2662
2663	<li>add menu items and corresponding actions for switching on/off
2664	    the UTF-8 mode and Xft (TrueType) support.
2665
2666	<li>add logic to handle switching UTF-8 mode on/off.  It worked if
2667	    the escape sequences were flushed, but if data was mixed in with
2668	    the same write, some were not handled properly (report by
2669	    Nicolas George).
2670
2671	<li>modify to allow turning UTF-8 mode on/off via escape sequence even
2672	    if <code>-wc</code> option was not given at startup (patch by Peter
2673	    Berg Larsen).
2674
2675	<li>amend fix for XFree86 Bugzilla #981, adjusting for savedlines value
2676	    (report by Tim Adye).
2677
2678	<li>fix a typo in computing relative font size (Jess Thrysoee).
2679</ul>
2680
2681<H1><A NAME="xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A></H1>
2682<ul>
2683	<li>improve configure-script checks for FreeType and related libraries,
2684	    using <code>xft-config</code> or <code>freetype-config</code>
2685	    scripts when available.
2686
2687	<li>fix configure-script check for <code>SYSV</code> definition by
2688	    ensuring whether <code>sys_errlist[]</code> is declared, and by
2689	    modifying the test program to include <code>X11/Intrinsic.h</code>
2690	    to check that <code>wchar_t</code> is declared consistently (report
2691	    by H Merijn Brand).
2692</ul>
2693
2694<H1><A NAME="xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A></H1>
2695<ul>
2696	<li>correct logic for configurations that may attempt to open both
2697	    old/new-style pseudoterminals.  In this case, the old-style are
2698	    preferred.  Logic was broken in <a href="#xterm_145">patch #145</a>
2699	    (XFree86 Bugzilla #997, report/patch by Kean Johnston).
2700
2701	<li>modify handling of <code>eightBitInput</code> resource in UTF-8
2702	    mode to translate the value into UTF-8.  Otherwise an illegal
2703	    UTF-8 code is sent to the application (report by Bram Moolenaar).
2704
2705	<li>modify <code>uxterm</code> script to interpret help and version
2706	    options so xterm does not always create a window when the user
2707	    requests this information (Debian #223926).
2708
2709	<li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981).
2710
2711	<li>modify DECSCL to perform a hard reset (RIS) as per DEC manuals.
2712	    Extended DECSCL to accept parameters for vt4XX and vt5xx terminals.
2713
2714	<li>correct logic for ANSI conformance level escape sequences, which
2715	    were confused with DEC conformance level escape sequences.
2716
2717	<li>correct state for vt52 shift-in/shift-out, which was not reset
2718	    properly after <a href="#xterm_171">patch #171</a>.
2719
2720	<li>correct handling of graphics characters for vt52 mode, which did
2721	    not display line-drawing characters after G1 fix from
2722	    <a href="#xterm_182">patch #182</a>.
2723
2724	<li>fixes for configure script to work with current Cygwin headers
2725	    and libraries.
2726
2727	<li>modify <code>Imakefile</code> to put the current directory at the
2728	    beginning of the include searchpath (David Dawes).
2729</ul>
2730
2731<H1><A NAME="xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A></H1>
2732<ul>
2733	<li>correct logic for <code>metaSendsEscape</code> resource to allow
2734	    for the meta-right key to be tested.  Improve check for meta/alt
2735	    modifiers by dropping the assumption that a keysym is associated
2736	    with only one modifier, and by ignoring NoSymbol entries in the
2737	    xmodmap data (XFree86 Bugzilla #924, patch by David Dawes).
2738
2739	<li>correct wrapping logic for line-drawing characters written in
2740	    non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla
2741	    #918, report/patch by J&#x00fc;rgen Keil).
2742
2743	<li>improve manpage description of resources, in particular the
2744	    <code>utf8Fonts</code> class (XFree86 Bugzilla #905).
2745
2746	<li>add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD
2747	    and GNU/KNetBSD (XFree86 Bugzilla #893).
2748
2749	<li>compiler-warning fixes (patch by Christian Biere).
2750
2751	<li>add README.i18n (Tomohiro KUBOTA).
2752
2753	<li>correct initialization of G1 character set mapping, which used
2754	    line-drawing set as a result of confusion between "DEC Supplemental
2755	    Graphic" and "DEC Special Graphic" character sets
2756	    (see <a href="#xterm_34">patch #34</a> regarding DECSTR).
2757
2758	<li>correct ifdef in main.c for variable utret (patch by
2759	    Bernhard Rosenkraenzer).
2760
2761	<li>document in xterm's manpage how to use XFree86 ":unscaled" keyword
2762	    to suppress scaling of bold fonts.
2763
2764	<li>when deriving bold fontname from normal fontname, use the normal
2765	    font's average width to avoid for example selecting 7x13bold
2766	    from an 8x13 normal font (Debian #107769).
2767</ul>
2768
2769<H1><A NAME="xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A></H1>
2770<ul>
2771	<li>implement <code>boldMode</code> for wide-character logic in
2772	    <code>drawXtermText()</code> (report by Michael Schroeder).
2773
2774	<li>modify <code>UXTerm.ad</code> resource file to include
2775	    "XTerm-color" rather than "XTerm", in case the latter file contains
2776	    no color resource definitions, e.g., after <a
2777	    href="#xterm_180">patch #180</a>.
2778
2779	<li>add action <code>load-vt-fonts()</code> and configure option
2780	    <code>--enable-load-vt-fonts</code> which allows users to define
2781	    additional sets of VT-fonts which can be loaded at runtime.
2782
2783	<li>add logic to wide-character support which attempts to load fonts
2784	    specified by <code>utf8Fonts</code> subresources at startup.  The
2785	    subresources have the same names as the fonts which they replace,
2786	    e.g., <code>font</code>, <code>font1</code>, etc., so that the
2787	    ISO-10646-1 fonts can be specified in the <code>XTerm</code>
2788	    app-defaults file (this is an adaptation of a patch by Tomohiro
2789	    KUBOTA).
2790
2791	<li>improve Set Font escape string handling by making the relative
2792	    settings apply to the size of the font, as in shift keypad
2793	    plus/minus rather than the menu index.
2794
2795	<li>simplify parameter passing for the <code>set-vt-font</code> action
2796	    and related code.
2797
2798	<li>cleanup some include-ordering, moving some recently-added hardcoded
2799	    stuff into xterm.h where it will not interfere with the configure
2800	    script.
2801
2802	<li>modify <code>xtermAddInput()</code> (see note on augmentation in <a
2803	    href="#xterm_158">patch #158</a>) to use the complete set of
2804	    default keyboard translations so that one can use shifted pageup,
2805	    wheel mouse, etc., while the mouse pointer is over the scrollbar.
2806	    (Debian #178812).
2807
2808	<li>make save/restore mode controls apply to show/blink cursor states.
2809
2810	<li>add escape sequence to start/stop blinking cursor, which allows
2811	    implementing <code>cvvis</code> terminfo capability (request by
2812	    Nate Bargmann).
2813
2814	<li>add <code>indp</code> and <code>rin</code> to terminfo entry.
2815
2816	<li>fix an out-of-bounds array reference in ScrnRefresh() for wide
2817	    characters (report by Dan Harnett, patch by Todd Miller, bug dates
2818	    from <a href="#xterm_141">patch #141</a>).
2819</ul>
2820
2821<H1><A NAME="xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A></H1>
2822<ul>
2823	<li>several fixes for rendering using Xft (option <code>-fa</code>):
2824	  <ul>
2825	  <li>translate Unicode values (from UTF-8 output to xterm) for
2826	      line-drawing to xterm's internal code, etc., since TrueType fonts
2827	      generally do not have either set of line-drawing glyphs.  xterm
2828	      can draw these directly (report by Abigail Brady).
2829	  <li>pass 16-bit values rather than 8-bit values to
2830	      xtermXftDrawString() to allow for wide-characters.
2831	  <li>remove spurious check for <code>colorBDMode</code> resource in
2832	      logic that does bold fonts.
2833	  <li>implement underlining.
2834	  </ul>
2835
2836	<li>patches by Ilya Zakharevich:
2837	  <ul>
2838	  <li>improve drawXtermText() by making the recursive calls
2839	      communicate through arguments, and not through saving/restoring
2840	      global variables.
2841
2842	  <li>make double-width characters work with <code>-u8</code> option.
2843
2844	  <li>modify lookup of double-sized fonts by checking for a match
2845	      ignoring x/y resolution if the first check fails.
2846	  </ul>
2847
2848	<li>make height of TrueType fonts match ascent+descent (patch by
2849	    Keith Packard).
2850
2851	<li>correct configure-script check for imake $CFLAGS, which did not
2852	    check properly if imake was not available.
2853
2854	<li>correct install rule in Makefile.in for <code>uxterm</code>, which
2855	    was attempting to strip the script (newsgroup posting by Fernan
2856	    Aguero).
2857
2858	<li>correct AF/AB strings in termcap for xterm-256color and
2859	    xterm-88color entries (report by Josh Howard).
2860
2861	<li>update wcwidth.c to incorporate changes from Markus Kuhn's
2862	    2003-05-20 (Unicode 4.0) version of that file.
2863
2864	<li>modify <code>scroll-back</code> and <code>scroll-forw</code>
2865	    actions to accept an adjustment value, e.g.,
2866	    <pre>
2867	      <code>scroll-back(1, page-2)</code></pre>
2868	    to scroll back by 2 lines less than a page (patch by Greg
2869	    Klanderman).
2870
2871	<li>use color resource setting from Debian package for xterm VT100 widget,
2872	    since the choice of blues provides better contrast.
2873
2874	<li>remove color resources from <code>XTerm.ad</code>, leaving them
2875	    only in <code>XTerm-col.ad</code> (prompted by Debian package for
2876	    xterm).
2877
2878	<li>correct configure script option --enable-pty-handshake (report by
2879	    Paul Gilmartin).
2880
2881	<li>add <code>visualBellDelay</code> resource to modify the length of
2882	    time used for visual bell, for very slow displays or very fast
2883	    computers (reports by Ingo van Lil and Doug Toppin).
2884
2885	<li>correct logic for initializing dynamic highlight color (patch by
2886	    Jess Thrysoee).
2887
2888	<li>add a check for non-zero size in call to <code>XCopyArea()</code>
2889	    to accommodate a Solaris bug.
2890
2891	<li>correct typo in example for character classes in xterm manpage
2892	   (Debian #198910).
2893
2894	<li>link xterm with bind_on_load option on Darwin to work around a
2895	   deadlock in the dynamic loader when a signal is received while
2896	   the dynamic loader is looking up symbols (patches by Rob Braun,
2897	   Torrey Lyons).
2898
2899	<li>modify configure script to avoid using "head -1".
2900
2901	<li>update config.guess, config.sub
2902
2903	<li>modify ifdef's to work around inclusion of types FcChar32 and
2904	   XftCharSpec with FreeType 2.0 (see <a href="#xterm_175">patch #175</a>).
2905
2906	<li>modify the predictable version of the generated logfile name (see
2907	   <a href="#xterm_171">patch #171</a>) to append the process-id rather
2908	   than a random value.
2909
2910	<li>resync with XFree86 CVS:
2911	<ul>
2912	   <li>Enable SCO function keys in xterm
2913	   <li>Make Delete key send DEL by default on SCO in xterm
2914	</ul>
2915</ul>
2916
2917<H1><A NAME="xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A></H1>
2918<ul>
2919	<li>modify ifdef's for WTMPX_FILE to allow building on cygwin again.
2920
2921	<li>change the default of pty-handshaking configure option (and related
2922	    default for imake) to assume this feature is needed.
2923
2924	<li>add ifdef's so configure option for XawPlus library works (patch
2925	    by Pavel Roskin).
2926
2927	<li>add <code>$(MAIN_DEFINES)</code> to the variables checked by the
2928	    configure script that may contain information set by imake.  This
2929	    allows xterm to build/run properly using the configure script on
2930	    IRIX64.
2931
2932	<li>add configure check for ".exe" suffix on cygwin.
2933</ul>
2934
2935<H1><A NAME="xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A></H1>
2936<ul>
2937	<li>modify default for configure <code>--enable-pty-handshake</code>
2938	    option to enable it for Solaris (report by Nelson Beebe).
2939
2940	<li>modify <code>in_put()</code> function to call
2941	    <code>PreeditPosition()</code> only when the cursor's position has
2942	    changed.  This addresses report by Stefan Baums of high CPU usage
2943	    while xterm with chinput are running in the background (patch by
2944	    Yong Li).
2945
2946	<li>improved explanation of <code>-ls</code> conflict with
2947	    <code>-e</code> option in xterm manpage (adapted from comments by
2948	    Henning Makholm).
2949
2950	<li>correct comment in terminfo file regarding modifier used for
2951	    <code>kDC</code> (Debian #189764, report by Henning Makholm).
2952
2953	<li>correct/extend some of the keypad description in ctlseqs.ms
2954	    (report by Henning Makholm).
2955
2956	<li>correct keypad-mapping table in input.c so <code>XK_KP_Equal</code>
2957	    works (report by Henning Makholm).
2958
2959	<li>modified to work with CJK double-width (bi-width/monospace) fonts.
2960	    They're similar to Roman Czbora and David Starner's gnuunifonts in
2961	    that Latin letters and numbers have all the same width which is
2962	    exactly the half of the width of East Asian characters.  (patch by
2963	    Jungshik Shin &lt;jshin@mailaps.org&gt;).
2964
2965	<li>add configure option <code>--enable-broken-osc</code> and resource
2966	    <code>brokenLinuxOSC</code> to accommodate scripts which do not
2967	    distinguish between running in the Linux console and running in X.
2968	    Linux console recognizes malformed control strings which start
2969	    with an <code>OSC</code>, but are fixed-length, with no terminator.
2970
2971	<li>add configure option <code>--enable-broken-st</code> and resource
2972	    <code>brokenStringTerm</code> to allow
2973	    user to revert one part of the parsing table corrections from
2974	    <a href="#xterm_171">patch #171</a>.  (reports by
2975	    Matthias Scheler and
2976	    Kirill Ponomarew indicate that someone's
2977	    network firmware sends an <code>&lt;escape&gt;X</code>).
2978
2979	<li>modify configure <code>--disable-imake</code> to provide values
2980	    for <code>OSMAJORVERSION</code>, <code>OSMINORVERSION</code>,
2981	    <code>FUNCPROTO</code> and <code>NARROWPROTO</code> (report by
2982	    Heiko Schlichting).
2983
2984	<li>correct <code>vttests/16colors.sh</code>, which omitted the
2985	    <code>$SUF</code> variable in output strings (patch by Paul
2986	    Gilmartin).
2987
2988	<li>modify shell scripts in <code>vttests</code> directory to attempt
2989	    to use named signals in the <code>trap</code> statement, making
2990	    this portable to OS/390 (report by Paul Gilmartin).  Tested on
2991	    SunOS 4.1.4, which implements only numbers.
2992</ul>
2993
2994<H1><A NAME="xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A></H1>
2995<ul>
2996	<li>fix definition of <code>USE_HANDSHAKE</code>, must be numeric
2997	    (reported by Jens Schleusener).
2998</ul>
2999
3000<H1><A NAME="xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A></H1>
3001<ul>
3002	<li>add configure option <code>--enable-pty-handshake</code> to allow
3003	    one to compile-in support for the pty handshaking logic, and
3004	    resource <code>ptyHandshake</code> to enable or disable it
3005	    (suggested by Ian Collier).
3006
3007	<li>restore <code>USE_HANDSHAKE</code> ifdef removed in
3008	    <a href="#xterm_159">patch #159</a>
3009	    to address Debian #39964.
3010
3011	<li>move ifdef's for ttysize/winsize into xterm_io.h
3012
3013	<li>simplify loop on <code>tgetent</code>, check if the successive
3014	    entries in the lookup table are the same.  That makes xterm do
3015	    one less lookup if there is no "xterm" entry in the termcap file
3016	    (report by Derek Martin).
3017
3018	<li>correct manpage discussion of <code>$TERM</code> and
3019	    <code>$TERMCAP</code> variables, which omitted the Tektronix
3020	    emulation and a note of the final "dumb" fallback.
3021
3022	<li>broaden ifdef for <code>XRegisterIMInstantiateCallback()</code>
3023	    from <a href="#xterm_175">patch #175</a> (XIM fix) to exclude
3024	    non-XFree86 (report by Nelson Beebe indicates this breaks for
3025	    Solaris, IRIX and OSF/1).
3026
3027	<li>correct resource-size for <code>iconFont</code> (this was added
3028	    by X11R6.3).
3029
3030	<li>improve configure check for XKB bell extension, to work around
3031	    inconsistent implementation of this feature (reports by Nelson
3032	    Beebe, Kriston Rehberg and David Ellement).
3033
3034	<li>modify configure-check for <code>tty</code> group to be less
3035	    strict in batch mode (report by Nelson Beebe).
3036
3037	<li>modify to allow building with g++, to use its compiler warnings
3038	    (suggested by Nelson Beebe).
3039
3040	<li>modify <code>dec2ucs[]</code> table to reflect newer codes
3041	    available for scanlines 1, 3, 7, 9 (report by Michael Schroeder).
3042
3043	<li>add configure option for XawPlus library.
3044</ul>
3045
3046<H1><A NAME="xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A></H1>
3047<ul>
3048	<li>fix a SIGSEGV which could occur if xterm is connecting to XIM
3049	    server, and the XIM server is destroyed (patch by Nam SungHyun).
3050
3051	<li>modify to use built-in line-drawing characters for Xft fonts
3052	    (patch by Andrew Tipton).
3053
3054	<li>make menu reflect the state of the <code>tekInhibit</code>
3055	    resource.
3056
3057	<li>make <code>signalInhibit</code> resource work, i.e., disable the
3058	    menu entries that would send signals to, or exit xterm.  This was
3059	    probably broken in X11R5 when logging was disabled (report by Sven
3060	    Mascheck).
3061
3062	<li>changed classes of <code>colorBDMode</code> and similar
3063	    resources that override colors when a video attribute is
3064	    set to <code>ColorAttrMode</code>, to make them distinct
3065	    from <code>ColorMode</code>.  This avoids an unexpected
3066	    rendering of reverse video, for example (report by Paul Fox).
3067
3068	<li>changed class of <code>veryBoldColors</code> to
3069	    <code>VeryBoldColors</code>, since
3070	    <code>ColorMode</code> is associated with boolean resources.
3071
3072	<li>add option <code>-k8</code> and resource
3073	    <code>allowC1Printable</code> to allow users of non-VTxxx
3074	    character sets such as KOI-8 to treat the C1 control area
3075	    (character codes 128-159) as printable rather than control
3076	    characters.
3077
3078	<li>add a null-pointer check for return-value of <code>ptsname()</code>
3079	    in HPUX-specific code (report by David Ellement).
3080
3081	<li>revise the ifdef's used for <code>XKB</code> bell support.  The
3082	    code was using a nonstandard call <code>XkbStdBell()</code>.
3083	    Changed to use <code>XkbBell()</code> (based on patch by
3084	    &lt;derek@signalmarketing.com&gt;).
3085
3086	<li>add a null-pointer check in <code>xtermLoadFont()</code> in case
3087	    there is no wide-bold font (Nam SungHyun).
3088
3089	<li>change <code>Makefile.in</code> to use autoconf's
3090	    <code>bindir</code>, <code>libdir</code> and <code>mandir</code>
3091	    variables (report by Nam SungHyun).
3092
3093	<li>add <code>le</code> to termcap <code>xterm-basic</code> entry.
3094	    Though missing from older termcaps for xterm, some applications
3095	    check for it (report by Matthias Buelow).
3096
3097	<li>modify <code>uxterm</code> script to strip modifiers such as "@euro"
3098	    from the locale setting before adding ".UTF-8" (Debian #179929).
3099
3100	<li>modify the remaining places where tek4014 emulation uses
3101	    <code>XDefineCursor()</code>, to make it work as originally
3102	    implemented, e.g., when switching back to alpha mode.
3103	    Added test-screen in vttest to test this feature properly.
3104</ul>
3105
3106<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1>
3107<ul>
3108	<li>work-around for XFree86 bug which made <code>XDefineCursor()</code>
3109	    on a shell-window no longer work.  The tek4014 emulation used this.
3110	    Use the next lower window (report by Karl Rudolf Bauchspiess).
3111
3112	<li>add a resource setting <code>allowWindowOps</code> to control
3113	    whether the extended window operations should be allowed, e.g.,
3114	    resize, iconify, report window attributes.  This is to accommodate
3115	    people who are not capable of using a pager to view log-files.
3116</ul>
3117
3118<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1>
3119<ul>
3120	<li>reset mouse mode to normal on a full reset.  This does not apply
3121	    to mouse hilite tracking mode, of course (see ctlseqs.ms).
3122
3123	<li>add a time-delay at the point where mouse hilite tracking mode
3124	    choses to not handle X events, to avoid runaway CPU usage
3125	    (report by D Hugh Redelmeier).
3126
3127	<li>check for illegal character in DECUDK string, quit if detected.
3128</ul>
3129
3130<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1>
3131<ul>
3132	<li>fixes to make repainting of 256-color example work properly
3133	  (reports by Abigail Brady and Scott A Crosby).
3134	  <ul>
3135	   <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color
3136	     is allocated once only.
3137	   <li>fix check in <code>ScrnRefresh</code>, which was comparing
3138	     background colors only if the ANSI foreground colors also were set.
3139	  </ul>
3140
3141	<li>merge <code>Error()</code> calls and some <code>exit()</code> calls
3142	  into <code>SysError()</code>, and change that to add the brief
3143	  explanation for each error code which is provided in the manpage.
3144	  Change a few <code>SysError()</code>, calls to avoid using code 1, to
3145	  avoid confusion with exit status from places that do not use
3146	  <code>SysError()</code>.
3147
3148	<li>simplify logic used to open a debug logfile as the standard error.
3149
3150	<li>modify the <code>-e</code> option so that if it fails, xterm will
3151	  check if only one argument follows, e.g., it was quoted, and then
3152	  retry using <code>sh&nbsp;-c</code>.
3153
3154	<li>modify parsing of DECUDK string parameter to allow a comma between
3155	  pairs of hexadecimal digits (Ray Neuman &lt;raymond@one.com.au&gt;
3156	  reports that "real" terminals accept this; perhaps they simply
3157	  ignore unexpected characters).
3158
3159	<li>fix a few problems with the <code>$TERMCAP</code> string generated
3160	  by <code>resize</code>:
3161	  <ul>
3162	   <li>for Bourne shell, add an <code>export</code> command.
3163	     This was missing as far back as X11R5.
3164	   <li>escape exclamation marks, used in xterm's reset string.
3165	   <li>translate literal <code>\177\</code> to "^?".
3166	  </ul>
3167
3168	<li>improve configure check for <code>tgetent()</code> to work when
3169	  <code>$TERMCAP</code> has been set to a specific entry.
3170
3171	<li>modify <code>minstall.sh</code> to use "%" rather than "@",
3172	  to avoid problems with AFS (report by Zdenek Sekera).
3173
3174	<li>list fatal error codes from <code>error.h</code> in the manpage,
3175	  remove unused codes in <code>error.h</code>.
3176
3177	<li>use more explicit wording for manpage list of color resources,
3178	  since at least one user confused the generic names such as "black"
3179	  with the names in rgb.txt (the latter are now used).
3180
3181	<li>minor fix to description of 1003 mouse mode in ctlseqs.ms
3182	  (Larry Riedel).
3183</ul>
3184
3185<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1>
3186<ul>
3187	<li>modify parser tables to improve detection of malformed control
3188	  sequences, making xterm behave more like a real DEC terminal
3189	  (patch by Paul Williams).
3190
3191	<li>update comment in <code>input.c</code> to document
3192	  <code>Meta</code> as a modifier for escape sequences (patch by D
3193	  Roland Walker).
3194
3195	<li>add ifdef'd code for logging option which adds the hostname and a
3196	  timestamp to the generated logfile name.  The ifdef's are setup
3197	  with the configure script (patch by Nelson Beebe).
3198
3199	<li>remove <code>xevents()</code> call from the end of
3200	  <code>BlinkCursor()</code>, to fix an occasional problem
3201	  which caused xterm to pause until a key was pressed.
3202	  The reason for this was that there was no check to ensure that
3203	  there really were events for <code>xevents()</code> to process.
3204	  (patch by Semen A Ustimenko &lt;semenu@FreeBSD.org&gt;).
3205
3206	<li>remove unused mode-params from <code>open()</code> calls that do
3207	  not create a file.
3208
3209	<li>modify configure script to put new items first on
3210	  <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict
3211	  with environment's <em>-I</em> and <em>-D</em> options.
3212
3213	<li>update config.guess, config.sub
3214
3215	<li>resync with XFree86 CVS:
3216	<ul>
3217	  <li>fix va_args glitches for xterm/libfontconfig:  0 == (void*)0
3218	    isn't true for all platforms (Egbert Eich).
3219	  <li>initialise ProgramName in xterm's main before referencing it
3220	    (#5473, Peter Valchev).
3221          <li>some cleanup of Imakefile ifdef's (Marc La France).
3222	</ul>
3223</ul>
3224
3225<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1>
3226<ul>
3227	<li>correct an off-by-one allocating data for sorted help message.
3228
3229	<li>modify configure script to check for Xpm library, on which XFree86
3230	  Xaw library depends.
3231
3232	<li>update config.guess, config.sub
3233</ul>
3234
3235<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1>
3236<ul>
3237	<li>modify wording of some options in help message to make them use
3238	  <code>-/+</code> consistently with respect to "on/off" or "off/on".
3239
3240	<li>sort options list which is displayed in help- and syntax-messages
3241	  at runtime to simplify maintenance.
3242
3243	<li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it
3244	  was removed from XFree86 server; there have been no users since
3245	  1996).
3246
3247	<li>add configure script option <code>--disable-session-mgt</code>
3248	  to control whether the session management code should be compiled-in
3249	  (request by H Merijn Brand).
3250
3251	<li>ifdef'd the session-management changes with
3252	  <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates
3253	  the related definitions.
3254
3255	<li>fix <code>decode_keyvalue()</code>, which did not properly parse
3256	  multiple settings as needed for the <code>ttyModes</code> resource,
3257	  since it did not skip over the parsed data.
3258
3259	<li>fix an option-parsing conflict between <code>-class</code> and
3260	  <code>-cjk_width</code> (Nam SungHyun)
3261
3262	<li>add a missing null in <code>XtVaSetValues()</code> call used in
3263	  <code>Cleanup()</code> (Nam SungHyun)
3264</ul>
3265
3266<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1>
3267<ul>
3268	<li>improve data reported for control sequence that requests window
3269	  position by taking into account the window decorations, e.g.,
3270	  border and title (patch by Jess Thrysoee &lt;jess@thrysoee.dk&gt;).
3271
3272	<li>add <code>-cjk_width</code> and corresponding resource
3273	  <code>cjkWidth</code> (patch by Jungshik Shin
3274	  &lt;jshin@mailaps.org&gt;).
3275
3276	<li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk
3277	  application (patch by George Peter Staplin &lt;georgeps@xmission.com&gt;).
3278
3279	<li>add simple session management (XSM) client capabilities to xterm.
3280	  So a session manager such as, e.g., xsm, should be able to respawn or
3281	  kill xterms without the help of an SM proxy (like smproxy), which is
3282	  a hack and almost always buggy (patch by David Madore).
3283
3284	<li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and
3285	  <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich).
3286
3287	<li>fix for inconsistent use of <code>struct utmp</code> versus
3288	  <code>struct utmpx</code> introduced in <a href="#xterm_167">patch #167</a>
3289	  (patches by Paul Gilmartin, Marc La France).
3290
3291	<li>modify logic for <code>metaSendsEscape</code> to allow it to work
3292	  in a setup where the Meta-key is not recognized as a modifier by
3293	  the key-translations logic (from a discussion of eightBitInput
3294	  with H.J.Lu, however Vincent Lefevre reported this in January).
3295
3296	<li>use null pointer values consistently, rather than literal "0", for
3297	  ending variable-length argument lists, e.g., for
3298	  <code>execlp()</code> (based on patch by Matthieu Herrb).
3299
3300	<li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would
3301	  do a screen repaint after replying to a request for information.
3302
3303	<li>improve scripts in vttests to work with systems whose shells support
3304	  <code>echo -n</code> and have, as does Debian, an unrelated
3305	  <code>print</code> utility.
3306
3307	<li>add vttests/acolors.sh to demonstrate OSC 4, which queries or
3308	  sets ANSI colors.
3309
3310	<li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).
3311
3312	<li>typos in xterm manpage (Jens Schweikhardt)
3313
3314	<li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun)
3315</ul>
3316
3317<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1>
3318<ul>
3319	<li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin
3320	  configuration.
3321
3322	<li>fix several places in ctlseqs.ms which had no boxes around the
3323	  literal text (report by Ilya Zakharevich).
3324
3325	<li>integrated patch from Ilya Zakharevich to extend mouse support for
3326	  readline (ifdef'd with OPT_READLINE).
3327
3328	<li>modify terminfo description to match default for
3329	  <code>modifyCursorKeys</code> resource.
3330
3331	<li>add <code>modifyCursorKeys</code> resource to control how the
3332	  shift- and similar modifiers are used to make a cursor escape
3333	  sequence.  The default makes a modified escape sequence always start
3334	  with CSI and puts the modifier as the second parameter, to avoid
3335	  confusing applications that would interpret the first parameter as a
3336	  repeat count.  The original behavior can be obtained by setting the
3337	  resource to 0 (from newsgroup discussion with Stephen J Turnbull
3338	  and Jeffrey Altman).
3339
3340	<li>correct missing initializations for <code>appdefaultCursor</code>
3341	  and <code>appdefaultKeypad</code> resources.
3342
3343	<li>add configure option <code>--enable-luit</code> and ifdef'd the
3344	  luit-related code with OPT_LUIT_PROG.
3345
3346	<li>integrate patch by Tomohiro KUBOTA from
3347	  http://www.xfree86.org/pipermail/i18n/2002-July/003378.html which
3348	  modifies xterm to invoke luit.
3349
3350	<li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version.
3351
3352	<li>correct limit-checking in <code>ComputeSelect()</code> to handle
3353	  selections that extend off the visible area; rather
3354	  than modify the parameters to <code>TrackText()</code>, use
3355	  <code>ScrollSelection()</code> to update the highlighting limits.
3356	  (reported by Yegappan Lakshmanan and Nelson Beebe,
3357	   patch by Alexander V Lukyanov).
3358
3359	<li>correct manpage description of <code>tiXtraScroll</code> resource
3360	  (reported by Tony Finch).
3361
3362	<li>changes from OpenBSD:
3363	<ul>
3364	   <li>Make xterm setgid utmp to be able to update utmp even
3365	   with root privileges revoked.
3366	   <li>If not updating utmp, revoke group privileges totally too.
3367	</ul>
3368
3369	<li>changes from NetBSD:
3370	<ul>
3371	 <li>Check that the return value from ttyslot() is greater than 0
3372	  before writing the utmp file.
3373	  Fixes w's "w: Stale utmp entry: &lt;user&gt; &lt;tty&gt; &lt;pty&gt;" errors.
3374	 <li>Use openpty() to deal with new pty naming scheme.
3375	</ul>
3376
3377	<li>add <code>print-redir</code> action and menu entry to allow user to
3378	  switch terminal in/out of printer controller mode.  It appears from
3379	  the manual that a real vt220 would not switch back to normal mode, so
3380	  another mechanism is used (addresses Debian #37517).
3381
3382	<li>check if <code>printerCommand</code> resource string is empty, use
3383	  this to allow user to disable printer function.
3384
3385	<li>trim trailing blanks from resource strings.
3386
3387	<li>check return value from <code>ptsname()</code>, which may return
3388	  null for example if someone has changed the permissions of /dev/pts
3389	  to zero (Debian #121899).
3390
3391	<li>modify OS/2 version to use <code>__UNIXOS2__</code> definition
3392	  rather than <code>__EMX__</code>, related cleanup (patch by Holger
3393	  Veit).
3394
3395	<li>used modified indent 2.0
3396	  (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>)
3397	  to reformat most of the C source files, to simplify maintenance.
3398
3399	<li>fix a couple of places where there were leading tabs on
3400	  symbol-definition lines in Imakefile (Marc La France from report by
3401	  Tony Finch)
3402
3403	<li>add imake variable (TraceXTerm) to allow building debug version
3404	  (Egbert Eich).
3405</ul>
3406
3407<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1>
3408<ul>
3409	<li>correct a bug in selection: double clicking on a word which
3410	  was partly scrolled off the screen may select that text (report
3411	  by Vincent Lefevre &lt;vincent@vinc17.org&gt;).
3412
3413	<li>implement <code>veryBoldColors</code> resource to control whether
3414	  the corresponding video attribute such as <code>bold</code> is
3415	  displayed when using <code>colorBDMode</code>, etc.  (request by Josh
3416	  Howard &lt;jrh@vicor-nb.com&gt;).
3417
3418	<li>define escape sequences for function keys F21-F35 (patch by Steve Wall).
3419
3420	<li>change the colors for the 256-color model, making them less skewed
3421	  toward black (patch by Steve Wall).
3422
3423	<li>add <code>vt100Graphics</code> resource
3424	  (see <a href="#xterm_115">patch #115</a>,
3425	  based on discussion with Glenn Maynard).
3426
3427	<li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential
3428	  incompatibilities between these flavors of Athena widgets.
3429
3430	<li>add configure check for XFree86 4.x Xaw library, whose geometry
3431	  management is broken, to avoid trying to use it for toolbar
3432	  configuration.
3433
3434	<li>updates to configure script from vile and lynx to allow
3435	  configure.in to be compiled with autoconf 2.5x
3436
3437	<li>add a check for null pointer return by <code>ptsname()</code>
3438	  (newsgroup posting from Mike Silva &lt;mikesilva@lucent.com&gt;).
3439
3440	<li>fill in a few details needed to allow UTF-8 mode to switch on/off
3441	  after startup.  This requires that <code>wideChars</code> resource be
3442	  set.  (based on comments in 4 Aug 2001 by Alexey Marinichev
3443	  &lt;lyosha@lyosha.2y.net&gt;).
3444
3445	<li>remove duplicate install rules that make directories, e.g., so installing
3446	  manpage will not create app-defaults directory.
3447
3448	<li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31
3449	  for for Konsole (request by Stephan Binner
3450	  &lt;Stephan.Binner@gmx.de&gt;).
3451
3452	<li>fixes for ctlseqs.ms and xterm.man
3453	  (patch by Werner LEMBERG &lt;wl@gnu.org&gt;).
3454
3455	<li>add check for monochrome display, disabling colorMode in that
3456	  case (fixes Debian #134130).
3457
3458	<li>resync with XFree86 CVS:
3459	<ul>
3460	   <li>Fix some xterm build warnings on *BSD (David Dawes).
3461	   <li>Only use SA_RESTART in xterm when it's available (Frank Liu).
3462	   <li>Fix incorrect code in signal handlers in most of the clients,
3463	     xterm and xdm not done yet (Matthieu Herrb).
3464	</ul>
3465</ul>
3466
3467<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1>
3468<ul>
3469	<li>modify <code>uxterm</code> script to strip encoding part from
3470	  environment variable before adding ".UTF-8" (based on Debian
3471	  #125947, but using a more portable solution).
3472
3473	<li>add an assignment statement in VTInitialize() to make
3474	  <code>awaitInput</code> resource work.
3475
3476	<li>use new macros init_Bres(), etc., in VTInitialize() to add trace of
3477	  the initialization of resources.
3478
3479	<li>modify checks for $LC_ALL, related environment variables to ensure
3480	  the resulting strings are nonempty (report by Markus Kuhn).
3481
3482	<li>add an ifdef in charproc.c for num_ptrs variable in case all
3483	  configure options are disabled.
3484
3485	<li>modify definition of getXtermBackground() to avoid negative array
3486	  index warning on Tru64 (report by Jeremie Petit).
3487
3488	<li>improve fix from patch #165 (still Debian #117184, report by Matt
3489	  Zimmerman &lt;mdz@debian.org&gt;)
3490
3491	<li>correct install rule for uxterm in Makefile.in, to handle the
3492	  case where building in a different directory than xterm's source
3493	  (patch by Paul Gilmartin).
3494
3495	<li>documented ANSI.SYS-style cursor save/restore escape sequences
3496	  in ctlseqs.ms, which are in xterm since X11R5.
3497
3498	<li>correct two entries in the default charClass table, which did not
3499	  follow the manpage comment about the character number corresponding
3500	  to the class (patch by Marc Bevand &lt;bevand_m@epita.fr&gt;).
3501
3502	<li>fix a couple of typos in comments in the app-defaults files
3503	  (David Krause &lt;xfree86@davidkrause.com&gt;).
3504
3505	<li>resync with XFree86 CVS:
3506	  <ul>
3507	  <li>update language of copyrights in some files to reflect the fact
3508	      that they were reassigned from X Consortium to The Open Group in
3509	      1998.  Note that this xterm source is derived from the 1996
3510	      version from X Consortium, does not incorporate changes made by X
3511	      Consortium or The Open Group after that date, hence we do not add
3512	      The Open Group's 1998 copyright date to related files.
3513
3514	  <li>save/restore <code>errno</code> in signal catcher (Matthieu Herrb).
3515
3516	  <li>modify UXTerm.ad's font5 resource so that xterm can display double
3517	      width characters using a font distributed with XFree86 (Tomohiro KUBOTA).
3518	  </ul>
3519</ul>
3520
3521<H1><A NAME="xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A></H1>
3522<ul>
3523	<li>correct a case where <code>ptyInitialErase</code> and
3524	  <code>backarrowKeyIsErase</code> resources combine to set
3525	  <code>DECBKM</code> mode, but a <code>reset</code> command would not
3526	  reset xterm to that state, making the erase character revert to ^H
3527	  (Debian #117184)
3528</ul>
3529
3530<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1>
3531<ul>
3532	<li>correct ifdef's for <code>__QNX__</code> and
3533	  <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>,
3534	  which broke bash behavior around <a href="#xterm_140">patch #140</a>
3535	  (report/patch by Frank Liu &lt;fliu@mail.vipstage.com&gt;).
3536
3537	<li>modify trace.c to fix missing definition of GCC_UNUSED for
3538	  compilers other than gcc when configured for trace code (report/patch
3539	  by Paul Gilmartin).
3540
3541	<li>change format in TraceOptions() to use long rather than int, since
3542	  the latter could lose precision on 64-bit machines (report/patch by
3543	  Nelson Beebe).
3544
3545	<li>modify xterm manual page and minstall.sh to allow imake rules
3546	  to define location of app-defaults directory (Debian #87611).
3547
3548	<li>review/update list of conflicting preprocesor symbols to remove
3549	  from $CPPFLAGS at the end of the configure script.  In particular,
3550	  this allows one to configure xterm without the utempter library on
3551	  Redhat 7.1 (report/patch by Adam Sulmicki).
3552</ul>
3553
3554<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1>
3555<ul>
3556	<li>correct logic that processes <code>-class</code> option, so that
3557	  a following <code>-e</code> option is handled (Debian #116297).
3558
3559	<li>improve options-decoding to allow <code>-version</code> and
3560	  <code>-help</code> options to be combined (Debian #110226).
3561
3562	<li>add a 10 millisecond delay in event loop when processing
3563	  <code>-hold</code> option, to avoid using too much CPU time
3564	  (Debian #116213).
3565
3566	<li>prefix final program execution in <code>uxterm</code> with "exec"
3567	  to avoid a useless shell hanging around (Christian Weisgerber).
3568</ul>
3569
3570<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1>
3571<ul>
3572	<li>modify logic that resets keypad application mode to avoid doing
3573	   this if there is no modifier associated with the Num_Lock keysym
3574	   (report by John E Davis &lt;davis@space.mit.edu&gt; and Alan W Irwin
3575	   &lt;irwin@beluga.phys.uvic.ca&gt;).
3576
3577	<li>add built-in translation for Control/KP_Separator to KP_Subtract,
3578	   to accommodate users who wish to use xmodmap to reassign the top
3579	   row of the numeric keypad.
3580
3581	<li>correct Imakefile install-rule for <code>uxname</code> script
3582	   (reported by Nam SungHyun &lt;namsh@lge.com&gt;).
3583
3584	<li>resync with XFree86 CVS: correct typo in <code>&lt;ncurses/term.h&gt;</code>
3585	   ifdef.
3586</ul>
3587
3588<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1>
3589<ul>
3590	<li>modify logic in main.c
3591	    (see <a href="#xterm_145">patch #145</a>) to avoid generating the
3592	    same identifier, for example, for /dev/tty1 and /dev/pts/1, which
3593	    is used to denote an entry in the utmp file (Debian bug report
3594	    #84676),  A similar fix was also sent by Jerome Borsboom
3595	    &lt;borsboom@westbrabant.net&gt; in May, but I overlooked it when
3596	    reviewing bug reports.
3597
3598	<li>add configure check for <code>&lt;ncurses/term.h&gt;</code> to get
3599	    rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c
3600	    <p>
3601	    NOTE: The CYGWIN port should not be linking <code>resize</code>
3602	    with ncurses.  It appears that the only reason it is, is because
3603	    both the ncurses and termcap ports on that platform are badly
3604	    misconfigured (essential pieces have been removed, etc).  Checking
3605	    for <code>&lt;ncurses/term.h&gt;</code> does not hurt anything,
3606	    since there are some correct installations that are set up that
3607	    way.
3608
3609	<li>add a sample <code>uxterm</code> script, which uses the
3610	    <code>UXTerm</code> application defaults for UTF-8 environments.
3611
3612	<li>undo change to xterm application defaults, since this introduced an
3613	    unnecessary incompatibility.  The intended functionality was
3614	    already addressed by the <a href="#xterm_141">UXTerm</a>
3615	    app-defaults file.
3616
3617	<li>resync with XFree86 CVS:
3618	<ul>
3619	<li>Modified xterm app default to use LFD fontnames instead of old type
3620	    (Michael Schroeder).
3621	<li>Fix xterm when XIM is disabled - caused a segfault
3622	    (Tomohiro Kubota).
3623	</ul>
3624</ul>
3625
3626<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1>
3627<ul>
3628	<li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch
3629	   #158 from the second <code>TIOCSSIZE</code> ioctl call in the
3630	   initialization code.  Paul Gilmartin reports that for Solaris 2.6
3631	   (sparc), stty does not show that xterm sets rows and columns unless
3632	   the second ioctl is executed.
3633
3634	<li>correct treatment of empty parameter list for some OSC strings
3635	   (report by Sami Farin &lt;sfarin@ratol.fi&gt;).
3636</ul>
3637
3638<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1>
3639<ul>
3640	<li>augment key translations for scrollbar widget to ensure that
3641	   keystrokes intended for the text area are not lost if the mouse
3642	   pointer happens to fall on the scrollbar.  This can happen, for
3643	   instance, if the user's <code>app-defaults</code> or
3644	   <code>.Xdefaults</code> file contains a translations resource,
3645	   though it may also happen through unrelated resource settings:
3646	   probably a bug in libXt (reported by Paul Fox
3647	   &lt;pgf@foxharp.boston.ma.us&gt; and Dmitry Yu.  Bolkhovityanov
3648	   &lt;D.Yu.Bolkhovityanov@inp.nsk.su&gt;).
3649
3650	<li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on
3651	   Solaris, for compilers other than gcc.  This was added along
3652	   <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch
3653	   #151</a>, but is not sufficient since Sun's compiler does not define
3654	   <code>__STDC__</code> by default (report by Matthias Scheler
3655	   &lt;tron@zhadum.de&gt;).
3656
3657	<li>modify xterm to obtain the closest matching color if an exact color
3658	   is not available, e.g., on 8-bit displays (patch by Steve Wall)
3659
3660	<li>patch by Tomohiro KUBOTA &lt;tkubota@riken.go.jp&gt; to implement
3661	  "OverTheSpot" preedit type of XIM input:
3662	  <ul>
3663	  <li>This preedit type is a reasonable compromise between
3664	    simpleness of implementation and usefulness.  "Root" preedit
3665	    type is easy to implement but not useful; "OnTheSpot" preedit
3666	    type is the best in the point of view of user interface but
3667	    very complex.  And more, "OverTheSpot" is the preedit type
3668	    which the most XIM servers support.  Thus, to achieve reasonable
3669	    usability, support of "OverTheSpot" preedit type is needed.
3670
3671	  <li>In "OverTheSpot" preedit type, the preedit (preconversion)
3672	    string is displayed at the position of the cursor.  On the
3673	    other hand, it is XIM server's responsibility to display
3674	    the preedit string.  Thus, it is needed for XIM client (here
3675	    XTerm) to inform the XIM server of the cursor position.
3676	    And more, to achieve good visual proportion, preedit string
3677	    must be written using proper font.  Thus, it is XIM client's
3678	    responsibility to inform the XIM server of the proper font.
3679	    The font must be supplied by "fontset".  Fontset is a set of
3680	    fonts with charsets which are specified by the current locale.
3681	    Since XTerm uses ISO10646 fonts regardless of the current locale,
3682	    the fonts for XIM must be prepared separately.  It is difficult
3683	    to prepare fonts which are similar to XTerm font.  Thus, my
3684	    patch uses a simple way - the default font is "*" which matches
3685	    every fonts and X library will automatically choose fonts with
3686	    proper charsets.  I added "-fx" command option and "ximFont"
3687	    resource to override this default font setting.
3688
3689	  <li>changed the definition of "OverTheSpot" preedit type
3690	    from XIMPreeditPosition|XIMStatusArea
3691	    to XIMPreeditPosition|XIMStatusNothing.
3692	    This matches the behavior of other programs such as
3693	    Rxvt, Kterm, Gedit.
3694
3695	  <li>A tiny XIM bugfix is also included.  By calling XSetLocaleModifiers()
3696	    with parameter of "", it can consier XMODIFIERS environmental
3697	    variable which is a standard way for users to specify XIM server
3698	    to be used.
3699	  </ul>
3700
3701	<li>adjust configure script to accommodate repackaging of keysym2ucs.c
3702	  as include-file for xutf8.c (patch by Tomohiro KUBOTA
3703	  &lt;kubota@debian.org&gt;).
3704
3705	<li>add the <code>UXTerm</code> app-defaults file to makefile install
3706	  rules (request by Juliusz Chroboczek).
3707
3708	<li>correct logic in <code>get_termcap()</code>, which returned false
3709	  if the <code>tgetent()</code> call indicated that xterm was linked
3710	  with terminfo.  Although the <code>$TERMCAP</code> variable cannot be
3711	  adjusted in this case, xterm still needs information from this call
3712	  to extract data to initialize the erase-mode when the
3713	  <code>ptyInitialErase</code> resource is false.
3714
3715	<li>modify <code>ScrollbarReverseVideo()</code> function to cache the
3716	  original border color, so it can restore that when an application
3717	  flashes the screen (Bugzilla #38872).
3718
3719	<li>resync with XFree86 CVS:
3720	<ul>
3721	  <li>remove ifdef's for X_NOT_STDC_ENV (David Dawes).
3722	  <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane)
3723	  <li>set screen size earlier in initialization, to address a race
3724	    with window manager resizing its clients (Keith Packard).
3725	</ul>
3726</ul>
3727
3728<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1>
3729<ul>
3730	<li>patch by Juliusz Chroboczek to clean up button.c and input.c.  The
3731	  basic idea is to use a single set of APIs in the XTerm core, and put
3732	  a set of workarounds in a separate file.  As you will notice, this
3733	  drastically simplifies parts of the code; in particular, the only
3734	  remaining ifdefs related to the differences between Xutf8 and legacy
3735	  systems are related to the selection provider logic.
3736
3737	  This defines two new files, xutf8.h and xutf8.c, provide some
3738	  half-hearted but fully portable emulation for the three Xutf8*
3739	  functions that XTerm uses.
3740
3741	  Putting these in a separate file will allow people to experiment with
3742	  more complex versions without making the core of XTerm more difficult
3743	  to maintain.
3744
3745	  The functionality of the emulation is as follows.
3746	  <ul>
3747	  <li>Xutf8TextListToTextProperty fully handles XStringstyle and
3748	  XUTF8StringStyle.  It will only generate STRING for XStdICCTextStyle,
3749	  and wil only generate Latin-1 in XCompoundTextStyle (but label it as
3750	  COMPOUND_TEXT, as the spec requires).  (I have hesitated to make this
3751	  function fail for XStdICCTextStyle and XCompoundTextStyle; this might
3752	  be a smart thing to do, in the hope that the selection requestor will
3753	  try UTF8_STRING afterwards; opinions?)
3754
3755	  <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING.
3756	  It systematically fails for COMPOUND_TEXT.
3757
3758	  <li>Xutf8LookupString will properly handle single-keystroke input for
3759	  the keysyms covered by Markus' keysym2ucs function.  It will not
3760	  handle either compose key input or external input methods.
3761	  </ul>
3762
3763	<li>add an ifdef for <code>SunXK_F36</code>, used in
3764	  <code>xtermcapKeycode()</code> (patch by Mark Waggoner
3765	  &lt;waggoner@ichips.intel.com&gt;).
3766
3767	<li>modify check for login name to try <code>getlogin()</code> and
3768	  $LOGNAME, $USER environment variables to detect if the user has
3769	  logged in under an alias, i.e., an account with the same user id
3770	  but a different name (Debian bug report #70084).
3771
3772	<li>add resource <code>tiXtraScroll</code>, which can be used to
3773	  preserve the screen contents in the scrollback rather than erasing
3774	  it when starting a fullscreen application such as <code>vi</code>
3775	  (patch by Ken Martin &lt;fletcher@catsreach.org&gt;).
3776
3777	<li>two patches by Denis Zaitsev &lt;zzz@cd-club.ru&gt;:
3778	<ul>
3779	  <li>added <code>forceBoxChars</code> resource to control the
3780	    "line-drawing characters" option.
3781
3782	  <li>added <code>freeBoldBox</code> resource, which, when set true,
3783	    suppresses check in <code>same_font_size()</code>, so xterm does
3784	    not attempt to ensure that the bold font is the same size as
3785	    the normal font.
3786	</ul>
3787
3788	<li>change the color class for ANSI colors and similar ones such as
3789	  bold-color, etc., to follow the convention that the classname is the
3790	  instance name with a leading capital (e.g., <code>color0</code> and
3791	  <code>Color0</code> rather than <code>color0</code> and
3792	  <code>Foreground</code>).  There was little use for Foreground as a
3793	  class other than to create occasional confusion and bug reports, most
3794	  recently by Nelson Beebe who reports that it disables colors in xterm
3795	  but not on Linux, which is probably due to a difference in resource
3796	  evaluation order.  A configure script option (--disable-color-class)
3797	  is provided for anyone who did use the older behavior.
3798
3799	<li>fix a signal-handling bug.  When running xterm with
3800	  <code>ksh</code> or similar shell such as bash 2.05, xterm will hang
3801	  and not respond to keystrokes after the user types
3802	  <code>suspend</code>.  Additionally the popup menus do not respond,
3803	  so it is not possible to send SIGCONT to the shell.
3804	  What is happening is that the shell is sending itself SIGSTOP, and it
3805	  is being stopped.  Per specification it also means that the operating
3806	  system is sending SIGCHLD to parent to the bash (XTERM).
3807	  Now the issue is that xterm assumes it cannot happen and it expects
3808	  to receive SIGCHLD only upon <em>termination</em> of its children.
3809	  This causes a deadlock with xterm waiting for the child to
3810	  die, and the child waiting for SIGCONT.
3811	  (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck
3812	  &lt;sven.mascheck@student.uni-ulm.de&gt;).
3813
3814	<li>correct some inconsistent checks for <code>XtReleaseGC()</code>
3815	  calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun
3816	  &lt;namsh@lge.com&gt;).
3817
3818	<li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12
3819	  and 2001/4/18, respectively from
3820		http://www.cl.cam.ac.uk/~mgk25/ucs/
3821
3822	<li>correction to change from <a href="#xterm_90">patch #90</a>,
3823	  which was intended to
3824	  reset the saved cursor position for normal/alternate screens
3825	  on a soft reset, but actually wiped out all of the saved cursor
3826	  information.  Just reset the saved position for the current screen
3827	  (report by Michael Schroeder).
3828
3829	<li>modify ShowCursor() and HideCursor() so that if the cursor points
3830	  to the second part of a wide character, make the show/hide operate on
3831	  the first position of the wide character (patch by Sven Verdoolaege).
3832
3833	<li>scrolling in the alternate screen just before switching back to the
3834	  main screen can cause extra blank lines to be inserted into the
3835	  scrollback buffer (patch by Paul Vojta
3836	  &lt;vojta@math.berkeley.edu&gt;).
3837
3838	<li>resync with XFree86 4.1.0:
3839	<ul>
3840	  <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes
3841	    problem building xterm/resize on Cygwin/XFree86 (Harold Hunt).
3842	  <li>Install xterm.termcap and xterm.terminfo when installing xterm
3843	    (Torrey T. Lyons).
3844	  <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi).
3845	  <li>Define CBAUD, when it's missing in xterm, on LynxOS
3846	    (Stuart Lissaman).
3847	</ul>
3848</ul>
3849
3850<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1>
3851<ul>
3852	<li>change order of selection-target types to make 8-bit xterm prefer
3853	  UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek).
3854
3855	<li>document <code>-fa</code>, <code>-fs</code> command-line options
3856	  and <code>faceName</code>, <code>faceSize</code>
3857	  resources which are used by the freetype library support.
3858
3859	<li>if configure script finds freetype libraries, but imake definitions
3860	  do not have the XRENDERFONT definition, define it anyway.
3861
3862	<li>modify configure script check for freetype libraries to include
3863	  <code>&lt;Xlib.h&gt;</code>, since an older version of the related
3864	  headers relies on this (patch by Adam Sulmicki).
3865</ul>
3866
3867<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1>
3868<ul>
3869	<li>correct return type of in_put() from <a href="#xterm_155">patch #153</a>
3870	  changes, which left it not wide enough for UTF-8 (patch by Bruno Haible).
3871</ul>
3872
3873<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1>
3874<ul>
3875	<li>undo check for return value from <code>pututline</code> (used for
3876	  debugging) since that function does not return a value on Slackware
3877	  3.6.
3878
3879	<li>correct length in ScreenWrite, when rendering invisible text
3880	  (patch by Sven Verdoolaege &lt;skimo@kotnet.org&gt;).
3881
3882	<li>fixes/improvements for the <code>i18nSelection</code> resource
3883	  from patch #153, by Bruno Haible:
3884
3885	<ul>
3886	  <li>add missing initialization for <code>i18nSelection</code>
3887	    resource.
3888
3889	  <li>split-out the non-ICCM aspect of the
3890	    <code>i18nSelection</code> resource as a new resource,
3891	    <code>brokenSelections</code>.
3892	</ul>
3893
3894	<li>add configure check for <code>&lt;time.h&gt;</code> and
3895	  <code>&lt;sys/time.h&gt;</code>, to allow for Unixware&nbsp;7,
3896	  which requires both.  If the configure script is not used, only
3897	  <code>&lt;time.h&gt;</code> will be included as before (report
3898	  by Thanh Ma).
3899
3900	<li>fix redefinition of <code>dup2</code>, <code>getutent</code>,
3901	  <code>getutid</code>, <code>getutline</code> and <code>sleep</code>
3902	  functions on Unixware&nbsp;7 (report by Thanh Ma
3903	  &lt;Thanh.Ma@casi-rusco.com&gt;)
3904
3905	<li>add a fall-back definition for <code>__hpux</code>, which is
3906	  apparently not defined in some compilers on HPUX 11.0 (reported
3907	  by Clint Olsen).
3908
3909	<li>change VAL_INITIAL_ERASE, which is used as a fallback for the
3910	  <code>"kb"</code> termcap string to 8, since that matches the
3911	  xterm terminal description (request by Alexander V Lukyanov).
3912
3913	<li>correct an off-by-one in <code>ClearInLine</code>, which caused
3914	  the erase-characters (ECH) control to display incorrectly
3915	  (patch by Alexander V Lukyanov).
3916
3917	<li>correct escape sequences shown in terminfo for shifted editing
3918	  keys.  The modifier code was for the control key rather than
3919	  the shift key.
3920</ul>
3921
3922<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1>
3923<ul>
3924	<li>increase PTYCHARLEN to 8 for os390, add some debugging traces
3925	  for UTMP functions (patch by Paul Gilmartin).
3926
3927	<li>correct an misplaced brace in <code>SelectionReceived()</code>
3928	  (patch by Bruno Haible).
3929
3930	<li>correct an assignment dropped in <code>SelectionReceived()</code>
3931	  which made it not compile for wide-characters combined with debug
3932	  traces.
3933
3934	<li>correct typo, clarify description of 88- and 256-color controls
3935	  (report by Bram Moolenaar).
3936
3937	<li>correct a typo in ctlseqs.ms which caused DEC Locator control
3938	  sequences using single quote "'" display grave "`" instead (reported
3939	  by Paul Williams, apparently in patch #114).
3940</ul>
3941
3942<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1>
3943<ul>
3944	<li>correct index in inner loop in <code>VTInitI18N()</code> from
3945	  patch #151 changes, which resulted in infinite loop under some
3946	  conditions (report/analysis by Paul Gilmartin).
3947
3948	<li>remove spurious "%|" from terminfo sgr capabilities
3949	  (report/analysis by Adam M Costello, Debian bug #89222).
3950
3951	<li>add shell script to adjust list of dynamic libraries linked by
3952	  <code>resize</code> when building with the standalone configure
3953	  script.  Otherwise it uses the same list as for xterm, which is
3954	  excessive.
3955
3956	<li>fix a few compiler warnings reported by the 20010305 gcc snapshot.
3957</ul>
3958
3959<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1>
3960<ul>
3961	<li>patch from Juliusz Chroboczek &lt;jch@pps.jussieu.fr&gt; which
3962	  alters the behaviour of selections in XTerm.
3963	  It is believed to follow the ICCCM + UTF8_STRING to the letter, both
3964	  in UTF-8 and in eight-bit mode.  From his description:
3965	  <ul>
3966	  <li>When compiled against XFree86 4.0.2, the patched XTerm will make
3967	    the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in
3968	    both modes.  It will request selections in the following order:
3969	    <p>
3970	      UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br>
3971	      eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING.
3972
3973	  <li>When compiled against an earlier version of XFree86 (or compiled with
3974	    OPT_UTF8_API=0), it will still obey the ICCCM, but will neither
3975	    request nor provide UTF8_STRING in eight-bit mode, and neither TEXT
3976	    nor COMPOUND_TEXT in UTF-8 mode.
3977	  <li>For compatibility with previous versions of XTerm, a resource
3978	    <code>i18nSelections</code> is provided, please see the manpage for
3979	    details.  However, due to an unexpected combination of ICCCM
3980	    extensions by various bits and pieces of the libraries, interacting
3981	    with previous versions of XTerm will work in many locales even
3982	    without this flag.  (Please do not set this resource to true by
3983	    default, as this would violate the ICCCM.)
3984	  </ul>
3985
3986	<li>improved error checking/reporting in VTInitI18N(), ensuring that
3987	  lack of input method styles is treated distinctly from a mismatch.
3988
3989	<li>remove an incorrect ifdef from patch #141 which suppressed
3990	  overstriking to simulate bold font when xterm was compiled to support
3991	  wide characters (report/analysis by Adam M Costello
3992	  &lt;amc@cs.berkeley.edu&gt;, fixes Debian bugs #76404, #77575).
3993
3994	<li>modify <code>RequestResize()</code> function to save/restore window
3995	  manager hints.  Its call to <code>XtMakeResizeRequest()</code> had
3996	  the undesirable side-effect of clearing window manager hints, e.g.,
3997	  when switching to 132-columns via DECCOLM escape sequence.  Window
3998	  manager hints make it simple to resize xterm in terms of character
3999	  cells rather than pixels (reported by Christian Weisgerber as well
4000	  as Debian bug #79939).
4001	  <p>
4002	  This applies to the normal configuration.  When built with toolbar
4003	  support, the hints are applied to a different widget level (more
4004	  work will be needed to make hints work with the toolbar).
4005
4006	<li>fix a redefinition warning for resize.c on OpenBSD (patch by
4007	  Christian Weisgerber).
4008
4009	<li>change resource corresponding to <code>-T</code> option to match
4010	  Xt library's <code>-title</code>, i.e.,  <code>.title</code>
4011	  rather than <code>*title</code> so the command-line options are
4012	  interchangeable as documented (Debian bug report #68843).
4013
4014	<li>add script used from autoconf'd makefile for installing manpages,
4015	  since recent XFree86 changing the way section numbers are represented
4016	  makes the install dependent on extra scripts.
4017
4018	<li>add configure check for freetype libraries and configure option
4019	  --disable-freetype to override this feature.
4020
4021	<li>modify some configure script macros to avoid using changequote(),
4022	  which has been rendered useless in the latest autoconf alpha 2.49c
4023
4024	<li>update config.guess, config.sub to 2001-2-13
4025
4026	<li>remove redundant/contradictory __CYGWIN__ definitions from resize.c
4027
4028	<li>correct manpage typo introduced by X11R6.5 resync.
4029</ul>
4030	Changes from XFree86 4.0.2:
4031<ul>
4032	<li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to
4033	  make this compile with <code>gcc -ansi -pedantic</code> (report
4034	  by &lt;mark@zang.com&gt;.
4035</ul>
4036
4037<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1>
4038<ul>
4039	<li>move the binding for shifted keypad plus/minus, which invokes the
4040	  <code>larger-vt-font()</code> and <code>smaller-vt-font()</code>
4041	  actions, respectively, into the translations resource (suggested by
4042	  Marius Gedminas &lt;mgedmin@puni.osf.lt&gt;).
4043
4044	<li>modify configure script to support the
4045	  <code>--program-prefix</code>, <code>--program-suffix</code> and
4046	  <code>--program-transform-name</code> options (request by Alison
4047	  Winters &lt;alison@mirrabooka.com&gt;).
4048
4049	<li>patch from Robert Brady
4050	<ul>
4051	   <li>fix a scrolling / combining characters display anomaly
4052
4053	   <li>fix a problem with double-width characters where if the primary
4054	       font had no box-drawing characters, the right hand half of
4055	       double-width characters was erased (reported by Yao Zhang
4056	       &lt;yzhang@sharemedia.com&gt;).
4057
4058	   <li>fix special case of null byte for key handling in UTF-8 locales.
4059	</ul>
4060
4061	<li>modify logic that compares sizes of normal and bold fonts to be
4062	  more forgiving of the font server's choice of bold font which must
4063	  match the normal font's size.  Now <code>same_font_size()</code>
4064	  compares the height of the fonts rather than individually ascent and
4065	  descent, and allows the bold font to be one pixel smaller than the
4066	  normal font (addresses a report by Alan Citterman
4067	  &lt;alan@mticket.com&gt;, who says that something in patches #146 to
4068	  #148 made xterm more likely to overstrike bold fonts, and indirectly
4069	  Debian bug report #76404, which reports the opposite).
4070
4071	<li>make configure script use $CFLAGS and $CPPFLAGS consistently,
4072	  including removing a chunk from configure.in which attempted to
4073	  save/restore $CPPFLAGS while processing value set by the --x-includes
4074	  option, but lost values set in an intervening AC_CHECK_HEADERS.  This
4075	  change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and
4076	  CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS
4077	  from the generated makefile (the AC_CHECK_HEADERS problem was
4078	  reported by Albert Chin-A-Young &lt;china@thewrittenword.com&lt;).
4079
4080	<li>correct a comparison in SELECTWORD case of ComputeSelect(), which
4081	  resulted in a word-selection wrapping past the first column without
4082	  checking the first column's character class (reported by Christian
4083	  Lacunza &lt;celacunza@netscape.net&gt;
4084
4085	<li>correct a logic in UTF-8 mode for selecting double-width characters;
4086	  a combining character was omitted (patch by Markus Kuhn).
4087
4088	<li>add feature to pop (raise) window when a bell is received
4089	  (patch by Gael Roualland &lt;gael.roualland@dial.oleane.com&gt;).
4090
4091	<li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h
4092	  for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber).
4093
4094	<li>move special-case HPUX include for &lt;sys/bsdtty.h&gt; to
4095	  xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX
4096	  10.20 (report by Bruno Betro).
4097</ul>
4098
4099<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1>
4100<ul>
4101	<li>restructured includes for <code>termios.h</code>,
4102	  <code>termio.h</code> and related definitions for main.c, os2main.c,
4103	  screen.c and resize.c so they will share equivalent definitions in a
4104	  new header <code>xterm_io.h</code>.  This is intended to solve some
4105	  problems mainly for HPUX which appear to arise from inconsistent
4106	  definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports
4107	  by Bruno Betro, Jeremie Petit and Clint Olsen).
4108
4109	<li>improve usability of double-width fonts by allowing normal fonts
4110	  to be given as double-width (from a patch by Fabrice Bellard
4111	  &lt;bellard@email.enst.fr&gt;).
4112
4113	<li>correct a few compiler warnings in TRACE() macros for
4114	  signed/unsigned variable differences (reported by Clint Olsen).
4115
4116	<li>make configure script use $CFLAGS and $CPPFLAGS more consistently,
4117	  i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro.
4118
4119	<li>expanded description of environment variables in manual-page.
4120
4121	<li>modify OPT_TCAP_QUERY feature to always return the termcap or
4122	  terminfo capability string in the response, and to read/write the
4123	  names in hexadecimal form to allow for the special case of termcap's
4124	  <code>k;</code> name (patch by Bram Moolenaar).
4125
4126	<li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the
4127	  corresponding configure options work (patch by Bram Moolenaar).
4128
4129	<li>resync with XFree86 4.0.1g:
4130	<ul>
4131	  <li>Rewrite Xft library for Render extension/core text and font management
4132	    Change xterm to use new interface (Keith Packard).
4133	</ul>
4134</ul>
4135
4136<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1>
4137<ul>
4138	<li>document logfile options in man-page.
4139
4140	<li>correct spelling of <code>-samename</code> option in help message.
4141
4142	<li>add configure script option <code>--enable-tcap-query</code>
4143	  (request by Bram Moolenaar).
4144
4145	<li>patch by Bram Moolenaar to add a
4146	  "Co" or "colors" entry to the OPT_TCAP_QUERY feature.
4147	<li>patch by Kiyokazu SUTO &lt;suto@ks-and-ks.ne.jp&gt;:
4148	<ul>
4149	  <li>add support for bold font for double width characters.
4150	     The font name may be specified with the command line option
4151	     <code>-fwb</code> or with resource
4152	     <code>wideBoldFont</code> (class <code>WideBoldFont</code>).
4153	  <li>correct underlining of double width character string, which
4154	     was drawn only half width.
4155	  <li>correct binary search of precomposed character table, which
4156	     may return wrong result when <code>int</code> is just 32 bits.
4157	  </ul>
4158
4159	<li>some changes to align terminfo with ncurses 5.2:
4160	<ul>
4161	  <li>remove xtermm description, retaining xterm-mono since the former
4162	    conflicts with ncurses.
4163	  <li>modify initialization and reset strings to avoid putting the
4164	    save/restore cursor operations bracketing changes to video
4165	    attributes, since the changes could be lost when the cursor is
4166	    restored.  This affects xterm-r6 and xterm-8bit (the xterm-xfree86
4167	    entry uses the soft-reset feature which resets scrolling margins
4168	    and origin mode without requiring us to save/restore the cursor
4169	    position).
4170	  <li>make a few entries explicitly inherit from xterm-xfree86 rather
4171	    than xterm: xterm-rep, xterm-xmc, xterm-nrc
4172	</ul>
4173
4174	<li>ensure that sign-extension does not affect <code>ctype</code>
4175	  macros by using <code>CharOf()</code> macro to coerce the parameter
4176	  to an unsigned char.
4177
4178	<li>resync with XFree86 4.0.1d:
4179	<ul>
4180	  <li>Add primitive support in xterm for Xft based fonts (Keith Packard).
4181	    The changes are ifdef'd with <code>-DXRENDERFONT</code>.
4182	</ul>
4183</ul>
4184
4185<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1>
4186<ul>
4187	<li>correct implementation of <code>ptyInitialErase</code>:  the
4188	  value assigned to <code>initial_erase</code> was for the control
4189	  terminal, which is correct as far as it goes.  But there was no
4190	  following test for the pseudo-terminal's erase value, which would
4191	  overwrite the default obtained from the control terminal
4192	  (reported by Christian Weisgerber &lt;naddy@mips.inka.de&gt;).
4193
4194	<li>modify check for printable-characters in OSC string to use xterm's
4195	  ansi_table rather than isprint() macro, to isolate this check from
4196	  locale settings.  This fixes a problem using 8-bit characters to
4197	  set the title (reported by Ricardas Cepas &lt;rch@richard.eu.org&gt;).
4198
4199	<li>modify sample scripts to check for printf before print, since the
4200	  latter is not as well standardized (e.g., on Linux).
4201
4202	<li>updated config.sub, config.guess to reflect changes on
4203	  subversions.gnu.org
4204</ul>
4205
4206<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1>
4207<ul>
4208	<li>correct two instances overlooked from patch #141 which assumed
4209	  UTF-8 mode without checking, causing a core dump in non-UTF-8 mode
4210	  (one instance was reported by Tommi Virtanen &lt;tv@debian.org&gt;).
4211
4212	<li>correct a problem selecting from the scrollback buffer in UTF-8
4213	  mode by changing remaining getXtermCell() calls to XTERM_CELL() as in
4214	  the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady).
4215</ul>
4216
4217<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1>
4218<ul>
4219	<li>several changes from Robert Brady for UTF-8 configuration:
4220	<ul>
4221	  <li>doublewide characters don't lose their accents when the cursor
4222	    moves onto or from them (a visual bug)
4223
4224	  <li>fix logic in addXtermCombining, which mean that if the low byte
4225	    of a cell's first combining char was 0, a following combining char
4226	    would go into combining slot 1, not 2.
4227
4228	  <li>modify logic for cut-buffers so UTF-8 data is first converted
4229	    to Latin1.
4230
4231	  <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.
4232
4233	  <li>modify to allow xterm to to show combining characters
4234	   attached to doublewidth characters.
4235
4236	  <li>correct bug in linewrap with -u8 option (reported by
4237	    Andreas Koenig &lt;andreas.koenig@anima.de&gt;).
4238	</ul>
4239
4240	<li>several changes to PTY logic (based on request by Tim Ryan
4241	  &lt;timryan@nortelnetworks.com&gt;).
4242	<ul>
4243	  <li>modify treatment of <code>-S</code> option to to make it work with
4244	    Unix98 PTY's.
4245
4246	  <li>restore sense of IsPts flag in <code>get_pty()</code>, which was
4247	    lost in Unix98 changes.
4248
4249	  <li>use new functions <code>my_pty_id()</code> and
4250	    <code>my_pty_name()</code> to simplify/fix strings used for utmp,
4251	    wtmp identifiers.
4252
4253	  <li>simplify <code>get_pty()</code> function, making it have a single
4254	    return point so its inputs/outputs can be identified.
4255	</ul>
4256
4257	<li>update config.guess and config.sub and scripts to my 20000819 patch,
4258	   adding cases for OS/2 EMX.
4259
4260	<li>add special case for os390 compiler options to configure script
4261	  (patch by Paul Gilmartin)
4262
4263	<li>fix some unused-variable compiler warnings (reported by
4264	  Zdenek Sekera).
4265
4266	<li>split-out some string functions into xstrings.c, to use them
4267	  more consistently among main.c, os2main.c and resize.c
4268
4269	<li>align termcap/terminfo files, adding entries to make them match.
4270	  The termcap entries are necessarily less complete than the terminfo,
4271	  to fit within 1023 character per entry.
4272
4273	<li>add terminfo entry for xterm-sco (SCO function keys).
4274
4275	<li>modify <code>same_font_name()</code> to properly handle wildcard
4276	  introduced in <code>bold_font_name()</code>, making comparison for
4277	  different fonts succeed when only the normal font is specified.  This
4278	  is needed to decide if 1-pixel offset should be used.  (reported
4279	  in a newsgroup by Bart Oldeman &lt;enbeo@enbeo.resnet.bris.ac.uk&gt;)
4280
4281	<li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText()
4282	  from patch #141 which resulted in overstriking for bold fonts not
4283	  working.
4284
4285	<li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in
4286	  UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support.
4287</ul>
4288
4289<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1>
4290<ul>
4291	<li>remove a spurious assignment in ScreenWrite() from Robert Brady's
4292	  patch which set a null at the "end" of the buffer to be written.
4293	  That made the autowrap feature write a blank in the first column for
4294	  the non-UTF-8 configuration, rather than the actual character
4295	  (reported by Alan Citterman &lt;alan@mticket.com&gt;).
4296</ul>
4297
4298<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1>
4299<ul>
4300	<li>add a check to ensure that <code>-class</code> command-line option
4301	  is not confused with <code>-c</code> (reported by Paul Townsend
4302	  &lt;aab@aab.cc.purdue.edu&gt;).
4303</ul>
4304
4305<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1>
4306<ul>
4307	<li>correction to precompose scripts, so 0061 + 0300 will now be really
4308	  be displayed as 00C0 (patch by Robert Brady
4309	  &lt;robert@susu.org.uk&gt;).
4310
4311	<li>correct macro ClassSelects() in button.c, used to hide ifdef's for
4312	  OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul
4313	  &lt;paula@informatik.tu-muenchen.de&gt;).
4314
4315	<li>change wcwidth.h to include stddef.h rather than wchar.h, which is
4316	  not present on OpenBSD and FreeBSD (reported by Christian
4317	  Weisgerber and Bram Moolenaar).
4318
4319	<li>newer config.sub and config.guess, from lynx 2.8.4dev.7
4320</ul>
4321
4322<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1>
4323<ul>
4324	<li>Most of this patch is an integration of Robert Brady's patch #11
4325	  for doublewidth and combining characters, from
4326	  http://www.ecs.soton.ac.uk/~rwb197/xterm/.  In this context,
4327	  doublewidth refers to 16-bit character sets which may have glyphs
4328	  occupying two cells.
4329
4330	<li>add command-line option <code>-class</code>, which allows one
4331	  to override xterm's resource class.  Also add resource file
4332	  <code>UXTerm.ad</code>, which simplifies using xterm for both
4333	  8-bit character sets and UTF-8.
4334
4335	<li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
4336	  Moolenaar, Steve Wall).
4337</ul>
4338
4339<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1>
4340<ul>
4341	<li>modify Makefile.in to circumvent GNU make's built-in suffix rule
4342	  for ".sh" which confuses install.sh with the "make install" target
4343	  (report/patch by Paul Gilmartin).
4344
4345	<li>implement an experimental control sequence which an application may
4346	  use to query the terminal to determine what sequence of characters it
4347	  would send for a given function key.  This is ifdef'd with
4348	  OPT_TCAP_QUERY (request by Bram Moolenaar).
4349
4350	<li>add /usr/local to search path in CF_X_ATHENA configure macro
4351	  to build with Xaw3d on OpenBSD (patch by Christian Weisgerber).
4352
4353	<li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to
4354	  xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report
4355	  by Alain Filbois &lt;Alain.Filbois@loria.fr&gt;).
4356
4357	<li>correct a few errors in xterm.man:  font in filename example for
4358	  Tektronix emulation, and description of -nul/+nul command-line
4359	  options (report by Eric Fischer &lt;enf@pobox.com&gt;).
4360
4361	<li>update config.guess and config.sub (from tin and lynx)
4362</ul>
4363
4364<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1>
4365<ul>
4366	<li>back out change to <code>-name</code> command-line option,
4367	  restoring its original behavior (as noted by David Madore, the
4368	  correct interpretation of this option is the application instance
4369	  rather than the application class).
4370</ul>
4371
4372<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1>
4373<ul>
4374	<li>workaround for fixed fonts which are generated from Unicode fonts:
4375	  they omit glyphs for some xterm's less-used line-drawing characters,
4376	  which caused xterm to set a flag telling it to use only its internal
4377	  line-drawing characters.  Do not set the flag (it can be set from the
4378	  popup menu), and xterm will generate only the line-drawing glyphs
4379	  which actually are missing.
4380	  <br>
4381	  Otherwise, when used for large fonts, xterm may generate a 2-pixel
4382	  wide line, which can leave dots on the screen.
4383
4384	<li>restore first line of 256colres.pl, omitted in 4.0c diffs.
4385</ul>
4386<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1>
4387<ul>
4388	<li>make command-line <code>-name</code> option work as documented.
4389	  Apparently this was lost in X11R5 when coding to use
4390	  <code>XtAppInitialize</code>.
4391
4392	<li>limit numeric parameters of control sequences to 65535 to
4393	  simplify checks for numeric overflow.
4394
4395	<li>change index into UDK list to unsigned to guard against numeric
4396	  overflow making the index negative (Taneli Huuskonen
4397	  &lt;huuskone@cc.helsinki.fi&gt;).
4398
4399	<li>change <code>sun&nbsp;function-keys</code> resource name to
4400	  <code>sunFunctionKeys</code> to work around redefinition of the
4401	  token <code>sun</code> by xrdb on Solaris.  Similarly, renamed
4402	  resource <code>sun&nbsp;keyboard</code> to <code>sunKeyboard</code>
4403	  (Steve Wall).
4404
4405	<li>change similar resource names for HP and SCO to avoid potential
4406	  conflict with xrdb symbols on other systems, as well as for
4407	  consistency.
4408
4409	<li>reorganized the install targets in the autoconf'd Makefile, adding
4410	  install-app, install-bin, install-dirs and install-man.  The
4411	  app-defaults class can be overridden by setting the make variable
4412	  'CLASS', simplifying customization of xterm as a Unicode terminal,
4413	  e.g., CLASS=UXTerm.
4414
4415	<li>add limit checks to <code>ClearInLine()</code>,
4416	  <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to
4417	  correct potential out-of-bounds indexing (prompted by Debian bug
4418	  report #64713, which reported a problem with ICH escape sequences).
4419
4420	<li>updates to config.sub and config.guess
4421	  Kevin Buettner &lt;kev@primenet.com&gt; for elf64_ia64
4422	  Bernd Kuemmerlen &lt;bkuemmer@mevis.de&gt; and MacOS X.
4423
4424	<li>patch from Paul Gilmartin for os390 to check for errno set to
4425	  ENODEV on failure to open /dev/tty when there is no controlling
4426	  terminal.
4427
4428	<li>patch from H Merijn Brand &lt;h.m.brand@hccnet.nl&gt; for
4429	  building on Digital Unix 4.0 and AIX 4.2.
4430
4431	<li>modify DECRQSS reply for DECSCL to additionally report if the
4432	  terminal is set for 8-bit controls.
4433</ul>
4434
4435<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1>
4436<ul>
4437	<li>add a resource (<code>limitResize</code>)
4438	  limiting resizing via the CSI 4 t and CSI 8 t sequences.
4439
4440	<li>ignore out-of-bounds resize requests, i.e., where sign-extension
4441	  or truncation of the parameters would occur.
4442</ul>
4443
4444<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1>
4445<ul>
4446	<li>remove code introduced in #134 which made some backgrounds bold.
4447
4448	<li>minor correction to format of updated $TERMCAP when adding
4449	  <code>kb</code> capability for <code>ptyInitialErase</code> logic.
4450
4451	<li>improved test for SVR4 definition.
4452</ul>
4453
4454<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1>
4455<ul>
4456	<li>update URL's and mailing addresses, moved to http://dickey.his.com
4457	  and dickey@herndon4.his.com
4458
4459	<li>correct missing quotes in CF_TTY_GROUP configure script macro in
4460	  case the script is run in batch mode.
4461
4462	<li>modify ownership-check of log file to ignore the group ownership.
4463	  Otherwise xterm cannot create logfiles in directories with set-gid
4464	  permissions.
4465
4466	<li>simplify the logic that reads termcap data.
4467
4468	<li>add fallback definition for B9600 in case line speed definition
4469	  for 38400 is missing (report by Jack J Woehr &lt;jwoehr@ibm.net&gt;,
4470	  for OpenBSD 2.6).
4471
4472	<li>fix:  Set highlightColor, and select a region containing the text
4473	  cursor.  If the window loses focus, the cursor becomes hollow, with
4474	  the region inside the cursor being background/foreground, unlike the
4475	  rest of the selection, which is foreground/highlight
4476	  (patch by Ross Paterson &lt;ross@soi.city.ac.uk&gt;).
4477
4478	<li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT,
4479	  which enables xterm to compile on Solaris 7 and SCO Openserver
4480	  without imake, though there are still a few features for the latter
4481	  which require <code>sco</code> to be predefined.
4482
4483	<li>patches from Steve Wall:
4484	<ul>
4485	<li>add support for two Sun-specific function keys.  These keys are
4486	  labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and
4487	  SunXK_F37.  Support will only be compiled in if the header file
4488	  &lt;X11/Sunkeysym.h&gt; exists and contains the appropriate symbol
4489	  definitions.  The keycodes for the DEC keycodes were arbitrary unused
4490	  codes, but the ones for the Sun keycodes are what cmdtool and
4491	  shelltool actually send.
4492
4493	<li>add <code>colorRV</code> and <code>colorRVMode</code> resources to
4494	  allow specifying a color to use for reverse video, similar to the
4495	  existing UL, BD, and BL modes.
4496
4497	<li>add <code>alwaysUseMods</code> resource, to override check if
4498	  <code>alt</code> or <code>meta</code> modifiers are used in
4499	  <code>translations</code> resource.  Revamped the code to calculate
4500	  the modifier value, and included Meta if alwaysUseMods is TRUE, using
4501	  values 9-16.
4502	</ul>
4503
4504	<li>patches from Paul Gilmartin for os390:
4505	<ul>
4506	<li>regularize the definition of CONTROL() and remove an
4507	  acknowledged "trial and error" table.
4508
4509	<li>translate "^?" into A2E(0177) which is the EBCDIC "DEL"
4510	  rather than plain 0177 which is the EBCDIC quotation mark.
4511
4512	<li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159
4513	  are not rendered as blanks by X server running on Solaris, which sees
4514	  those as control characters.
4515
4516	<li>make debugging traces (configure --enable-trace)
4517	 work properly with EBCDIC.
4518	</ul>
4519</ul>
4520
4521<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1>
4522<ul>
4523	<li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and
4524	  AWK (reported by Neil Bird).
4525
4526	<li>correct uninitialized <code>childstat</code> variable from patch
4527	  #131 in <code>creat_as()</code> function, which caused logging to not
4528	  work on Solaris, whose <code>waitpid()</code> function does not
4529	  initialize its parameter.  Add check for EINTR on return from
4530	  <code>waitpid()</code> as well (reported by Neil Bird
4531	  &lt;neil.bird@rdel.co.uk&gt;).
4532
4533	<li>remove a redundant check for working <code>setuid()</code> function
4534	  introduced in patch #132 (Greg Smith reports that this does not work
4535	  as intended on os390).
4536
4537	<li>change line speed from 9600bd to 38400bd, to accommodate people who
4538	  mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of
4539	  padding associated with this terminal type.
4540
4541	<li>add configure script check for IRIX 6.5's redefinition of baud
4542	  rates associated with <code>struct termio</code>, to correct a
4543	  situation where the baud rate was initialized to zero (reported by
4544	  Andrew Isaacson &lt;adi@lcse.umn.edu&gt;).
4545
4546	<li>remove unused configure script check for VDISABLE.
4547</ul>
4548
4549<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1>
4550<ul>
4551	<li>undo an incorrect change from patch #113 caused the right scrollbar
4552	  to be positioned incorrectly when re-enabling it (analysis by
4553	  D Roland Walker).
4554
4555	<li>add ctrlFKeys resource, replacing constant for adjusting
4556	  control-F1 to control-F12 to VT220-style F10-F20.  The resource
4557	  changes the constant 12 to a default value of 10 (request by
4558	  Jim Knoble &lt;jmknoble@pobox.com&gt;).
4559
4560	<li>correct ifdef'ing for conflict between definitions in AIX's
4561	  &lt;sys/select.h&gt; and &lt;X11/Xpoll.h&gt; (reported by Clint
4562	  Olsen).
4563
4564	<li>add checks for return-values of getutid(), initgroups() and
4565	  setuid() in main.c, as well as modifying ifdef's for __osf__ to
4566	  include tty-group and WTMP logic (adapted from patch by Paul Szabo
4567	  &lt;psz@maths.usyd.edu.au&gt;)
4568
4569	<li>modify resize.c to build and work on os390 (uses EBCDIC)
4570	  (adapted from patch by Phil Sidler &lt;Phil.Sidler@airborne.com&gt;)
4571
4572	<li>use Ires(), Bres() and Sres() macros to simplify resource list in
4573	  charproc.c
4574
4575	<li>resync with XFree86 4.0a:
4576	<ul>
4577	  <li>correct a typo in os2main.c (Holger Veit, from 4.0a).
4578	</ul>
4579</ul>
4580
4581<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1>
4582<ul>
4583	<li>integrate patch by Branden Robinson for improving logfile
4584	  security:
4585	  <ul>
4586	  <li>make the <code>creat_as()</code> function more strict by using
4587	    O_EXCL rather than O_APPEND.
4588	  <li>fixes to make DEBUG ifdef's compile/run, including making the
4589	    debug logfile more unique by appending a timestamp to its name.
4590	  <li>include &lt;term.h&gt; in resize.c, to fix a missing-prototype
4591	    warning.
4592	  </ul>
4593
4594	<li>modified <code>creat_as()</code> a little more, retaining the
4595	  ability to append to a logfile If the user specifies the name.
4596	  Also, check if the opened file (which patch #130 ensures is
4597	  owned by the effective user) is not writable by other users.
4598
4599	<li>use <code>creat_as()</code> logic to make tek4014 screen-copy
4600	  more secure (noted by Branden Robinson).
4601
4602	<li>ifdef'd some of Branden's changes to build/work on older machines.
4603
4604	<li>correct missing initialization of the <code>.mode</code> flag in
4605	  <code>ColorRes</code> struct, from patch #129.  This worked on Linux
4606	  because <code>malloc()</code> zeroes memory on that platform
4607	  (reported by Christian Weisgerber).
4608
4609	<li>modify logic for <code>deleteIsDEL</code> resource so it has
4610	  internally 3 states:  unspecified, true and false.  If unspecified,
4611	  the keyboard type determines whether the Delete key transmits
4612	  <code>&lt;ESC&gt;[3~</code> or <code>\177</code>, and the popup menu
4613	  entry reflects the internal state.  Otherwise, the popup menu entry
4614	  overrides the keyboard type (suggested by Dr Werner Fink, to make it
4615	  simpler to set resources that imitate the legacy X11R6 xterm).
4616</ul>
4617
4618<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1>
4619<ul>
4620	<li>modify <code>scroll-forw()</code> and <code>scroll-back()</code>
4621	  actions, adding a third parameter which will direct xterm to ignore
4622	  the action when mouse reporting is enabled.  This is needed for
4623	  the wheel mouse to be used to report to the application rather than
4624	  scroll the window.
4625
4626	<li>add menu entry and action to allow disabling xterm's assumption
4627	  that the current font contains line-drawing characters if the
4628	  font cells 1-31 are nonempty.  Some fonts may have other characters
4629	  (reported by Bruno Betro &lt;bruno@iami.mi.cnr.it&gt;).
4630
4631	<li>add a check in <code>creat_as()</code> to ensure that the user
4632	  really owns the logfile that has been opened.
4633
4634	<li>add logic to implement SCO function-keys.  (This is really
4635	  incomplete, since I intend to revisit this and make xterm able to
4636	  emulate scoansi better than just the function-keys).
4637
4638	<li>add configure script option --enable-sco-fkeys, minor related fixes
4639	  (patch by Dr Werner Fink).
4640
4641	<li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)
4642
4643	<li>fix typo in sinstall.sh default for $TST_PROG (reported by
4644	  Paul Gilmartin &lt;pg@sweng.stortek.com&gt;)
4645</ul>
4646
4647<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1>
4648<ul>
4649	<li>improve initialization of ANSI colors by delaying allocation until
4650	  each color is first used.
4651
4652	<li>remove ifdef that prevented colorBD/colorUL/colorBL resources from
4653	  working when 256-color configuration was built (reported by
4654	  Todd Larason).
4655
4656	<li>fix some minor inconsistencies in terminfo (Debian #58530).
4657</ul>
4658
4659<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1>
4660<ul>
4661	<li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core
4662	  dump when attempting to set it from the command-line (reported by Dr
4663	  Werner Fink).
4664	<li>correct ifdef for meta-sends-escap so configure --disable-num-lock
4665	  builds.
4666</ul>
4667
4668<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1>
4669<ul>
4670	<li>add resource, popup menu entry and control sequence to allow
4671	  changing the Delete key to send either DEL or the VT220-style
4672	  Remove escape sequence.
4673
4674	<li>remove logic for metaSendsEscape that would allow xterm to send
4675	  <code>&lt;ESC&gt;[3~</code> before a function key that would begin
4676	  with <code>&lt;ESC&gt;[3~</code> (request by Christian Weisgerber).
4677
4678	<li>add missing action and documentation for meta-sends-escape.
4679
4680	<li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color)
4681</ul>
4682
4683<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1>
4684<ul>
4685	<li>patch by Markus Kuhn:
4686	  ensure that xterm will automatically activate the UTF-8 mode whenever
4687	  the name of the locale environment variable suggests that a UTF-8
4688	  locale is in use.  This will help that by simply setting LC_CTYPE an
4689	  entire system can be switched over to UTF-8, without users having to
4690	  remember the UTF-8 command line options ("-u8", etc.) of the various
4691	  applications.  Command line options and X resource entries can still
4692	  be used to override this default choice.
4693
4694	<li>add old function-keys control sequences and popup menu entry, for
4695	  compatibility with legacy X11R6 xterm.
4696
4697	<li>revert translation of editing keypad "Delete" key to legacy \177.
4698
4699	<li>simplify the color-resource data expressions with macro COLOR_RES,
4700	  for later use in restructuring color initialization.
4701
4702	<li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict
4703	  with legacy mouse modifiers (suggested by Bram Moolenaar).
4704</ul>
4705
4706<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1>
4707<ul>
4708	<li>integrate patch by David Mathog
4709	  &lt;mathog@seqaxp.bio.caltech.edu&gt; to make this work on OpenVMS
4710
4711	<li>rename some functions, e.g., <code>Index</code> to
4712	  <code>xtermIndex</code> so that ports such as VMS which link
4713	  externals ignoring case will not have library conflicts (reported by
4714	  David Mathog).
4715
4716	<li>correct logic of <code>do_reversevideo()</code>, which did not
4717	  update the corresponding popup menu check mark (reported by David
4718	  Mathog, this was a detail overlooked in patch #94).
4719
4720	<li>change TRACE macro so semicolon is not within definition, making
4721	  <em>indent</em> and similar programs work better.
4722
4723	<li>add <code>depend</code> rule to Makefile.in
4724
4725	<li>modify logic of boldColors resource to suppress it if an extended
4726	  color control has been used, e.g., for 88-color or 256-color mode
4727	  (patch by Todd Larason).
4728
4729	<li>revise logic that handles menus and input translation for keyboard
4730	  type so only one can be selected at a time.
4731
4732	<li>restore kdch1=\177 for the Sun function-key type, and make the
4733	  the Delete key send DEL (\177) if the oldXtermFKeys resource is set.
4734
4735	<li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor
4736	  expression that will not compile on NetBSD/x86 1.4.1 (reported by
4737	  Takaaki Nomura &lt;amadeus@yk.rim.or.jp&gt;).
4738
4739</ul>
4740
4741<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1>
4742<ul>
4743	<li>change coding of editing keypad's "Delete" key to
4744	  &lt;escape&gt;[3~, in the default (Sun/PC) keyboard mode.
4745	  This makes the terminfo kdch1 capability independent of the
4746	  coding of the backarrow key, which sends either backspace (8)
4747	  or DEL (127).  The reason for doing this (compatibility with
4748	  the <em>screen</em> program) outweighs the choice of DEL (127)
4749	  which was used in X11R5/X11R6 xterms.  The <em>screen</em>
4750	  program translates whatever matches kdch1 into &lt;escape&gt;[3~,
4751	  even if it happens to be the stty erase character.
4752
4753	<li>add encoding for control/?, to work around xmodmap or key
4754	  translations which may confuse backspace and delete.  A control/?
4755	  will send DEL (127), and a control/H will of course send backspace
4756	  (8).
4757
4758	<li>add encoding for kcbt to &lt;escape&gt;[Z (fixes Debian #54840).
4759
4760	<li>minor correction to logic that encodes Sun and DEC function keys
4761	  to avoid sending an escape sequence if the key symbol is not found
4762	  in xterm's lookup table.
4763
4764	<li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
4765	  is more likely to be implemented when <em>imake</em> configures xterm
4766	  (fixes Debian #55105).
4767
4768	<li>change manpage to make it clearer what codes are sent by the
4769	  backarrow key.
4770</ul>
4771
4772<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1>
4773<ul>
4774	<li>add a note reserving OSC 51 for use in Emacs shell (request by
4775	  Rob Mayoff &lt;mayoff@dqd.com&gt;).
4776
4777	<li>correct a missing backslash in xterm-vt220 termcap.
4778
4779	<li>cleanup remaining quoted includes, preferring bracketed form.
4780
4781	<li>minor configure-script macro updates from tin and vile.
4782
4783	<li>add configure-script option for using utempter library, adapted
4784	  from Redhat 6.1 patch for XFree86 3.3.5
4785
4786	<li>resync with XFree86 3.9.17a:
4787	<ul>
4788	  <li>correction to QNX support (Frank Guangxin Liu)
4789	  <li>some cosmetic changes that did not correct any reported problems.
4790	</ul>
4791</ul>
4792
4793<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1>
4794<ul>
4795	<li>move the suggested wheel-mouse button translations into charproc.c
4796	  to simplify customization.  Correct some minor logic errors in the
4797	  support for buttons 4 and 5, used for wheel mice (reported by
4798	  Bram Moolenaar).
4799
4800	<li>implement <em>metaSendsEscape</em> resource, with corresponding
4801	  control sequence and menu entry.  Like <em>eightBitInput</em>, this
4802	  causes xterm to send ESC prefixing the given key, but applies to
4803	  all keys and is independent of the 8-bit/7-bit terminal setting.
4804	  (requests by Alexander V Lukyanov and Marc Feeley).
4805
4806	<li>correct potential indexing with negative subscript in udk_lookup(),
4807	  (reported by Ian Collier &lt;Ian.Collier@comlab.ox.ac.uk&gt;).
4808
4809	<li>modify configure script that sets TERMINFO_DIR to use ${prefix}
4810	  rather than /usr if the --prefix option was specified (request by
4811	  Zdenek Sekera &lt;zs@sgi.com&gt;).
4812
4813	<li>modify checks for repeat-character control sequence to test the
4814	  character class against xterm's state table, rather than the
4815	  isprint() macro (patch by Alexander V Lukyanov).
4816
4817	<li>change several functions to macros to improve speed
4818
4819	<li>two corrections to simulation of bold font via overstriking:
4820	<ul>
4821	  <li>use clipping to avoid leaving trash at end of the text, and
4822	  <li>add brackets so wide-character logic does not fall-through
4823	    into the overstriking logic (reported by
4824	    Marc Feeley &lt;feeley@IRO.UMontreal.CA&gt;)
4825	</ul>
4826
4827	<li>add several entries to termcap file to make it have the same set
4828	 of aliases as the terminfo file.
4829
4830	<li>scale the color values used for xterm-256color terminfo entry to
4831	 0..1000, as expected by ncurses.
4832
4833	<li>change xterm-r6 terminfo definitions for F1-F4 to match program.
4834
4835	<li>Add QNX/Neutrino support (Frank Guangxin Liu
4836	 &lt;frank@ctcqnx4.ctc.cummins.com&gt;)
4837</ul>
4838<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1>
4839<ul>
4840	<li>change label on "Sun/PC Keyboard" popup menu entry to "VT220
4841	  Keyboard", since the checked state corresponds to VT220 rather than
4842	  Sun/PC.
4843
4844	<li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of
4845	  utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas
4846	  Vanhala).
4847
4848	<li>amend treatment of ALT key
4849	  (see <a href="#xterm_94">patch #94</a>) so that if ALT is used
4850	  as a modifier in key translations, then no parameter will be sent
4851	  in escape sequences for Sun/PC function keys (request by Dr Werner Fink).
4852
4853	<li>modify default for OPT_I18N_SUPPORT to assume that
4854	  <code>XtSetLanguageProc()</code> is available in X11R5.
4855	  <p>
4856	  Caveat: <code>XtSetLanguageProc()</code> was
4857	  added fairly late in the X11R5 patches, and some vendors shipped
4858	  buggy versions of this function (request by Tomas Vanhala).
4859
4860	<li>correct configure macro CF_SYSV_UTMP to test-link with functions
4861	  consistent with the header, e.g., getutent() for utmp.h and
4862	  getutxent() for utmpx.h (reported by Greg Smith).
4863
4864	<li>modify terminfo entry for <code>xterm-xfree86</code> to reflect
4865	  modifiers for shift and control which (from a patch by Alexander V
4866	  Lukyanov).
4867
4868	<li>modify terminfo entry for <code>xterm-sun</code> to match the
4869	  function-key definitions in ncurses.  The pageup/pagedown and
4870	  related function keys correspond to the Sun keyboard, which does
4871	  not necessarily correspond with X's notion of those keys.
4872
4873	<li>modify treatment of XK_Delete keysym so it transmits parameterized
4874	  VT220-style <code>&lt;ESC&gt;[3~</code> if modifiers (shift, control
4875	  alt) are given (request by Alexander V Lukyanov).
4876
4877	<li>corrected misspelled resource name in command-line option for
4878	  HP function keys.
4879</ul>
4880
4881<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1>
4882<ul>
4883	<li>refine the change to <code>SGR_Background()</code> in patch #119,
4884	  by not flushing the pending scrolling operation if the background
4885	  color is not actually changing.  This combination occurs when using
4886	  color-ls to display a long listing, since each line ends with an SGR0
4887	  which affects only the foreground color.  The unnecessary flushing
4888	  made it noticeably slower (reported by D Roland Walker
4889	  &lt;walker@pobox.com&gt;).
4890
4891	<li>remove obsolete documentation about modifiers which can be returned
4892	  in mouse tracking mode, and modify logic to ignore modifiers other
4893	  than the existing ones, e.g., NumLock (prompted by discussions with
4894	  Christian Weisgerber and Brad Pepers &lt;brad@linuxcanada.com&gt;).
4895
4896	<li>use free bit from obsolete shift-modifier coding of mouse tracking
4897	  button events to encode buttons 4 and 5, e.g., for a wheel mouse
4898	  (requests by Brad Pepers and Bram Moolenaar).
4899
4900	<li>correct a place where the ptyInitialErase logic did not set the
4901	  backarrowKey state, and modify it further to use tgetstr() rather
4902	  than parse the termcap data returned from tgetent() so the
4903	  ptyInitialErase logic will work when xterm is linked with a terminfo
4904	  library (based on a patch by Dr Werner Fink &lt;werner@suse.de&gt;).
4905
4906	<li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
4907	  &lt;michael.rohleder@stadt-frankfurt.de&gt;)
4908
4909	<li>improve configure script's utmp tests (based on reports by Greg
4910	  Smith for os390, and David Ellement for HPUX).
4911
4912	<li>modify sinstall.sh to use uid=0 rather than 'root' to determine if
4913	  the installer is privileged.  This is needed on some systems since
4914	  more than one account may be privileged (report by Greg Smith).
4915
4916	<li>add an application resource, <code>messages</code> (and a
4917	  corresponding -/+mesg option) which controls the initial permission
4918	  on the terminal:  if messages is set to true (the default), behavior
4919	  is as without the patch; if it is set to false (as per -mesg), the
4920	  terminal is opened in mode 0600, thus producing the effect of the
4921	  <code>mesg n</code> command.  This is useful for users who want to
4922	  redirect all their messages to one particular xterm:  it is more
4923	  pleasant to do this with xterm resources than with explicit calls to
4924	  the <code>mesg</code> program  (patch, description by David Madore
4925	  &lt;david.madore@ens.fr&gt;).
4926</ul>
4927
4928<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1>
4929<ul>
4930	<li>add responses (DA and DSR) for DEC locator mode
4931
4932	<li>add coding for ANSI color to DA response
4933
4934	<li>implement UTF-8 translation for Media Copy (print) operations.
4935
4936	<li>implement vt320 control sequences for Print Composed Main Display
4937	  and for Print All Pages.  The latter directs xterm to print the
4938	  current screen as well as the scrollback buffer.
4939
4940	<li>correct error in _GNU_SOURCE configure test, which left it always
4941	  defined.
4942
4943	<li>add more information, i.e., with strerror for some system calls in
4944	  the main program which may fail due to insufficient permissions
4945	  (prompted by a problem report for <code>-C</code> by Jeremie Petit
4946	  &lt;Jeremie.Petit@digital.com&gt;).
4947
4948	<li>add workaround for conflict between &lt;X11/Xpoll.h&gt; and
4949	  &lt;sys/select.h&gt; on AIX 4.3 (Richard Griswold
4950	  &lt;griswold@acm.org&gt;).
4951
4952	<li>add configure script test to resolve conflict between between
4953	  &lt;X11/Xpoll.h&gt; and &lt;sys/select.h&gt;
4954
4955	<li>modify translation of UTF-8 sequences to reject "overly long"
4956	  variations (patch by Markus Kuhn).
4957
4958	<li>remove <code>utf8controls</code> resource, since Markus' change
4959	  removes the corresponding logic.
4960
4961	<li>correct a case where colors were not rendered properly.  This
4962	  happened when an application inserted several lines, then changed
4963	  colors.  If this was done all in one write, then there would be no
4964	  intervening refresh, and the new color was applied to the pending
4965	  scrolling operation which was awaiting the next refresh (reported
4966	  by Stephane Chazelas &lt;Stephane_Chazelas@Raytheon.com&gt;).
4967
4968</ul>
4969
4970<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1>
4971<ul>
4972	<li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x
4973	  (reported by David Ellement).
4974
4975	<li>move the configure check for <code>const</code> after the check
4976	  for ANSI C compiler options, since those may be required to make
4977	  it work properly on HP-UX.
4978
4979	<li>add configure test for defining <code>_GNU_SOURCE</code>
4980
4981	<li>correction to <em>-hold</em> option, ensure that if data is already
4982	  in the output buffer that it will be displayed before closing the
4983	  PTY.
4984
4985	<li>move the configure checks for setuid install of xterm into a script
4986	  to avoid installing it setuid'd to a non-root user (reported by
4987	  Adam Sulmicki &lt;adam@cfar.umd.edu&gt;).
4988
4989	<li>correct configure script's check for termcap.h to avoid using
4990	  ncurses' version of it on systems that have a working
4991	  <code>tgetent()</code> function.  This is needed to make
4992	  <code>resize</code> work properly.
4993
4994	<li>fix some typography in ctlseqs.ms description of DEC locator events
4995	  (reported by Steve Wall).
4996</ul>
4997
4998<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1>
4999<ul>
5000	<li>change order of tests in configure script for utmp and utmpx
5001	  to test utmpx first, to compile on Solaris (reported by
5002	  Leena Heino &lt;liinu@uta.fi&gt;
5003	  and Patrik Hagglund &lt;patha@ida.liu.se&gt;).
5004
5005	<li>add a configure test for utmp.ut_xtime, needed for SCO Openserver,
5006	  and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx
5007	  auto-configure.
5008
5009	<li>remove a spurious comma in an #undef (reported by
5010	  David Green &lt;greendjf@cvhp152.marconicomms.com&gt; and
5011	  David Ellement &lt;ellement@sdd.hp.com&gt; both on HP-UX, whose
5012	  compiler does care about syntax).
5013
5014	<li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib
5015	  M. Siddiqi &lt;Ssiddiqi@InspirePharm.Com&gt;, who is told that the
5016	  next Cygnus release will drop that symbol in their next release).
5017
5018	<li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall).
5019
5020	<li>patch by Alexander V Lukyanov to work around problem observed
5021	 in XFree86 3.3.5, reported as bug #5419 to Mozilla.  From the
5022	 problem report:
5023	<blockquote>
5024	xterm consumes cpu when selecting text with mouse (holding
5025	down left mouse button) and when a program working under the
5026	xterm outputs something to stdout.
5027	<p>
5028	Easy way to reproduce:<br>
5029		<code>while :; do echo aaa; sleep 1; done</code><br>
5030	(while this runs, select text and hold down left mouse button)
5031	watch cpu load.<br>
5032	release left mouse button - spinning stops.
5033	</blockquote>
5034</ul>
5035
5036<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1>
5037<ul>
5038	<li>modify warning if change-ownership of PTY fails; some
5039	  configurations may not happen to have old-style pty's (reported by
5040	  Bob Maynard).
5041
5042	<li>improve check in configure script for group ownership of installed
5043	  xterm; some platforms use the -g option of ls to toggle group off
5044	  rather than on (reported by Greg Smith).
5045
5046	<li>minor improvement to toolbar geometry, to make it not resizable.
5047	  This still is not satisfactory (but is usable) since the toolbar
5048	  overlaps the xterm widget if the window is resized to make it
5049	  smaller.  It appears that some work is needed for the xterm widget's
5050	  geometry management to make it function properly.
5051
5052	<li>implement configure script tests for utmp, tty group.
5053
5054	<li>implement <em>-hold</em> option, allowing users to retain the
5055	  window after a shell has exited (this is recently an FAQ, but
5056	  prompted by a comment by Joachim Plaettner-Hochwarth
5057	  &lt;plaettner@aem.umn.edu&gt; in comp.unix.programmer, that the IRIX
5058	  winterm provides this option).
5059
5060	<li>integrated change by Steve Wall to
5061	  add support for DEC Locator control sequences for xterm:
5062	  <pre>
5063
5064		DECEFR - Enable Filter Rectangle
5065		DECELR - Enable Locator Reports
5066		DECSLE - Select Locator Events
5067		DECRQLP - Request Locator Position
5068	  </pre>
5069	  This allows the xterm mouse to be used with applications that use the
5070	  DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
5071
5072	<li>patch from Matthias Baake &lt;Matthias.Baake@gmx.de&gt;, for print
5073	  action.  From his notes:
5074	  <ul>
5075	    <li>Bug 1:
5076	      Underlined text is preceded by ESC [0;2m . This should be ESC [0;4m , ESC
5077	      [2m doesn't seem to have any effect. (print.c/send_SGR)
5078
5079	    <li>Bug 2:
5080	      The check for the last non-empty column (while (last &gt; 0) ... in
5081	      print.c/printLine) omits the rightmost column of the screen, the loop must
5082	      start with last = screen-&gt;max_col+1 instead of last = screen-&gt;max_col.
5083
5084	    <li>Bug 3:
5085	      Any attributes of the first character (and of all immediately following
5086	      characters with the same attributes) are ignored. The variable attr
5087	      (print.c/printLine) should be initialized with 0, not with *a &amp; SGR_MASK.
5088	  </ul>
5089</ul>
5090
5091<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1>
5092<ul>
5093	<li>integrated changes by Steve Wall to implement an 88-color model
5094	  for systems where 256-colors cannot be allocated.
5095
5096	<li>when 256-color configuration is compiled, colored bold and
5097	  underlining is not available; ifdef'd to avoid possible odd effects
5098	  in this case (reported by Steve Wall).
5099
5100	<li>add resource <em>cacheDoublesize</em>, to limit the caching of font
5101	  information for double-sized characters.  This addresses a problem
5102	  reported by Aryeh Koenigsberg for X terminals with limited font
5103	  memory.
5104
5105	<li>modify treatment of line-drawing characters in UTF-8 mode so that
5106	  the Unicode values are used rather than the C0 codes for storing the
5107	  translated characters (request by Markus Kuhn).
5108</ul>
5109
5110<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1>
5111<ul>
5112
5113	<li>add configure script checks for Athena headers and libraries under
5114	  /usr/contrib to work on HPUX (reported by several people:
5115		David Nixon &lt;djn@csc.liv.ac.uk&gt;
5116		Aryeh Koenigsberg &lt;aryeh.koenigsberg@telrad.co.il&gt;
5117		Johannes M&#x00E4;hner &lt;johanm@camline.com&gt;
5118		Andrew Gaylard &lt;andrew.gaylard@bsw.co.za&gt;).
5119
5120	<li>add check to configure script if xterm is installed setgid rather
5121	  than setuid, since wtmp and utmp may be installed with group-writable
5122	  permissions other than root (based on Debian bug report #7112 by Bo
5123	  Branten &lt;bosse@ing.umu.se&gt;).
5124
5125	<li>rewrote logic that removes data from termcap entry, e.g., for
5126	  titeInhibit, to make it less likely to remove the wrong data.
5127
5128	<li>correct logic which checks for missing characters used for line
5129	  drawing.  The 0 character was tested unnecessarily, leading to
5130	  some inefficiency when rendering.
5131
5132	<li>change termcap capability which is used as input or output of
5133	  ptyInitialErase logic from <em>kD</em> to <em>kb</em>.
5134	  Christian Weisgerber &lt;naddy@mips.rhein-neckar.de&gt; pointed out
5135	  in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should
5136	  correspond to the control sequence for <em>dch1</em>, which deletes
5137	  from the current position toward the right.
5138
5139	<li>check for failure to change ownership of the PTY device and warn
5140	  when xterm is running setuid'd to root.  This was reported to happen
5141	  on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags()
5142	  call.
5143
5144	<li>add xterm-noapp terminfo entry to illustate a nominally
5145	  bash-compatible terminal description.
5146</ul>
5147
5148<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1>
5149Several fixes.  The main one is a first draft of pulldown menus.  It's not
5150complete (I have some minor/annoying geometry problems to correct), but is
5151usable.  Once it's complete I plan to add a menu to support additional
5152selections that won't fit on the current popup menus.  Also, this fits into my
5153longterm plan to allow configuring with Motif libraries.
5154
5155<ul>
5156	<li>correct error in input conversion for NRC mode (reported by
5157	  Stefan Traby &lt;stefan@sime.com&gt;).
5158
5159	<li>fix initialization of num_lock data in Misc struct (since those
5160	  fields of the reference widget aren't initialized), and add logic to
5161	  deal with XVision whose NumLock key does not transmit but does alter
5162	  keypad state.
5163
5164	<li>correct a missing return-value in get_pty(), for SCO
5165
5166	<li>add E2A fix for backspace (Greg Smith), i.e.,<br>
5167	  #define VAL_INITIAL_ERASE A2E(127)
5168
5169	<li>correct foreground color within cursor outline when the
5170	  window is unfocused (reported by Stephane Chazelas).
5171
5172	<li>corrected position of scrollbar set in ResizeScrollBar(), which
5173	  left it positioned incorrectly if the right scrollbar were enabled
5174	  from the popup menu but was not initially enabled.
5175
5176	  <p>
5177	  I have noticed some additional problems with right-scrollbar on
5178	  X11R5 which I will correct later.
5179
5180	<li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c
5181
5182	<li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later
5183	  use in toolbar geometry.
5184
5185	<li>add configure option --enable-toolbar
5186
5187	<li>add missing definition to make ziconbeep logic not compile-in when
5188	  configure script disables it.
5189
5190	<li>add configure-check for input-method support in X libraries
5191</ul>
5192
5193<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1>
5194<ul>
5195	<li>add null-pointer check to FlushLog(), fixes a core dump when both
5196	  -l and -lf options are used when xterm is configured with wide-character
5197	  support.
5198
5199	<li>remove "ISO" case for SD, which was due to a typographical error in
5200	  ECMA-48 (reported by Paul Williams &lt;paul@celigne.co.uk&gt; for
5201	  vttest).
5202
5203	<li>add "FILES" section to manpage.
5204
5205	<li>generate header file to initialize default resources for colors
5206	  16-255.
5207
5208	<li>patches by Greg Smith for os390:
5209	<ul>
5210	  <li>add README.os390
5211
5212	  <li>use the pty_search() function to find an available pty/tty pair.
5213
5214	  <li>move E2A() call out of getXtermCell() to SaveText() function
5215	      so it will be available in all configurations.
5216	</ul>
5217
5218	<li>patches by Todd Larason:
5219	<ul>
5220	  <li>enable SGR 48 5 in ISO color mode, not just 256 color mode
5221
5222	  <li>change configure's --disable-256-color option to
5223	    --enable-256-color, to match its effect
5224
5225	  <li>fix OSC 4 xx ?  (report ansi color) to report a string which can
5226	    actually be used to set the color back
5227
5228	  <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors &gt;
5229	    15 in 16 color mode
5230
5231	  <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting
5232	    NUM_ANSI_COLORS needed for #1 and #4 above
5233
5234	  <li>correct string-terminator code passed for reference to OSC
5235	    responses; when in 7-bit mode, only the final byte of ST was seen.
5236
5237	  <li>Allow multiple color #;name pairs in OSC 4,
5238	    and document changes to match.
5239	</ul>
5240</ul>
5241
5242<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1>
5243<ul>
5244	<li>add control sequences for specifying the RGB value of the ANSI
5245	  colors, and for configuring with 256 colors (patch by Todd Larason
5246	  &lt;jtl@molehill.org&gt;).  I made the default configuration to
5247	  16-colors, because xterm uses the default color map (which has only
5248	  256 colors).
5249
5250	<li>correct an error in DCS $ q m reporting for colors 8-15 (Todd
5251	  Larason).
5252
5253	<li>add test/demo script for double size characters.  Used this to
5254	  test/correct display of double size characters that should wrap,
5255	  underlined double size characters.
5256
5257	<li>increased cache size for double size fonts to 8, to allow for both
5258	  normal and bold fonts (from discussion with Aryeh Koenigsberg
5259	  &lt;aryeh.koenigsberg@telrad.co.il&gt;).
5260
5261	<li>integrated patch from Greg Smith &lt;rys@epaibm.rtpnc.epa.gov&gt;
5262	  for port to OS390 (aka MVS).  OS390 uses EBCDIC rather than ASCII.
5263
5264	<li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus
5265	  Kuhn).
5266
5267	<li>implement logging for UTF-8 mode.  The output is written in UTF-8 form.
5268</ul>
5269
5270<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1>
5271<ul>
5272	<li>If colorMode is enabled by default, compile-in default resources to
5273	  match the colors listed in XTerm-col.ad (this should fix a
5274	  longstanding FAQ).
5275
5276	<li>added new OSC&nbsp;3&nbsp;;&nbsp;PROPNAME=VALUE&nbsp;ST escape
5277	  sequence to set an arbitrary X property on the top level xterm X11
5278	  window.  Omit "=VALUE" to delete the X property (patch by Greg Badros
5279	  &lt;gjb@cs.washington.edu&gt;).
5280
5281	<li>change internal flag used for <em>utf8controls</em> resource
5282	  so we allow 31-bit range of characters (suggested by Thomas Wolff).
5283
5284	<li>add check for 16-bit characters in OSC strings, change them to '?'
5285	  (reported by Thomas Wolff).
5286
5287	<li>modify logic of same_font_name() to avoid trying to interpret both
5288	  parameters as wildcard patterns.  That does not (cannot) work, and in
5289	  some instances the font server will return unresolved wildcards for
5290	  the normal or bold fontnames, making them match inadvertently,
5291	  triggering the fallback overstrike logic (reported by Tim Adye).
5292</ul>
5293
5294<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1>
5295<ul>
5296	<li>correct range-check from patch #108, which resulted in not being
5297	  able to select from the scrollback buffer (reported by Tim Adye
5298	  &lt;T.J.Adye@rl.ac.uk&gt;)
5299
5300	<li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim
5301	  Adye).
5302
5303	<li>modified install-ti rule in Makefile.in to allow override of the
5304	  terminfo directory when doing a "make install", i.e., by assigning
5305	  to TERMINFO_DIR (request by Zdenek Sekera &lt;zs@sgi.com&gt;).
5306
5307	<li>added install-full rule to Makefile.in
5308
5309	<li>resync mkdirs.sh and install.sh scripts against current autoconf
5310
5311	<li>implement $(DESTDIR) in Makefile.in, making it simple to install
5312	  xterm and associated files into a directory just for packaging a
5313	  binary release (suggested by CaT &lt;cat@zip.com.au&gt;).
5314
5315	<li>change IChar type to unsigned, rather than unsigned short, making
5316	  room for a flag to keep with 16-bit characters to prevent them from
5317	  being interpreted as C0 or C1 controls (reported by Thomas Wolff).
5318
5319	<li>correct a typo from patch #107, incorrect array name, in the
5320	  filterUTF8 function (patch by Bruno Haible &lt;haible@ilog.fr&gt;)
5321
5322	<li>add <em>utf8controls</em> resource to specify whether xterm should
5323	  interpret 16-bit characters unpacked from UTF-8 form as control
5324	  characters if they happen to fall into that range.  This behavior
5325	  is left unspecified by the Unicode standard (request by Thomas Wolff).
5326
5327	<li>modify handling of OSC to recover if application sends 16-bit
5328	  characters with codes above 255.  We cannot display them as is, but
5329	  translate out-of-range characters to a '?' (reported by Thomas
5330	  Wolff).
5331</ul>
5332
5333<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1>
5334<ul>
5335	<li>add a range-check to LastTextCol(), to guard against indexing
5336	  before the beginning of the scrollback buffer.  This appears to
5337	  happen with certain fonts under X11R5 (reported by Stephane Chazelas
5338	  &lt;Stephane_Chazelas@Raytheon.com&gt;).
5339
5340	<li>implement resource <em>boldMode</em>, to allow disabling the
5341	  simulation of bold fonts when the bold and normal fonts are not
5342	  different (requested by Will Day &lt;willday@rom.oit.gatech.edu&gt;).
5343
5344	<li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in
5345	  the UTF-8 selection (patch by Juliusz Chroboczek).
5346
5347	<li>correct logic of binary-search in keysym2ucs.c (patch by Markus
5348	  Kuhn).
5349
5350	<li>add special interpretation of keysym codes above 0x1000000 as
5351	  the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn).
5352</ul>
5353
5354<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1>
5355<ul>
5356	<li>Two changes from Stephen P Wall.
5357	  From his description:
5358	<blockquote>
5359	The first change is simple - I added ESC[3J to erase the stored lines
5360	above the screen.  That's what the changes to util.c and ctlseqs.ms
5361	are.
5362	<p>
5363	The second change is to get the blinking cursor working.  I took out
5364	the cursorBlinkTime resource, and put in cursorBlink (Boolean),
5365	cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added
5366	a cursorblink item to the vtMenu to enable/disable it.
5367	</blockquote>
5368
5369	<li>Integrated a patch from Juliusz Chroboczek &lt;jec@dcs.ed.ac.uk&gt;.
5370	  From his description:
5371	<blockquote>
5372	With this patch, selection conversion works properly:
5373<pre>
5374	ISO 8859-1 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
5375	ISO 8859-1 xterm -&gt; UTF-8 xterm (transferred as STRING);
5376	UTF-8 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
5377	UTF-8 xterm -&gt; UTF-8 xterm (transferred as UTF-8).
5378</pre>
5379	It will not work properly if one xterm is in, say, ISO 8859-2.
5380	Actually, for this case xterm breaks the ICCCM routinely (sending ISO
5381	8859-2 data as STRING), so I wouldn't worry too much about it.  I have
5382	not changed the behaviour in eight-bit mode in any way.
5383	</blockquote>
5384</ul>
5385
5386<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1>
5387<ul>
5388	<li>remove duplicate fix for OpenBSD in resize.c
5389
5390	<li>correct logic in ScreenWrite, which did not reset the high bytes
5391	  of 16-bit characters when overwriting them with a 8-bit character
5392	  string (reported by Thomas Wolff).
5393
5394	<li>integrate patch by Markus Kuhn to provide limited support for
5395	  input of UTF-8 16-bit data by a lookup table.
5396
5397	<li>correct check in non_blank_line to ensure we're in wide-character
5398	  mode before looking at the high bytes, for InsertChar.
5399</ul>
5400<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1>
5401<ul>
5402	<li>implement new resource <em>trimSelection</em>, which allows xterm
5403	  to trim trailing blanks from selected lines.  This does not affect
5404	  the highlighting. (reported by several people using <em>mutt</em>,
5405	  including
5406	  Hans Morten Kind &lt;edphk@uib.no&gt;,
5407	  Jeremy &lt;jeremy@exit109.com&gt;
5408	  and (Michael Fuller &lt;msf@mds.rmit.edu.au&gt;).
5409
5410	<li>add patch by Matthieu Herrb to include term.h in resize for OpenBSD.
5411
5412	<li>correct logic for UTF-8 in functions that hide and show the cursor;
5413	  it was displaying a space whenever the low byte of the character at
5414	  the cursor position was zero (reported by Thomas Wolff
5415	  &lt;Thomas.Wolff@icn.siemens.de&gt;).
5416</ul>
5417
5418<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1>
5419This is a resync patch against XFree86 3.9Pn, reflecting changes which were
5420submitted by Branden Robinson, who worked with
5421Wichert Akkerman &lt;wichert@cs.leidenuniv.nl&gt;
5422to set up ifdef's to handle GNU libc 2.1,
5423and use getpt() which lets xterm avoid having to know the actual PTY name.
5424<p>
5425I have also added a few fixes for signed/unsigned mismatches, and corrected
5426a problem in the configure script (the UTF-8 code was always configured since
5427the Imakefile defines this).
5428
5429<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1>
5430<ul>
5431	<li>correct selection logic: I omitted an offset that accounts for
5432	  the distance into the scrollback buffer when rewriting this for
5433	  patch #101.  Also fixed a similar problem for selecting double
5434	  size characters from the scrollback buffer (first was reported
5435	  by D Roland Walker &lt;walker@pobox.com&gt;).
5436
5437	<li>improved support for Unix98 PTY's, using patch in Debian bug report
5438	  #35650, by J.H.M. Dassen &lt;jdassen@wi.leidenuniv.nl&gt;. From
5439	  the patch description:
5440	<blockquote>
5441	<ul>
5442	<li>No longer links xterm against libutil on a glibc2.1 system.
5443	  libutil is a compatibility library and should only be used when
5444	  necessary.  Rather than having get_pty() use openpty() from this
5445	  compatibility library, use the real UNIX98 pty support in get_pty()
5446	  (open()ing the master pty, through getpt() if available (glibc
5447	  extension)).  Use openpty() only under glibc2.0.
5448	<li>GNU libc2 is not Linux-specific; already it runs on the Hurd.  It
5449	  provides the UNIX98 pty functions (plus the getpt() extension),
5450	  regardless of the underlying OS.  Changed two constructs to look for
5451	  GNU libc2 only, not GNU libc2 on Linux.
5452	</ul>
5453	</blockquote>
5454
5455	<li>improve font configuration, by checking if the user's resource
5456	 settings for normal and bold fonts give the same font sizes
5457	 (fixes problem reported by Peter Waltenberg &lt;peterw@dascom.com&gt;).
5458</ul>
5459
5460<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1>
5461<ul>
5462	<li>revert change to openpty call in patch #101; this causes xterm to
5463	  fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand).
5464
5465	<li>modify print.c to move include of stdio.h after the autoconf'd
5466	  xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent
5467	  prototype for getopt, probably due to problem with const (reported by
5468	  H Merijn Brand).
5469</ul>
5470
5471<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1>
5472<ul>
5473	<li>moved includes and definitions for 'select' from data.h to xterm.h
5474	  to fix problem introduced by prototype for getPtyData, part of UTF-8
5475	  changes (reported by Jens Schleusener &lt;Jens.Schleusener@dlr.de&gt;)
5476
5477	<li>added "Meta &lt;Btn2Down&gt;:clear-saved-lines()" default
5478	  translation (patch by H Merijn Brand)
5479
5480	<li>fixes to configure script and ifdef's in main.c to build on a
5481	  HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2
5482	  and HP's ANSI C compiler (patch by H Merijn Brand
5483	  &lt;PROCURA_BV@CompuServe.com&gt;)
5484
5485	<li>add more parentheses in ifdef's (patch by Bob Maynard).
5486
5487	<li>eliminate conflicting definitions for USE_TERMINFO in resize.c
5488	  (reported by Jeremy Buhler).
5489
5490	<li>change openpty call to pass NULL rather than ttydev parameter,
5491	  since that was used only to estimate the length of the
5492	  corresponding data, and may not really be long enough
5493	  (reported by Andreas Jaeger)
5494
5495	<li>update description in xterm manpage for character class table,
5496	  which said it handles only 7-bit codes.
5497
5498	<li>correct a typo in ScrnDeleteChar() which made it not clear the
5499	  high byte of wide-character data.
5500
5501	<li>add logic to convert selection to UTF-8 form when appropriate.
5502	  This makes select/paste "work", but further work is needed to
5503	  make UTF-8 recognized as a locale in Xlib.
5504
5505	<li>correct right-limit check when selecting double-width characters.
5506
5507	<li>change default answerback response to an empty string.
5508</ul>
5509
5510<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1>
5511<ul>
5512	<li>Correct a typo in the default resource value for
5513	  backarrowKeyIsErase:  it was always true (reported by Bram
5514	  Moolenaar).
5515
5516	<li>improve configure script's test if the installed xterm is setuid,
5517	  in case that is a symbolic link.
5518
5519	<li>correct "install-ti" rule in Makefile.in, by not setting a blank
5520	  $TERMINFO value.  That is interpreted as "." by ncurses' tic.
5521</ul>
5522
5523<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1>
5524<ul>
5525	<li>correct logic that computes num_ptrs count of the number of indices
5526	  into the screen buffer.  This is the maximum of the colors and
5527	  character-set indices; was incorrect in patch #97.
5528
5529	<li>correct argument type for sigsetjmp, incidental change in patch
5530	  #96's Unix88 PTY patch (reported by Bram Moolenaar).
5531
5532	<li>correct description of secondary DA in ctlseqs.ms (reported by Bram
5533	  Moolenaar).
5534
5535	<li>decouple the backarrowKey and ptyInitialErase resources by
5536	  adding a new resource backarrowKeyIsErase, to accommodate people
5537	  using applications which have hardcoded tests for characters 8 and
5538	  127 rather than relying on the stty settings.
5539
5540	<li>modify the UTF-8 decoder so that all possible illegal UTF-8
5541	  sequences are properly represented by U+FFFD.  This should be very
5542	  helpful for developers of code that output UTF-8 strings for
5543	  debugging.  See the file utf-8-test.txt in
5544	  http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a
5545	  demonstration text that contains numerous illegal UTF-8 values.
5546	  (patch by Markus Kuhn).
5547
5548	<li>correct a place in ScrnRefresh where I was filling the high byte of
5549	  a wide character with a space rather than a null (reported by Markus
5550	  Kuhn).
5551</ul>
5552
5553<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1>
5554<ul>
5555	<li>correct data manipulation in unparseputc(), broken for
5556	  little-endian machines by patch #97's UTF-8 changes.  This meant that
5557	  keyboard input on SunOS did not work, though Linux i386 was fine.
5558
5559	<li>modify initialization for backarrowKey and logic for initial-erase
5560	  to prevent the initial-erase from overriding an explicitly set
5561	  backarrowKey resource (reported by Vikas Agnihotri).
5562
5563	<li>add a missing null-pointer check in ScrnRefresh, for the
5564	  wide-characters configuration.
5565</ul>
5566
5567<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1>
5568<ul>
5569	<li>add configure script test for -lutil, needed for openpty call when
5570	  configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by
5571	  Martin Lorentz" &lt;m.lorentz@w12.link-goe.de&gt;).
5572
5573	<li>completely parenthesize ifdef expressions for Glibc (suggested by
5574	  Bob Maynard).
5575
5576	<li>add initial-erase options (-ie, +ie) to help message (reported by
5577	  Vikas Agnihotri).
5578
5579	<li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy
5580	  Buhler).
5581
5582	<li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL
5583	  (\177).
5584	  I overlooked this when separating the styles of keyboard with
5585	  the <em>sunKeyboard</em> resources in patch #94, so that it normally
5586	  matches the value of the stty erase character:
5587	  <ul>
5588	  <li>Reported by Jae Gangemi &lt;jgangemi@ccf.rutgers.edu&gt;,
5589	    this caused emacs to not process the DEL properly, combining it
5590	    with succeeding characters.
5591	  <li>This does not appear to be related to a problem which I have
5592	    found with <em>screen</em>, which translates the stty erase into
5593	    the termcap <em>kD</em> or terminfo <em>kdch1</em> value
5594	    (depending on how it is linked)
5595	    if the $TERMCAP variable is set when <em>screen</em> is invoked.
5596	  </ul>
5597
5598	<li>add command-line options for enabling UTF-8 mode: -u8 and +u8.
5599	  The more obvious -utf8 and +utf8 would conflict with xterm's
5600	  -ut and +ut (utmp) options.
5601
5602	  The UTF-8 changes were requested by Markus Kuhn
5603	  &lt;Markus.Kuhn@cl.cam.ac.uk&gt;.  This patch does not complete UTF-8
5604	  implementation, but makes it usable, i.e., display and refresh work,
5605	  and I am able to display the test cases which Markus provides.
5606	  More work is needed to complete this feature:
5607	  <ul>
5608	  <li>the control sequences for switching in/out of UTF-8 mode are
5609	    partly implemented (don't use them).  Similarly, the switching
5610	    between vt100 and tek4014 emulations when UTF-8 mode is enabled
5611	    will not work properly.
5612	    <p>
5613	    You must use the -u8 command line option
5614	    to use this feature, as well as compile with the OPT_WIDE_CHARS
5615	    definition.
5616	  <li>cut/paste only copies 8-bit characters.
5617	  <li>logging is disabled in the wide-character configuration
5618	  <li>printing only writes 8-bit characters.
5619	  <li>input only does 8-bit characters.  This is the area that I know
5620	    least about.
5621	  </ul>
5622</ul>
5623
5624<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1>
5625<ul>
5626	<li>modify Makefile.in to work with configure script's --srcdir option.
5627	  (patch by Jeremy Buhler &lt;jbuhler@cs.washington.edu&gt;)
5628
5629	<li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh
5630	  scripts (reported by Vikas Agnihotri).
5631
5632	<li>improve logic that looks for bold fonts to allow for wildcards
5633	  in the specification for normal fonts, and to ensure that if
5634	  a bold font is specified as normal, that xterm will simulate a
5635	  bold version of that using a one-pixel offset overstrike
5636	  (reported by Henrik Harmsen &lt;harmsen@erv.ericsson.se&gt;).
5637
5638	<li>correct horizontal spacing of double width line-drawing characters
5639	  that xterm simulates.
5640
5641	<li>improve support for Unix98 PTY's, using patch in Debian bug report
5642	  #35650, by Topi Miettinen &lt;Topi.Miettinen@medialab.sonera.fi&gt;.
5643	  Andreas Jaeger says this also corrects a permissions problem
5644	  reported by cat@zip.net.au
5645
5646	<li>modify initial-erase logic to ensure that <code>ttyModes</code>
5647	  resource overrides it.
5648</ul>
5649
5650<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1>
5651<ul>
5652	<li>modify primary DA response to allow a '1' parameter.
5653
5654	<li>add printer and national replacement character sets to VT220
5655	  primary DA response.
5656
5657	<li>document primary and secondary DA responses in ctlseqs.ms
5658
5659	<li>use the patch number (e.g., 95) in the secondary DA response,
5660	  providing user applications a means of determining the version
5661	  of xterm for feature comparison (request by Bram Moolenaar).
5662
5663	<li>make xterm respond to secondary DA when the decTerminalID
5664	  is set for VT100.
5665
5666	<li>limit user-defined keys (DECUDK) to VT220-style keyboard
5667	  when sunKeyBoard resource is true.
5668
5669	<li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with
5670	  Glibc-2.1 and no Unix98 PTY support (patch from From Andreas Jaeger
5671	  &lt;aj@arthur.rhein-neckar.de&gt;)
5672
5673	<li>add optional feature (resource and command-line options) to make
5674	  xterm use the PTY's sense of erase character on startup, rather than
5675	  requiring it to be \177, or set the PTY's erase character to match
5676	  xterm's configuration.  Note that while $TERMCAP is modified to
5677	  reflect the actual configuration, the terminfo kdch1 string is not
5678	  (request by Dirk H Hohndel &lt;hohndel@suse.de&gt;)
5679
5680	<li>improve scripts in vttests to work with newer shells that do not
5681	  use 'echo -n'.
5682
5683	<li>add fonts.sh example script
5684
5685	<li>correct inequality in handling of "#1" font specification.
5686
5687	<li>correct call to XGetWMNormalHints() used for computing maximum
5688	  screen size; the size hints may not have been set.
5689
5690	<li>begin implementation of support for wide-characters (configure
5691	  option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with
5692	  -wc option to activate this feature).  This patch optionally widens
5693	  internal data structures, invokes the 16-bit text output rather than
5694	  the 8-bit version and adds some tables.
5695
5696</ul>
5697<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1>
5698<ul>
5699	<li>further fixes for terminfo: ka1, ka3, etc., differ between the
5700	  default xterm-xfree86 and xterm-vt220 entries.
5701
5702	<li>change default (with sunKeyboard resource false) behavior of
5703	  the editing keypad "Delete" to send a 127, like xterm-r6.
5704	  The VT220-style <code>&lt;ESC&gt;[3~</code> is sent when
5705	  sunKeyboard is true (reported by Tomas Vanhala).
5706
5707	<li>add parameters to function keys to indicate if shift, control
5708	  or alt are set.  The codes are based on a description of
5709	  a DEC VT510 with a PC keyboard, from Jeffrey Altman
5710	  &lt;jaltman@watsun.cc.columbia.edu&gt;.
5711
5712	<li>add control sequence 1035, set-num-lock action and num-lock
5713	  menu entry to control the use of the NumLock and Alt keys for
5714	  the Sun/PC and VT220 keyboard extensions.
5715
5716  	<li>implement DECSET/DECRST numeric keypad (DECNKM) mode.
5717
5718	<li>modify terminfo and termcap to use recommended "X Window" or "X11"
5719	  names rather than "X Windows" (reported by Tomas Vanhala).
5720
5721	<li>suppress translation of shifted keypad "+" when sunKeyboard
5722	  is true.
5723
5724	<li>workaround unexpected behavior (perhaps bug) in XmbLookupString,
5725	  which returns trash in the string buffer for numlock and control-key
5726	  combined with keypad-keys.
5727
5728	<li>modify ScrollBarReverseVideo() to keep scrollbar border visible
5729	  when reverse video is toggled.
5730
5731	<li>correct missing case for parameter 17 (set highlight color) in
5732	  dynamic colors control sequences.
5733
5734	<li>extend dynamic colors control sequences to allow users to
5735	  determine the colors and font which are currently active.
5736
5737	<li>minor tweak to OSC responses, to use BEL if the application used
5738	  that to end the request, rather than ST.  This works better with
5739	  shell scripts, which may not handle an
5740	  <code>&lt;ESC&gt;backslash</code> very well.
5741
5742	<li>separate menu settings for reverse video from that done under
5743	  program control.
5744
5745	<li>corrected ifdef's for menus, which did not allow tek4014 to
5746	  be suppressed properly (reported by Clint Olsen).
5747
5748	<li>integrated patch from Pavel Roskin
5749	  &lt;pavel_roskin@geocities.com&gt;
5750	  for Linux-2.2.x with GLibc-2.1 and
5751	  /dev/ptmx support:
5752	<ul>
5753	  <li>main.c and resize.c were using different rules to determine
5754	    whether ATT should be defined (actually USE_USG_PTYS is more
5755	    apt).
5756
5757	  <li>copy definitions from main.c to resize.c to prevent
5758	    sys/stream.h and sys/ptem.h from inclusion when SYSV is not
5759	    defined
5760
5761	  <li>define CNUL if not already defined like other variables.
5762
5763	  <li>/dev/tty does exist in Linux, but it doesn't mean, it
5764	    should be used.  Therefore EACCES is now an acceptable
5765	    result.
5766
5767	  <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH,
5768	    "ptem")</code> to build on Linux (I_PUSH is not defined when
5769	    sys/stropts.h is not included).
5770	</ul>
5771
5772	<li>initialize second "ltc" variable in main.c (reported by David
5773	  Dawes).
5774
5775	<li>provide definition for USE_USG_PTYS in screen.c
5776
5777	<li>add resource-files to install rule in standalone Makefile.in
5778
5779	<li>add sample scripts to illustrate titlebar controls, resizing
5780	  and colors.
5781</ul>
5782
5783<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1>
5784Here are several fixes and minor enhancements.  The chief ones
5785are the fixes for NumLock mode and reverse video, since we had become
5786used to working around the problems.
5787<ul>
5788	<li>remove kfnd/kll/kslt strings from terminfo, because curses
5789	  applications do not necessarily return khome/kend pairs
5790	  (reported by Vikas Agnihotri).
5791
5792	<li>implement NumLock resource which overrides the keyboard tables for the
5793	  special case of keypad keys.  This is a problem introduced in xterm
5794	  by X11R6 changes, i.e., an ambiguity which in effect discarded vt100
5795	  keypad support.
5796
5797	<li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100
5798	  keypad) to the remainder of the numeric keypad.  Now, the default
5799	  operating mode of xterm uses the keyboard tables as-is (except if
5800	  the NumLock mode overrides), but provides good vt100 keypad compatibility
5801	  if the Sun/PC keyboard menu item is checked.
5802
5803	<li>separate command-line settings for reverse video from that done
5804	  under program control.  This is a problem which was introduced by
5805	  X11R6.  Though <em>correct</em>, most users are confused by allowing
5806	  the reset command to undo the effect of the command-line <kbd>-rv</kbd>
5807	  option.
5808
5809	<li>add description of function keys, keypad and cursor keys to ctlseqs.ms
5810
5811	<li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp
5812
5813	<li>correct typo (missing case value) for DECSET 35, enable/disable
5814	  shifted keypad action and a few compiler warnings (reported by Zdenek
5815	  Sekera &lt;zs@sgi.com&gt;).
5816
5817	<li>correct reporting of color values 8-15 in DECRQSS (reported by
5818	  Vikas Agnihotri).
5819
5820	<li>modify parsing of ttyModes resource to recognize "^-" as "undef"
5821	  (requested by Tomas Vanhala).
5822
5823	<li>integrate/extend changes to add iconify/maximize actions
5824	  (from Edward S. Arthur &lt;eda@ultranet.com&gt;).
5825
5826	<li>add control sequences for maximizing/restoring window, and
5827	  for reporting maximum screen size.
5828
5829	<li>add 'interpret' action, to support local function-key interpretation.
5830	  Used properly, this makes most of the specialized actions of xterm
5831	  redundant.
5832
5833	<li>add control sequence private modes 1051, 1052 and 1052, for
5834	  setting the Sun and HP function key modes, and for setting the
5835	  Sun/PC keyboard mode.
5836
5837	<li>add configure option --disable-maximize
5838
5839	<li>add configure option --disable-num-lcok
5840
5841	<li>extend descriptions of configure script options in INSTALL.
5842</ul>
5843
5844<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1>
5845<ul>
5846	<li>increase buffer size for tgetent (i.e., termcap) to 1500.  This
5847	  fixes a problem where <em>screen</em> is built using ncurses or
5848	  GNU termcap and <em>xterm</em> is built using the standard termcap
5849	  interface.  The former does not limit the termcap size, while the
5850	  latter is assumed to be no longer than 1023 characters.  The
5851	  <em>screen</em> program's termcap entry is about 1200 characters
5852	  long.
5853
5854	<li>change update_menu_item() to a function, to simplify debugging.
5855	  This also reduces the executable by 4Kb.
5856
5857	<li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable
5858	  or disable some features that were only settable via resources or
5859	  command line arguments).
5860
5861	<li>add control sequence for DECSET 35, which enables/disables the
5862	  shifted keypad functions.
5863
5864	<li>add support for switching font sizes, by stepping through the
5865	  font menu using shifted keypad plus and minus.
5866
5867	<li>correct missing initialization of tekInhibit and tekSmall resources.
5868
5869	<li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry
5870	  (reported by Bram Moolenaar).
5871</ul>
5872
5873<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1>
5874<ul>
5875	<li>Implement logic to translate input characters which are mapped
5876	  when in vt220 National Replacement Character mode (requested by
5877	  Tomas Vanhala).
5878
5879	<li>Resync configure scripts with my patches to autoconf 2.13
5880
5881	<li>Change order of -lXmu and -lXext to accommodate cygwin32
5882	  (reported by Vikas Agnihotri).
5883
5884	<li>Add "-ti" option to set terminal emulation level from command
5885	  line rather than via resource.
5886
5887	<li>Simplify some of the preprocessor logic using #elif.
5888</ul>
5889
5890<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1>
5891This implements several small fixes and enhancements.  The chief one implements
5892fallback support for line drawing characters with fonts that do not include
5893those characters.  But I implemented that last.
5894
5895<ul>
5896	<li>If any of the glyphs in positions 0-31 (used by xterm to implement
5897	  the VT100 alternate character set) are zero-sized (i.e., missing),
5898	  xterm will reserve a normal space for the glyph when drawing.  I
5899	  implemented a simple stroke-drawing function to draw the line-drawing
5900	  characters and a couple of the other (simpler) characters such as
5901	  diamond.  (This was suggested by Vikas Agnihotri).
5902
5903	<li>Modify the computation of doublesize characters to work around font
5904	  servers which shift the scaled characters up/down or do not give the
5905	  correct width.
5906
5907	<li>Add popup menu item and corresponding resource settings to disable
5908	  the font-scaling logic for doublesize characters to work around
5909	  (older) font servers which simply do not draw the fonts scaled to the
5910	  size that they said they would.  I see this problem on a SunOS system
5911	  running X11R5; the X11R6 servers seem well behaved.
5912
5913	<li>Implement new escape sequence, private mode 1049, which combines
5914	  the switch to/from alternate screen mode with screen clearing and
5915	  cursor save/restore.  Unlike the existing escape sequence, this
5916	  clears the alternate screen when switching to it rather than when
5917	  switching to the normal screen, thus retaining the alternate screen
5918	  contents for select/paste operations.
5919
5920	<p>When I implemented the popup menu entry to toggle between the normal
5921	  and alternate screens, I considered only pasting from the normal
5922	  screen to the alternate; this improvement allows either direction.
5923
5924	<li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit
5925	  to use the new 1049 private mode.
5926
5927	<li>Modify the logic which switches between normal and alternate
5928	  screens so that the save/restore cursor operations apply only to the
5929	  current screen.  That means that applications which use the terminfo
5930	  smcur/rmcur or termcap ti/te capabilities will restore the cursor to
5931	  the original position on the normal screen rather than to the most
5932	  recent place where a save-cursor operation was performed.
5933
5934	<p>I note that a real VT100 terminal would not behave in this way,
5935	  but it is a moot point since the VT100 does not implement alternate
5936	  screen, and therefore the save/restore cursor sequence would not be
5937	  used in this context.  I reviewed the logic which switches between
5938	  normal and alternate screens based on some recent newsgroup postings
5939	  as well as a proposed patch in the Debian group which attempts to
5940	  do this (the patch has a bug, however, so I did not use it).
5941
5942	<li>Add popup menu entry for toggling the titeInhibit resource.
5943
5944	<li>Add new resource answerbackString, which overrides the default
5945	  "xterm" returned by xterm when responding to an ENQ (control/E)
5946	  character (request by Rajesh Vaidheeswarran &lt;rv@fore.com&gt;).
5947
5948	<li>Add new resource keyboardDialect for setting the NRC display
5949	  character set (request by Tomas Vanhala, who notes that I should
5950	  add logic to translate the keyboard as well).
5951
5952	<li>Add new command-line option and corresponding resources for making
5953	  xterm generate escape sequences compatible with HP terminals.  Like
5954	  the existing Sun escape sequences, this is available as a popup menu
5955	  item.  It is enabled by the configure script with the option
5956	  --enable-hp-fkeys (requested by Toni Mueller &lt;sales@oeko.net&gt;).
5957
5958	<li>Add configure script option --disable-boxchars to disable the
5959	  fallback support for line drawing characters.
5960
5961	<li>Fix ifdef's for configure script --disable-ansi-color, and reviewed
5962	  all configure options to ensure that all can be enabled/disabled
5963	  appropriately.
5964
5965	<li>Update config.guess and config.sub, from Lynx.
5966</ul>
5967
5968<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1>
5969This patch completes the implementation of double-sized character support
5970for the VT100 emulation, and fixes a few minor bugs:
5971
5972<ul>
5973<li>corrected the cursor position in HideCursor, which did not multiply
5974the column by two when in doublesize mode.
5975This bug, which did not appear in normal use,
5976dates back to my original <a href="#xterm_44">changes</a> to partly implement
5977double-sized characters.
5978I noticed it when cat'ing a typescript from vttest's double-sized character
5979test.
5980<li>ensure that the current line is repainted when switching between
5981single and double width characters.
5982<li>reduce the number of bits used for double-sized character coding
5983from 3 to 2, to make more room for soft-font codes.
5984<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c,
5985which address details of glibc and powerpc.
5986<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3
5987<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed
5988printing the script for $LINES and $COLUMNS.
5989Solaris' resize utility does this; suppressing the behavior is unnecessary.
5990</ul>
5991I tested the double-sized characters using vttest and the xfsft patch.
5992These fonts worked reasonably well:
5993<pre>
5994	-bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
5995	9x15
5996</pre>
5997The iso8859 font does not include box characters, of course, but looks good.
5998
5999<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1>
6000This refines my #85 patch by checking for a case where the font server
6001returns a bold font that does not quite correspond to the normal font.
6002When I asked for a bold version of the 6x12 font, the font server
6003returned a near equivalent where the ascent and descent values did not
6004match, causing xterm to leave lines across the display.
6005This patch makes xterm reject that type of mismatch, falling back to the
6006old font behavior.
6007
6008<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1>
6009This corrects a problem reported by Stefan Dalibor.  My table entries for the
6010<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong
6011types for sizeof, causing the printer to not work properly on some platforms
6012because the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha).
6013<p>
6014I reviewed all of the resource table entries and fixed a potential problem with
6015<em>resizeGravity</em>, which was typed as <em>int</em> rather than
6016<em>XtGravity</em>.
6017
6018<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1>
6019A small fix: when switching to/from the continuous mouse reporting mode,
6020the event mask was incorrect if xterm was built under X11R5 because the
6021original data was saved under an ifdef for active-icon.
6022
6023<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1>
6024Some cleanup (I noticed the pixel droppings a few months ago after getting a
6025new 17" monitor):
6026<ul>
6027	<li>split-out the functions that load/reload fonts for xterm as new
6028	  file fontutils.c to extend them to support automatic loading of
6029	  bold font corresponding to the normal font.  Adapted logic from
6030	  EMU 1.3 for this purpose.  This fixes most occurrences of pixel
6031	  droppings from bold characters.
6032
6033	<li>modified by renaming variables and adding casts to permit compile
6034	  with g++.
6035
6036	<li>modify headers so they can all be compiled without order
6037	  dependencies, and use bracketed rather than quoting includes to allow
6038	  compile from separate directory.
6039
6040	<li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with
6041	  Solaris entry now in ncurses.
6042</ul>
6043
6044<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1>
6045Several small fixes and enhancements, including a patch from
6046Bjorn Helgaas:
6047<ul>
6048	<li>correct initialization of TERMCAP environment variable, which
6049	  was frequently set to garbage on non-Linux systems because
6050	  "termcap" and "newtc" contained random data from the stack.
6051
6052	<li>remove the LINEWRAPPED attribute from lines as they are cleared.
6053	  Previously, the attribute was set but never cleared.
6054
6055	<li>make word and line selections work even when lines are wrapped
6056	  by xterm.  Previously, selections were limited to one screen line.
6057</ul>
6058as well as
6059<ul>
6060	<li>modify logic for line-wrapping to reset the associated flag if
6061	  the application deletes a character. This fixes a problem reported
6062	  by Bjorn Helgaas where word/line selection would still wrap even
6063	  after deleting characters from the first line.
6064	<li>add kll/kH capabilities to xterm-xfree86 entries in termcap and
6065	  terminfo (request by Michael Schroeder).
6066	<li>shorten descriptions in termcap to make resolved entries all
6067	  shorter than 1023 character limit.
6068	<li>use DECSTR control sequence to shorten initialization and reset
6069	  strings in xterm-xfree86 termcap and terminfo.
6070	<li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap.
6071	<li>correct typos in initialization and reset strings in xterm-r5
6072	  termcap and terminfo.
6073	<li>disable special translations of key symbols (the backarrow key,
6074	  the editing keypad and the keypad "+") when a modifier other than
6075	  shift, control or numlock is used.  This makes xterm handle the meta
6076	  key as expected by people using emacs (reported by Pete Harlan
6077	  &lt;harlan@pointofchoice.com&gt; in linux.debian.user newsgroup).
6078</ul>
6079
6080<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1>
6081
6082Merge changes through patch #83 with the 3.3.2e version.  This follows a
6083patch by Matthieu Herrb &lt;matthieu@laas.fr&gt; to add checks for non-null
6084return from malloc.
6085
6086<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1>
6087Several small fixes and enhancements:
6088<ul>
6089	<li>add configure test to infer if xterm should be installed setuid
6090	  based on previously installed xterm (reported by Stephen Marley
6091	  and Stefan Dalibor).
6092
6093	<li>integrate/extend patch by Jason Bacon to implement quasi-continuous
6094	  mouse reporting.
6095
6096	<li>correct control sequences transmitted by function keys F1 to F4
6097	  when sunFunctionKeys resource is true (it was still using the
6098	  VT100 control sequences).
6099
6100	<li>modify handling of backarrow key so that the control modifier
6101	  toggles the backspace/delete interpretation set by the
6102	  backarrowKey resource.
6103
6104	<li>limit the row and column values used to report mouse position.
6105</ul>
6106
6107From resync with XFree86 3.9Nb:
6108<ul>
6109	<li>add support for the VSTATUS control character (patch by
6110	  Robert Earl &lt;rearl@teleport.com&gt;).
6111</ul>
6112
6113<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1>
6114Bug fix for patch #81:
6115<ul>
6116	<li>remove an #undef for NBBY, which caused compile problem on FreeBSD
6117	  (reported by David Dawes).
6118</ul>
6119
6120<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1>
6121More bug fixes:
6122<ul>
6123	<li>fix conflicting ifdef's for TIOCSLTC when building with Linux on
6124	  AXP aka DEC Alpha (reported by Robin Cutshaw).
6125
6126	<li>correction to patch #79, move assignment for *utptr-&gt;ut_user = 0;
6127	  back into non-SVR4 ifdef in main.c, since this clobbers username on
6128	  Solaris 2.5.1 (analysis by Will Day
6129	  &lt;willday@rom.oit.gatech.edu&gt;).
6130
6131	<li>corrected khome/kend in xterm-8bit terminfo description.
6132
6133	<li>improve cursor color by making it always the reverse of fg/bg
6134	  unless the cursorColor resource is set, i.e., to something other than
6135	  the default foreground (reported by Vikas Agnihotri and Bram
6136	  Moolenaar).
6137
6138	<li>minor fixes for compiler warnings, including a syntax error in
6139	  the AMOEBA ifdef's.
6140</ul>
6141From resync with XFree86 3.9Aj:
6142<ul>
6143	<li>correction to patch #73, supply missing #else for fallback definitions
6144	  of size_t, time_t (Robin Cutshaw &lt;robin@intercore.com&gt;).
6145</ul>
6146
6147<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1>
6148This fixes a couple of items leftover or introduced by patch 79:
6149<ul>
6150	<li>take out the logic that suppresses editing-keypad in vt100 mode
6151	  (those keys are too valuable to give up for a fine point of
6152	  emulation).
6153
6154	<li>corrected a couple of places in terminfo where I missed using the
6155	  vt220-style editing-keypad codes for Find/Select (mapped to Home/End).
6156
6157	<li>checked termcap file against terminfo, fix several places where it
6158	  was inconsistent.
6159</ul>
6160
6161<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1>
6162
6163This patch fixes several small bugs:
6164<ul>
6165	<li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala).
6166
6167	<li>add new resource 'oldXtermFKeys' which provides backward compatibility
6168	  for F1-F4 control sequences with TOG's xterm.
6169
6170	<li>determine the server's default foreground/background Pixel values,
6171	  needed if the -flipPixels X server option is used (reported by
6172	  David Dawes).
6173
6174	<li>correct logic for F1-F4 function keys so that they generate VT100
6175	  compatible escape sequences in VT220 mode, since that is what the
6176	  numeric keypad is supposed to do (reported by Ron Johnson, Jr.
6177	  &lt;ronjohn@communique.net&gt;).
6178
6179	<li>modify logic for editing keypad to work more like VT220: don't
6180	  pass those codes in VT100-mode unless oldXtermFKeys mode is set.
6181
6182	<li>correct an interaction with the editing-keypad logic that prevented
6183	  backarrow key from sending a 127 for the delete key (the 'remove'
6184	  escape sequence was being sent instead).
6185
6186	<li>use return-value from getuid() rather than the parameter, to work on
6187	  systems which do not update the latter (patch by Kevin Buhr
6188	  &lt;buhr@mozart.stat.wisc.edu&gt;)
6189
6190	<li>correct scrollbar border color when toggling to/from secure keyboard
6191	  mode (patch by Jeff Uphoff &lt;juphoff@tarsier.cv.nrao.edu&gt;)
6192
6193	<li>modifications to terminfo file:
6194<ul>
6195	  <li>rename description to xterm-xfree86, adding an entry 'xterm'
6196	    which is derived from xterm-xfree86 to simplify customization.
6197
6198	  <li>change string for kdch1 from \177 to \E[3~, to address complaints
6199	    from Debian developers.  (This applies to the key labeled "Delete",
6200	    and does not affect the backarrow key).
6201
6202	  <li>add user-strings u6, u7, u8, u9 to entries to make them work with
6203	    Daniel Weaver's "tack" program.
6204
6205	  <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from
6206	    explicit dependency upon xterm-xfree86.
6207
6208	  <li>add generic 'xterm-color' entry.
6209
6210	  <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and
6211	    xterm-r6 entries.
6212</ul>
6213</ul>
6214
6215<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1>
6216
6217Again, most of the bulk of this patch is for ANSI conversion.  I used the
6218IRIX compiler's -wlint option to find the remaining functions that use
6219K&amp;R syntax (since gcc does not do this properly).
6220
6221Also, I changed the logic in the print code slightly to close unwanted files
6222before opening a pipe to the printer.  This may help in some configurations
6223where the line printer hangs until xterm closes the pipe.
6224
6225<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1>
6226
6227Most of the bulk of this patch is to convert the extended C (K&amp;R functions
6228with prototypes) to ANSI.  I verified that on Linux by comparing object
6229files, to ensure that I did not, for example, interchange parameters in
6230the function declarations.
6231<p>
6232The rest of the patch fixes several minor bugs, and adds a few features:
6233<ul>
6234	<li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif)
6235	  formatting, since ncurses did not correctly filter embedded newlines
6236	  in terminfo capability strings until _after_ ncurses 4.1, thus
6237	  corrupting setf/setb/sgr strings (reported by Darren Hiebert and
6238	  others).
6239
6240	<li>document SGR 8, 28 (invisible/visible), add corresponding
6241	  capabilities to terminfo description.
6242<p>
6243	  I would also add the 'prot protected capability, but the control
6244	  sequences for that would not be recognized or properly ignored by the
6245	  older xterm programs.
6246
6247	<li>modify ChangeGroup to not suppress a null-resource, but treat it as an
6248	  empty string (recommended by Stefan Dalibor).
6249
6250	<li>add printerAutoClose resource to control whether printer is closed
6251	  when going offline.  More than one person reports problems (on
6252	  Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed
6253	  unless xterm exits; I think that it is a problem flushing the pipe.
6254	  Closing it ought to flush it.
6255
6256	<li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt
6257	  XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak).
6258
6259	<li>change calls on FillCurBackground to ClearCurBackground, in effect
6260	  using XClearArea rather than XFillRectangle when clearing as a
6261	  side-effect of scrolling and insertion  (patch by Alexander V
6262	  Lukyanov)
6263
6264	<li>correct some places where insert/delete did not _move_ the color
6265	  attributes, using memmove (patch by Alexander V  Lukyanov
6266	  &lt;lav@long.yar.ru&gt;)
6267
6268	<li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1
6269	  (patch by Andrew Sumner &lt;andrew_sumner@hotmail.com&gt;).
6270
6271	<li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this
6272	  causes some applications (such as 'less') to get incorrect $LINES and
6273	  $COLUMNS values (reported by Clint Olsen).
6274
6275	<li>modify behavior for HP-UX, to set the "reserved" process group
6276	  controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an
6277	  error (patch by Ben Yoshino &lt;ben@wiliki.eng.hawaii.edu&gt;).
6278
6279	<li>correct length of underlining, reducing it by one pixel to avoid
6280	  leaving a dot when the application does not clear the whole screen
6281	  (patch by (Sergei Laskavy &lt;Laskavy@cs.msu.su&gt;).
6282<p>
6283	  I noticed this only recently myself (and other people as well); it
6284	  depends on the font chosen.  A 6x10 font shows it, but the other
6285	  fonts (from XTerm.ad) do not.  I also see a similar problem with the
6286	  emulation of bold fonts.
6287
6288	<li>add include for Xos.h to xterm.h, to ensure proper definitions
6289	  (reported by Holger Veit).
6290
6291	<li>update config.guess to recognize Unixware 2.1 and 7 (patch by
6292	  Mike Hopkirk &lt;hops@sco.com&gt;).
6293</ul>
6294
6295<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1>
6296
6297A fix for the print-window function, and some minor cleanup:
6298<ul>
6299	<li>modify logic that closes pipe in the print-window function to not use
6300	  pclose, which does not work on all systems, since I did not open the
6301	  pipe with popen (reported by Stefan Dalibor).
6302
6303	<li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported
6304	  by Stefan Dalibor).
6305
6306	<li>guard logic in ChangeGroup() function against null pointer
6307	  (reported by Stefan Dalibor).
6308
6309	<li>ensure that menu entry for toggling sunKeyboard resource is
6310	  initialized (reported by Branden Robinson &lt;branden@purdue.edu&gt;).
6311
6312	<li>gcc unused-variable warnings (reported by Bernd Ernesti
6313	  &lt;bernd@arresum.inka.de&gt;)
6314
6315	<li>rename global variable 'buffer' to 'VTbuffer'
6316</ul>
6317
6318<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1>
6319
6320This incorporates fixes from several people, as well as some improvements
6321that I made based on feedback from users:
6322<ul>
6323	<li>add option to standalone configure script, "--with-own-terminfo-dir",
6324	  which causes xterm to pass a predefined value of $TERMINFO to the
6325	  application.  Also use this value in install rule "make install-ti",
6326	  for the standalone configure script.
6327
6328	  (patch &amp; feedback from Tor Lillqvist &lt;tml@hemuli.tte.vtt.fi&gt;)
6329
6330	<li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist).  The
6331	  imake configuration uses the former, but the latter is predefined by
6332	  HP's compilers.
6333
6334	<li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch
6335	  by Tor Lillqvist).
6336
6337	<li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's.  Works
6338	  both on HP-UX 9 and 10.  (patch by Tor Lillqvist).
6339
6340	<li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from
6341	  imake, needed for compiling under DEC OSF/1 (reported by
6342	  Stefan Dalibor)
6343
6344	<li>modify print-window action so that the printer is closed after
6345	  printing a window, unless the printer was already opened (i.e.,
6346	  by an application running in the window).  This makes the printing
6347	  complete without having to exit xterm, since not all systems treat
6348	  fflush through a pipe very well (reported by Stefan Dalibor)
6349
6350	<li>modify printing code so that the ^M's are not printed if the
6351	  printAttribute resource is set to zero (request by Stefan Dalibor).
6352
6353	<li>correct typo in xterm.man, for the default value of printAttribute
6354	  (reported by Stefan Dalibor).
6355
6356	<li>correct printing code so that the alternate character set is
6357	  printed, like other attributes, with escape sequences.
6358
6359	<li>correct termcap description, removing spurious 'm' character from
6360	  the 'op' capability (reported by Greg Woods &lt;woods@weird.com&gt;).
6361
6362	<li>correct trace code so that the initial timestamp is set.
6363
6364	<li>correct/modify utmp data for the Linux glibc 2 configuration,
6365	  so that the ut_line member is set before using it to update wtmp
6366	  (patch by Bill Nottingham &lt;wen1@cec.wustl.edu&gt;).
6367</ul>
6368
6369<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1>
6370
6371This corrects a couple of recent bugs and adds a new resource:
6372<ul>
6373	<li>modify definition of TRACE_CHILD so that it does not conflict with
6374	  ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri
6375	  &lt;VikasA@att.com&gt; and Stefan Dalibor).
6376
6377	<li>correct ownership of file (actually pipe) written by the print
6378	  controls.  When undoing the setuid changes in patch #69, I overlooked
6379	  this.  Now xterm forks a process which resets setuid and routes the
6380	  printer data as the real user.
6381
6382	<li>add a new resource, "printAttributes", which controls whether
6383	  color attributes (or any attributes) are sent to the printer.
6384</ul>
6385
6386<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1>
6387
6388This patch does the following:
6389<ul>
6390	<li>implements a print-window facility for xterm.  Though useful in
6391	  itself, I added it as part of some debugging which I am doing.
6392	  (Occasionally during an exposure event xterm fails to restore the
6393	  proper colors for highlighted text, and printing the screen will
6394	  show the internal states nicely).
6395<p>
6396	  The print facility now also displays the color information.
6397	  (I will probably make this a resource).
6398
6399	<li>modified the xterm-16color terminfo description to use the setaf and
6400	  setab strings, which is a little more efficient (requested by Stephen
6401	  Marley).
6402
6403	<li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h,
6404	  errno) making the configure script test for these.
6405<p>
6406	  I removed the symbols Size_t and Time_t, since they no longer serve
6407	  a useful purpose.
6408
6409	<li>added some debugging traces to show the initial screen size,
6410	  and the success/failure of the ioctl calls pass handle window
6411	  resizing events to the application (for Clint Olsen).
6412<p>
6413	  I also modified the trace code to produce two files since some
6414	  of the information is produced by the child process.  So now
6415	  they are Trace-parent.out and Trace-child.out
6416
6417	<li>updated configure test for ANSI compiler options to handle a
6418	  special case for HP-UX 10.x (reported by Clint Olsen).
6419</ul>
6420
6421<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1>
6422
6423This is a patch from Chris Siebenmann &lt;cks@hawkwind.utcs.toronto.edu&gt;,
6424which I have cleaned up a little, and integrated into the configure script.
6425<p>
6426From his description:
6427<blockquote>
6428 This set of patches is the latest incarnation of patches originally
6429written by Ian! D Allen, then of the University of Waterloo and now of
6430who knows where; I have been carrying them forward from xterm to xterm
6431ever since about X11R4.  What they do is add an option so that when an
6432iconified xterm receives output it prepends '*** ' to its icon title
6433and (optionally) beeps the bell; deiconifying the xterm removes the
6434'*** '. Over the years I've found this to be incredibly convenient for
6435monitoring all sorts of low-activity things.
6436</blockquote>
6437
6438<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1>
6439
6440This patch is a slightly modified version of one by Richard Braakman, which
6441prevents buffer overflow in the input-method and preedit-type parsing in xterm.
6442I changed a couple of details to make the code more maintainable, and looked
6443for similar things - copying into a fixed-size buffer (found none, though I did
6444spot an unused variable).
6445
6446<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1>
6447
6448This patch corrects some minor bugs in xterm, and fills in some more details
6449in the VT220 emulation:
6450<UL>
6451	<LI>modify Imakefile to use SpecialCObjectRule for menu and data modules,
6452	  making xterm build properly if logging is enabled
6453	  (patch by Scott Sewall &lt;scott@iprg.nokia.com&gt;).
6454
6455	<LI>restore "ich" capability to terminfo entries, since
6456	  Michael Schroeder points out that "ich1"
6457	  is the one which is the problem in Solaris vi.
6458
6459	<LI>correct color of cursor, which would disappear on inverse-video
6460	  since the initialization did not compare the cursor color against
6461	  both foreground and background (reported by Olivier Calle).
6462
6463	<LI>correct abbreviation-test for -version and -help options, making
6464	  command-line option -vb work (reported by Stefan Dalibor).
6465
6466	<LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and
6467	  OPT_INPUT_METHOD (reported by Stefan Dalibor).
6468
6469	<LI>split-out character-set translations as new module charsets.c, to
6470	  implement VT220 national replacement character sets (a mode where
6471	  some of the characters are displayed as specific European glyphs).
6472	  This relies on xterm using an ISO 8859-1 font (approach suggested by
6473	  Kenneth R. Robinette &lt;zkrr01@mailbox.neosoft.com&gt;).
6474
6475	<LI>correct a missing increment, which made SS2 and SS3 controls
6476	  repeat the shifted character.
6477
6478	<LI>add xterm-nrc to terminfo to illustrate the VT220 national
6479	  replacement character sets.
6480
6481	<LI>reformat terminfo using new ncurses tic option "-f", which makes
6482	  if/then/else/endif expressions easier to read.
6483</UL>
6484
6485<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1>
6486
6487This corrects the problem in xterm with utmp, reported by Olivier Calle
6488&lt;olivier@tc.fluke.com&gt;
6489as well as some other people after the XFree86 3.3.2 release.
6490<P>
6491The error was introduced by my patch #53 in XFree86 3.9r (October 1997).
6492<P>
6493The correction removes the reset of setuid/setgid before the main event loop,
6494and solves the problem which I had worked around in a different manner:  for
6495some reason, the particular waitpid() call in creat_as() hangs, does not
6496return when the child process exits.  I changed the ifdef's to force the Linux
6497configuration to use wait() instead.  This call appears to work properly on
6498other platforms such as SunOS and Solaris.
6499<P>
6500I also added tests in the standalone configure script to check for the
6501existence of waitpid().
6502
6503<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1>
6504
6505This corrects another problem with the logic for highlightColor resource.
6506As reported by David Dawes:
6507<blockquote>
6508	I've just noticed a problem with with the "inverse" control sequence
6509	(ESC[7m) with the 3.3.2 xterm.  What it does is sets the background
6510	black, and the text the usual foreground colour rather than simply
6511	swapping the foreground/background.
6512
6513</blockquote>
6514This appears to be because when I added logic to check that the highlightColor
6515was distinct from foreground and background colors, I did not add a further
6516check to see that it was not black (I would make an explicit check for the
6517resource not being set, but see nothing definite in the headers that would let
6518me reference an explicitly-undefined Pixel value, though there are some
6519implications in xpm.h).  But this should work.
6520
6521<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1>
6522
6523This patch does the following:
6524<UL>
6525	<LI>improve test for highlightColor so that xterm does not attempt to
6526	  use that unless it is different from the foreground and background
6527	  colors (reported by Stefan Dalibor
6528	  &lt;Stefan.Dalibor@informatik.uni-erlangen.de&gt;.
6529<P>
6530	  I could not reproduce this until I noticed that the -rev option
6531	  exposed it nicely.
6532
6533	<LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions.
6534	  SVr4 terminfo documents that you must not combine these with
6535	  smir/rmir, but ncurses allows it, opening a hole.  Solaris 2.6 vi
6536	  does not work properly if it is using a terminfo description when
6537	  these are combined, since it was written to accommodate old terminals
6538	  that required it (reported by Stephen Marley).
6539
6540	<LI>restore 1-pixel overlap of scrollbar border with left edge of window
6541	  (reported by Jim Burmeister &lt;jimb@metrolink.com&gt;).
6542
6543	<LI>add a configure option, --enable-logfile-exec, which allows the
6544	  user to specify a pipe for logfile.  This defines ALLOWLOGFILEEXEC.
6545
6546	<LI>makes the ALLOWLOGFILEEXEC code compile &amp; run, if configured.
6547
6548	<LI>minor documentation nits.
6549</UL>
6550
6551<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1>
6552
6553This fixes the problem reported with failure to build the <EM>resize</EM>
6554program (BSDI, OSF/1) due to not having &lt;termcap.h&gt;, by changing the
6555ifdef to one that would be set only if the file exists (not currently
6556specified, except by the standalone configure script).  We do not really need
6557to include &lt;termcap.h&gt; to build, but only for a clean compile, since it
6558may declare the tgetent() prototype.
6559
6560I also updated the man-page for <EM>resize</EM>, since I had recently noticed
6561that it can be used to resize <EM>xterm</EM> using the "Sun" control sequences
6562option.
6563
6564<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1>
6565
6566This is a small patch to xterm's 8-bit terminal description.  I noticed
6567while testing ncurses that I had specified the wrong (VT100-style) codes
6568for the F1-F4.  Xterm only uses VT220-style function keys in 8-bit mode.
6569
6570<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1>
6571
6572This fixes the following problems with xterm:
6573<UL>
6574	<LI>save/restore the ANSI foreground and background colors with the other
6575	  visible attributes in the save-cursor and restore-cursor operations.
6576	  This works around a problem with vim, which apparently assumed that
6577	  switching between the normal and alternate screens resets the colors
6578	  (reported by Jim Battle &lt;jb@chromatic.com&gt;).
6579<P>
6580	  It would be nice to implement save/restore cursor as a stack (and
6581	  solve this type of problem completely), but that would lead to
6582	  incompatibility with applications which assume they are running with a
6583	  VT100 or VT220.
6584
6585	<LI>corrects behavior of a restore-cursor operation which does not
6586	  follow a save-cursor (it is supposed to set the character sets
6587	  to a known initial state).
6588
6589	<LI>extends the sunKeyboard resource (and menu toggle) to modify the
6590	  home, end and delete keys on a Sun or PC editing keypad, making them
6591	  generate codes compatible with DEC VT220's Find, Select and Remove
6592	  keys.
6593
6594	<LI>corrects a length in checking command-line options, which caused the
6595	  "-help" message to not work when X was not running.
6596
6597	<LI>adds some detail to the man-page (requested by Jason Bacon
6598	  &lt;acadix@execpc.com&gt;)
6599
6600	<LI>modify the standalone configure script to ignore the broken nsl and
6601	  socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so
6602	  this change just widens the check for the system version number).
6603</UL>
6604
6605<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1>
6606
6607This is another patch from Bjorn Helgaas &lt;helgaas@rsn.hp.com&gt;, which I've
6608reviewed (and learned some).  Following are his notes:
6609<P>
6610I poked around some more and finally got xterm-62 to build and run
6611cleanly on HP-UX 10.20.  Here are the patches.  They look sort of
6612ugly, so here's a little explanation:
6613<UL>
6614        <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL
6615        commands in CF_FUNC_TGETENT.  Previously, LIBS was set inside
6616        AC_CACHE_VAL, which worked fine the first time configure was
6617        run, but failed if there were cached values.
6618
6619        <LI>aclocal.m4: Added temporary setting of LIBS before
6620        AC_TRY_LINK in CF_FUNC_TGETENT.  Previously, the last value set
6621        by the AC_TRY_RUN loop was used, so only -lcurses was checked.
6622
6623        <LI>configure.in: Added temporary setting of CPPFLAGS before
6624        AC_CHECK_HEADERS for X11 files.  Previously &lt;X11/DECkeysym.h&gt;
6625        and &lt;X11/Xpoll.h&gt; were found only if they were in the compiler's
6626        default include directories, even if `--x-includes=DIR' had been
6627        used or AC_PATH_XTRA had found them elsewhere.
6628</UL>
6629The problem on HP-UX was that we were linking with -lcurses rather than
6630-ltermcap due to the second bullet above, and apparently something in
6631HP-UX curses is broken.  This seems very strange, because the only thing
6632used is tgetent, which should affect any tty/pty configuration, but I
6633lost interest in tracking down the exact problem.
6634
6635<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1>
6636
6637This is a patch mostly by Bjorn Helgaas &lt;helgaas@dhc.net&gt; (I added the
6638os2main.c change, and a little of the documentation).  From Bjorn's
6639description:
6640<UL>
6641	<LI>If you use the "-hc &lt;color&gt;" option or set the "highlightColor"
6642	  resource, text is highlighted by changing only the background color,
6643	  rather than using reverse video.  I find this easier to read,
6644	  especially when selecting multi-colored text, and it is similar to
6645	  the way Netscape shows selections.
6646
6647	<LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR".  The
6648	  principal exception is in screen.c, where I added a couple calls to
6649	  resetXtermGC().  This seems like it could be a bug even without
6650	  the color highlighting changes (though I don't pretend to understand
6651	  all the logic).
6652</UL>
6653
6654<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1>
6655
6656This patch modifies the reset behavior of xterm slightly:
6657<UL>
6658	<LI>change the terminfo entry so that rs1 (one of the strings used by
6659	  the 'reset' program) does a hard reset rather than switching
6660	  character sets.  This is more in accord with other terminal
6661	  descriptions.
6662
6663	<LI>modifies the treatment of hard reset by the xterm program to
6664	  reset the saved lines.
6665
6666	<LI>corrects hard reset by also resetting user-defined keys (DECUDK).
6667</UL>
6668
6669<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1>
6670
6671This fixes some minor bugs and adds new functionality:
6672<UL>
6673	<LI>add support for blinking text.
6674<UL>
6675	  <LI>This does not actually cause the
6676	  text to flash, but text with the blink attribute can be displayed
6677	  in color, using new resources colorBL and colorBLMode.
6678
6679	  <LI>If colors are not used, the blinking text will be displayed as
6680	  before (just like bold).  The main purpose of this is to make
6681	  applications work properly when they assume the emulator supports
6682	  blinking text.
6683
6684	  <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line
6685	  flag, to make room for the new BLINK flag.  There were no per-line
6686	  flags, so this changes a lot of logic.
6687</UL>
6688
6689	<LI>corrected missing save-cursor logic in the handling of SGR 1048
6690	  (the new control sequence I added in patch #54, 1997/10/17).
6691	  Reported by Darren Hiebert.
6692
6693	<LI>flush the output of the transparent printing after each line
6694	  Reported by Tomas Vanhala &lt;vanhala@ling.helsinki.fi&gt;.
6695
6696	<LI>correct the modes that are affected by save/restore cursor by adding
6697	  WRAPAROUND and PROTECTED.
6698
6699	<LI>corrected placement of one of the XSync calls that I added in patch
6700	  #51, 1997/9/15, which had the side-effect of writing on the window
6701	  border when the xterm was resizing from 132 to 80 columns.
6702
6703	<LI>work around an incompatibility of the XKB definition used in xterm
6704	  versus that symbol from IRIX 6.2's imake definitions (by adjusting
6705	  the standalone configure script).
6706</UL>
6707
6708<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1>
6709
6710My last patch has an off-by-one error in the comparison for argc.  Douglas
6711Kosovic &lt;douglask@dstc.edu.au&gt; showed me where (he got a core dump).
6712Also, I think this explains Clint Olsen's problem, but the symptoms were more
6713subtle (EINVAL for a system call if the -display option is omitted).
6714
6715<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1>
6716
6717This patch does the following:
6718<UL>
6719	<LI>implement logic to permit xterm to work with proportional fonts.
6720<UL>
6721	  <LI>Thomas Wolff
6722	  &lt;Thomas.Wolff@sietec.de&gt;
6723	  requested this (but it isn't exactly what he's asking
6724	  for - that's a more involved task).
6725
6726	  <LI>I chose to do this by rendering the characters on a fixed pitch,
6727	  because it would not be useful for existing applications to display
6728	  varying numbers of characters on each line.
6729
6730	  <LI>Except that this forces the display to be wider, it works reasonably
6731	  well.  A couple of special cases (reverse + colorBD, for example)
6732	  do not display with proper colors, since the inter-character gaps
6733	  are painted with the background.
6734</UL>
6735
6736	<LI>added a version number to the program (several people have requested
6737	  this).
6738
6739	<LI>make the -version and -help options interpreted before the program
6740	  attempts to open the display.
6741
6742	<LI>minor reorganization of the man-page (ordered the options, resources
6743	  and translations alphabetically - and eliminated some duplication).
6744
6745	<LI>corrected a misspelled filename in Makefile.in, and added a lint
6746	  rule.
6747
6748	<LI>updated the configure script to correct behavior when it cannot
6749	  find imake, as well as to fix the IRIX+gcc build (conflict with
6750	  /usr/include).
6751
6752	<LI>regenerated the configure script with a newer patch to autoconf
6753	  that fixes a problem with environment space vs the configure --help
6754	  message.
6755</UL>
6756<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1>
6757
6758This patch is mostly concerned with the standalone configure script; a few
6759minor corrections are added:
6760<UL>
6761	<LI>add configure option --disable-tek4014, to allow xterm to be built
6762	  without the tek4014 emulation.
6763
6764	<LI>add configure option --with-terminal-type, to allow xterm to be
6765	  compiled with default $TERM value other than "xterm" (e.g.,
6766	  "xterm-16color") -- requested by Stephen Marley &lt;stephen@memex.com&gt;.
6767
6768	<LI>fix a typo in the configure --help message -- reported by Darren
6769	  Hiebert &lt;darren@hmi.com&gt;.
6770
6771	<LI>review diffs between main.c and os2main.c, to make them more alike.
6772	  (applies some minor bug-fixes to OS/2's version).
6773
6774	<LI>add missing quotes in memmove/bcopy configure test
6775</UL>
6776
6777
6778<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1>
6779
6780This patch is based on analysis by Arfst Ludwig &lt;arfst@luxor.IN-Berlin.DE&gt;,
6781who reported:
6782<blockquote>
6783	Setting the following resources xterm (all current versions) receives a
6784	segmentation fault on &lt;Btn2Up&gt; after scrolling:
6785<PRE>
6786
6787	  *XTerm*VT100*translations:    #override \
6788	      ~Shift~Ctrl&lt;Btn2Up&gt;: insert-selection(PRIMARY, CUT_BUFFER0)\n\
6789	      Shift~Ctrl&lt;Btn2Up&gt;:  insert-selection(CLIPBOARD, CUT_BUFFER1)\n\
6790	      ~Shift&lt;BtnUp&gt;:       select-end(PRIMARY, CUT_BUFFER0)\n\
6791	      Shift&lt;BtnUp&gt;:        select-end(CLIPBOARD, CUT_BUFFER1)
6792</PRE>
6793	(The above resources intention is to be able to paste the latest
6794	selection even if the xterm was cleared.)
6795<P>
6796	And here is how it works (and a fix!):  The widget given to the action
6797	handler as first argument is not guaranteed to be a XtermWidget (it can
6798	be the ScrollbarWidget).  Instead of accessing the widget's member
6799	directly XtDisplay gives the required pointer in a safe way.
6800</blockquote>
6801I noticed that this was not the only instance (by reading the code, and testing
6802with his example), and extended the solution to check the widget-class to
6803ensure that it is indeed xterm's widget class before attempting to use it in
6804the context of translations.
6805
6806<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1>
6807
6808This fixes the segmentation violation noted by Rogier Wolff about a month
6809ago.  He'd set xterm to 400 (rows) by 150 columns, which broke because there
6810were limited buffers (200 rows) used for juggling data when adding or deleting
6811lines and for switching between alternate and normal screens.  I replaced this
6812by an allocated buffer.
6813<P>
6814The bug is simple to test if you set titeInhibit false.
6815
6816<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1>
6817
6818This patch does the following:
6819<UL>
6820	<LI>correct a minor placement problem with the right scrollbar.
6821
6822	<LI>implement a new set of control sequences for switching between the
6823	  normal and alternate VT100 screens.  These work around the older
6824	  sequences limitation that required modification of the runtime
6825	  $TERMCAP to cooperate with the titeInhibit resource (that can't work
6826	  with terminfo).  I do this by moving all of the functionality of the
6827	  rmcur terminfo capability into the control sequences.
6828
6829	<LI>implement the alternate-screen menu entry
6830</UL>
6831
6832<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1>
6833
6834This patch adds a fix and implements a new feature (as well as some minor
6835typos):
6836<UL>
6837	<LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem
6838	  with the wait call with the logging option.  It hung when the logfile
6839	  was opened as a command-line option.  I fixed this by moving the
6840	  StartLogging() call down past the place where I'd reset the setuid
6841	  mode.  So the logfile is opened as the real user, without having
6842	  to fork.
6843
6844	<LI>Michael Rohleder &lt;michael.rohleder@stadt-frankfurt.de&gt; sent
6845	  me a patch which implements right-scrollbars for xterm.  I used that
6846	  as a starting point, renamed the command-line options and reduced
6847	  the number of ifdef's.
6848</UL>
6849
6850<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1>
6851
6852This patch addresses bugs and requests reported by
6853<UL>
6854	<LI>Bob Maynard &lt;rmaynard@montana.com&gt;,
6855	<LI>Clint Olsen &lt;olsenc@ichips.intel.com&gt;,
6856	<LI>JCHANDRA@Inf.COM (JCHANDRA),
6857	<LI>Michael Schroeder &lt;Michael.Schroeder@informatik.uni-erlangen.de&gt;,
6858	<LI>Pablo Ariel Kohan &lt;pablo@memco.co.il&gt;
6859</UL>
6860
6861Some of the changes are interrelated (it was an unusually busy week).
6862<UL>
6863
6864	<LI>change the default resource value for colorMode to true, matching
6865	  the Xterm.ad file.
6866
6867	<LI>correct behavior of 'ech' control, making the default and 0
6868	  parameters erase one character rather than to the end of line
6869	  (reported by Michael Schroeder).
6870
6871	<LI>add resource boldColors, command-line options +pc and -pc and
6872	  configure-script option to specify behavior of xterm's mapping bold
6873	  colors 0 through 7 to colors 8 through 15.
6874	  (request by Pablo Ariel Kohan).
6875
6876	<LI>add resource colorAttrMode to specify whether colorULMode and
6877	  colorBDMode can override the ANSI colors
6878	  (from a problem report by Clint Olsen).
6879
6880	<LI>correct a conflict between colorULMode/colorBDMode versus ANSI
6881	  colors, where exposure events would occasionally pick up the
6882	  former (e.g., colorBD) rather than ANSI colors.  Testing the
6883	  colorAttrMode made this apparent, though it has been in the
6884	  code since 3.2A (patch #35 in Jan 1997).
6885
6886	<LI>correct two problems with the optional logging support.  On Linux
6887	  at least, the waitpid call in creat_as hangs when the logging is
6888	  toggled from the popup menu.  Also, the mktemp template has the wrong
6889	  number of X's (since X11R5!).  Fixed the waitpid problem by
6890	  exploiting the fact that the setuid behavior is reset before the
6891	  popup menus are available.
6892	  (reported by Jayachandran C.).
6893
6894	<LI>add configure script options for building with the Xaw3d and neXtaw
6895	  libraries.
6896
6897	<LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it
6898	  will pick up $(ALLDEFINES) rather than $(STD_DEFINES).  This is
6899	  needed to make scrollbars work on Linux, since that uses narrow
6900	  prototypes.
6901	  (reported by Bob Maynard).
6902
6903	<LI>various minor updates to configure-script macros.
6904</UL>
6905
6906<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1>
6907
6908Most of this patch is related to the standalone configure script, though
6909there are fixes/enhancements as well:
6910<UL>
6911	<LI>add a new resource sunKeyboard, with associated command-line
6912	  option and menu-toggle that allows using a normal Sun or PC
6913	  keyboard to generated the complete DEC-style function keys
6914	  and keypad.
6915
6916	<LI>correct a reversed foreground/background test in the control
6917	  sequence that replies with the current SGR settings.
6918
6919	<LI>correct, by invoking XSync, a display problem that caused the
6920	  program to not properly update newly exposed areas when a font
6921	  change or 80/132 resize request was not completely accepted.
6922
6923	<LI>restructured autoconf macros (I made a library of all of the
6924	  macros across the complicated configure scripts I'm working on).
6925
6926	<LI>use the autoconf config.guess and config.sub scripts to better
6927	  identify the host-os.
6928
6929	<LI>improve the configure script that uses 'imake' as a fallback for
6930	  definitions.
6931
6932	<LI>correct several instances of unsigned/signed mixed expressions.
6933</UL>
6934
6935I've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1,
6936IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly
6937as well).
6938
6939<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1>
6940
6941This is a collection of small fixes, and a couple of minor enhancements:
6942<UL>
6943	<LI>plug a security hole in the implementation of Media Copy (print)
6944	  by invoking setuid just before the main loop.
6945
6946	<LI>add an ifdef'd include for &lt;sys/termio.h&gt; for HP-UX, which allows
6947	  the program to process SIGWINCH events (this is a bug in X11R6.3)
6948
6949	<LI>add state-table entries for VT52 emulation to enter/exit keypad
6950	  application mode.
6951
6952	<LI>disable the popup-menu entry for 8-bit controls when the terminal-id
6953	  is less than 200 (e.g., VT52 or VT100).
6954
6955	<LI>ensure that the popup-menu entry for 8-bit controls is updated when
6956	  the application enables/disables this mode, including the response
6957	  to a full-reset.
6958
6959	<LI>implement VT300 DECBKM feature: set interpretation of the backarrow
6960	  key to either backspace or delete.  The initial setting is via
6961	  resource; it can also be modified in the main popup menu.
6962
6963	<LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked
6964	  (i.e., the terminal discards input).
6965
6966	<LI>implement VTxxx SRM, which is used to control local echoing of
6967	  input on the terminal.
6968
6969	<LI>add terminfo and termcap entries for xterm-8bit, a variation of
6970	  the xterm description that uses 8-bit control characters.
6971
6972	<LI>add fallback definitions for Imakefile to allow it to work on some
6973	  X11R5 systems that have no SpecialCObjectRule or ProgramTargetName
6974	  macros.
6975
6976	<LI>add .c.o and .c.i rules to standalone Makefile.in
6977
6978	<LI>correct order of -lXmu and -lXext in standalone configure script.
6979
6980	<LI>add configure script options to allow selective disabling of
6981	  active-icon, input-method and i18n code (mainly for users with X11R5
6982	  or an incomplete X11R6 configuration).
6983
6984	<LI>change menu-indices from #define's to enum values, thereby making
6985	  it work better with the ifdef's for logging and active-icon (the
6986	  X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an
6987	  error introduced by incorporating that code).
6988
6989	<LI>correct minor compile errors in the configuration where active-icon
6990	  is not used.
6991
6992	<LI>add configure option to suppress echoing of long compiler commands
6993
6994	<LI>correct spelling of decTerminalID in configure script help message
6995
6996	<LI>use gcc __attribute__((unused)) to quiet warnings about unused
6997	  parameters when compiling with -W (to make it simpler to find the
6998	  real problems).
6999</UL>
7000
7001<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1>
7002
7003This patch implements the VT100/VT220 Media Copy (i.e., print-screen) control
7004sequences.
7005
7006<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1>
7007
7008This patch does the following (all but the first affect only the standalone
7009configure script):
7010<UL>
7011	<LI>minor correction to positioning of underlines for small (e.g., 5x8)
7012	  font size.
7013	<P>
7014	  The existing behavior allowed underlines to be drawn outside the
7015	  character-cell, so they weren't cleared properly under some
7016	  circumstances.
7017
7018	<LI>adds more special-case tokens to the standalone configure script's
7019	  imake-option filter (e.g., "&amp;&amp;", since a "make -n main.o" on my IRIX
7020	  system uses that shell construct).
7021
7022	<LI>adds a '--enable-logging' option for the standalone configure script.
7023
7024	<LI>adds check and ifdef's for the standalone configure script to allow
7025	  for building on platforms with X11R6, which lacks Xpoll.h (introduced
7026	  in X11R6.1).
7027</UL>
7028
7029<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1>
7030
7031This patch does the following
7032<UL>
7033	<LI>corrects an indexing error in the doublesize character logic
7034	  (button.c) that caused core dump (this was reported by J.  Wunsch).
7035	<LI>corrects the logic of ShowCursor when it is painting in a doublesize
7036	  cell (charproc.c).
7037	<LI>corrects, according to vttest, the behavior when switching to
7038	  doublesize characters and back again (doublechr.c).
7039	<LI>adds cbt (back_tab) to the terminfo description (this was something
7040	  that I'd overlooked as applicable to curses optimization last
7041	  summer).
7042	<LI>corrects, for the standalone xmc test, the logic for disabling xmc.
7043</UL>
7044
7045<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1>
7046
7047This is a patch to provide test-support for some work I'm doing on ncurses.  It
7048does not modify the normal configuration of xterm; the code is compiled if the
7049standalone configure option "--enable-xmc-glitch" is specified.
7050
7051<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1>
7052
7053This fixes the problem reported with xterm's cursor color versus the background
7054(the second chunk in this patch) and also removes some duplicate initialization
7055of the cursor GC's.  If the cursor color at startup is the same as the
7056background, then xterm will use the reverse GC, ignoring the setting of the
7057colorMode resource.
7058
7059<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1>
7060
7061This implements the first part of the VT100 doublesize characters for xterm,
7062as well as fixing a handful of bugs:
7063<UL>
7064	<LI>the doublesize character support uses the normal font (using scaled
7065	  fonts will be another patch) with blanks to simulate doublesize
7066	  characters.  This patch does most of the global changes that'll be
7067	  required.  I've hidden most of the details in macros and ifdef's so
7068	  it's easy to configure out (part of the patch is a configure option
7069	  for that purpose).
7070
7071	<LI>corrected limits in DeleteChar() function -- it's always ignored the
7072	  size of the left border and scrollbar.  I noticed this when working
7073	  on the doublesize characters since the glitch was doubled in size
7074	  (i.e., it wrapped some garbage around the right margin).
7075
7076	<LI>corrected 'memmove()' logic, for standalone builds (it referenced a
7077	  malloc wrapper from my development library).
7078
7079	<LI>add a check for HideCursor() to prevent repeated screen updates
7080	  (which can cause a spurious cursor glitch to appear, e.g., during
7081	  scrolling).  I noticed this with the 3.2A version (but only a few
7082	  weeks ago, when I started working on this patch).
7083</UL>
7084
7085<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1>
7086
7087Here's a fix for two problems:
7088<UL>
7089	<LI>modify handling of tgetent results in xterm and resize programs to
7090	  make them tolerant of missing termcap file, or unknown terminal name.
7091	  In this scheme, an explicit "-tn" option will succeed, overriding
7092	  the fallback list.
7093
7094	<LI>a nit in the configure script (log extra information to help diagnose
7095	  which case of the test-compile of tgetent was used).
7096</UL>
7097
7098<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1>
7099
7100Bram Moolenaar reported that the cursor color changed unexpectedly while
7101scrolling.  The cause was that it used the same GC's as the logic that draws
7102the ANSI colors.  The bug only appears if the cursorColor resource isn't set,
7103and has been present since the initial implementation early last year.  (The
7104same bug also appears in rxvt ;-).  Here's a fix.
7105
7106<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1>
7107
7108Some nits found by Darren Hiebert (missing part of install-rule, incorrect
7109assignment for --enable-color-mode option).
7110
7111<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1>
7112
7113Patch for the configure script's logic for obtaining imake predefined
7114symbols.
7115
7116<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1>
7117
7118This patch does the following:
7119<UL>
7120	<LI>integrate the 16-color change for 'xterm'
7121
7122	<LI>minor fixes/clarification of tgetent in terminfo vs termcap to
7123	  'resize'
7124</UL>
7125
7126(both changes also modify the configure script)
7127
7128<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1>
7129
7130This implements a simple configuration script with autoconf (to which I'll
7131add more options later).  It does the following:
7132<UL>
7133	<LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris
7134	  2.4, possibly IRIX - sorry network was down today, but I did test
7135	  an earlier version yesterday).
7136
7137	<LI>enables/disables the configuration ifdef's for ANSI color and VT52
7138	  emulation.
7139</UL>
7140It does not make tests for the things that imake does (that's another project),
7141instead it uses a hybrid of the autoconf tests for libraries and adds imake's
7142compiler options (which are necessary in some cases to get main.c to compile).
7143
7144<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1>
7145
7146This corrects a minor, but annoying error in the vt220 emulation: the DECUDK
7147is only supposed to be interpreted for _shifted_ function keys.
7148
7149<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1>
7150
7151This corrects something that I overlooked in patch #27 (21-aug-1996), which is
7152that when trimming the region to be repainted for the highlightSelection
7153resource of xterm, I still have to paint the background past the highlighted
7154region.  This only happens when I first do a selection in a window that's
7155partly off-screen, then move the window on-screen.
7156
7157<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1>
7158
7159This patch does the following:
7160<UL>
7161	<LI>combines the coding for foreground and background colors into a
7162	  single byte, reducing the memory required to store saved-lines in
7163	  color.  (I'll take back that byte in a following patch to use to
7164	  ensure the character-set, so there's no long-term decrease in memory
7165	  use).
7166
7167	<LI>modifies the PF1-PF4 coding in termcap/terminfo.  Because xterm is
7168	  still by default emulating vt100, the function key codes are
7169	  vt100-compatible (I overlooked this in patch #31).
7170
7171	  I also reformatted the whole terminfo file into a single-column,
7172	  for consistency.
7173
7174	<LI>adds an interim xterm-vt220 description to accommodate the old and new
7175	  styles of function-keys (though probably it'd be better to drop the
7176	  old-style altogether).
7177</UL>
7178
7179<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1>
7180
7181This patch does the following:
7182<UL>
7183	<LI>implement DECSTR (soft terminal reset).  The biggest diff is due to
7184	  adding another state table (note that there's only one useful state
7185	  here, but it's only 256 bytes rather than 1k as it would have been
7186	  before I reduced the size of state entries).
7187
7188	<LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM,
7189	  resetColor, resetCharsets).  More is done in patch #35.
7190</UL>
7191
7192I got the description of DECSTR from a vt420 user's manual.  I'll do some
7193testing with vttest to ensure that there's nothing else to do than what was
7194documented.
7195
7196<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1>
7197
7198This adds to the reset-fix by Matthieu Herrb &lt;Mathieu.Herrb@mipnet.fr&gt; a
7199small change to make xterm able to output 8-bit characters in VT100 mode.
7200
7201Applications that run on real VT100's don't do that anyway, and this feature
7202should be removed sometime after finishing off the VT220 emulation (VT220's can
7203do 8-bit characters).  That would be a good time to change the default
7204terminal-id to 220.
7205
7206<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1>
7207
7208This implements the REP (repeat) control for xterm.  That isn't part of the DEC
7209VTxxx series, but is defined in ISO 6429.  (Note that the base xterm terminal
7210description is <EM>not</EM> changed -- I added a variant, "xterm-rep").
7211
7212<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1>
7213
7214This implements vt52 emulation in xterm (ifdef'd so it can be removed).
7215I've been using it for testing for the past month or so.
7216
7217<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1>
7218
7219From bug-report by &lt;auroux@clipper.ens.fr&gt; (Denis Auroux), missing reset to
7220ground state.  I checked through the rest of <EM>that</EM> table and found another,
7221in the unimplemented MC (screen print).
7222
7223<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1>
7224
7225This patch does the following:
7226<UL>
7227	<LI>corrects the restoration of color for bold/underline color mode
7228
7229	<LI>adds a resource 'decTerminalID' to control the reporting level of
7230	  xterm (e.g., VT100, VT220).
7231
7232	<LI>uses the new resource to implement/correct the DA1, DA2 and
7233	  DECRPTUI reports.
7234
7235	<LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0,
7236	  but the VT420 terminal I've been testing on says 1).
7237</UL>
7238
7239All of these changes are based on vttest 2.6
7240<P>
7241(Most of the volume in the patch is to add 2 more state tables for parsing
7242the 2nd/3rd device-attribute controls).
7243
7244<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1>
7245
7246This patch corrects the following reported by Roland Rosenfeld
7247&lt;roland@spinnaker.rhein.de&gt;:
7248<UL>
7249	<LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD
7250	  resources.  Also noted &amp; fixed reset of colored underline/bold
7251	  with SGR 0.
7252
7253	<LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error)
7254</UL>
7255
7256Roland also complained that he couldn't use box characters with
7257<PRE>
7258	-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
7259</PRE>
7260but that's a known xterm limitation (the box characters must be part of the
7261font, in the first 32 locations).
7262
7263<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1>
7264
7265This patch fixes one of my long-term gripes:  xterm's selection doesn't clearly
7266show what's being selected (as per David's request, it's controlled by a
7267resource, which defaults to the older behavior).
7268
7269<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1>
7270
7271Here's a patch to fix a problem with xterm's cut/paste and another to modify
7272the appearance of the highlighting while selecting.  (The changes are
7273independent, so you can see if the change to screen.c is desirable).
7274
7275<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1>
7276
7277Here's a correction for two minor bugs that I picked up in testing, plus
7278some lint (from Solaris 2.5) where NULL was used incorrectly:
7279<UL>
7280	<LI>make the second alternate font the same as the first (that's what
7281	  vt420 and dtterm do)
7282
7283	<LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't
7284	  return a '60').
7285</UL>
7286
7287<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1>
7288
7289This patch does several things.  In effect, xterm can (I think) do a reasonably
7290good job of emulating vt220 and vt320 terminals (as well as it was doing
7291vt100, at any rate ;-).
7292<P>
7293It does NOT do:
7294<UL>
7295	<LI>soft fonts
7296
7297	<LI>rigel or sixel graphics
7298</UL>
7299<P>
7300Anyway, I:
7301<UL>
7302
7303	<LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls
7304
7305	<LI>added popup-menu for switching between DEC and Sun function keys.
7306	  (corrected alignment err wrt logging entry at that point).
7307
7308	<LI>make xterm recognize both 8-bit and 7-bit controls (including
7309	  popup menu for switching modes).
7310
7311	<LI>add user-definable function keys (aka DECUDK)
7312
7313	<LI>support concealed text
7314
7315	<LI>support protected text (both ISO compatible and DEC compatible -
7316	  that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED,
7317	  DECSEL controls.
7318
7319	<LI>implement DECSCL.
7320</UL>
7321<P>
7322I'll be continuing to test this patch for a while, but don't expect to add any
7323new functionality (it passes all of the current tests I've built in vttest, but
7324I need to make more tests)..
7325
7326<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1>
7327
7328This removes the blinking cursor I added last week (for performance reasons).
7329Time-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more
7330work after XFree86 3.2, I assume).
7331
7332<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1>
7333
7334I looked more closely at my "double-negative" and realized that I had been
7335confused by the default color scheme (black on white) in combination with
7336reverse video.  However, I did see that the original_fg and original_bg data
7337weren't really used - so I removed that logic.
7338<P>
7339Also:
7340<UL>
7341	<LI>during initialization, check if ANSI colors are set with non fg/bg
7342	  values, disable color mode if not.  This makes xterm tolerant of
7343	  applications that allocate the whole color map.
7344
7345	<LI>implemented blinking cursor (default is <EM>off</EM>)
7346</UL>
7347
7348<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1>
7349
7350This patch does the following:
7351<UL>
7352	<LI>fixes some minor typography in the control-sequences documentation
7353	  (it didn't occur to me til I'd sent the last patch that I could use
7354	  ghostview for previewing the troff output ;-)
7355
7356	<LI>adjusts the shell's background color in ReverseVideo so that flicker
7357	  in resizing is reduced
7358
7359	<LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without
7360	  the ISO color support (saves a lot of memory)
7361
7362	<LI>used that ifdef to isolate/modify logic so that if the user doesn't
7363	  have the colorMode enabled, then ISO color support is disabled (saving
7364	  memory).
7365	<P>
7366	  (If anyone needs numbers, I had savedLines set to 2000, and found
7367	  a reduction from ~700k to ~400k of allocated memory, according to
7368	  Purify).
7369</UL>
7370
7371<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1>
7372
7373This documents the changes in control sequences for window operations that
7374I added in my previous patch.  I'm testing another patch that allows the
7375user to use less memory if colors aren't needed.
7376
7377<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1>
7378
7379This patch does the following:
7380<UL>
7381	<LI>fixes the core dump that I reported on IRIX 5.2 (in main.c)
7382	<P>
7383	  (it's worth noting that this bug exists in X11R6.1, so I'd like
7384	  to assume that someone's already submitted a fix to X Consortium...)
7385
7386	<LI>change the interpretation of zero rows or columns in a resize-window
7387	  request to use the root window's size (looking more carefully at
7388	  dtterm, that seems to be what it does).
7389
7390	<LI>change some memmove calls to memcpy for slightly better performance.
7391	  (also, a couple of memset calls to bzero - Quantify says bzero runs
7392	  20% faster, I assume because there's one less argument).
7393
7394	<LI>interpret character sets 1 and 2 (so that vttest gives a reasonable
7395	  result) Both rxvt and dtterm do something equivalent.
7396
7397	<LI>fix a minor memory leak in the logic that retrieves the window or
7398	  icon names (Purify found this for me while I ran vttest).
7399</UL>
7400
7401<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1>
7402
7403This implements the following:
7404<UL>
7405	<LI>escape sequences that act like the CDE dtterm's window operations
7406	  (though I have implemented the default width and height -- I've seen
7407	  a rather buggy dtterm running that seems to treat width=0 or height=0
7408	  literally -- maybe that's a feature, not a bug?)
7409
7410	<LI>minor tweak to the screen-repainting when resizing (I still cannot
7411	  entirely get rid of flicker).
7412
7413	<LI>still more fixes to terminfo &amp; termcap (I corrected my error for
7414	  the hpa code and added some other stuff by comparing to ncurses'
7415	  description and rxvt's).
7416
7417	<LI>a tweak to the patch by Michael Rohleder for the color translation
7418
7419	<LI>re-order attribute codes to allow later implementation of protected
7420	  fields (dtterm supposedly does this; it's probably more useful than
7421	  blinking or invisible text -- that uses up all of the available bits
7422	  without changing the attribute scheme radically).
7423</UL>
7424
7425<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1>
7426
7427This patch implements for xterm several minor features from ISO 6429 which are
7428useful for terminfo applications.  The HPA and VPA control sequences allow
7429cursor movement along a row or column, cutting down a little on the characters
7430transmitted.  The other codes allow resetting specific graphic rendition
7431attributes without modifying the other attributes.
7432
7433(now if someone just had time to implement blinking cursors...)
7434
7435<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1>
7436
7437Adam Tla/lka &lt;atlka@pg.gda.pl&gt; told me a couple of weeks ago that I'd missed
7438some of the background coloring in xterm.  I investigated, and found that while
7439I'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd
7440overlooked the insert/delete lines.  Just so I wouldn't overlook any more of
7441these, I updated a copy of vttest to test ISO colors and bce (background color
7442erase).  This patch introduces a new function, ClearCurBackground, whose calls
7443replace the direct XClearArea calls that I'd overlooked.
7444
7445(There's also a few compiler warnings fixed, etc ;-)
7446
7447<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1>
7448
7449This fixes the problem reported by David Dawes, by making the 50msec select
7450timeout for the Xaw3d arrow scrollbar a resource.  (I made it a boolean for a
7451variety of reasons -- to make it a number, you'd need an additional resource,
7452to avoid breaking the logic).
7453
7454<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1>
7455
7456This patch brings the termcap and terminfo descriptions for xterm up to date.
7457I made the following changes:
7458<UL>
7459	<LI>reformatted the terminfo description in a single-column (this is ok
7460	  for terminfo, and will simplify future patches -- can't do that for
7461	  termcap, since it would impact buffer requirements on some systems).
7462
7463	<LI>omitted obsolete features in termcap to save a little space (bs, pt)
7464
7465	<LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF)
7466
7467	<LI>corrected some capabilities (vi, ve)
7468
7469	<LI>added 'st' (set tab)
7470
7471	<LI>reduced function keys in termcap for 'xterm' to 12 because color
7472	  capabilities makes that description larger than 1023 characters.
7473
7474	<LI>created new termcap name 'xtermm' (monochrome) to match the terminfo
7475	  list, and make that description have 20 function keys.
7476
7477	<LI>added corresponding color capabilities to terminfo (bce, colors,
7478	  pairs, op, ncv, setab, setaf)
7479
7480	<LI>corrected corresponding capabilities in terminfo (civis, cnorm,
7481	  rmcup, smcup)
7482
7483	<LI>added capabilities (el1, hts)
7484
7485	<LI>in both, corrected home/end keys to match the code correction made
7486	  by Thomas Mueller in 3.1.2Bk
7487
7488	  <P>=&gt; (I'm still considering modifying the code &amp; description to match
7489	      the rxvt program).
7490</UL>
7491
7492<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1>
7493
7494This corrects my earlier changes for colors - the inner border of the xterm was
7495getting painted with the wrong color, since I'd moved the call to set the
7496background into the logic that tracks SGR information.
7497
7498<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1>
7499
7500This corrects a memory leak in xterm that happens whenever one switches fonts.
7501
7502<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1>
7503
7504This patch corrects the behavior of the ANSI colors in xterm when reverse
7505video is used, as well as some other lesser sins:
7506<UL>
7507	<LI>button.c
7508<UL>
7509		<LI>(compiler warnings: shadowing of 'time', redundant cast)
7510</UL>
7511
7512	<LI>charproc.c
7513<UL>
7514		<LI>renamed screen.colors[] array to screen.Acolors[] to more
7515		easily distinguish the non-ANSI colors from the ANSI colors.
7516
7517		<LI>moved logic of SGR_Save() into VTInitialize, getting rid of
7518		local private variables original_fg and original_bg.
7519
7520		<LI>moved some logic into getXtermForeground and getXtermBackground
7521		from SGR_Foreground, SGR_Background, etc.
7522
7523		<LI>corrected misleading 'row' to 'col' in case for CUF, CUB
7524		sequences.
7525</UL>
7526
7527	<LI>ctlseqs.ms
7528	<LI>xterm.man
7529<UL>
7530		<LI>(correct a misconception which I'd added that the color0
7531		through color6 resource values apply to non-ANSI colors)
7532</UL>
7533
7534	<LI>ptyx.h
7535<UL>
7536		<LI>added original_fg, original_bg to TScreen structure.
7537</UL>
7538
7539	<LI>scrollbar.c
7540<UL>
7541		<LI>(compiler warnings: redundant cast)
7542</UL>
7543
7544	<LI>util.c
7545<UL>
7546		<LI>new functions getXtermForeground and getXtermBackground replace
7547		the macros GET_FG and GET_BG, with the added functionality of
7548		checking for the reverse-video status of xterm.
7549
7550		<LI>in ReverseVideo, swap the SGR foreground and background colors
7551		also.
7552</UL>
7553</UL>
7554
7555<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1>
7556
7557I observed an occasional glitch in the xterm's color behavior; a clear to end
7558of line would get a color that had been used in a program that supposedly reset
7559colors.  I traced this down to the way xterm was modifying colors of GC's on
7560the fly; it didn't restore the original color of the GC, even though it would
7561later be used in functions (such as ClearRight) that assumed (my error) that
7562the GC would have the current foreground or background color.
7563<P>
7564I fixed this by resetting the GC's colors with a new function 'resetXtermGC()',
7565and direct calls on SGR_Foreground/SGR_Background, as appropriate and using a
7566new function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's
7567color.  (I also removed some commented-out code that was trying to do this --
7568the problem was a little more obscure).
7569
7570<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1>
7571
7572This patch fixes the remaining problems that I had making xterm run with x11r5,
7573as well as a couple of other bugs.  It follows my patch from yesterday, that
7574added ifdef's for some of the input-method resources.
7575<UL>
7576	<LI>corrected ifdef's that suppress the input-method code (doesn't
7577	  exist in my x11r5, and xterm works adequately without it).
7578
7579	<LI>corrected fallback definition for 'Select()' macro (oops: I'd
7580	  copied the wrong text...)
7581
7582	<LI>moved the declarations for the fd_set variables to data.[ch]
7583
7584	<LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h)
7585
7586	<LI>corrected (in main.c) some unused/orphaned variables.
7587</UL>
7588
7589<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1>
7590
7591This is mostly a documentation patch for xterm.  It describes the color control
7592sequences in more detail, and documents some other features of xterm that
7593aren't described elsewhere.
7594<P>
7595I've also added a couple of ifdef's to fix (part of) the problem that I'm
7596working on (making the program work properly on x11r5, where I'm doing memory
7597testing -- I have a "good" version from mid-January, but my resync version
7598doesn't work properly on x11r5).  I'm not done with <EM>that</EM> yet.
7599
7600<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1>
7601
7602I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF).  I've got an S3 card.
7603<P>
7604This fixes the following in the 3.1.2n xterm:
7605<UL>
7606	<LI>initialize cur_foreground, cur_background in charproc.c (Purify
7607	  told me they weren't initialized).
7608
7609	<LI>add interpretation of codes 39, 49, to reset background and
7610	  foreground to default value (I'm told that ISO 6429 does this; but I
7611	  don't have a written reference -- yet -- can anyone help here?).
7612	  Anyway, rxvt does it, and it'll solve my remaining color management
7613	  problems.
7614
7615	<LI>shadowing of 'time' in menu.c
7616
7617	<LI>'Cardinal' vs 'int' in scrollbar.c
7618
7619	<LI>several changes to permit compile with X11R5 (the system that I've
7620	  got Purify on won't be upgraded to X11R6 for a long time).
7621</UL>
7622<P>
7623I built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so
7624that I can test it some more with Purify.
7625<P>
7626<EM>btw</EM>:
7627the changes made in Xpoll.h won't work on some older systems, because
7628	fd_set isn't a defined type (I've got one machine at least that this
7629	applies to).
7630
7631<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1>
7632
7633This patch does all of the SGR foreground/background fixes (i.e., clearing the
7634screen after an SGR color is set causes that color to be used in the foreground
7635and/or background).  If the FG_COLOR and/or BG_COLOR flags aren't set, then the
7636xterm foreground and background default to the window's values.  This usage is
7637consistent with various types of hardware (especially the IBM PC), and is also
7638used in rxvt.
7639<UL>
7640	<LI>charproc.c:
7641<UL>
7642		<LI>add/use new macros GET_FG, GET_BG - n/c.
7643
7644		<LI>add/use new functions SGR_Foreground() and SGR_Background()
7645		  to set corresponding colors in GC's, and to retain sense of
7646		  "original" colors.
7647
7648		  <P>
7649		  =&gt; This makes redundant some of the corresponding logic
7650		     in HideCursor to set the foreground and background,
7651		     but I left it in since it <EM>may</EM> be fixing an unrelated
7652		     requirement.
7653
7654		<LI>set GC's in LoadNewFont() according to whether the SGR fg/bg
7655		  colors are active.
7656
7657		  <P>
7658		  =&gt; This fixes some glitches in the accompanying resize,
7659		     that leaves parts of the window in the original
7660		     background color.
7661</UL>
7662
7663	<LI>screen.c:
7664<UL>
7665		<LI>modified ClearBufRows() to use the SGR fg/bg colors if
7666		  they're set.
7667
7668		<LI>added function ScrnClearLines(), used this to replace
7669		  portions of ScrnInsertLine() and ScrnDeleteLine().
7670		  The new function uses the SGR fg/bg colors if they're
7671		  set.
7672
7673		  <P>
7674		  =&gt; Otherwise, selection after an index or reverse index will
7675		     paint the wrong colors.
7676
7677		<LI>modified ScrnDeleteChar() and ScrnInsertChar()
7678		  to use SGR fg/bg colors.
7679</UL>
7680
7681	<LI>util.c:
7682<UL>
7683		<LI>modified ClearRight() so that if either of the SGR fg/bg
7684		  colors is set, we don't bzero the attributes and color
7685		  arrays, but instead fill them with the appropriate codes.
7686
7687		<LI>modified ClearLeft to use SGR fg/bg colors.
7688</UL>
7689</UL>
7690
7691<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1>
7692
7693This patch modifies the object code, by replacing indexing expressions with
7694temporary variables with the full indexing expression.  At first glance, this
7695seems inefficient (it did to me ;-), until remembering comments made in the
7696compilers newsgroups that trying to "help" the compiler doesn't really work
7697that well.  A good optimizing compiler can do a better job than the programmer
7698can.  (There's a moral in the use of 'register' variables also, but I won't fix
7699those...).
7700<P>
7701Anyway, the revised code generates a smaller object...
7702<UL>
7703<LI>charproc.c:
7704<UL>
7705<LI>recode index expressions in ShowCursor() and HideCursor()
7706		  using SCRN_BUF_xxxxS macros - changes object.
7707
7708<LI>replace constant '4' by MAX_PTRS - n/c.
7709</UL>
7710
7711<LI>ptyx.h:
7712<UL>
7713<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS
7714		  macros, to pick up references to ScrnBuf data directly, and
7715		  added MAX_PTRS symbol to pick up those '4' constants strewn
7716		  about the code - n/c.
7717</UL>
7718
7719<LI>screen.c:
7720<UL>
7721<LI>recode index expressions in ScreenWrite() using
7722		  SCRN_BUF_xxxxS macros - changes object.
7723
7724<LI>replace constant '4' by MAX_PTRS - n/c.
7725
7726<LI>use macros BUF_CHARS, BUF_ATTRS - n/c.
7727
7728<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c
7729</UL>
7730
7731<LI>scrollbar.c:
7732<UL>
7733<LI>replace constant '4' by MAX_PTRS - n/c.
7734
7735<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c
7736</UL>
7737</UL>
7738
7739<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1>
7740When setting up for this phase, I saw that you'd corrected the bug that I found
7741in ClearLeft.  I decided to make this series of patches anyway, since
7742readability never hurt (and there's the potential for finding another bug while
7743reviewing this set).
7744<UL>
7745<LI>button.c:
7746<UL>
7747<LI>use SCRN_BUF_xxxxS macros - n/c
7748</UL>
7749<LI>charproc.c:
7750<UL>
7751<LI>use SCRN_BUF_xxxxS macros - n/c
7752</UL>
7753<LI>ptyx.h:
7754<UL>
7755<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS,
7756		  SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four
7757		  arrays that are derived from screen-&gt;buf.
7758</UL>
7759<LI>screen.c:
7760<UL>
7761<LI>use SCRN_BUF_xxxxS macros - n/c
7762</UL>
7763<LI>util.c:
7764<UL>
7765<LI>use SCRN_BUF_xxxxS macros - n/c
7766</UL>
7767</UL>
7768<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1>
7769
7770This is my third (and final cleanup) patch for xterm.  It gets rid of the
7771unused stuff, and converts several functions to static (thereby reducing their
7772scope).
7773<P>
7774At this point, the only compile warnings I've got (on Linux) are those about
7775the select arguments (int vs fd_set type), and a missing declaration for
7776waitpid.  Those both are hard to get right without autoconfigure.
7777<P>
7778The next patches will address the functional changes...
7779<UL>
7780<LI>Tekproc.c:
7781<UL>
7782<LI>changed several functions to 'static' that aren't used
7783outside this module -- changes object
7784</UL>
7785<LI>charproc.c:
7786<UL>
7787<LI>changed several functions to 'static' that aren't used
7788outside this module -- changes object
7789<LI>deleted unused function unparsefputs -- changes object.
7790</UL>
7791<LI>main.c:
7792<UL>
7793<LI>changed several functions to 'static' that aren't used
7794outside this module -- changes object
7795<LI>ifdef'd out unused function 'consolepr()' -- changes object
7796<LI>removed unused variable 'dummy_tio' -- changes object
7797<LI>moved variable 'discipline' to quiet unused-warning -- changes object
7798</UL>
7799<LI>main.h:
7800<UL>
7801<LI>deleted unused definition of DEFBORDERWIDTH - n/c
7802</UL>
7803<LI>misc.c:
7804<UL>
7805<LI>changed several functions to 'static' that aren't used
7806outside this module -- changes object
7807<LI>provide dummy return statements for xerror and xioerror to
7808quiet compiler warnings -- changes object
7809</UL>
7810<LI>ptyx.h:
7811<UL>
7812<LI>change sbuf_address and abuf_address to 'Char *' - n/c
7813</UL>
7814<LI>resize.c:
7815<UL>
7816<LI>changed several functions to 'static' that aren't used outside this module
7817-- changes object
7818</UL>
7819<LI>screen.c:
7820<UL>
7821<LI>remove unnecessary 'Char **' casts - n/c
7822</UL>
7823<LI>util.c:
7824<UL>
7825<LI>changed several functions to 'static' that aren't used outside this module
7826-- changes object
7827</UL>
7828</UL>
7829<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1>
7830This is my second patch to xterm.  It corrects most of the gcc warnings (except
7831for some that are due to X header files ;-).  I compared objects to keep track
7832of the changes that don't affect the object code (n/c) versus those that do.
7833<P>
7834At this point, I'm compiling (fairly) clean with gcc options
7835<PRE>
7836	-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs
7837</PRE>
7838(I also compiled with -Wshadow, but while that found some things that I wanted
7839to find, there's far too many warnings from the X headers to be usable in this
7840context).
7841<P>
7842The changes:
7843<UL>
7844<LI>Tekproc.c:
7845<UL>
7846<LI>parenthesized expression to avoid gcc warning -- n/c.
7847
7848<LI>corrected nested-extern declaration for Bool
7849		  waiting_for_initial_map; ourTopLevelShellArgs, and
7850		  number_ourTopLevelShellArgs - n/c
7851
7852</UL>
7853<LI>charproc.c:
7854<UL>
7855<LI>corrected potentially-unintialized variables 'scstype', 'xim',
7856		  and 'input_style' -- changes object.
7857
7858<LI>adjusted logic of VTparse so that gcc won't warn about setjmp
7859		  clobbering parsestate -- changes object.
7860
7861<LI>corrected initialization of 'scstype', which could have been
7862		  clobbered by setjmp/longjmp - changes object.
7863
7864<LI>corrected nested-extern declaration of 'term', 'ProgramName'
7865		  - n/c
7866</UL>
7867
7868<LI>cursor.c:
7869<UL>
7870<LI>corrected nested-extern declaration of 'term' -- n/c
7871
7872<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
7873</UL>
7874
7875<LI>input.c:
7876<UL>
7877<LI>change interface of StringInput to assume size_t (i.e.,
7878		  unsigned) nbytes -- changes object.
7879
7880<LI>change interface of funcvalue, and sunfuncvalue to use
7881		  'KeySym' type instead of 'int' - changes object.
7882</UL>
7883
7884<LI>main.c:
7885<UL>
7886<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c
7887
7888<LI>corrected missing params of 'do_hangup()' -- changes object
7889		  (note: the missing params were not used).
7890
7891<LI>corrected missing param of 'Error()' -- changes object
7892
7893<LI>corrected nested-extern 'environ' - n/c
7894
7895<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so
7896		  that gcc can see they won't be clobbered by the longjmp -
7897		  changes object.
7898
7899<LI>use Size_t type - n/c.
7900</UL>
7901
7902<LI>menu.c:
7903<UL>
7904<LI>removed redundant prototype for 'do_hangup()' -- n/c.
7905
7906<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c
7907</UL>
7908
7909<LI>menu.h:
7910<UL>
7911<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c
7912</UL>
7913
7914<LI>misc.c:
7915<UL>
7916<LI>corrected definition of 'HandleFocusChange()' -- changes
7917		  object
7918
7919<LI>cast parameters in call to 'TekExpose()' -- n/c
7920
7921<LI>corrected nested-extern declarations of 'term', 'toplevel',
7922		  ProgramName, and 'environ' -- n/c.
7923
7924<LI>use Size_t type - n/c.
7925</UL>
7926
7927<LI>proto.h:
7928<UL>
7929<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from
7930		  main.c, resize.c to allow use of this symbol in prototypes
7931		  (mostly in xterm.h).
7932
7933<LI>added definition 'Size_t' to use as corrected type for
7934		  strncpy, malloc sizes - n/c.
7935</UL>
7936
7937<LI>resize.c:
7938<UL>
7939<LI>moved SIGNAL_T definition to proto.h -- n/c.
7940
7941<LI>use Size_t type - n/c.
7942</UL>
7943
7944<LI>screen.c:
7945<UL>
7946<LI>use Size_t type - n/c.
7947</UL>
7948
7949<LI>tabs.c:
7950<UL>
7951<LI>corrected nested-extern declaration of 'term' -- n/c
7952</UL>
7953
7954<LI>util.c:
7955<UL>
7956<LI>corrected/supplied parameters to 'TekExpose()' -- changes
7957		  object (note:  'TekExpose()' doesn't use its parameters).
7958
7959<LI>corrected nested-extern declaration of
7960		  'waiting_for_initial_map' -- n/c.
7961
7962<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
7963</UL>
7964
7965<LI>xterm.h:
7966<UL>
7967<LI>prototype 'do_hangup()', 'HandleFocusChange()',
7968		  'TekExpose()', 'Error()', 'Exit()' - forces changes in
7969		  various places.
7970
7971<LI>adjusted prototypes that pass 'Boolean' arguments to use
7972		  'int' (this is the "correct" ANSI approach to extended
7973		  compiles; it's worth mentioning that gcc doesn't meet the
7974		  ANSI spec here).  I used gcc -Wconversion to find these, but
7975		  there's a lot of unrelated warnings that are due to setting
7976		  NARROWPROTO in the config - n/c.
7977
7978<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
7979</UL>
7980</UL>
7981<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1>
7982This is my first cleanup patch for xterm.  It addresses all of the gcc warnings
7983for -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change
7984without modifying the object code.  (I'm compiling this with gcc 2.7.0 for an
7985aout target, which makes it simple to compare objects.  When I do ELF-only,
7986I've got a tool that compares that sort of thing as well).
7987<P>
7988Briefly, this patch adds (and uses) two header files in the xterm directory:
7989<PRE>
7990	proto.h
7991	xterm.h
7992</PRE>
7993I expect this to be the biggest patch by far.  However (barring a misplaced
7994prototype), it shouldn't break anything, since the intent of the patch is to
7995provide missing declarations.
7996</BODY>
7997</HTML>
7998