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