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