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