File: xterm.log.html

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-31
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 171,548 kB
  • ctags: 288,231
  • sloc: ansic: 2,205,256; cpp: 56,016; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,338; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (5113 lines) | stat: -rw-r--r-- 213,727 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
 *****************************************************************************
 * Copyright 1996-2002,2003 by Thomas E. Dickey                              *
 * All Rights Reserved.                                                      *
 *                                                                           *
 * Permission to use, copy, modify, and distribute this software and its     *
 * documentation for any purpose and without fee is hereby granted, provided *
 * that the above copyright notice appear in all copies and that both that   *
 * copyright notice and this permission notice appear in supporting          *
 * documentation, and that the name of the above listed copyright holder(s)  *
 * not be used in advertising or publicity pertaining to distribution of the *
 * software without specific, written prior permission.                      *
 *                                                                           *
 * THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD  *
 * TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND *
 * FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE *
 * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES         *
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN     *
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   *
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.            *
 *****************************************************************************
  $XFree86: xc/programs/xterm/xterm.log.html,v 1.92 2003/02/25 23:36:55 dickey Exp $
  -->
<HTML>
<HEAD>
<TITLE>XTERM - Change Log</TITLE>
<LINK REV=MADE HREF="mailto:dickey@invisible-island.net">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<HR>
Copyright 1997-2002,2003 by <A
HREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A>
<HR>
<H1>Contents</H1>
This file contains a list of the changes that I have made for XFree86 xterm,
from the notes that I add when submitting a patch.
<P>
You should note that other changes have been made as well, by other people,
to fix bugs and correct ifdef's for portability.  All of these are summarized
in the XFree86 CHANGELOG (found in the unbundled tree,
xc/programs/Xserver/hw/xfree86).

<UL>
<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A>
<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A>
<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A>
<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A>
<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A>
<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A>
<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A>
<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A>
<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A>
<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A>
<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A>
<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A>
<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A>
<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A>
<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A>
<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A>
<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A>
<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A>
<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A>
<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A>
<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A>
<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A>
<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_141">Patch #141 - 2000/7/14 - XFree86 4.0.1b</A>
<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A>
<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A>
<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A>
<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A>
<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A>
<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A>
<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A>
<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A>
<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A>
<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A>
<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A>
<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A>
<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A>
<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A>
<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A>
<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A>
<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A>
<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A>
<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A>
<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A>
<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A>
<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A>
<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A>
<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A>
<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A>
<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A>
<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A>
<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A>
<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A>
<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A>
<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A>
<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A>
<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A>
<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A>
<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A>
<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A>
<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A>
<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A>
<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A>
<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A>
<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A>
<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A>
<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A>
<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A>
<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A>
<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A>
<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A>
<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A>
<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A>
<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A>
<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A>
<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A>
<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A>
<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A>
<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A>
<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A>
<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A>
<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A>
<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A>
<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A>
<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A>
<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A>
<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A>
<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A>
<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A>
<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A>
<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A>
<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A>
<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A>
<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A>
<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A>
<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A>
<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A>
<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A>
<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A>
<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A>
<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A>
<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A>
<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A>
<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A>
<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A>
<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A>
<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A>
<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A>
<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A>
<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A>
<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A>
<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A>
<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A>
<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A>
<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A>
<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A>
<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A>
<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A>
<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A>
<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A>
<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A>
<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A>
<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A>
<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A>
<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A>
<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A>
<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A>
<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A>
<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A>
<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A>
<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A>
<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A>
<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A>
<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A>
<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A>
<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A>
<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A>
<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A>
<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A>
<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A>
<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A>
<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A>
<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A>
<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A>
<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A>
<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A>
<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A>
<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A>
<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A>
<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A>
<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A>
<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A>
<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A>
<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A>
<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A>
<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A>
<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A>
<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A>
<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A>
<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A>
<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A>
<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A>
<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A>
<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A>
<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A>
</UL>

<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1>
<ul>
	<li>work-around for XFree86 bug which made <code>XDefineCursor()</code>
	    on a shell-window no longer work.  The tek4014 emulation used this. 
	    Use the next lower window (report by Karl Rudolf Bauchspiess).

	<li>add a resource setting to control whether the extended window
	    operations should be allowed, e.g., resize, iconify, report
	    window attributes.  This is to accommodate people who are not
	    capable of using a pager to view log-files.
</ul>

<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1>
<ul>
	<li>reset mouse mode to normal on a full reset.  This does not apply
	    to mouse hilite tracking mode, of course (see ctlseqs.ms).

	<li>add a time-delay at the point where mouse hilite tracking mode
	    choses to not handle X events, to avoid runaway CPU usage
	    (report by D Hugh Redelmeier).

	<li>check for illegal character in DECUDK string, quit if detected.
</ul>

<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1>
<ul>
	<li>fixes to make repainting of 256-color example work properly
	  (reports by Abigail Brady and Scott A Crosby).
	  <ul>
	   <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color
	     is allocated once only.
	   <li>fix check in <code>ScrnRefresh</code>, which was comparing
	     background colors only if the ANSI foreground colors also were set.
	  </ul>

	<li>merge <code>Error()</code> calls and some <code>exit()</code> calls
	  into <code>SysError()</code>, and change that to add the brief
	  explanation for each error code which is provided in the manpage. 
	  Change a few <code>SysError()</code>, calls to avoid using code 1, to
	  avoid confusion with exit status from places that do not use
	  <code>SysError()</code>.

	<li>simplify logic used to open a debug logfile as the standard error.

	<li>modify the <code>-e</code> option so that if it fails, xterm will
	  check if only one argument follows, e.g., it was quoted, and then
	  retry using <code>sh&nbsp;-c</code>.

	<li>modify parsing of DECUDK string parameter to allow a comma between
	  pairs of hexadecimal digits (Ray Neuman &lt;raymond@one.com.au&gt;
	  reports that "real" terminals accept this; perhaps they simply
	  ignore unexpected characters).

	<li>fix a few problems with the <code>$TERMCAP</code> string generated
	  by <code>resize</code>:
	  <ul>
	   <li>for Bourne shell, add an <code>export</code> command.
	     This was missing as far back as X11R5.
	   <li>escape exclamation marks, used in xterm's reset string.
	   <li>translate literal <code>\177\</code> to "^?".
	  </ul>

	<li>improve configure check for <code>tgetent()</code> to work when
	  <code>$TERMCAP</code> has been set to a specific entry.

	<li>modify <code>minstall.sh</code> to use "%" rather than "@",
	  to avoid problems with AFS (report by Zdenek Sekera).

	<li>list fatal error codes from <code>error.h</code> in the manpage,
	  remove unused codes in <code>error.h</code>.

	<li>use more explicit wording for manpage list of color resources,
	  since at least one user confused the generic names such as "black"
	  with the names in rgb.txt (the latter are now used).

	<li>minor fix to description of 1003 mouse mode in ctlseqs.ms
	  (Larry Riedel).
</ul>

<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1>
<ul>
	<li>modify parser tables to improve detection of malformed control
	  sequences, making xterm behave more like a real DEC terminal
	  (patch by Paul Williams).

	<li>update comment in <code>input.c</code> to document
	  <code>Meta</code> as a modifier for escape sequences (patch by D
	  Roland Walker).

	<li>add ifdef'd code for logging option which adds the hostname and a
	  timestamp to the generated logfile name.  The ifdef's are setup
	  with the configure script (patch by Nelson Beebe).

	<li>remove <code>xevents()</code> call from the end of
	  <code>BlinkCursor()</code>, to fix an occasional problem
	  which caused xterm to pause until a key was pressed.
	  The reason for this was that there was no check to ensure that
	  there really were events for <code>xevents()</code> to process.
	  (patch by Semen A Ustimenko &lt;semenu@FreeBSD.org&gt;).

	<li>remove unused mode-params from <code>open()</code> calls that do
	  not create a file.

	<li>modify configure script to put new items first on
	  <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict
	  with environment's <em>-I</em> and <em>-D</em> options.

	<li>update config.guess, config.sub

	<li>resync with XFree86 CVS:
	<ul>
	  <li>fix va_args glitches for xterm/libfontconfig:  0 == (void*)0
	    isn't true for all platforms (Egbert Eich).
	  <li>initialise ProgramName in xterm's main before referencing it
	    (#5473, Peter Valchev).
          <li>some cleanup of Imakefile ifdef's (Marc La France).
	</ul>
</ul>

<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1>
<ul>
	<li>correct an off-by-one allocating data for sorted help message.

	<li>modify configure script to check for Xpm library, on which XFree86
	  Xaw library depends.

	<li>update config.guess, config.sub
</ul>

<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1>
<ul>
	<li>modify wording of some options in help message to make them use
	  <code>-/+</code> consistently with respect to "on/off" or "off/on".

	<li>sort options list which is displayed in help- and syntax-messages
	  at runtime to simplify maintenance.

	<li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it
	  was removed from XFree86 server; there have been no users since
	  1996).

	<li>add configure script option <code>--disable-session-mgt</code>
	  to control whether the session management code should be compiled-in
	  (request by H Merijn Brand).

	<li>ifdef'd the session-management changes with
	  <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates
	  the related definitions.

	<li>fix <code>decode_keyvalue()</code>, which did not properly parse
	  multiple settings as needed for the <code>ttyModes</code> resource,
	  since it did not skip over the parsed data.

	<li>fix an option-parsing conflict between <code>-class</code> and
	  <code>-cjk_width</code> (Nam SungHyun)

	<li>add a missing null in <code>XtVaSetValues()</code> call used in
	  <code>Cleanup()</code> (Nam SungHyun)
</ul>

<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1>
<ul>
	<li>improve data reported for control sequence that requests window
	  position by taking into account the window decorations, e.g.,
	  border and title (patch by Jess Thrysoee &lt;jess@thrysoee.dk&gt;).

	<li>add <code>-cjk_width</code> and corresponding resource
	  <code>cjkWidth</code> (patch by Jungshik Shin
	  &lt;jshin@mailaps.org&gt;).

	<li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk
	  application (patch by George Peter Staplin &lt;georgeps@xmission.com&gt;).

	<li>add simple session management (XSM) client capabilities to xterm. 
	  So a session manager such as, e.g., xsm, should be able to respawn or
	  kill xterms without the help of an SM proxy (like smproxy), which is
	  a hack and almost always buggy (patch by David Madore).

	<li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and
	  <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich).

	<li>fix for inconsistent use of <code>struct utmp</code> versus
	  <code>struct utmpx</code> introduced in patch #167 (patches by Paul
	  Gilmartin, Marc La France).

	<li>modify logic for <code>metaSendsEscape</code> to allow it to work
	  in a setup where the Meta-key is not recognized as a modifier by
	  the key-translations logic (from a discussion of eightBitInput
	  with H.J.Lu, however Vincent Lefevre reported this in January).

	<li>use null pointer values consistently, rather than literal "0", for
	  ending variable-length argument lists, e.g., for
	  <code>execlp()</code> (based on patch by Matthieu Herrb).

	<li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would
	  do a screen repaint after replying to a request for information.

	<li>improve scripts in vttests to work with systems whose shells support
	  <code>echo -n</code> and have, as does Debian, an unrelated
	  <code>print</code> utility.

	<li>add vttests/acolors.sh to demonstrate OSC 4, which queries or
	  sets ANSI colors.

	<li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).

	<li>typos in xterm manpage (Jens Schweikhardt)

	<li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun)
</ul>

<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1>
<ul>
	<li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin
	  configuration.

	<li>fix several places in ctlseqs.ms which had no boxes around the
	  literal text (report by Ilya Zakharevich).

	<li>integrated patch from Ilya Zakharevich to extend mouse support for
	  readline (ifdef'd with OPT_READLINE).

	<li>modify terminfo description to match default for
	  <code>modifyCursorKeys</code> resource.

	<li>add <code>modifyCursorKeys</code> resource to control how the
	  shift- and similar modifiers are used to make a cursor escape
	  sequence.  The default makes a modified escape sequence always start
	  with CSI and puts the modifier as the second parameter, to avoid
	  confusing applications that would interpret the first parameter as a
	  repeat count.  The original behavior can be obtained by setting the
	  resource to 0 (from newsgroup discussion with Stephen J Turnbull
	  and Jeffrey Altman).

	<li>correct missing initializations for <code>appdefaultCursor</code>
	  and <code>appdefaultKeypad</code> resources.

	<li>add configure option <code>--enable-luit</code> and ifdef'd the
	  luit-related code with OPT_LUIT_PROG.

	<li>integrate patch by Tomohiro KUBOTA from
	  http://www.xfree86.org/pipermail/i18n/2002-July/003378.html which
	  modifies xterm to invoke luit.

	<li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version.

	<li>correct limit-checking in <code>ComputeSelect()</code> to handle
	  selections that extend off the visible area; rather
	  than modify the parameters to <code>TrackText()</code>, use
	  <code>ScrollSelection()</code> to update the highlighting limits.
	  (reported by Yegappan Lakshmanan and Nelson Beebe,
	   patch by Alexander V Lukyanov).

	<li>correct manpage description of <code>tiXtraScroll</code> resource
	  (reported by Tony Finch).

	<li>changes from OpenBSD:
	<ul>
	   <li>Make xterm setgid utmp to be able to update utmp even
	   with root privileges revoked.
	   <li>If not updating utmp, revoke group privileges totally too.
	</ul>

	<li>changes from NetBSD:
	<ul>
	 <li>Check that the return value from ttyslot() is greater than 0
	  before writing the utmp file.
	  Fixes w's "w: Stale utmp entry: &lt;user&gt; &lt;tty&gt; &lt;pty&gt;" errors.
	 <li>Use openpty() to deal with new pty naming scheme.
	</ul>

	<li>add <code>print-redir</code> action and menu entry to allow user to
	  switch terminal in/out of printer controller mode.  It appears from
	  the manual that a real vt220 would not switch back to normal mode, so
	  another mechanism is used (addresses Debian #37517).

	<li>check if <code>printerCommand</code> resource string is empty, use
	  this to allow user to disable printer function.

	<li>trim trailing blanks from resource strings.

	<li>check return value from <code>ptsname()</code>, which may return
	  null for example if someone has changed the permissions of /dev/pts
	  to zero (Debian #121899).

	<li>modify OS/2 version to use <code>__UNIXOS2__</code> definition
	  rather than <code>__EMX__</code>, related cleanup (patch by Holger
	  Veit).

	<li>used modified indent 2.0
	  (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>)
	  to reformat most of the C source files, to simplify maintenance.

	<li>fix a couple of places where there were leading tabs on
	  symbol-definition lines in Imakefile (Marc La France from report by
	  Tony Finch)

	<li>add imake variable (TraceXTerm) to allow building debug version
	  (Egbert Eich).
</ul>

<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1>
<ul>
	<li>correct a bug in selection: double clicking on a word which
	  was partly scrolled off the screen may select that text (report
	  by Vincent Lefevre &lt;vincent@vinc17.org&gt;).

	<li>implement <code>veryBoldColors</code> resource to control whether
	  the corresponding video attribute such as <code>bold</code> is
	  displayed when using <code>colorBDMode</code>, etc.  (request by Josh
	  Howard &lt;jrh@vicor-nb.com&gt;).

	<li>define escape sequences for function keys F21-F35 (patch by Steve Wall).

	<li>change the colors for the 256-color model, making them less skewed
	  toward black (patch by Steve Wall).

	<li>add <code>vt100Graphics</code> resource
	  (see <a href="#xterm_115">patch #115</a>,
	  based on discussion with Glenn Maynard).

	<li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential
	  incompatibilities between these flavors of Athena widgets.

	<li>add configure check for XFree86 4.x Xaw library, whose geometry
	  management is broken, to avoid trying to use it for toolbar
	  configuration.

	<li>updates to configure script from vile and lynx to allow
	  configure.in to be compiled with autoconf 2.5x

	<li>add a check for null pointer return by <code>ptsname()</code>
	  (newsgroup posting from Mike Silva &lt;mikesilva@lucent.com&gt;).

	<li>fill in a few details needed to allow UTF-8 mode to switch on/off
	  after startup.  This requires that <code>wideChars</code> resource be
	  set.  (based on comments in 4 Aug 2001 by Alexey Marinichev
	  &lt;lyosha@lyosha.2y.net&gt;).

	<li>remove duplicate install rules that make directories, e.g., so installing
	  manpage will not create app-defaults directory.

	<li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31
	  for for Konsole (request by Stephan Binner
	  &lt;Stephan.Binner@gmx.de&gt;).

	<li>fixes for ctlseqs.ms and xterm.man
	  (patch by Werner LEMBERG &lt;wl@gnu.org&gt;).

	<li>add check for monochrome display, disabling colorMode in that
	  case (fixes Debian #134130).

	<li>resync with XFree86 CVS:
	<ul>
	   <li>Fix some xterm build warnings on *BSD (David Dawes).
	   <li>Only use SA_RESTART in xterm when it's available (Frank Liu).
	   <li>Fix incorrect code in signal handlers in most of the clients,
	     xterm and xdm not done yet (Matthieu Herrb).
	</ul>
</ul>

<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1>
<ul>
	<li>modify <code>uxterm</code> script to strip encoding part from
	  environment variable before adding ".UTF-8" (based on Debian
	  #125947, but using a more portable solution).

	<li>add an assignment statement in VTInitialize() to make
	  <code>awaitInput</code> resource work.

	<li>use new macros init_Bres(), etc., in VTInitialize() to add trace of
	  the initialization of resources.

	<li>modify checks for $LC_ALL, related environment variables to ensure
	  the resulting strings are nonempty (report by Markus Kuhn).

	<li>add an ifdef in charproc.c for num_ptrs variable in case all
	  configure options are disabled.

	<li>modify definition of getXtermBackground() to avoid negative array
	  index warning on Tru64 (report by Jeremie Petit).

	<li>improve fix from patch #165 (still Debian #117184, report by Matt
	  Zimmerman &lt;mdz@debian.org&gt;)

	<li>correct install rule for uxterm in Makefile.in, to handle the
	  case where building in a different directory than xterm's source
	  (patch by Paul Gilmartin).

	<li>documented ANSI.SYS-style cursor save/restore escape sequences
	  in ctlseqs.ms, which are in xterm since X11R5.

	<li>correct two entries in the default charClass table, which did not
	  follow the manpage comment about the character number corresponding
	  to the class (patch by Marc Bevand &lt;bevand_m@epita.fr&gt;).

	<li>fix a couple of typos in comments in the app-defaults files
	  (David Krause &lt;xfree86@davidkrause.com&gt;).

	<li>resync with XFree86 CVS:
	  <ul>
	  <li>update language of copyrights in some files to reflect the fact
	      that they were reassigned from X Consortium to The Open Group in
	      1998.  Note that this xterm source is derived from the 1996
	      version from X Consortium, does not incorporate changes made by X
	      Consortium or The Open Group after that date, hence we do not add
	      The Open Group's 1998 copyright date to related files.

	  <li>save/restore <code>errno</code> in signal catcher (Matthieu Herrb).

	  <li>modify UXTerm.ad's font5 resource so that xterm can display double
	      width characters using a font distributed with XFree86 (Tomohiro KUBOTA).
	  </ul>
</ul>

<H1><A NAME="xterm_164">Patch #163 - 2001/11/13 - XFree86 4.1.0</A></H1>
<ul>
	<li>correct a case where <code>ptyInitialErase</code> and
	  <code>backarrowKeyIsErase</code> resources combine to set
	  <code>DECBKM</code> mode, but a <code>reset</code> command would not
	  reset xterm to that state, making the erase character revert to ^H
	  (Debian #117184)
</ul>

<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1>
<ul>
	<li>correct ifdef's for <code>__QNX__</code> and
	  <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>,
	  which broke bash behavior around patch #140 (report/patch by Frank
	  Liu &lt;fliu@mail.vipstage.com&gt;).

	<li>modify trace.c to fix missing definition of GCC_UNUSED for
	  compilers other than gcc when configured for trace code (report/patch
	  by Paul Gilmartin).

	<li>change format in TraceOptions() to use long rather than int, since
	  the latter could lose precision on 64-bit machines (report/patch by
	  Nelson Beebe).

	<li>modify xterm manual page and minstall.sh to allow imake rules
	  to define location of app-defaults directory (Debian #87611). 

	<li>review/update list of conflicting preprocesor symbols to remove
	  from $CPPFLAGS at the end of the configure script.  In particular,
	  this allows one to configure xterm without the utempter library on
	  Redhat 7.1 (report/patch by Adam Sulmicki).
</ul>

<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1>
<ul>
	<li>correct logic that processes <code>-class</code> option, so that
	  a following <code>-e</code> option is handled (Debian #116297).

	<li>improve options-decoding to allow <code>-version</code> and
	  <code>-help</code> options to be combined (Debian #110226).

	<li>add a 10 millisecond delay in event loop when processing
	  <code>-hold</code> option, to avoid using too much CPU time
	  (Debian #116213).

	<li>prefix final program execution in <code>uxterm</code> with "exec"
	  to avoid a useless shell hanging around (Christian Weisgerber).
</ul>

<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1>
<ul>
	<li>modify logic that resets keypad application mode to avoid doing
	   this if there is no modifier associated with the Num_Lock keysym
	   (report by John E Davis &lt;davis@space.mit.edu&gt; and Alan W Irwin
	   &lt;irwin@beluga.phys.uvic.ca&gt;).

	<li>add built-in translation for Control/KP_Separator to KP_Subtract,
	   to accommodate users who wish to use xmodmap to reassign the top
	   row of the numeric keypad.

	<li>correct Imakefile install-rule for <code>uxname</code> script
	   (reported by Nam SungHyun &lt;namsh@lge.com&gt;).

	<li>resync with XFree86 CVS: correct typo in <code>&lt;ncurses/term.h&gt;</code>
	   ifdef.
</ul>

<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1>
<ul>
	<li>modify logic in main.c
	    (see <a href="#xterm_145">patch #145</a>) to avoid generating the
	    same identifier, for example, for /dev/tty1 and /dev/pts/1, which
	    is used to denote an entry in the utmp file (Debian bug report
	    #84676),  A similar fix was also sent by Jerome Borsboom
	    &lt;borsboom@westbrabant.net&gt; in May, but I overlooked it when
	    reviewing bug reports.

	<li>add configure check for <code>&lt;ncurses/term.h&gt;</code> to get
	    rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c
	    <p>
	    NOTE: The CYGWIN port should not be linking <code>resize</code>
	    with ncurses.  It appears that the only reason it is, is because
	    both the ncurses and termcap ports on that platform are badly
	    misconfigured (essential pieces have been removed, etc).  Checking
	    for <code>&lt;ncurses/term.h&gt;</code> does not hurt anything,
	    since there are some correct installations that are set up that
	    way.

	<li>add a sample <code>uxterm</code> script, which uses the
	    <code>UXTerm</code> application defaults for UTF-8 environments.

	<li>undo change to xterm application defaults, since this introduced an
	    unnecessary incompatibility.  The intended functionality was
	    already addressed by the <a href="#xterm_141">UXTerm</a>
	    app-defaults file.

	<li>resync with XFree86 CVS:
	<ul>
	<li>Modified xterm app default to use LFD fontnames instead of old type
	    (Michael Schroeder).
	<li>Fix xterm when XIM is disabled - caused a segfault
	    (Tomohiro Kubota).
	</ul>
</ul>

<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1>
<ul>
	<li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch
	   #158 from the second <code>TIOCSSIZE</code> ioctl call in the
	   initialization code.  Paul Gilmartin reports that for Solaris 2.6
	   (sparc), stty does not show that xterm sets rows and columns unless
	   the second ioctl is executed.

	<li>correct treatment of empty parameter list for some OSC strings
	   (report by Sami Farin &lt;sfarin@ratol.fi&gt;).
</ul>

<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1>
<ul>
	<li>augment key translations for scrollbar widget to ensure that
	   keystrokes intended for the text area are not lost if the mouse
	   pointer happens to fall on the scrollbar.  This can happen, for
	   instance, if the user's <code>app-defaults</code> or
	   <code>.Xdefaults</code> file contains a translations resource,
	   though it may also happen through unrelated resource settings:
	   probably a bug in libXt (reported by Paul Fox
	   &lt;pgf@foxharp.boston.ma.us&gt; and Dmitry Yu.  Bolkhovityanov
	   &lt;D.Yu.Bolkhovityanov@inp.nsk.su&gt;).

	<li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on
	   Solaris, for compilers other than gcc.  This was added along
	   <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch
	   #151</a>, but is not sufficient since Sun's compiler does not define
	   <code>__STDC__</code> by default (report by Matthias Scheler
	   &lt;tron@zhadum.de&gt;).

	<li>modify xterm to obtain the closest matching color if an exact color
	   is not available, e.g., on 8-bit displays (patch by Steve Wall)

	<li>patch by Tomohiro KUBOTA &lt;tkubota@riken.go.jp&gt; to implement
	  "OverTheSpot" preedit type of XIM input:
	  <ul>
	  <li>This preedit type is a reasonable compromise between
	    simpleness of implementation and usefulness.  "Root" preedit
	    type is easy to implement but not useful; "OnTheSpot" preedit
	    type is the best in the point of view of user interface but
	    very complex.  And more, "OverTheSpot" is the preedit type
	    which the most XIM servers support.  Thus, to achieve reasonable
	    usability, support of "OverTheSpot" preedit type is needed.

	  <li>In "OverTheSpot" preedit type, the preedit (preconversion)
	    string is displayed at the position of the cursor.  On the
	    other hand, it is XIM server's responsibility to display
	    the preedit string.  Thus, it is needed for XIM client (here
	    XTerm) to inform the XIM server of the cursor position.
	    And more, to achieve good visual proportion, preedit string
	    must be written using proper font.  Thus, it is XIM client's
	    responsibility to inform the XIM server of the proper font.
	    The font must be supplied by "fontset".  Fontset is a set of
	    fonts with charsets which are specified by the current locale.
	    Since XTerm uses ISO10646 fonts regardless of the current locale,
	    the fonts for XIM must be prepared separately.  It is difficult
	    to prepare fonts which are similar to XTerm font.  Thus, my
	    patch uses a simple way - the default font is "*" which matches
	    every fonts and X library will automatically choose fonts with
	    proper charsets.  I added "-fx" command option and "ximFont"
	    resource to override this default font setting.

	  <li>changed the definition of "OverTheSpot" preedit type
	    from XIMPreeditPosition|XIMStatusArea
	    to XIMPreeditPosition|XIMStatusNothing.
	    This matches the behavior of other programs such as
	    Rxvt, Kterm, Gedit.

	  <li>A tiny XIM bugfix is also included.  By calling XSetLocaleModifiers()
	    with parameter of "", it can consier XMODIFIERS environmental
	    variable which is a standard way for users to specify XIM server
	    to be used.
	  </ul>

	<li>adjust configure script to accommodate repackaging of keysym2ucs.c
	  as include-file for xutf8.c (patch by Tomohiro KUBOTA
	  &lt;kubota@debian.org&gt;).

	<li>add the <code>UXTerm</code> app-defaults file to makefile install
	  rules (request by Juliusz Chroboczek).

	<li>correct logic in <code>get_termcap()</code>, which returned false
	  if the <code>tgetent()</code> call indicated that xterm was linked
	  with terminfo.  Although the <code>$TERMCAP</code> variable cannot be
	  adjusted in this case, xterm still needs information from this call
	  to extract data to initialize the erase-mode when the
	  <code>ptyInitialErase</code> resource is false.

	<li>modify <code>ScrollbarReverseVideo()</code> function to cache the
	  original border color, so it can restore that when an application
	  flashes the screen (Bugzilla #38872).

	<li>resync with XFree86 CVS:
	<ul>
	  <li>remove ifdef's for X_NOT_STDC_ENV (David Dawes).
	  <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane)
	  <li>set screen size earlier in initialization, to address a race
	    with window manager resizing its clients (Keith Packard).
	</ul>
</ul>

<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1>
<ul>
	<li>patch by Juliusz Chroboczek to clean up button.c and input.c.  The
	  basic idea is to use a single set of APIs in the XTerm core, and put
	  a set of workarounds in a separate file.  As you will notice, this
	  drastically simplifies parts of the code; in particular, the only
	  remaining ifdefs related to the differences between Xutf8 and legacy
	  systems are related to the selection provider logic.

	  This defines two new files, xutf8.h and xutf8.c, provide some
	  half-hearted but fully portable emulation for the three Xutf8*
	  functions that XTerm uses.

	  Putting these in a separate file will allow people to experiment with
	  more complex versions without making the core of XTerm more difficult
	  to maintain.

	  The functionality of the emulation is as follows.
	  <ul>
	  <li>Xutf8TextListToTextProperty fully handles XStringstyle and
	  XUTF8StringStyle.  It will only generate STRING for XStdICCTextStyle,
	  and wil only generate Latin-1 in XCompoundTextStyle (but label it as
	  COMPOUND_TEXT, as the spec requires).  (I have hesitated to make this
	  function fail for XStdICCTextStyle and XCompoundTextStyle; this might
	  be a smart thing to do, in the hope that the selection requestor will
	  try UTF8_STRING afterwards; opinions?)

	  <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING.
	  It systematically fails for COMPOUND_TEXT.

	  <li>Xutf8LookupString will properly handle single-keystroke input for
	  the keysyms covered by Markus' keysym2ucs function.  It will not
	  handle either compose key input or external input methods.
	  </ul>

	<li>add an ifdef for <code>SunXK_F36</code>, used in
	  <code>xtermcapKeycode()</code> (patch by Mark Waggoner
	  &lt;waggoner@ichips.intel.com&gt;).

	<li>modify check for login name to try <code>getlogin()</code> and
	  $LOGNAME, $USER environment variables to detect if the user has
	  logged in under an alias, i.e., an account with the same user id
	  but a different name (Debian bug report #70084).

	<li>add resource <code>tiXtraScroll</code>, which can be used to
	  preserve the screen contents in the scrollback rather than erasing
	  it when starting a fullscreen application such as <code>vi</code>
	  (patch by Ken Martin &lt;fletcher@catsreach.org&gt;).

	<li>two patches by Denis Zaitsev &lt;zzz@cd-club.ru&gt;:
	<ul>
	  <li>added <code>forceBoxChars</code> resource to control the
	    "line-drawing characters" option.

	  <li>added <code>freeBoldBox</code> resource, which, when set true,
	    suppresses check in <code>same_font_size()</code>, so xterm does
	    not attempt to ensure that the bold font is the same size as
	    the normal font.
	</ul>

	<li>change the color class for ANSI colors and similar ones such as
	  bold-color, etc., to follow the convention that the classname is the
	  instance name with a leading capital (e.g., <code>color0</code> and
	  <code>Color0</code> rather than <code>color0</code> and
	  <code>Foreground</code>).  There was little use for Foreground as a
	  class other than to create occasional confusion and bug reports, most
	  recently by Nelson Beebe who reports that it disables colors in xterm
	  but not on Linux, which is probably due to a difference in resource
	  evaluation order.  A configure script option (--disable-color-class)
	  is provided for anyone who did use the older behavior.

	<li>fix a signal-handling bug.  When running xterm with
	  <code>ksh</code> or similar shell such as bash 2.05, xterm will hang
	  and not respond to keystrokes after the user types
	  <code>suspend</code>.  Additionally the popup menus do not respond,
	  so it is not possible to send SIGCONT to the shell.
	  What is happening is that the shell is sending itself SIGSTOP, and it
	  is being stopped.  Per specification it also means that the operating
	  system is sending SIGCHLD to parent to the bash (XTERM).
	  Now the issue is that xterm assumes it cannot happen and it expects
	  to receive SIGCHLD only upon <em>termination</em> of its children.
	  This causes a deadlock with xterm waiting for the child to
	  die, and the child waiting for SIGCONT.
	  (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck
	  &lt;sven.mascheck@student.uni-ulm.de&gt;).

	<li>correct some inconsistent checks for <code>XtReleaseGC()</code>
	  calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun
	  &lt;namsh@lge.com&gt;).

	<li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12
	  and 2001/4/18, respectively from
		http://www.cl.cam.ac.uk/~mgk25/ucs/

	<li>correction to change from patch #90, which was intended to
	  reset the saved cursor position for normal/alternate screens
	  on a soft reset, but actually wiped out all of the saved cursor
	  information.  Just reset the saved position for the current screen
	  (report by Michael Schroeder).

	<li>modify ShowCursor() and HideCursor() so that if the cursor points
	  to the second part of a wide character, make the show/hide operate on
	  the first position of the wide character (patch by Sven Verdoolaege).

	<li>scrolling in the alternate screen just before switching back to the
	  main screen can cause extra blank lines to be inserted into the
	  scrollback buffer (patch by Paul Vojta
	  &lt;vojta@math.berkeley.edu&gt;).

	<li>resync with XFree86 4.1.0:
	<ul>
	  <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes
	    problem building xterm/resize on Cygwin/XFree86 (Harold Hunt).
	  <li>Install xterm.termcap and xterm.terminfo when installing xterm
	    (Torrey T. Lyons).
	  <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi).
	  <li>Define CBAUD, when it's missing in xterm, on LynxOS
	    (Stuart Lissaman).
	</ul>
</ul>

<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1>
<ul>
	<li>change order of selection-target types to make 8-bit xterm prefer
	  UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek).

	<li>document <code>-fa</code>, <code>-fs</code> command-line options
	  and <code>faceName</code>, <code>faceSize</code>
	  resources which are used by the freetype library support.

	<li>if configure script finds freetype libraries, but imake definitions
	  do not have the XRENDERFONT definition, define it anyway.

	<li>modify configure script check for freetype libraries to include
	  <code>&lt;Xlib.h&gt;</code>, since an older version of the related
	  headers relies on this (patch by Adam Sulmicki).
</ul>

<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1>
<ul>
	<li>correct return type of in_put() from patch #153 changes, which
	  left it not wide enough for UTF-8 (patch by Bruno Haible).
</ul>

<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1>
<ul>
	<li>undo check for return value from <code>pututline</code> (used for
	  debugging) since that function does not return a value on Slackware
	  3.6.

	<li>correct length in ScreenWrite, when rendering invisible text
	  (patch by Sven Verdoolaege &lt;skimo@kotnet.org&gt;).

	<li>fixes/improvements for the <code>i18nSelection</code> resource
	  from patch #153, by Bruno Haible:

	<ul>
	  <li>add missing initialization for <code>i18nSelection</code>
	    resource.

	  <li>split-out the non-ICCM aspect of the
	    <code>i18nSelection</code> resource as a new resource,
	    <code>brokenSelections</code>.
	</ul>

	<li>add configure check for <code>&lt;time.h&gt;</code> and
	  <code>&lt;sys/time.h&gt;</code>, to allow for Unixware&nbsp;7,
	  which requires both.  If the configure script is not used, only
	  <code>&lt;time.h&gt;</code> will be included as before (report
	  by Thanh Ma).

	<li>fix redefinition of <code>dup2</code>, <code>getutent</code>,
	  <code>getutid</code>, <code>getutline</code> and <code>sleep</code>
	  functions on Unixware&nbsp;7 (report by Thanh Ma
	  &lt;Thanh.Ma@casi-rusco.com&gt;)

	<li>add a fall-back definition for <code>__hpux</code>, which is
	  apparently not defined in some compilers on HPUX 11.0 (reported
	  by Clint Olsen).

	<li>change VAL_INITIAL_ERASE, which is used as a fallback for the
	  <code>"kb"</code> termcap string to 8, since that matches the
	  xterm terminal description (request by Alexander V Lukyanov).

	<li>correct an off-by-one in <code>ClearInLine</code>, which caused
	  the erase-characters (ECH) control to display incorrectly
	  (patch by Alexander V Lukyanov).

	<li>correct escape sequences shown in terminfo for shifted editing
	  keys.  The modifier code was for the control key rather than
	  the shift key.
</ul>

<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1>
<ul>
	<li>increase PTYCHARLEN to 8 for os390, add some debugging traces
	  for UTMP functions (patch by Paul Gilmartin).

	<li>correct an misplaced brace in <code>SelectionReceived()</code>
	  (patch by Bruno Haible).

	<li>correct an assignment dropped in <code>SelectionReceived()</code>
	  which made it not compile for wide-characters combined with debug
	  traces.

	<li>correct typo, clarify description of 88- and 256-color controls
	  (report by Bram Moolenaar).

	<li>correct a typo in ctlseqs.ms which caused DEC Locator control
	  sequences using single quote "'" display grave "`" instead (reported
	  by Paul Williams, apparently in patch #114).
</ul>

<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1>
<ul>
	<li>correct index in inner loop in <code>VTInitI18N()</code> from
	  patch #151 changes, which resulted in infinite loop under some
	  conditions (report/analysis by Paul Gilmartin).

	<li>remove spurious "%|" from terminfo sgr capabilities
	  (report/analysis by Adam M Costello, Debian bug #89222).

	<li>add shell script to adjust list of dynamic libraries linked by
	  <code>resize</code> when building with the standalone configure
	  script.  Otherwise it uses the same list as for xterm, which is
	  excessive.

	<li>fix a few compiler warnings reported by the 20010305 gcc snapshot.
</ul>

<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1>
<ul>
	<li>patch from Juliusz Chroboczek &lt;jch@pps.jussieu.fr&gt; which
	  alters the behaviour of selections in XTerm.
	  It is believed to follow the ICCCM + UTF8_STRING to the letter, both
	  in UTF-8 and in eight-bit mode.  From his description:
	  <ul>
	  <li>When compiled against XFree86 4.0.2, the patched XTerm will make
	    the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in
	    both modes.  It will request selections in the following order:
	    <p>
	      UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br>
	      eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING.

	  <li>When compiled against an earlier version of XFree86 (or compiled with
	    OPT_UTF8_API=0), it will still obey the ICCCM, but will neither
	    request nor provide UTF8_STRING in eight-bit mode, and neither TEXT
	    nor COMPOUND_TEXT in UTF-8 mode.
	  <li>For compatibility with previous versions of XTerm, a resource
	    <code>i18nSelections</code> is provided, please see the manpage for
	    details.  However, due to an unexpected combination of ICCCM
	    extensions by various bits and pieces of the libraries, interacting
	    with previous versions of XTerm will work in many locales even
	    without this flag.  (Please do not set this resource to true by
	    default, as this would violate the ICCCM.)
	  </ul>

	<li>improved error checking/reporting in VTInitI18N(), ensuring that
	  lack of input method styles is treated distinctly from a mismatch.

	<li>remove an incorrect ifdef from patch #141 which suppressed
	  overstriking to simulate bold font when xterm was compiled to support
	  wide characters (report/analysis by Adam M Costello
	  &lt;amc@cs.berkeley.edu&gt;, fixes Debian bugs #76404, #77575).

	<li>modify <code>RequestResize()</code> function to save/restore window
	  manager hints.  Its call to <code>XtMakeResizeRequest()</code> had
	  the undesirable side-effect of clearing window manager hints, e.g.,
	  when switching to 132-columns via DECCOLM escape sequence.  Window
	  manager hints make it simple to resize xterm in terms of character
	  cells rather than pixels (reported by Christian Weisgerber as well
	  as Debian bug #79939).
	  <p>
	  This applies to the normal configuration.  When built with toolbar
	  support, the hints are applied to a different widget level (more
	  work will be needed to make hints work with the toolbar).

	<li>fix a redefinition warning for resize.c on OpenBSD (patch by
	  Christian Weisgerber).

	<li>change resource corresponding to <code>-T</code> option to match
	  Xt library's <code>-title</code>, i.e.,  <code>.title</code>
	  rather than <code>*title</code> so the command-line options are
	  interchangeable as documented (Debian bug report #68843).

	<li>add script used from autoconf'd makefile for installing manpages,
	  since recent XFree86 changing the way section numbers are represented
	  makes the install dependent on extra scripts.

	<li>add configure check for freetype libraries and configure option
	  --disable-freetype to override this feature.

	<li>modify some configure script macros to avoid using changequote(),
	  which has been rendered useless in the latest autoconf alpha 2.49c

	<li>update config.guess, config.sub to 2001-2-13

	<li>remove redundant/contradictory __CYGWIN__ definitions from resize.c

	<li>correct manpage typo introduced by X11R6.5 resync.
</ul>
	Changes from XFree86 4.0.2:
<ul>
	<li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to
	  make this compile with <code>gcc -ansi -pedantic</code> (report
	  by &lt;mark@zang.com&gt;.
</ul>

<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1>
<ul>
	<li>move the binding for shifted keypad plus/minus, which invokes the
	  <code>larger-vt-font()</code> and <code>smaller-vt-font()</code>
	  actions, respectively, into the translations resource (suggested by
	  Marius Gedminas &lt;mgedmin@puni.osf.lt&gt;).

	<li>modify configure script to support the
	  <code>--program-prefix</code>, <code>--program-suffix</code> and
	  <code>--program-transform-name</code> options (request by Alison
	  Winters &lt;alison@mirrabooka.com&gt;).

	<li>patch from Robert Brady
	<ul>
	   <li>fix a scrolling / combining characters display anomaly

	   <li>fix a problem with double-width characters where if the primary
	       font had no box-drawing characters, the right hand half of
	       double-width characters was erased (reported by Yao Zhang
	       &lt;yzhang@sharemedia.com&gt;).

	   <li>fix special case of null byte for key handling in UTF-8 locales.
	</ul>

	<li>modify logic that compares sizes of normal and bold fonts to be
	  more forgiving of the font server's choice of bold font which must
	  match the normal font's size.  Now <code>same_font_size()</code>
	  compares the height of the fonts rather than individually ascent and
	  descent, and allows the bold font to be one pixel smaller than the
	  normal font (addresses a report by Alan Citterman
	  &lt;alan@mticket.com&gt;, who says that something in patches #146 to
	  #148 made xterm more likely to overstrike bold fonts, and indirectly
	  Debian bug report #76404, which reports the opposite).

	<li>make configure script use $CFLAGS and $CPPFLAGS consistently,
	  including removing a chunk from configure.in which attempted to
	  save/restore $CPPFLAGS while processing value set by the --x-includes
	  option, but lost values set in an intervening AC_CHECK_HEADERS.  This
	  change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and
	  CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS
	  from the generated makefile (the AC_CHECK_HEADERS problem was
	  reported by Albert Chin-A-Young &lt;china@thewrittenword.com&lt;).

	<li>correct a comparison in SELECTWORD case of ComputeSelect(), which
	  resulted in a word-selection wrapping past the first column without
	  checking the first column's character class (reported by Christian
	  Lacunza &lt;celacunza@netscape.net&gt;

	<li>correct a logic in UTF-8 mode for selecting double-width characters;
	  a combining character was omitted (patch by Markus Kuhn).

	<li>add feature to pop (raise) window when a bell is received
	  (patch by Gael Roualland &lt;gael.roualland@dial.oleane.com&gt;).

	<li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h
	  for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber).

	<li>move special-case HPUX include for &lt;sys/bsdtty.h&gt; to
	  xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX
	  10.20 (report by Bruno Betro).
</ul>

<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1>
<ul>
	<li>restructured includes for <code>termios.h</code>,
	  <code>termio.h</code> and related definitions for main.c, os2main.c,
	  screen.c and resize.c so they will share equivalent definitions in a
	  new header <code>xterm_io.h</code>.  This is intended to solve some
	  problems mainly for HPUX which appear to arise from inconsistent
	  definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports
	  by Bruno Betro, Jeremie Petit and Clint Olsen).

	<li>improve usability of double-width fonts by allowing normal fonts
	  to be given as double-width (from a patch by Fabrice Bellard
	  &lt;bellard@email.enst.fr&gt;).

	<li>correct a few compiler warnings in TRACE() macros for
	  signed/unsigned variable differences (reported by Clint Olsen).

	<li>make configure script use $CFLAGS and $CPPFLAGS more consistently,
	  i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro.

	<li>expanded description of environment variables in manual-page.

	<li>modify OPT_TCAP_QUERY feature to always return the termcap or
	  terminfo capability string in the response, and to read/write the
	  names in hexadecimal form to allow for the special case of termcap's
	  <code>k;</code> name (patch by Bram Moolenaar).

	<li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the
	  corresponding configure options work (patch by Bram Moolenaar).

	<li>resync with XFree86 4.0.1g:
	<ul>
	  <li>Rewrite Xft library for Render extension/core text and font management
	    Change xterm to use new interface (Keith Packard).
	</ul>
</ul>

<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1>
<ul>
	<li>document logfile options in man-page.

	<li>correct spelling of <code>-samename</code> option in help message.

	<li>add configure script option <code>--enable-tcap-query</code>
	  (request by Bram Moolenaar).

	<li>patch by Bram Moolenaar to add a
	  "Co" or "colors" entry to the OPT_TCAP_QUERY feature.
	<li>patch by Kiyokazu SUTO &lt;suto@ks-and-ks.ne.jp&gt;:
	<ul>
	  <li>add support for bold font for double width characters.
	     The font name may be specified with the command line option
	     <code>-fwb</code> or with resource
	     <code>wideBoldFont</code> (class <code>WideBoldFont</code>).
	  <li>correct underlining of double width character string, which
	     was drawn only half width.
	  <li>correct binary search of precomposed character table, which
	     may return wrong result when <code>int</code> is just 32 bits.
	  </ul>

	<li>some changes to align terminfo with ncurses 5.2:
	<ul>
	  <li>remove xtermm description, retaining xterm-mono since the former
	    conflicts with ncurses.
	  <li>modify initialization and reset strings to avoid putting the
	    save/restore cursor operations bracketing changes to video
	    attributes, since the changes could be lost when the cursor is
	    restored.  This affects xterm-r6 and xterm-8bit (the xterm-xfree86
	    entry uses the soft-reset feature which resets scrolling margins
	    and origin mode without requiring us to save/restore the cursor
	    position).
	  <li>make a few entries explicitly inherit from xterm-xfree86 rather
	    than xterm: xterm-rep, xterm-xmc, xterm-nrc
	</ul>

	<li>ensure that sign-extension does not affect <code>ctype</code>
	  macros by using <code>CharOf()</code> macro to coerce the parameter
	  to an unsigned char.

	<li>resync with XFree86 4.0.1d:
	<ul>
	  <li>Add primitive support in xterm for Xft based fonts (Keith Packard).
	    The changes are ifdef'd with <code>-DXRENDERFONT</code>.
	</ul>
</ul>

<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1>
<ul>
	<li>correct implementation of <code>ptyInitialErase</code>:  the
	  value assigned to <code>initial_erase</code> was for the control
	  terminal, which is correct as far as it goes.  But there was no
	  following test for the pseudo-terminal's erase value, which would
	  overwrite the default obtained from the control terminal
	  (reported by Christian Weisgerber &lt;naddy@mips.inka.de&gt;).

	<li>modify check for printable-characters in OSC string to use xterm's
	  ansi_table rather than isprint() macro, to isolate this check from
	  locale settings.  This fixes a problem using 8-bit characters to
	  set the title (reported by Ricardas Cepas &lt;rch@richard.eu.org&gt;).

	<li>modify sample scripts to check for printf before print, since the
	  latter is not as well standardized (e.g., on Linux).

	<li>updated config.sub, config.guess to reflect changes on
	  subversions.gnu.org
</ul>

<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1>
<ul>
	<li>correct two instances overlooked from patch #141 which assumed
	  UTF-8 mode without checking, causing a core dump in non-UTF-8 mode
	  (one instance was reported by Tommi Virtanen &lt;tv@debian.org&gt;).

	<li>correct a problem selecting from the scrollback buffer in UTF-8
	  mode by changing remaining getXtermCell() calls to XTERM_CELL() as in
	  the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady).
</ul>

<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1>
<ul>
	<li>several changes from Robert Brady for UTF-8 configuration:
	<ul>
	  <li>doublewide characters don't lose their accents when the cursor
	    moves onto or from them (a visual bug)

	  <li>fix logic in addXtermCombining, which mean that if the low byte
	    of a cell's first combining char was 0, a following combining char
	    would go into combining slot 1, not 2.

	  <li>modify logic for cut-buffers so UTF-8 data is first converted
	    to Latin1.

	  <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.

	  <li>modify to allow xterm to to show combining characters
	   attached to doublewidth characters.

	  <li>correct bug in linewrap with -u8 option (reported by
	    Andreas Koenig &lt;andreas.koenig@anima.de&gt;).
	</ul>

	<li>several changes to PTY logic (based on request by Tim Ryan
	  &lt;timryan@nortelnetworks.com&gt;).
	<ul>
	  <li>modify treatment of <code>-S</code> option to to make it work with
	    Unix98 PTY's.

	  <li>restore sense of IsPts flag in <code>get_pty()</code>, which was
	    lost in Unix98 changes.

	  <li>use new functions <code>my_pty_id()</code> and
	    <code>my_pty_name()</code> to simplify/fix strings used for utmp,
	    wtmp identifiers.

	  <li>simplify <code>get_pty()</code> function, making it have a single
	    return point so its inputs/outputs can be identified.
	</ul>

	<li>update config.guess and config.sub and scripts to my 20000819 patch,
	   adding cases for OS/2 EMX.

	<li>add special case for os390 compiler options to configure script
	  (patch by Paul Gilmartin)

	<li>fix some unused-variable compiler warnings (reported by
	  Zdenek Sekera).

	<li>split-out some string functions into xstrings.c, to use them
	  more consistently among main.c, os2main.c and resize.c

	<li>align termcap/terminfo files, adding entries to make them match.
	  The termcap entries are necessarily less complete than the terminfo,
	  to fit within 1023 character per entry.

	<li>add terminfo entry for xterm-sco (SCO function keys).

	<li>modify <code>same_font_name()</code> to properly handle wildcard
	  introduced in <code>bold_font_name()</code>, making comparison for
	  different fonts succeed when only the normal font is specified.  This
	  is needed to decide if 1-pixel offset should be used.  (reported
	  in a newsgroup by Bart Oldeman &lt;enbeo@enbeo.resnet.bris.ac.uk&gt;)

	<li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText()
	  from patch #141 which resulted in overstriking for bold fonts not
	  working.

	<li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in
	  UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support.
</ul>

<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1>
<ul>
	<li>remove a spurious assignment in ScreenWrite() from Robert Brady's
	  patch which set a null at the "end" of the buffer to be written.
	  That made the autowrap feature write a blank in the first column for
	  the non-UTF-8 configuration, rather than the actual character
	  (reported by Alan Citterman &lt;alan@mticket.com&gt;).
</ul>

<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1>
<ul>
	<li>add a check to ensure that <code>-class</code> command-line option
	  is not confused with <code>-c</code> (reported by Paul Townsend
	  &lt;aab@aab.cc.purdue.edu&gt;).
</ul>

<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1>
<ul>
	<li>correction to precompose scripts, so 0061 + 0300 will now be really
	  be displayed as 00C0 (patch by Robert Brady
	  &lt;robert@susu.org.uk&gt;).

	<li>correct macro ClassSelects() in button.c, used to hide ifdef's for
	  OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul
	  &lt;paula@informatik.tu-muenchen.de&gt;).

	<li>change wcwidth.h to include stddef.h rather than wchar.h, which is
	  not present on OpenBSD and FreeBSD (reported by Christian
	  Weisgerber and Bram Moolenaar).

	<li>newer config.sub and config.guess, from lynx 2.8.4dev.7
</ul>

<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1>
<ul>
	<li>Most of this patch is an integration of Robert Brady's patch #11
	  for doublewidth and combining characters, from
	  http://www.ecs.soton.ac.uk/~rwb197/xterm/.  In this context,
	  doublewidth refers to 16-bit character sets which may have glyphs
	  occupying two cells.

	<li>add command-line option <code>-class</code>, which allows one
	  to override xterm's resource class.  Also add resource file
	  <code>UXTerm.ad</code>, which simplifies using xterm for both
	  8-bit character sets and UTF-8.

	<li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
	  Moolenaar, Steve Wall).
</ul>

<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1>
<ul>
	<li>modify Makefile.in to circumvent GNU make's built-in suffix rule
	  for ".sh" which confuses install.sh with the "make install" target
	  (report/patch by Paul Gilmartin).

	<li>implement an experimental control sequence which an application may
	  use to query the terminal to determine what sequence of characters it
	  would send for a given function key.  This is ifdef'd with
	  OPT_TCAP_QUERY (request by Bram Moolenaar).

	<li>add /usr/local to search path in CF_X_ATHENA configure macro
	  to build with Xaw3d on OpenBSD (patch by Christian Weisgerber).

	<li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to
	  xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report
	  by Alain Filbois &lt;Alain.Filbois@loria.fr&gt;).

	<li>correct a few errors in xterm.man:  font in filename example for
	  Tektronix emulation, and description of -nul/+nul command-line
	  options (report by Eric Fischer &lt;enf@pobox.com&gt;).

	<li>update config.guess and config.sub (from tin and lynx)
</ul>

<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1>
<ul>
	<li>back out change to <code>-name</code> command-line option,
	  restoring its original behavior (as noted by David Madore, the
	  correct interpretation of this option is the application instance
	  rather than the application class).
</ul>

<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1>
<ul>
	<li>workaround for fixed fonts which are generated from Unicode fonts:
	  they omit glyphs for some xterm's less-used line-drawing characters,
	  which caused xterm to set a flag telling it to use only its internal
	  line-drawing characters.  Do not set the flag (it can be set from the
	  popup menu), and xterm will generate only the line-drawing glyphs
	  which actually are missing.
	  <br>
	  Otherwise, when used for large fonts, xterm may generate a 2-pixel
	  wide line, which can leave dots on the screen.

	<li>restore first line of 256colres.pl, omitted in 4.0c diffs.
</ul>
<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1>
<ul>
	<li>make command-line <code>-name</code> option work as documented.
	  Apparently this was lost in X11R5 when coding to use
	  <code>XtAppInitialize</code>.

	<li>limit numeric parameters of control sequences to 65535 to
	  simplify checks for numeric overflow.

	<li>change index into UDK list to unsigned to guard against numeric
	  overflow making the index negative (Taneli Huuskonen
	  &lt;huuskone@cc.helsinki.fi&gt;).

	<li>change <code>sun&nbsp;function-keys</code> resource name to
	  <code>sunFunctionKeys</code> to work around redefinition of the
	  token <code>sun</code> by xrdb on Solaris.  Similarly, renamed
	  resource <code>sun&nbsp;keyboard</code> to <code>sunKeyboard</code>
	  (Steve Wall).

	<li>change similar resource names for HP and SCO to avoid potential
	  conflict with xrdb symbols on other systems, as well as for
	  consistency.

	<li>reorganized the install targets in the autoconf'd Makefile, adding
	  install-app, install-bin, install-dirs and install-man.  The
	  app-defaults class can be overridden by setting the make variable
	  'CLASS', simplifying customization of xterm as a Unicode terminal,
	  e.g., CLASS=UXTerm.

	<li>add limit checks to <code>ClearInLine()</code>,
	  <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to
	  correct potential out-of-bounds indexing (prompted by Debian bug
	  report #64713, which reported a problem with ICH escape sequences).

	<li>updates to config.sub and config.guess
	  Kevin Buettner &lt;kev@primenet.com&gt; for elf64_ia64
	  Bernd Kuemmerlen &lt;bkuemmer@mevis.de&gt; and MacOS X.

	<li>patch from Paul Gilmartin for os390 to check for errno set to
	  ENODEV on failure to open /dev/tty when there is no controlling
	  terminal.

	<li>patch from H Merijn Brand &lt;h.m.brand@hccnet.nl&gt; for
	  building on Digital Unix 4.0 and AIX 4.2.

	<li>modify DECRQSS reply for DECSCL to additionally report if the
	  terminal is set for 8-bit controls.
</ul>

<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1>
<ul>
	<li>add a resource (<code>limitResize</code>)
	  limiting resizing via the CSI 4 t and CSI 8 t sequences.

	<li>ignore out-of-bounds resize requests, i.e., where sign-extension
	  or truncation of the parameters would occur.
</ul>

<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1>
<ul>
	<li>remove code introduced in #134 which made some backgrounds bold.

	<li>minor correction to format of updated $TERMCAP when adding
	  <code>kb</code> capability for <code>ptyInitialErase</code> logic.

	<li>improved test for SVR4 definition.
</ul>

<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1>
<ul>
	<li>update URL's and mailing addresses, moved to http://dickey.his.com
	  and dickey@herndon4.his.com

	<li>correct missing quotes in CF_TTY_GROUP configure script macro in
	  case the script is run in batch mode.

	<li>modify ownership-check of log file to ignore the group ownership.
	  Otherwise xterm cannot create logfiles in directories with set-gid
	  permissions.

	<li>simplify the logic that reads termcap data.

	<li>add fallback definition for B9600 in case line speed definition
	  for 38400 is missing (report by Jack J Woehr &lt;jwoehr@ibm.net&gt;,
	  for OpenBSD 2.6).

	<li>fix:  Set highlightColor, and select a region containing the text
	  cursor.  If the window loses focus, the cursor becomes hollow, with
	  the region inside the cursor being background/foreground, unlike the
	  rest of the selection, which is foreground/highlight
	  (patch by Ross Paterson &lt;ross@soi.city.ac.uk&gt;).

	<li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT,
	  which enables xterm to compile on Solaris 7 and SCO Openserver
	  without imake, though there are still a few features for the latter
	  which require <code>sco</code> to be predefined.

	<li>patches from Steve Wall:
	<ul>
	<li>add support for two Sun-specific function keys.  These keys are
	  labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and
	  SunXK_F37.  Support will only be compiled in if the header file
	  &lt;X11/Sunkeysym.h&gt; exists and contains the appropriate symbol
	  definitions.  The keycodes for the DEC keycodes were arbitrary unused
	  codes, but the ones for the Sun keycodes are what cmdtool and
	  shelltool actually send.

	<li>add <code>colorRV</code> and <code>colorRVMode</code> resources to allow specifying a
	  color to use for reverse video, similar to the existing UL, BD, and BL
	  modes.

	<li>add <code>alwaysUseMods</code> resource, to override check if
	  <code>alt</code> or <code>meta</code> modifiers are used in
	  <code>translations</code> resource.  Revamped the code to calculate
	  the modifier value, and included Meta if alwaysUseMods is TRUE, using
	  values 9-16.
	</ul>

	<li>patches from Paul Gilmartin for os390:
	<ul>
	<li>regularize the definition of CONTROL() and remove an
	  acknowledged "trial and error" table.

	<li>translate "^?" into A2E(0177) which is the EBCDIC "DEL"
	  rather than plain 0177 which is the EBCDIC quotation mark.

	<li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159
	  are not rendered as blanks by X server running on Solaris, which sees
	  those as control characters.

	<li>make debugging traces (configure --enable-trace)
	 work properly with EBCDIC.
	</ul>
</ul>

<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1>
<ul>
	<li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and
	  AWK (reported by Neil Bird).

	<li>correct uninitialized <code>childstat</code> variable from patch
	  #131 in <code>creat_as()</code> function, which caused logging to not
	  work on Solaris, whose <code>waitpid()</code> function does not
	  initialize its parameter.  Add check for EINTR on return from
	  <code>waitpid()</code> as well (reported by Neil Bird
	  &lt;neil.bird@rdel.co.uk&gt;).

	<li>remove a redundant check for working <code>setuid()</code> function
	  introduced in patch #132 (Greg Smith reports that this does not work
	  as intended on os390).

	<li>change line speed from 9600bd to 38400bd, to accommodate people who
	  mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of
	  padding associated with this terminal type.

	<li>add configure script check for IRIX 6.5's redefinition of baud
	  rates associated with <code>struct termio</code>, to correct a
	  situation where the baud rate was initialized to zero (reported by
	  Andrew Isaacson &lt;adi@lcse.umn.edu&gt;).

	<li>remove unused configure script check for VDISABLE.
</ul>

<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1>
<ul>
	<li>undo an incorrect change from patch #113 caused the right scrollbar
	  to be positioned incorrectly when re-enabling it (analysis by
	  D Roland Walker).

	<li>add ctrlFKeys resource, replacing constant for adjusting
	  control-F1 to control-F12 to VT220-style F10-F20.  The resource
	  changes the constant 12 to a default value of 10 (request by
	  Jim Knoble &lt;jmknoble@pobox.com&gt;).

	<li>correct ifdef'ing for conflict between definitions in AIX's
	  &lt;sys/select.h&gt; and &lt;X11/XPoll.h&gt; (reported by Clint
	  Olsen).

	<li>add checks for return-values of getutid(), initgroups() and
	  setuid() in main.c, as well as modifying ifdef's for __osf__ to
	  include tty-group and WTMP logic (adapted from patch by Paul Szabo
	  &lt;psz@maths.usyd.edu.au&gt;)

	<li>modify resize.c to build and work on os390 (uses EBCDIC)
	  (adapted from patch by Phil Sidler &lt;Phil.Sidler@airborne.com&gt;)

	<li>use Ires(), Bres() and Sres() macros to simplify resource list in
	  charproc.c

	<li>resync with XFree86 4.0a:
	<ul>
	  <li>correct a typo in os2main.c (Holger Veit, from 4.0a).
	</ul>
</ul>

<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1>
<ul>
	<li>integrate patch by Branden Robinson for improving logfile
	  security:
	  <ul>
	  <li>make the <code>creat_as()</code> function more strict by using
	    O_EXCL rather than O_APPEND.
	  <li>fixes to make DEBUG ifdef's compile/run, including making the
	    debug logfile more unique by appending a timestamp to its name.
	  <li>include &lt;term.h&gt; in resize.c, to fix a missing-prototype
	    warning.
	  </ul>

	<li>modified <code>creat_as()</code> a little more, retaining the
	  ability to append to a logfile If the user specifies the name.
	  Also, check if the opened file (which patch #130 ensures is
	  owned by the effective user) is not writable by other users.

	<li>use <code>creat_as()</code> logic to make tek4014 screen-copy
	  more secure (noted by Branden Robinson).

	<li>ifdef'd some of Branden's changes to build/work on older machines.

	<li>correct missing initialization of the <code>.mode</code> flag in
	  <code>ColorRes</code> struct, from patch #129.  This worked on Linux
	  because <code>malloc()</code> zeroes memory on that platform
	  (reported by Christian Weisgerber).

	<li>modify logic for <code>deleteIsDEL</code> resource so it has
	  internally 3 states:  unspecified, true and false.  If unspecified,
	  the keyboard type determines whether the Delete key transmits
	  <code>&lt;esc&gt;[3~</code> or <code>\177</code>, and the popup menu
	  entry reflects the internal state.  Otherwise, the popup menu entry
	  overrides the keyboard type (suggested by Dr Werner Fink, to make it
	  simpler to set resources that imitate the legacy X11R6 xterm).
</ul>

<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1>
<ul>
	<li>modify <code>scroll-forw()</code> and <code>scroll-back()</code>
	  actions, adding a third parameter which will direct xterm to ignore
	  the action when mouse reporting is enabled.  This is needed for
	  the wheel mouse to be used to report to the application rather than
	  scroll the window.

	<li>add menu entry and action to allow disabling xterm's assumption
	  that the current font contains line-drawing characters if the
	  font cells 1-31 are nonempty.  Some fonts may have other characters
	  (reported by Bruno Betro &lt;bruno@iami.mi.cnr.it&gt;).

	<li>add a check in <code>creat_as()</code> to ensure that the user
	  really owns the logfile that has been opened.

	<li>add logic to implement SCO function-keys.  (This is really
	  incomplete, since I intend to revisit this and make xterm able to
	  emulate scoansi better than just the function-keys).

	<li>add configure script option --enable-sco-fkeys, minor related fixes
	  (patch by Dr Werner Fink).

	<li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)

	<li>fix typo in sinstall.sh default for $TST_PROG (reported by
	  Paul Gilmartin &lt;pg@sweng.stortek.com&gt;)
</ul>

<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1>
<ul>
	<li>improve initialization of ANSI colors by delaying allocation until
	  each color is first used.

	<li>remove ifdef that prevented colorBD/colorUL/colorBL resources from
	  working when 256-color configuration was built (reported by
	  Todd Larason).

	<li>fix some minor inconsistencies in terminfo (Debian #58530).
</ul>

<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1>
<ul>
	<li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core
	  dump when attempting to set it from the command-line (reported by Dr
	  Werner Fink).
	<li>correct ifdef for meta-sends-escap so configure --disable-num-lock
	  builds.
</ul>

<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1>
<ul>
	<li>add resource, popup menu entry and control sequence to allow
	  changing the Delete key to send either DEL or the VT220-style
	  Remove escape sequence.

	<li>remove logic for metaSendsEscape that would allow xterm to send
	  <code>&lt;esc&gt;[3~</code> before a function key that would begin
	  with <code>&lt;esc&gt;[3~</code> (request by Christian Weisgerber).

	<li>add missing action and documentation for meta-sends-escape.

	<li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color)
</ul>

<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1>
<ul>
	<li>patch by Markus Kuhn:
	  ensure that xterm will automatically activate the UTF-8 mode whenever
	  the name of the locale environment variable suggests that a UTF-8
	  locale is in use.  This will help that by simply setting LC_CTYPE an
	  entire system can be switched over to UTF-8, without users having to
	  remember the UTF-8 command line options ("-u8", etc.) of the various
	  applications.  Command line options and X resource entries can still
	  be used to override this default choice.

	<li>add old function-keys control sequences and popup menu entry, for
	  compatibility with legacy X11R6 xterm.

	<li>revert translation of editing keypad "Delete" key to legacy \177.

	<li>simplify the color-resource data expressions with macro COLOR_RES,
	  for later use in restructuring color initialization.

	<li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict
	  with legacy mouse modifiers (suggested by Bram Moolenaar).
</ul>

<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1>
<ul>
	<li>integrate patch by David Mathog
	  &lt;mathog@seqaxp.bio.caltech.edu&gt; to make this work on OpenVMS

	<li>rename some functions, e.g., <code>Index</code> to
	  <code>xtermIndex</code> so that ports such as VMS which link
	  externals ignoring case will not have library conflicts (reported by
	  David Mathog).

	<li>correct logic of <code>do_reversevideo()</code>, which did not
	  update the corresponding popup menu check mark (reported by David
	  Mathog, this was a detail overlooked in patch #94).

	<li>change TRACE macro so semicolon is not within definition, making
	  <em>indent</em> and similar programs work better.

	<li>add <code>depend</code> rule to Makefile.in

	<li>modify logic of boldColors resource to suppress it if an extended
	  color control has been used, e.g., for 88-color or 256-color mode
	  (patch by Todd Larason).

	<li>revise logic that handles menus and input translation for keyboard
	  type so only one can be selected at a time.

	<li>restore kdch1=\177 for the Sun function-key type, and make the
	  the Delete key send DEL (\177) if the oldXtermFKeys resource is set.

	<li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor
	  expression that will not compile on NetBSD/x86 1.4.1 (reported by
	  Takaaki Nomura &lt;amadeus@yk.rim.or.jp&gt;).

</ul>

<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1>
<ul>
	<li>change coding of editing keypad's "Delete" key to
	  &lt;escape&gt;[3~, in the default (Sun/PC) keyboard mode.
	  This makes the terminfo kdch1 capability independent of the
	  coding of the backarrow key, which sends either backspace (8)
	  or DEL (127).  The reason for doing this (compatibility with
	  the <em>screen</em> program) outweighs the choice of DEL (127)
	  which was used in X11R5/X11R6 xterms.  The <em>screen</em>
	  program translates whatever matches kdch1 into &lt;escape&gt;[3~,
	  even if it happens to be the stty erase character.

	<li>add encoding for control/?, to work around xmodmap or key
	  translations which may confuse backspace and delete.  A control/?
	  will send DEL (127), and a control/H will of course send backspace
	  (8).

	<li>add encoding for kcbt to &lt;escape&gt;[Z (fixes Debian #54840).

	<li>minor correction to logic that encodes Sun and DEC function keys
	  to avoid sending an escape sequence if the key symbol is not found
	  in xterm's lookup table.

	<li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern
	  is more likely to be implemented when <em>imake</em> configures xterm
	  (fixes Debian #55105).

	<li>change manpage to make it clearer what codes are sent by the
	  backarrow key.
</ul>

<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1>
<ul>
	<li>add a note reserving OSC 51 for use in Emacs shell (request by
	  Rob Myoff &lt;mayoff@dqd.com&gt;).

	<li>correct a missing backslash in xterm-vt220 termcap.

	<li>cleanup remaining quoted includes, preferring bracketed form.

	<li>minor configure-script macro updates from tin and vile.

	<li>add configure-script option for using utempter library, adapted
	  from Redhat 6.1 patch for XFree86 3.3.5

	<li>resync with XFree86 3.9.17a:
	<ul>
	  <li>correction to QNX support (Frank Guangxin Liu)
	  <li>some cosmetic changes that did not correct any reported problems.
	</ul>
</ul>

<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1>
<ul>
	<li>move the suggested wheel-mouse button translations into charproc.c
	  to simplify customization.  Correct some minor logic errors in the
	  support for buttons 4 and 5, used for wheel mice (reported by
	  Bram Moolenaar).

	<li>implement <em>metaSendsEscape</em> resource, with corresponding
	  control sequence and menu entry.  Like <em>eightBitInput</em>, this
	  causes xterm to send ESC prefixing the given key, but applies to
	  all keys and is independent of the 8-bit/7-bit terminal setting.
	  (requests by Alexander V Lukyanov and Marc Feeley).

	<li>correct potential indexing with negative subscript in udk_lookup(),
	  (reported by Ian Collier &lt;Ian.Collier@comlab.ox.ac.uk&gt;).

	<li>modify configure script that sets TERMINFO_DIR to use ${prefix}
	  rather than /usr if the --prefix option was specified (request by
	  Zdenek Sekera &lt;zs@sgi.com&gt;).

	<li>modify checks for repeat-character control sequence to test the
	  character class against xterm's state table, rather than the
	  isprint() macro (patch by Alexander V Lukyanov).

	<li>change several functions to macros to improve speed

	<li>two corrections to simulation of bold font via overstriking:
	<ul>
	  <li>use clipping to avoid leaving trash at end of the text, and
	  <li>add brackets so wide-character logic does not fall-through
	    into the overstriking logic (reported by
	    Marc Feeley &lt;feeley@IRO.UMontreal.CA&gt;)
	</ul>

	<li>add several entries to termcap file to make it have the same set
	 of aliases as the terminfo file.

	<li>scale the color values used for xterm-256color terminfo entry to
	 0..1000, as expected by ncurses.

	<li>change xterm-r6 terminfo definitions for F1-F4 to match program.

	<li>Add QNX/Neutrino support (Frank Guangxin Liu
	 &lt;frank@ctcqnx4.ctc.cummins.com&gt;)
</ul>
<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1>
<ul>
	<li>change label on "Sun/PC Keyboard" popup menu entry to "VT220
	  Keyboard", since the checked state corresponds to VT220 rather than
	  Sun/PC.

	<li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of
	  utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas
	  Vanhala).

	<li>amend treatment of ALT key
	  (see <a href="#xterm_94">patch #94</a>) so that if ALT is used
	  as a modifier in key translations, then no parameter will be sent
	  in escape sequences for Sun/PC function keys (request by Dr Werner Fink).

	<li>modify default for OPT_I18N_SUPPORT to assume that
	  <code>XtSetLanguageProc()</code> is available in X11R5.
	  <p>
	  Caveat: <code>XtSetLanguageProc()</code> was
	  added fairly late in the X11R5 patches, and some vendors shipped
	  buggy versions of this function (request by Tomas Vanhala).

	<li>correct configure macro CF_SYSV_UTMP to test-link with functions
	  consistent with the header, e.g., getutent() for utmp.h and
	  getutxent() for utmpx.h (reported by Greg Smith).

	<li>modify terminfo entry for <code>xterm-xfree86</code> to reflect
	  modifiers for shift and control which (from a patch by Alexander V
	  Lukyanov).

	<li>modify terminfo entry for <code>xterm-sun</code> to match the
	  function-key definitions in ncurses.  The pageup/pagedown and
	  related function keys correspond to the Sun keyboard, which does
	  not necessarily correspond with X's notion of those keys.

	<li>modify treatment of XK_Delete keysym so it transmits parameterized
	  VT220-style <code>&lt;esc&gt;[3~</code> if modifiers (shift, control
	  alt) are given (request by Alexander V Lukyanov).

	<li>corrected misspelled resource name in command-line option for
	  HP function keys.
</ul>

<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1>
<ul>
	<li>refine the change to <code>SGR_Background()</code> in patch #119,
	  by not flushing the pending scrolling operation if the background
	  color is not actually changing.  This combination occurs when using
	  color-ls to display a long listing, since each line ends with an SGR0
	  which affects only the foreground color.  The unnecessary flushing
	  made it noticeably slower (reported by D Roland Walker
	  &lt;walker@pobox.com&gt;).

	<li>remove obsolete documentation about modifiers which can be returned
	  in mouse tracking mode, and modify logic to ignore modifiers other
	  than the existing ones, e.g., NumLock (prompted by discussions with
	  Christian Weisgerber and Brad Pepers &lt;brad@linuxcanada.com&gt;).

	<li>use free bit from obsolete shift-modifier coding of mouse tracking
	  button events to encode buttons 4 and 5, e.g., for a wheel mouse
	  (requests by Brad Pepers and Bram Moolenaar).

	<li>correct a place where the ptyInitialErase logic did not set the
	  backarrowKey state, and modify it further to use tgetstr() rather
	  than parse the termcap data returned from tgetent() so the
	  ptyInitialErase logic will work when xterm is linked with a terminfo
	  library (based on a patch by Dr Werner Fink &lt;werner@suse.de&gt;).

	<li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration (patch by
	  &lt;michael.rohleder@stadt-frankfurt.de&gt;)

	<li>improve configure script's utmp tests (based on reports by Greg
	  Smith for os390, and David Ellement for HPUX).

	<li>modify sinstall.sh to use uid=0 rather than 'root' to determine if
	  the installer is privileged.  This is needed on some systems since
	  more than one account may be privileged (report by Greg Smith).

	<li>add an application resource, <code>messages</code> (and a
	  corresponding -/+mesg option) which controls the initial permission
	  on the terminal:  if messages is set to true (the default), behavior
	  is as without the patch; if it is set to false (as per -mesg), the
	  terminal is opened in mode 0600, thus producing the effect of the
	  <code>mesg n</code> command.  This is useful for users who want to
	  redirect all their messages to one particular xterm:  it is more
	  pleasant to do this with xterm resources than with explicit calls to
	  the <code>mesg</code> program  (patch, description by David Madore
	  &lt;david.madore@ens.fr&gt;).
</ul>

<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1>
<ul>
	<li>add responses (DA and DSR) for DEC locator mode

	<li>add coding for ANSI color to DA response

	<li>implement UTF-8 translation for Media Copy (print) operations.

	<li>implement vt320 control sequences for Print Composed Main Display
	  and for Print All Pages.  The latter directs xterm to print the
	  current screen as well as the scrollback buffer.

	<li>correct error in _GNU_SOURCE configure test, which left it always
	  defined.

	<li>add more information, i.e., with strerror for some system calls in
	  the main program which may fail due to insufficient permissions
	  (prompted by a problem report for <code>-C</code> by Jeremie Petit
	  &lt;Jeremie.Petit@digital.com&gt;).

	<li>add workaround for conflict between &lt;X11/XPoll.h&gt; and
	  &lt;sys/select.h&gt; on AIX 4.3 (Richard Griswold
	  &lt;griswold@acm.org&gt;).

	<li>add configure script test to resolve conflict between between
	  &lt;X11/XPoll.h&gt; and &lt;sys/select.h&gt;

	<li>modify translation of UTF-8 sequences to reject "overly long"
	  variations (patch by Markus Kuhn).

	<li>remove <code>utf8controls</code> resource, since Markus' change
	  removes the corresponding logic.

	<li>correct a case where colors were not rendered properly.  This
	  happened when an application inserted several lines, then changed
	  colors.  If this was done all in one write, then there would be no
	  intervening refresh, and the new color was applied to the pending
	  scrolling operation which was awaiting the next refresh (reported
	  by Stephane Chazelas &lt;Stephane_Chazelas@Raytheon.com&gt;).

</ul>

<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1>
<ul>
	<li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x
	  (reported by David Ellement).

	<li>move the configure check for <code>const</code> after the check
	  for ANSI C compiler options, since those may be required to make
	  it work properly on HP-UX.

	<li>add configure test for defining <code>_GNU_SOURCE</code>

	<li>correction to <em>-hold</em> option, ensure that if data is already
	  in the output buffer that it will be displayed before closing the
	  PTY.

	<li>move the configure checks for setuid install of xterm into a script
	  to avoid installing it setuid'd to a non-root user (reported by
	  Adam Sulmicki &lt;adam@cfar.umd.edu&gt;).

	<li>correct configure script's check for termcap.h to avoid using
	  ncurses' version of it on systems that have a working
	  <code>tgetent()</code> function.  This is needed to make
	  <code>resize</code> work properly.

	<li>fix some typography in ctlseqs.ms description of DEC locator events
	  (reported by Steve Wall).
</ul>

<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1>
<ul>
	<li>change order of tests in configure script for utmp and utmpx
	  to test utmpx first, to compile on Solaris (reported by
	  Leena Heino &lt;liinu@uta.fi&gt;
	  and Patrik Hagglund &lt;patha@ida.liu.se&gt;).

	<li>add a configure test for utmp.ut_xtime, needed for SCO Openserver,
	  and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx
	  auto-configure.

	<li>remove a spurious comma in an #undef (reported by
	  David Green &lt;greendjf@cvhp152.marconicomms.com&gt; and
	  David Ellement &lt;ellement@sdd.hp.com&gt; both on HP-UX, whose
	  compiler does care about syntax).

	<li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib
	  M. Siddiqi &lt;Ssiddiqi@InspirePharm.Com&gt;, who is told that the
	  next Cygnus release will drop that symbol in their next release).

	<li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall).

	<li>patch by Alexander V Lukyanov to work around problem observed
	 in XFree86 3.3.5, reported as bug #5419 to Mozilla.  From the
	 problem report:
	<blockquote>
	xterm consumes cpu when selecting text with mouse (holding
	down left mouse button) and when a program working under the
	xterm outputs something to stdout.
	<p>
	Easy way to reproduce:<br>
		<code>while :; do echo aaa; sleep 1; done</code><br>
	(while this runs, select text and hold down left mouse button)
	watch cpu load.<br>
	release left mouse button - spinning stops.
	</blockquote>
</ul>

<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1>
<ul>
	<li>modify warning if change-ownership of PTY fails; some
	  configurations may not happen to have old-style pty's (reported by
	  Bob Maynard).

	<li>improve check in configure script for group ownership of installed
	  xterm; some platforms use the -g option of ls to toggle group off
	  rather than on (reported by Greg Smith).

	<li>minor improvement to toolbar geometry, to make it not resizable.
	  This still is not satisfactory (but is usable) since the toolbar
	  overlaps the xterm widget if the window is resized to make it
	  smaller.  It appears that some work is needed for the xterm widget's
	  geometry management to make it function properly.

	<li>implement configure script tests for utmp, tty group.

	<li>implement <em>-hold</em> option, allowing users to retain the
	  window after a shell has exited (this is recently an FAQ, but
	  prompted by a comment by Joachim Plaettner-Hochwarth
	  &lt;plaettner@aem.umn.edu&gt; in comp.unix.programmer, that the IRIX
	  winterm provides this option).

	<li>integrated change by Steve Wall to
	  add support for DEC Locator control sequences for xterm:
	  <pre>

		DECEFR - Enable Filter Rectangle
		DECELR - Enable Locator Reports
		DECSLE - Select Locator Events
		DECRQLP - Request Locator Position
	  </pre>
	  This allows the xterm mouse to be used with applications that use the
	  DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.

	<li>patch from Matthias Baake &lt;Matthias.Baake@gmx.de&gt;, for print
	  action.  From his notes:
	  <ul>
	    <li>Bug 1:
	      Underlined text is preceded by ESC [0;2m . This should be ESC [0;4m , ESC
	      [2m doesn't seem to have any effect. (print.c/send_SGR)

	    <li>Bug 2:
	      The check for the last non-empty column (while (last &gt; 0) ... in
	      print.c/printLine) omits the rightmost column of the screen, the loop must
	      start with last = screen-&gt;max_col+1 instead of last = screen-&gt;max_col.

	    <li>Bug 3:
	      Any attributes of the first character (and of all immediately following
	      characters with the same attributes) are ignored. The variable attr
	      (print.c/printLine) should be initialized with 0, not with *a &amp; SGR_MASK.
	  </ul>
</ul>

<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1>
<ul>
	<li>integrated changes by Steve Wall to implement an 88-color model
	  for systems where 256-colors cannot be allocated.

	<li>when 256-color configuration is compiled, colored bold and
	  underlining is not available; ifdef'd to avoid possible odd effects
	  in this case (reported by Steve Wall).

	<li>add resource <em>cacheDoublesize</em>, to limit the caching of font
	  information for double-sized characters.  This addresses a problem
	  reported by Aryeh Koenigsberg for X terminals with limited font
	  memory.

	<li>modify treatment of line-drawing characters in UTF-8 mode so that
	  the Unicode values are used rather than the C0 codes for storing the
	  translated characters (request by Markus Kuhn).
</ul>

<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1>
<ul>

	<li>add configure script checks for Athena headers and libraries under
	  /usr/contrib to work on HPUX (reported by several people:
		David Nixon &lt;djn@csc.liv.ac.uk&gt;
		Aryeh Koenigsberg &lt;aryeh.koenigsberg@telrad.co.il&gt;
		Johannes M&#x00E4;hner &lt;johanm@camline.com&gt;
		Andrew Gaylard &lt;andrew.gaylard@bsw.co.za&gt;).

	<li>add check to configure script if xterm is installed setgid rather
	  than setuid, since wtmp and utmp may be installed with group-writable
	  permissions other than root (based on Debian bug report #7112 by Bo
	  Branten &lt;bosse@ing.umu.se&gt;).

	<li>rewrote logic that removes data from termcap entry, e.g., for
	  titeInhibit, to make it less likely to remove the wrong data.

	<li>correct logic which checks for missing characters used for line
	  drawing.  The 0 character was tested unnecessarily, leading to
	  some inefficiency when rendering.

	<li>change termcap capability which is used as input or output of
	  ptyInitialErase logic from <em>kD</em> to <em>kb</em>.
	  Christian Weisgerber &lt;naddy@mips.rhein-neckar.de&gt; pointed out
	  in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should
	  correspond to the control sequence for <em>dch1</em>, which deletes
	  from the current position toward the right.

	<li>check for failure to change ownership of the PTY device and warn
	  when xterm is running setuid'd to root.  This was reported to happen
	  on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags()
	  call.

	<li>add xterm-noapp terminfo entry to illustate a nominally
	  bash-compatible terminal description.
</ul>

<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1>
Several fixes.  The main one is a first draft of pulldown menus.  It's not
complete (I have some minor/annoying geometry problems to correct), but is
usable.  Once it's complete I plan to add a menu to support additional
selections that won't fit on the current popup menus.  Also, this fits into my
longterm plan to allow configuring with Motif libraries.

<ul>
	<li>correct error in input conversion for NRC mode (reported by
	  Stefan Traby &lt;stefan@sime.com&gt;).

	<li>fix initialization of num_lock data in Misc struct (since those
	  fields of the reference widget aren't initialized), and add logic to
	  deal with XVision whose NumLock key does not transmit but does alter
	  keypad state.

	<li>correct a missing return-value in get_pty(), for SCO

	<li>add E2A fix for backspace (Greg Smith), i.e.,<br>
	  #define VAL_INITIAL_ERASE A2E(127)

	<li>correct foreground color within cursor outline when the
	  window is unfocused (reported by Stephane Chazelas).

	<li>corrected position of scrollbar set in ResizeScrollBar(), which
	  left it positioned incorrectly if the right scrollbar were enabled
	  from the popup menu but was not initially enabled.

	  <p>
	  I have noticed some additional problems with right-scrollbar on
	  X11R5 which I will correct later.

	<li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c

	<li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later
	  use in toolbar geometry.

	<li>add configure option --enable-toolbar

	<li>add missing definition to make ziconbeep logic not compile-in when
	  configure script disables it.

	<li>add configure-check for input-method support in X libraries
</ul>

<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1>
<ul>
	<li>add null-pointer check to FlushLog(), fixes a core dump when both
	  -l and -lf options are used when xterm is configured with wide-character
	  support.

	<li>remove "ISO" case for SD, which was due to a typographical error in
	  ECMA-48 (reported by Paul Williams &lt;paul@celigne.co.uk&gt; for
	  vttest).

	<li>add "FILES" section to manpage.

	<li>generate header file to initialize default resources for colors
	  16-255.

	<li>patches by Greg Smith for os390:
	<ul>
	  <li>add README.os390

	  <li>use the pty_search() function to find an available pty/tty pair.

	  <li>move E2A() call out of getXtermCell() to SaveText() function
	      so it will be available in all configurations.
	</ul>

	<li>patches by Todd Larason:
	<ul>
	  <li>enable SGR 48 5 in ISO color mode, not just 256 color mode

	  <li>change configure's --disable-256-color option to
	    --enable-256-color, to match its effect

	  <li>fix OSC 4 xx ?  (report ansi color) to report a string which can
	    actually be used to set the color back

	  <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors &gt;
	    15 in 16 color mode

	  <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting
	    NUM_ANSI_COLORS needed for #1 and #4 above

	  <li>correct string-terminator code passed for reference to OSC
	    responses; when in 7-bit mode, only the final byte of ST was seen.

	  <li>Allow multiple color #;name pairs in OSC 4,
	    and document changes to match.
	</ul>
</ul>

<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1>
<ul>
	<li>add control sequences for specifying the RGB value of the ANSI
	  colors, and for configuring with 256 colors (patch by Todd Larason
	  &lt;jtl@molehill.org&gt;).  I made the default configuration to
	  16-colors, because xterm uses the default color map (which has only
	  256 colors).

	<li>correct an error in DCS $ q m reporting for colors 8-15 (Todd
	  Larason).

	<li>add test/demo script for double size characters.  Used this to
	  test/correct display of double size characters that should wrap,
	  underlined double size characters.

	<li>increased cache size for double size fonts to 8, to allow for both
	  normal and bold fonts (from discussion with Aryeh Koenigsberg
	  &lt;aryeh.koenigsberg@telrad.co.il&gt;).

	<li>integrated patch from Greg Smith &lt;rys@epaibm.rtpnc.epa.gov&gt;
	  for port to OS390 (aka MVS).  OS390 uses EBCDIC rather than ASCII.

	<li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus
	  Kuhn).

	<li>implement logging for UTF-8 mode.  The output is written in UTF-8 form.
</ul>

<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1>
<ul>
	<li>If colorMode is enabled by default, compile-in default resources to
	  match the colors listed in XTerm-col.ad (this should fix a
	  longstanding FAQ).

	<li>added new OSC&nbsp;3&nbsp;;&nbsp;PROPNAME=VALUE&nbsp;ST escape
	  sequence to set an arbitrary X property on the top level xterm X11
	  window.  Omit "=VALUE" to delete the X property (patch by Greg Badros
	  &lt;gjb@cs.washington.edu&gt;).

	<li>change internal flag used for <em>utf8controls</em> resource
	  so we allow 31-bit range of characters (suggested by Thomas Wolff).

	<li>add check for 16-bit characters in OSC strings, change them to '?'
	  (reported by Thomas Wolff).

	<li>modify logic of same_font_name() to avoid trying to interpret both
	  parameters as wildcard patterns.  That does not (cannot) work, and in
	  some instances the font server will return unresolved wildcards for
	  the normal or bold fontnames, making them match inadvertently,
	  triggering the fallback overstrike logic (reported by Tim Adye).
</ul>

<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1>
<ul>
	<li>correct range-check from patch #108, which resulted in not being
	  able to select from the scrollback buffer (reported by Tim Adye
	  &lt;T.J.Adye@rl.ac.uk&gt;)

	<li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim
	  Adye).

	<li>modified install-ti rule in Makefile.in to allow override of the
	  terminfo directory when doing a "make install", i.e., by assigning
	  to TERMINFO_DIR (request by Zdenek Sekera &lt;zs@sgi.com&gt;).

	<li>added install-full rule to Makefile.in

	<li>resync mkdirs.sh and install.sh scripts against current autoconf

	<li>implement $(DESTDIR) in Makefile.in, making it simple to install
	  xterm and associated files into a directory just for packaging a
	  binary release (suggested by CaT &lt;cat@zip.com.au&gt;).

	<li>change IChar type to unsigned, rather than unsigned short, making
	  room for a flag to keep with 16-bit characters to prevent them from
	  being interpreted as C0 or C1 controls (reported by Thomas Wolff).

	<li>correct a typo from patch #107, incorrect array name, in the
	  filterUTF8 function (patch by Bruno Haible &lt;haible@ilog.fr&gt;)

	<li>add <em>utf8controls</em> resource to specify whether xterm should
	  interpret 16-bit characters unpacked from UTF-8 form as control
	  characters if they happen to fall into that range.  This behavior
	  is left unspecified by the Unicode standard (request by Thomas Wolff).

	<li>modify handling of OSC to recover if application sends 16-bit
	  characters with codes above 255.  We cannot display them as is, but
	  translate out-of-range characters to a '?' (reported by Thomas
	  Wolff).
</ul>

<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1>
<ul>
	<li>add a range-check to LastTextCol(), to guard against indexing
	  before the beginning of the scrollback buffer.  This appears to
	  happen with certain fonts under X11R5 (reported by Stephane Chazelas
	  &lt;Stephane_Chazelas@Raytheon.com&gt;).

	<li>implement resource <em>boldMode</em>, to allow disabling the
	  simulation of bold fonts when the bold and normal fonts are not
	  different (requested by Will Day &lt;willday@rom.oit.gatech.edu&gt;).

	<li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in
	  the UTF-8 selection (patch by Juliusz Chroboczek).

	<li>correct logic of binary-search in keysym2ucs.c (patch by Markus
	  Kuhn).

	<li>add special interpretation of keysym codes above 0x1000000 as
	  the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn).
</ul>

<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1>
<ul>
	<li>Two changes from Stephen P Wall.
	  From his description:
	<blockquote>
	The first change is simple - I added ESC[3J to erase the stored lines
	above the screen.  That's what the changes to util.c and ctlseqs.ms
	are.
	<p>
	The second change is to get the blinking cursor working.  I took out
	the cursorBlinkTime resource, and put in cursorBlink (Boolean),
	cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added
	a cursorblink item to the vtMenu to enable/disable it.
	</blockquote>

	<li>Integrated a patch from Juliusz Chroboczek &lt;jec@dcs.ed.ac.uk&gt;.
	  From his description:
	<blockquote>
	With this patch, selection conversion works properly:
<pre>
	ISO 8859-1 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
	ISO 8859-1 xterm -&gt; UTF-8 xterm (transferred as STRING);
	UTF-8 xterm -&gt; ISO 8859-1 xterm (transferred as STRING);
	UTF-8 xterm -&gt; UTF-8 xterm (transferred as UTF-8).
</pre>
	It will not work properly if one xterm is in, say, ISO 8859-2.
	Actually, for this case xterm breaks the ICCCM routinely (sending ISO
	8859-2 data as STRING), so I wouldn't worry too much about it.  I have
	not changed the behaviour in eight-bit mode in any way.
	</blockquote>
</ul>

<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1>
<ul>
	<li>remove duplicate fix for OpenBSD in resize.c

	<li>correct logic in ScreenWrite, which did not reset the high bytes
	  of 16-bit characters when overwriting them with a 8-bit character
	  string (reported by Thomas Wolff).

	<li>integrate patch by Markus Kuhn to provide limited support for
	  input of UTF-8 16-bit data by a lookup table.

	<li>correct check in non_blank_line to ensure we're in wide-character
	  mode before looking at the high bytes, for InsertChar.
</ul>
<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1>
<ul>
	<li>implement new resource <em>trimSelection</em>, which allows xterm
	  to trim trailing blanks from selected lines.  This does not affect
	  the highlighting. (reported by several people using <em>mutt</em>,
	  including
	  Hans Morten Kind &lt;edphk@uib.no&gt;,
	  Jeremy &lt;jeremy@exit109.com&gt;
	  and (Michael Fuller &lt;msf@mds.rmit.edu.au&gt;).

	<li>add patch by Matthieu Herrb to include term.h in resize for OpenBSD.

	<li>correct logic for UTF-8 in functions that hide and show the cursor;
	  it was displaying a space whenever the low byte of the character at
	  the cursor position was zero (reported by Thomas Wolff
	  &lt;Thomas.Wolff@icn.siemens.de&gt;).
</ul>

<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1>
This is a resync patch against XFree86 3.9Pn, reflecting changes which were
submitted by Branden Robinson, who worked with
Wichert Akkerman &lt;wichert@cs.leidenuniv.nl&gt;
to set up ifdef's to handle GNU libc 2.1,
and use getpt() which lets xterm avoid having to know the actual PTY name.
<p>
I have also added a few fixes for signed/unsigned mismatches, and corrected
a problem in the configure script (the UTF-8 code was always configured since
the Imakefile defines this).

<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1>
<ul>
	<li>correct selection logic: I omitted an offset that accounts for
	  the distance into the scrollback buffer when rewriting this for
	  patch #101.  Also fixed a similar problem for selecting double
	  size characters from the scrollback buffer (first was reported
	  by D Roland Walker &lt;walker@pobox.com&gt;).

	<li>improved support for Unix98 PTY's, using patch in Debian bug report
	  #35650, by J.H.M. Dassen &lt;jdassen@wi.leidenuniv.nl&gt;. From
	  the patch description:
	<blockquote>
	<ul>
	<li>No longer links xterm against libutil on a glibc2.1 system.
	  libutil is a compatibility library and should only be used when
	  necessary.  Rather than having get_pty() use openpty() from this
	  compatibility library, use the real UNIX98 pty support in get_pty()
	  (open()ing the master pty, through getpt() if available (glibc
	  extension)).  Use openpty() only under glibc2.0.
	<li>GNU libc2 is not Linux-specific; already it runs on the Hurd.  It
	  provides the UNIX98 pty functions (plus the getpt() extension),
	  regardless of the underlying OS.  Changed two constructs to look for
	  GNU libc2 only, not GNU libc2 on Linux.
	</ul>
	</blockquote>

	<li>improve font configuration, by checking if the user's resource
	 settings for normal and bold fonts give the same font sizes
	 (fixes problem reported by Peter Waltenberg &lt;peterw@dascom.com&gt;).
</ul>

<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1>
<ul>
	<li>revert change to openpty call in patch #101; this causes xterm to
	  fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand).

	<li>modify print.c to move include of stdio.h after the autoconf'd
	  xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent
	  prototype for getopt, probably due to problem with const (reported by
	  H Merijn Brand).
</ul>

<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1>
<ul>
	<li>moved includes and definitions for 'select' from data.h to xterm.h
	  to fix problem introduced by prototype for getPtyData, part of UTF-8
	  changes (reported by Jens Schleusener &lt;Jens.Schleusener@dlr.de&gt;)

	<li>added "Meta &lt;Btn2Down&gt;:clear-saved-lines()" default
	  translation (patch by H Merijn Brand)

	<li>fixes to configure script and ifdef's in main.c to build on a
	  HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2
	  and HP's ANSI C compiler (patch by H Merijn Brand
	  &lt;PROCURA_BV@CompuServe.com&gt;)

	<li>add more parentheses in ifdef's (patch by Bob Maynard).

	<li>eliminate conflicting definitions for USE_TERMINFO in resize.c
	  (reported by Jeremy Buhler).

	<li>change openpty call to pass NULL rather than ttydev parameter,
	  since that was used only to estimate the length of the
	  corresponding data, and may not really be long enough
	  (reported by Andreas Jaeger)

	<li>update description in xterm manpage for character class table,
	  which said it handles only 7-bit codes.

	<li>correct a typo in ScrnDeleteChar() which made it not clear the
	  high byte of wide-character data.

	<li>add logic to convert selection to UTF-8 form when appropriate.
	  This makes select/paste "work", but further work is needed to
	  make UTF-8 recognized as a locale in Xlib.

	<li>correct right-limit check when selecting double-width characters.

	<li>change default answerback response to an empty string.
</ul>

<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1>
<ul>
	<li>Correct a typo in the default resource value for
	  backarrowKeyIsErase:  it was always true (reported by Bram
	  Moolenaar).

	<li>improve configure script's test if the installed xterm is setuid,
	  in case that is a symbolic link.

	<li>correct "install-ti" rule in Makefile.in, by not setting a blank
	  $TERMINFO value.  That is interpreted as "." by ncurses' tic.
</ul>

<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1>
<ul>
	<li>correct logic that computes num_ptrs count of the number of indices
	  into the screen buffer.  This is the maximum of the colors and
	  character-set indices; was incorrect in patch #97.

	<li>correct argument type for sigsetjmp, incidental change in patch
	  #96's Unix88 PTY patch (reported by Bram Moolenaar).

	<li>correct description of secondary DA in ctlseqs.ms (reported by Bram
	  Moolenaar).

	<li>decouple the backarrowKey and ptyInitialErase resources by
	  adding a new resource backarrowKeyIsErase, to accommodate people
	  using applications which have hardcoded tests for characters 8 and
	  127 rather than relying on the stty settings.

	<li>modify the UTF-8 decoder so that all possible illegal UTF-8
	  sequences are properly represented by U+FFFD.  This should be very
	  helpful for developers of code that output UTF-8 strings for
	  debugging.  See the file utf-8-test.txt in
	  http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a
	  demonstration text that contains numerous illegal UTF-8 values.
	  (patch by Markus Kuhn).

	<li>correct a place in ScrnRefresh where I was filling the high byte of
	  a wide character with a space rather than a null (reported by Markus
	  Kuhn).
</ul>

<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1>
<ul>
	<li>correct data manipulation in unparseputc(), broken for
	  little-endian machines by patch #97's UTF-8 changes.  This meant that
	  keyboard input on SunOS did not work, though Linux i386 was fine.

	<li>modify initialization for backarrowKey and logic for initial-erase
	  to prevent the initial-erase from overriding an explicitly set
	  backarrowKey resource (reported by Vikas Agnihotri).

	<li>add a missing null-pointer check in ScrnRefresh, for the
	  wide-characters configuration.
</ul>

<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1>
<ul>
	<li>add configure script test for -lutil, needed for openpty call when
	  configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by
	  Martin Lorentz" &lt;m.lorentz@w12.link-goe.de&gt;).

	<li>completely parenthesize ifdef expressions for Glibc (suggested by
	  Bob Maynard).

	<li>add initial-erase options (-ie, +ie) to help message (reported by
	  Vikas Agnihotri).

	<li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy
	  Buhler).

	<li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL
	  (\177).
	  I overlooked this when separating the styles of keyboard with
	  the <em>sunKeyboard</em> resources in patch #94, so that it normally
	  matches the value of the stty erase character:
	  <ul>
	  <li>Reported by Jae Gangemi &lt;jgangemi@ccf.rutgers.edu&gt;,
	    this caused emacs to not process the DEL properly, combining it
	    with succeeding characters.
	  <li>This does not appear to be related to a problem which I have
	    found with <em>screen</em>, which translates the stty erase into
	    the termcap <em>kD</em> or terminfo <em>kdch1</em> value
	    (depending on how it is linked)
	    if the $TERMCAP variable is set when <em>screen</em> is invoked.
	  </ul>

	<li>add command-line options for enabling UTF-8 mode: -u8 and +u8.
	  The more obvious -utf8 and +utf8 would conflict with xterm's
	  -ut and +ut (utmp) options.

	  The UTF-8 changes were requested by Markus Kuhn
	  &lt;Markus.Kuhn@cl.cam.ac.uk&gt;.  This patch does not complete UTF-8
	  implementation, but makes it usable, i.e., display and refresh work,
	  and I am able to display the test cases which Markus provides.
	  More work is needed to complete this feature:
	  <ul>
	  <li>the control sequences for switching in/out of UTF-8 mode are
	    partly implemented (don't use them).  Similarly, the switching
	    between vt100 and tek4014 emulations when UTF-8 mode is enabled
	    will not work properly.
	    <p>
	    You must use the -u8 command line option
	    to use this feature, as well as compile with the OPT_WIDE_CHARS
	    definition.
	  <li>cut/paste only copies 8-bit characters.
	  <li>logging is disabled in the wide-character configuration
	  <li>printing only writes 8-bit characters.
	  <li>input only does 8-bit characters.  This is the area that I know
	    least about.
	  </ul>
</ul>

<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1>
<ul>
	<li>modify Makefile.in to work with configure script's --srcdir option.
	  (patch by Jeremy Buhler &lt;jbuhler@cs.washington.edu&gt;)

	<li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh
	  scripts (reported by Vikas Agnihotri).

	<li>improve logic that looks for bold fonts to allow for wildcards
	  in the specification for normal fonts, and to ensure that if
	  a bold font is specified as normal, that xterm will simulate a
	  bold version of that using a one-pixel offset overstrike
	  (reported by Henrik Harmsen &lt;harmsen@erv.ericsson.se&gt;).

	<li>correct horizontal spacing of double width line-drawing characters
	  that xterm simulates.

	<li>improve support for Unix98 PTY's, using patch in Debian bug report
	  #35650, by Topi Miettinen &lt;Topi.Miettinen@medialab.sonera.fi&gt;.
	  Andreas Jaeger says this also corrects a permissions problem
	  reported by cat@zip.net.au

	<li>modify initial-erase logic to ensure that <code>ttyModes</code>
	  resource overrides it.
</ul>

<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1>
<ul>
	<li>modify primary DA response to allow a '1' parameter.

	<li>add printer and national replacement character sets to VT220
	  primary DA response.

	<li>document primary and secondary DA responses in ctlseqs.ms

	<li>use the patch number (e.g., 95) in the secondary DA response,
	  providing user applications a means of determining the version
	  of xterm for feature comparison (request by Bram Moolenaar).

	<li>make xterm respond to secondary DA when the decTerminalID
	  is set for VT100.

	<li>limit user-defined keys (DECUDK) to VT220-style keyboard
	  when sunKeyBoard resource is true.

	<li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with
	  Glibc-2.1 and no Unix98 PTY support (patch from From Andreas Jaeger
	  &lt;aj@arthur.rhein-neckar.de&gt;)

	<li>add optional feature (resource and command-line options) to make
	  xterm use the PTY's sense of erase character on startup, rather than
	  requiring it to be \177, or set the PTY's erase character to match
	  xterm's configuration.  Note that while $TERMCAP is modified to
	  reflect the actual configuration, the terminfo kdch1 string is not
	  (request by Dirk H Hohndel &lt;hohndel@suse.de&gt;)

	<li>improve scripts in vttests to work with newer shells that do not
	  use 'echo -n'.

	<li>add fonts.sh example script

	<li>correct inequality in handling of "#1" font specification.

	<li>correct call to XGetWMNormalHints() used for computing maximum
	  screen size; the size hints may not have been set.

	<li>begin implementation of support for wide-characters (configure
	  option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with
	  -wc option to activate this feature).  This patch optionally widens
	  internal data structures, invokes the 16-bit text output rather than
	  the 8-bit version and adds some tables.

</ul>
<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1>
<ul>
	<li>further fixes for terminfo: ka1, ka3, etc., differ between the
	  default xterm-xfree86 and xterm-vt220 entries.

	<li>change default (with sunKeyboard resource false) behavior of
	  the editing keypad "Delete" to send a 127, like xterm-r6.
	  The VT220-style <code>&lt;esc&gt;[3~</code> is sent when
	  sunKeyboard is true (reported by Tomas Vanhala).

	<li>add parameters to function keys to indicate if shift, control
	  or alt are set.  The codes are based on a description of
	  a DEC VT510 with a PC keyboard, from Jeffrey Altman
	  &lt;jaltman@watsun.cc.columbia.edu&gt;.

	<li>add control sequence 1035, set-num-lock action and num-lock
	  menu entry to control the use of the NumLock and Alt keys for
	  the Sun/PC and VT220 keyboard extensions.

  	<li>implement DECSET/DECRST numeric keypad (DECNKM) mode.

	<li>modify terminfo and termcap to use recommended "X Window" or "X11"
	  names rather than "X Windows" (reported by Tomas Vanhala).

	<li>suppress translation of shifted keypad "+" when sunKeyboard
	  is true.

	<li>workaround unexpected behavior (perhaps bug) in XmbLookupString,
	  which returns trash in the string buffer for numlock and control-key
	  combined with keypad-keys.

	<li>modify ScrollBarReverseVideo() to keep scrollbar border visible
	  when reverse video is toggled.

	<li>correct missing case for parameter 17 (set highlight color) in
	  dynamic colors control sequences.

	<li>extend dynamic colors control sequences to allow users to
	  determine the colors and font which are currently active.

	<li>minor tweak to OSC responses, to use BEL if the application used
	  that to end the request, rather than ST.  This works better with
	  shell scripts, which may not handle an
	  <code>&lt;esc&gt;backslash</code> very well.

	<li>separate menu settings for reverse video from that done under
	  program control.

	<li>corrected ifdef's for menus, which did not allow tek4014 to
	  be suppressed properly (reported by Clint Olsen).

	<li>integrated patch from Pavel Roskin
	  &lt;pavel_roskin@geocities.com&gt;
	  for Linux-2.2.x with GLibc-2.1 and
	  /dev/ptmx support:
	<ul>
	  <li>main.c and resize.c were using different rules to determine
	    whether ATT should be defined (actually USE_USG_PTYS is more
	    apt).

	  <li>copy definitions from main.c to resize.c to prevent
	    sys/stream.h and sys/ptem.h from inclusion when SYSV is not
	    defined

	  <li>define CNUL if not already defined like other variables.

	  <li>/dev/tty does exist in Linux, but it doesn't mean, it
	    should be used.  Therefore EACCES is now an acceptable
	    result.

	  <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH,
	    "ptem")</code> to build on Linux (I_PUSH is not defined when
	    sys/stropts.h is not included).
	</ul>

	<li>initialize second "ltc" variable in main.c (reported by David
	  Dawes).

	<li>provide definition for USE_USG_PTYS in screen.c

	<li>add resource-files to install rule in standalone Makefile.in

	<li>add sample scripts to illustrate titlebar controls, resizing
	  and colors.
</ul>

<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1>
Here are several fixes and minor enhancements.  The chief ones
are the fixes for NumLock mode and reverse video, since we had become
used to working around the problems.
<ul>
	<li>remove kfnd/kll/kslt strings from terminfo, because curses
	  applications do not necessarily return khome/kend pairs
	  (reported by Vikas Agnihotri).

	<li>implement NumLock resource which overrides the keyboard tables for the
	  special case of keypad keys.  This is a problem introduced in xterm
	  by X11R6 changes, i.e., an ambiguity which in effect discarded vt100
	  keypad support.

	<li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100
	  keypad) to the remainder of the numeric keypad.  Now, the default
	  operating mode of xterm uses the keyboard tables as-is (except if
	  the NumLock mode overrides), but provides good vt100 keypad compatibility
	  if the Sun/PC keyboard menu item is checked.

	<li>separate command-line settings for reverse video from that done
	  under program control.  This is a problem which was introduced by
	  X11R6.  Though <em>correct</em>, most users are confused by allowing
	  the reset command to undo the effect of the command-line <kbd>-rv</kbd>
	  option.

	<li>add description of function keys, keypad and cursor keys to ctlseqs.ms

	<li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp

	<li>correct typo (missing case value) for DECSET 35, enable/disable
	  shifted keypad action and a few compiler warnings (reported by Zdenek
	  Sekera &lt;zs@sgi.com&gt;).

	<li>correct reporting of color values 8-15 in DECRQSS (reported by
	  Vikas Agnihotri).

	<li>modify parsing of ttyModes resource to recognize "^-" as "undef"
	  (requested by Tomas Vanhala).

	<li>integrate/extend changes to add iconify/maximize actions
	  (from Edward S. Arthur &lt;eda@ultranet.com&gt;).

	<li>add control sequences for maximizing/restoring window, and
	  for reporting maximum screen size.

	<li>add 'interpret' action, to support local function-key interpretation.
	  Used properly, this makes most of the specialized actions of xterm
	  redundant.

	<li>add control sequence private modes 1051, 1052 and 1052, for
	  setting the Sun and HP function key modes, and for setting the
	  Sun/PC keyboard mode.

	<li>add configure option --disable-maximize

	<li>add configure option --disable-num-lcok

	<li>extend descriptions of configure script options in INSTALL.
</ul>

<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1>
<ul>
	<li>increase buffer size for tgetent (i.e., termcap) to 1500.  This
	  fixes a problem where <em>screen</em> is built using ncurses or
	  GNU termcap and <em>xterm</em> is built using the standard termcap
	  interface.  The former does not limit the termcap size, while the
	  latter is assumed to be no longer than 1023 characters.  The
	  <em>screen</em> program's termcap entry is about 1200 characters
	  long.

	<li>change update_menu_item() to a function, to simplify debugging.
	  This also reduces the executable by 4Kb.

	<li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable
	  or disable some features that were only settable via resources or
	  command line arguments).

	<li>add control sequence for DECSET 35, which enables/disables the
	  shifted keypad functions.

	<li>add support for switching font sizes, by stepping through the
	  font menu using shifted keypad plus and minus.

	<li>correct missing initialization of tekInhibit and tekSmall resources.

	<li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry
	  (reported by Bram Moolenaar).
</ul>

<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1>
<ul>
	<li>Implement logic to translate input characters which are mapped
	  when in vt220 National Replacement Character mode (requested by
	  Tomas Vanhala).

	<li>Resync configure scripts with my patches to autoconf 2.13

	<li>Change order of -lXmu and -lXext to accommodate cygwin32
	  (reported by Vikas Agnihotri).

	<li>Add "-ti" option to set terminal emulation level from command
	  line rather than via resource.

	<li>Simplify some of the preprocessor logic using #elif.
</ul>

<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1>
This implements several small fixes and enhancements.  The chief one implements
fallback support for line drawing characters with fonts that do not include
those characters.  But I implemented that last.

<ul>
	<li>If any of the glyphs in positions 0-31 (used by xterm to implement
	  the VT100 alternate character set) are zero-sized (i.e., missing),
	  xterm will reserve a normal space for the glyph when drawing.  I
	  implemented a simple stroke-drawing function to draw the line-drawing
	  characters and a couple of the other (simpler) characters such as
	  diamond.  (This was suggested by Vikas Agnihotri).

	<li>Modify the computation of doublesize characters to work around font
	  servers which shift the scaled characters up/down or do not give the
	  correct width.

	<li>Add popup menu item and corresponding resource settings to disable
	  the font-scaling logic for doublesize characters to work around
	  (older) font servers which simply do not draw the fonts scaled to the
	  size that they said they would.  I see this problem on a SunOS system
	  running X11R5; the X11R6 servers seem well behaved.

	<li>Implement new escape sequence, private mode 1049, which combines
	  the switch to/from alternate screen mode with screen clearing and
	  cursor save/restore.  Unlike the existing escape sequence, this
	  clears the alternate screen when switching to it rather than when
	  switching to the normal screen, thus retaining the alternate screen
	  contents for select/paste operations.

	<p>When I implemented the popup menu entry to toggle between the normal
	  and alternate screens, I considered only pasting from the normal
	  screen to the alternate; this improvement allows either direction.

	<li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit
	  to use the new 1049 private mode.

	<li>Modify the logic which switches between normal and alternate
	  screens so that the save/restore cursor operations apply only to the
	  current screen.  That means that applications which use the terminfo
	  smcur/rmcur or termcap ti/te capabilities will restore the cursor to
	  the original position on the normal screen rather than to the most
	  recent place where a save-cursor operation was performed.

	<p>I note that a real VT100 terminal would not behave in this way,
	  but it is a moot point since the VT100 does not implement alternate
	  screen, and therefore the save/restore cursor sequence would not be
	  used in this context.  I reviewed the logic which switches between
	  normal and alternate screens based on some recent newsgroup postings
	  as well as a proposed patch in the Debian group which attempts to
	  do this (the patch has a bug, however, so I did not use it).

	<li>Add popup menu entry for toggling the titeInhibit resource.

	<li>Add new resource answerbackString, which overrides the default
	  "xterm" returned by xterm when responding to an ENQ (control/E)
	  character (request by Rajesh Vaidheeswarran &lt;rv@fore.com&gt;).

	<li>Add new resource keyboardDialect for setting the NRC display
	  character set (request by Tomas Vanhala, who notes that I should
	  add logic to translate the keyboard as well).

	<li>Add new command-line option and corresponding resources for making
	  xterm generate escape sequences compatible with HP terminals.  Like
	  the existing Sun escape sequences, this is available as a popup menu
	  item.  It is enabled by the configure script with the option
	  --enable-hp-fkeys (requested by Toni Mueller &lt;sales@oeko.net&gt;).

	<li>Add configure script option --disable-boxchars to disable the
	  fallback support for line drawing characters.

	<li>Fix ifdef's for configure script --disable-ansi-color, and reviewed
	  all configure options to ensure that all can be enabled/disabled
	  appropriately.

	<li>Update config.guess and config.sub, from Lynx.
</ul>

<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1>
This patch completes the implementation of double-sized character support
for the VT100 emulation, and fixes a few minor bugs:

<ul>
<li>corrected the cursor position in HideCursor, which did not multiply
the column by two when in doublesize mode.
This bug, which did not appear in normal use,
dates back to my original <a href="#xterm_44">changes</a> to partly implement
double-sized characters.
I noticed it when cat'ing a typescript from vttest's double-sized character
test.
<li>ensure that the current line is repainted when switching between
single and double width characters.
<li>reduce the number of bits used for double-sized character coding
from 3 to 2, to make more room for soft-font codes.
<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c,
which address details of glibc and powerpc.
<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3
<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed
printing the script for $LINES and $COLUMNS.
Solaris' resize utility does this; suppressing the behavior is unnecessary.
</ul>
I tested the double-sized characters using vttest and the xfsft patch.
These fonts worked reasonably well:
<pre>
	-bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
	9x15
</pre>
The iso8859 font does not include box characters, of course, but looks good.

<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1>
This refines my #85 patch by checking for a case where the font server
returns a bold font that does not quite correspond to the normal font.
When I asked for a bold version of the 6x12 font, the font server
returned a near equivalent where the ascent and descent values did not
match, causing xterm to leave lines across the display.
This patch makes xterm reject that type of mismatch, falling back to the
old font behavior.

<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1>
This corrects a problem reported by Stefan Dalibor.  My table entries for the
<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong
types for sizeof, causing the printer to not work properly on some platforms
because the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha).
<p>
I reviewed all of the resource table entries and fixed a potential problem with
<em>resizeGravity</em>, which was typed as <em>int</em> rather than
<em>XtGravity</em>.

<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1>
A small fix: when switching to/from the continuous mouse reporting mode,
the event mask was incorrect if xterm was built under X11R5 because the
original data was saved under an ifdef for active-icon.

<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1>
Some cleanup (I noticed the pixel droppings a few months ago after getting a
new 17" monitor):
<ul>
	<li>split-out the functions that load/reload fonts for xterm as new
	  file fontutils.c to extend them to support automatic loading of
	  bold font corresponding to the normal font.  Adapted logic from
	  EMU 1.3 for this purpose.  This fixes most occurrences of pixel
	  droppings from bold characters.

	<li>modified by renaming variables and adding casts to permit compile
	  with g++.

	<li>modify headers so they can all be compiled without order
	  dependencies, and use bracketed rather than quoting includes to allow
	  compile from separate directory.

	<li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with
	  Solaris entry now in ncurses.
</ul>

<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1>
Several small fixes and enhancements, including a patch from
Bjorn Helgaas:
<ul>
	<li>correct initialization of TERMCAP environment variable, which
	  was frequently set to garbage on non-Linux systems because
	  "termcap" and "newtc" contained random data from the stack.

	<li>remove the LINEWRAPPED attribute from lines as they are cleared.
	  Previously, the attribute was set but never cleared.

	<li>make word and line selections work even when lines are wrapped
	  by xterm.  Previously, selections were limited to one screen line.
</ul>
as well as
<ul>
	<li>modify logic for line-wrapping to reset the associated flag if
	  the application deletes a character. This fixes a problem reported
	  by Bjorn Helgaas where word/line selection would still wrap even
	  after deleting characters from the first line.
	<li>add kll/kH capabilities to xterm-xfree86 entries in termcap and
	  terminfo (request by Michael Schroeder).
	<li>shorten descriptions in termcap to make resolved entries all
	  shorter than 1023 character limit.
	<li>use DECSTR control sequence to shorten initialization and reset
	  strings in xterm-xfree86 termcap and terminfo.
	<li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap.
	<li>correct typos in initialization and reset strings in xterm-r5
	  termcap and terminfo.
	<li>disable special translations of key symbols (the backarrow key,
	  the editing keypad and the keypad "+") when a modifier other than
	  shift, control or numlock is used.  This makes xterm handle the meta
	  key as expected by people using emacs (reported by Pete Harlan
	  &lt;harlan@pointofchoice.com&gt; in linux.debian.user newsgroup).
</ul>

<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1>

Merge changes through patch #83 with the 3.3.2e version.  This follows a
patch by Matthieu Herrb &lt;matthieu@laas.fr&gt; to add checks for non-null
return from malloc.

<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1>
Several small fixes and enhancements:
<ul>
	<li>add configure test to infer if xterm should be installed setuid
	  based on previously installed xterm (reported by Stephen Marley
	  and Stefan Dalibor).

	<li>integrate/extend patch by Jason Bacon to implement quasi-continuous
	  mouse reporting.

	<li>correct control sequences transmitted by function keys F1 to F4
	  when sunFunctionKeys resource is true (it was still using the
	  VT100 control sequences).

	<li>modify handling of backarrow key so that the control modifier
	  toggles the backspace/delete interpretation set by the
	  backarrowKey resource.

	<li>limit the row and column values used to report mouse position.
</ul>

From resync with XFree86 3.9Nb:
<ul>
	<li>add support for the VSTATUS control character (patch by
	  Robert Earl &lt;rearl@teleport.com&gt;).
</ul>

<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1>
Bug fix for patch #81:
<ul>
	<li>remove an #undef for NBBY, which caused compile problem on FreeBSD
	  (reported by David Dawes).
</ul>

<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1>
More bug fixes:
<ul>
	<li>fix conflicting ifdef's for TIOCSLTC when building with Linux on
	  AXP aka DEC Alpha (reported by Robin Cutshaw).

	<li>correction to patch #79, move assignment for *utptr-&gt;ut_user = 0;
	  back into non-SVR4 ifdef in main.c, since this clobbers username on
	  Solaris 2.5.1 (analysis by Will Day
	  &lt;willday@rom.oit.gatech.edu&gt;).

	<li>corrected khome/kend in xterm-8bit terminfo description.

	<li>improve cursor color by making it always the reverse of fg/bg
	  unless the cursorColor resource is set, i.e., to something other than
	  the default foreground (reported by Vikas Agnihotri and Bram
	  Moolenaar).

	<li>minor fixes for compiler warnings, including a syntax error in
	  the AMOEBA ifdef's.
</ul>
From resync with XFree86 3.9Aj:
<ul>
	<li>correction to patch #73, supply missing #else for fallback definitions
	  of size_t, time_t (Robin Cutshaw &lt;robin@intercore.com&gt;).
</ul>

<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1>
This fixes a couple of items leftover or introduced by patch 79:
<ul>
	<li>take out the logic that suppresses editing-keypad in vt100 mode
	  (those keys are too valuable to give up for a fine point of
	  emulation).

	<li>corrected a couple of places in terminfo where I missed using the
	  vt220-style editing-keypad codes for Find/Select (mapped to Home/End).

	<li>checked termcap file against terminfo, fix several places where it
	  was inconsistent.
</ul>

<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1>

This patch fixes several small bugs:
<ul>
	<li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala).

	<li>add new resource 'oldXtermFKeys' which provides backward compatibility
	  for F1-F4 control sequences with TOG's xterm.

	<li>determine the server's default foreground/background Pixel values,
	  needed if the -flipPixels X server option is used (reported by
	  David Dawes).

	<li>correct logic for F1-F4 function keys so that they generate VT100
	  compatible escape sequences in VT220 mode, since that is what the
	  numeric keypad is supposed to do (reported by Ron Johnson, Jr.
	  &lt;ronjohn@communique.net&gt;).

	<li>modify logic for editing keypad to work more like VT220: don't
	  pass those codes in VT100-mode unless oldXtermFKeys mode is set.

	<li>correct an interaction with the editing-keypad logic that prevented
	  backarrow key from sending a 127 for the delete key (the 'remove'
	  escape sequence was being sent instead).

	<li>use return-value from getuid() rather than the parameter, to work on
	  systems which do not update the latter (patch by Kevin Buhr
	  &lt;buhr@mozart.stat.wisc.edu&gt;)

	<li>correct scrollbar border color when toggling to/from secure keyboard
	  mode (patch by Jeff Uphoff &lt;juphoff@tarsier.cv.nrao.edu&gt;)

	<li>modifications to terminfo file:
<ul>
	  <li>rename description to xterm-xfree86, adding an entry 'xterm'
	    which is derived from xterm-xfree86 to simplify customization.

	  <li>change string for kdch1 from \177 to \E[3~, to address complaints
	    from Debian developers.  (This applies to the key labeled "Delete",
	    and does not affect the backarrow key).

	  <li>add user-strings u6, u7, u8, u9 to entries to make them work with
	    Daniel Weaver's "tack" program.

	  <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from
	    explicit dependency upon xterm-xfree86.

	  <li>add generic 'xterm-color' entry.

	  <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and
	    xterm-r6 entries.
</ul>
</ul>

<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1>

Again, most of the bulk of this patch is for ANSI conversion.  I used the
IRIX compiler's -wlint option to find the remaining functions that use
K&amp;R syntax (since gcc does not do this properly).

Also, I changed the logic in the print code slightly to close unwanted files
before opening a pipe to the printer.  This may help in some configurations
where the line printer hangs until xterm closes the pipe.

<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1>

Most of the bulk of this patch is to convert the extended C (K&amp;R functions
with prototypes) to ANSI.  I verified that on Linux by comparing object
files, to ensure that I did not, for example, interchange parameters in
the function declarations.
<p>
The rest of the patch fixes several minor bugs, and adds a few features:
<ul>
	<li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif)
	  formatting, since ncurses did not correctly filter embedded newlines
	  in terminfo capability strings until _after_ ncurses 4.1, thus
	  corrupting setf/setb/sgr strings (reported by Darren Hiebert and
	  others).

	<li>document SGR 8, 28 (invisible/visible), add corresponding
	  capabilities to terminfo description.
<p>
	  I would also add the 'prot protected capability, but the control
	  sequences for that would not be recognized or properly ignored by the
	  older xterm programs.

	<li>modify ChangeGroup to not suppress a null-resource, but treat it as an
	  empty string (recommended by Stefan Dalibor).

	<li>add printerAutoClose resource to control whether printer is closed
	  when going offline.  More than one person reports problems (on
	  Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed
	  unless xterm exits; I think that it is a problem flushing the pipe.
	  Closing it ought to flush it.

	<li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt
	  XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak).

	<li>change calls on FillCurBackground to ClearCurBackground, in effect
	  using XClearArea rather than XFillRectangle when clearing as a
	  side-effect of scrolling and insertion  (patch by Alexander V
	  Lukyanov)

	<li>correct some places where insert/delete did not _move_ the color
	  attributes, using memmove (patch by Alexander V  Lukyanov
	  &lt;lav@long.yar.ru&gt;)

	<li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1
	  (patch by Andrew Sumner &lt;andrew_sumner@hotmail.com&gt;).

	<li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this
	  causes some applications (such as 'less') to get incorrect $LINES and
	  $COLUMNS values (reported by Clint Olsen).

	<li>modify behavior for HP-UX, to set the "reserved" process group
	  controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an
	  error (patch by Ben Yoshino &lt;ben@wiliki.eng.hawaii.edu&gt;).

	<li>correct length of underlining, reducing it by one pixel to avoid
	  leaving a dot when the application does not clear the whole screen
	  (patch by (Sergei Laskavy &lt;Laskavy@cs.msu.su&gt;).
<p>
	  I noticed this only recently myself (and other people as well); it
	  depends on the font chosen.  A 6x10 font shows it, but the other
	  fonts (from XTerm.ad) do not.  I also see a similar problem with the
	  emulation of bold fonts.

	<li>add include for Xos.h to xterm.h, to ensure proper definitions
	  (reported by Holger Veit).

	<li>update config.guess to recognize Unixware 2.1 and 7 (patch by
	  Mike Hopkirk &lt;hops@sco.com&gt;).
</ul>

<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1>

A fix for the print-window function, and some minor cleanup:
<ul>
	<li>modify logic that closes pipe in the print-window function to not use
	  pclose, which does not work on all systems, since I did not open the
	  pipe with popen (reported by Stefan Dalibor).

	<li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported
	  by Stefan Dalibor).

	<li>guard logic in ChangeGroup() function against null pointer
	  (reported by Stefan Dalibor).

	<li>ensure that menu entry for toggling sunKeyboard resource is
	  initialized (reported by Branden Robinson &lt;branden@purdue.edu&gt;).

	<li>gcc unused-variable warnings (reported by Bernd Ernesti
	  &lt;bernd@arresum.inka.de&gt;)

	<li>rename global variable 'buffer' to 'VTbuffer'
</ul>

<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1>

This incorporates fixes from several people, as well as some improvements
that I made based on feedback from users:
<ul>
	<li>add option to standalone configure script, "--with-own-terminfo-dir",
	  which causes xterm to pass a predefined value of $TERMINFO to the
	  application.  Also use this value in install rule "make install-ti",
	  for the standalone configure script.

	  (patch &amp; feedback from Tor Lillqvist &lt;tml@hemuli.tte.vtt.fi&gt;)

	<li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist).  The
	  imake configuration uses the former, but the latter is predefined by
	  HP's compilers.

	<li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch
	  by Tor Lillqvist).

	<li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's.  Works
	  both on HP-UX 9 and 10.  (patch by Tor Lillqvist).

	<li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from
	  imake, needed for compiling under DEC OSF/1 (reported by
	  Stefan Dalibor)

	<li>modify print-window action so that the printer is closed after
	  printing a window, unless the printer was already opened (i.e.,
	  by an application running in the window).  This makes the printing
	  complete without having to exit xterm, since not all systems treat
	  fflush through a pipe very well (reported by Stefan Dalibor)

	<li>modify printing code so that the ^M's are not printed if the
	  printAttribute resource is set to zero (request by Stefan Dalibor).

	<li>correct typo in xterm.man, for the default value of printAttribute
	  (reported by Stefan Dalibor).

	<li>correct printing code so that the alternate character set is
	  printed, like other attributes, with escape sequences.

	<li>correct termcap description, removing spurious 'm' character from
	  the 'op' capability (reported by Greg Woods &lt;woods@weird.com&gt;).

	<li>correct trace code so that the initial timestamp is set.

	<li>correct/modify utmp data for the Linux glibc 2 configuration,
	  so that the ut_line member is set before using it to update wtmp
	  (patch by Bill Nottingham &lt;wen1@cec.wustl.edu&gt;).
</ul>

<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1>

This corrects a couple of recent bugs and adds a new resource:
<ul>
	<li>modify definition of TRACE_CHILD so that it does not conflict with
	  ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri
	  &lt;VikasA@att.com&gt; and Stefan Dalibor).

	<li>correct ownership of file (actually pipe) written by the print
	  controls.  When undoing the setuid changes in patch #69, I overlooked
	  this.  Now xterm forks a process which resets setuid and routes the
	  printer data as the real user.

	<li>add a new resource, "printAttributes", which controls whether
	  color attributes (or any attributes) are sent to the printer.
</ul>

<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1>

This patch does the following:
<ul>
	<li>implements a print-window facility for xterm.  Though useful in
	  itself, I added it as part of some debugging which I am doing.
	  (Occasionally during an exposure event xterm fails to restore the
	  proper colors for highlighted text, and printing the screen will
	  show the internal states nicely).
<p>
	  The print facility now also displays the color information.
	  (I will probably make this a resource).

	<li>modified the xterm-16color terminfo description to use the setaf and
	  setab strings, which is a little more efficient (requested by Stephen
	  Marley).

	<li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h,
	  errno) making the configure script test for these.
<p>
	  I removed the symbols Size_t and Time_t, since they no longer serve
	  a useful purpose.

	<li>added some debugging traces to show the initial screen size,
	  and the success/failure of the ioctl calls pass handle window
	  resizing events to the application (for Clint Olsen).
<p>
	  I also modified the trace code to produce two files since some
	  of the information is produced by the child process.  So now
	  they are Trace-parent.out and Trace-child.out

	<li>updated configure test for ANSI compiler options to handle a
	  special case for HP-UX 10.x (reported by Clint Olsen).
</ul>

<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1>

This is a patch from Chris Siebenmann &lt;cks@hawkwind.utcs.toronto.edu&gt;,
which I have cleaned up a little, and integrated into the configure script.
<p>
From his description:
<blockquote>
 This set of patches is the latest incarnation of patches originally
written by Ian! D Allen, then of the University of Waterloo and now of
who knows where; I have been carrying them forward from xterm to xterm
ever since about X11R4.  What they do is add an option so that when an
iconified xterm receives output it prepends '*** ' to its icon title
and (optionally) beeps the bell; deiconifying the xterm removes the
'*** '. Over the years I've found this to be incredibly convenient for
monitoring all sorts of low-activity things.
</blockquote>

<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1>

This patch is a slightly modified version of one by Richard Braakman, which
prevents buffer overflow in the input-method and preedit-type parsing in xterm.
I changed a couple of details to make the code more maintainable, and looked
for similar things - copying into a fixed-size buffer (found none, though I did
spot an unused variable).

<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1>

This patch corrects some minor bugs in xterm, and fills in some more details
in the VT220 emulation:
<UL>
	<LI>modify Imakefile to use SpecialCObjectRule for menu and data modules,
	  making xterm build properly if logging is enabled
	  (patch by Scott Sewall &lt;scott@iprg.nokia.com&gt;).

	<LI>restore "ich" capability to terminfo entries, since
	  Michael Schroeder points out that "ich1"
	  is the one which is the problem in Solaris vi.

	<LI>correct color of cursor, which would disappear on inverse-video
	  since the initialization did not compare the cursor color against
	  both foreground and background (reported by Olivier Calle).

	<LI>correct abbreviation-test for -version and -help options, making
	  command-line option -vb work (reported by Stefan Dalibor).

	<LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and
	  OPT_INPUT_METHOD (reported by Stefan Dalibor).

	<LI>split-out character-set translations as new module charsets.c, to
	  implement VT220 national replacement character sets (a mode where
	  some of the characters are displayed as specific European glyphs).
	  This relies on xterm using an ISO 8859-1 font (approach suggested by
	  Kenneth R. Robinette &lt;zkrr01@mailbox.neosoft.com&gt;).

	<LI>correct a missing increment, which made SS2 and SS3 controls
	  repeat the shifted character.

	<LI>add xterm-nrc to terminfo to illustrate the VT220 national
	  replacement character sets.

	<LI>reformat terminfo using new ncurses tic option "-f", which makes
	  if/then/else/endif expressions easier to read.
</UL>

<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1>

This corrects the problem in xterm with utmp, reported by Olivier Calle
&lt;olivier@tc.fluke.com&gt;
as well as some other people after the XFree86 3.3.2 release.
<P>
The error was introduced by my patch #53 in XFree86 3.9r (October 1997).
<P>
The correction removes the reset of setuid/setgid before the main event loop,
and solves the problem which I had worked around in a different manner:  for
some reason, the particular waitpid() call in creat_as() hangs, does not
return when the child process exits.  I changed the ifdef's to force the Linux
configuration to use wait() instead.  This call appears to work properly on
other platforms such as SunOS and Solaris.
<P>
I also added tests in the standalone configure script to check for the
existence of waitpid().

<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1>

This corrects another problem with the logic for highlightColor resource.
As reported by David Dawes:
<blockquote>
	I've just noticed a problem with with the "inverse" control sequence
	(ESC[7m) with the 3.3.2 xterm.  What it does is sets the background
	black, and the text the usual foreground colour rather than simply
	swapping the foreground/background.

</blockquote>
This appears to be because when I added logic to check that the highlightColor
was distinct from foreground and background colors, I did not add a further
check to see that it was not black (I would make an explicit check for the
resource not being set, but see nothing definite in the headers that would let
me reference an explicitly-undefined Pixel value, though there are some
implications in xpm.h).  But this should work.

<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1>

This patch does the following:
<UL>
	<LI>improve test for highlightColor so that xterm does not attempt to
	  use that unless it is different from the foreground and background
	  colors (reported by Stefan Dalibor
	  &lt;Stefan.Dalibor@informatik.uni-erlangen.de&gt;.
<P>
	  I could not reproduce this until I noticed that the -rev option
	  exposed it nicely.

	<LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions.
	  SVr4 terminfo documents that you must not combine these with
	  smir/rmir, but ncurses allows it, opening a hole.  Solaris 2.6 vi
	  does not work properly if it is using a terminfo description when
	  these are combined, since it was written to accommodate old terminals
	  that required it (reported by Stephen Marley).

	<LI>restore 1-pixel overlap of scrollbar border with left edge of window
	  (reported by Jim Burmeister &lt;jimb@metrolink.com&gt;).

	<LI>add a configure option, --enable-logfile-exec, which allows the
	  user to specify a pipe for logfile.  This defines ALLOWLOGFILEEXEC.

	<LI>makes the ALLOWLOGFILEEXEC code compile &amp; run, if configured.

	<LI>minor documentation nits.
</UL>

<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1>

This fixes the problem reported with failure to build the <EM>resize</EM>
program (BSDI, OSF/1) due to not having &lt;termcap.h&gt;, by changing the
ifdef to one that would be set only if the file exists (not currently
specified, except by the standalone configure script).  We do not really need
to include &lt;termcap.h&gt; to build, but only for a clean compile, since it
may declare the tgetent() prototype.

I also updated the man-page for <EM>resize</EM>, since I had recently noticed
that it can be used to resize <EM>xterm</EM> using the "Sun" control sequences
option.

<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1>

This is a small patch to xterm's 8-bit terminal description.  I noticed
while testing ncurses that I had specified the wrong (VT100-style) codes
for the F1-F4.  Xterm only uses VT220-style function keys in 8-bit mode.

<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1>

This fixes the following problems with xterm:
<UL>
	<LI>save/restore the ANSI foreground and background colors with the other
	  visible attributes in the save-cursor and restore-cursor operations.
	  This works around a problem with vim, which apparently assumed that
	  switching between the normal and alternate screens resets the colors
	  (reported by Jim Battle &lt;jb@chromatic.com&gt;).
<P>
	  It would be nice to implement save/restore cursor as a stack (and
	  solve this type of problem completely), but that would lead to
	  incompatibility with applications which assume they are running with a
	  VT100 or VT220.

	<LI>corrects behavior of a restore-cursor operation which does not
	  follow a save-cursor (it is supposed to set the character sets
	  to a known initial state).

	<LI>extends the sunKeyboard resource (and menu toggle) to modify the
	  home, end and delete keys on a Sun or PC editing keypad, making them
	  generate codes compatible with DEC VT220's Find, Select and Remove
	  keys.

	<LI>corrects a length in checking command-line options, which caused the
	  "-help" message to not work when X was not running.

	<LI>adds some detail to the man-page (requested by Jason Bacon
	  &lt;acadix@execpc.com&gt;)

	<LI>modify the standalone configure script to ignore the broken nsl and
	  socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so
	  this change just widens the check for the system version number).
</UL>

<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1>

This is another patch from Bjorn Helgaas &lt;helgaas@rsn.hp.com&gt;, which I've
reviewed (and learned some).  Following are his notes:
<P>
I poked around some more and finally got xterm-62 to build and run
cleanly on HP-UX 10.20.  Here are the patches.  They look sort of
ugly, so here's a little explanation:
<UL>
        <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL
        commands in CF_FUNC_TGETENT.  Previously, LIBS was set inside
        AC_CACHE_VAL, which worked fine the first time configure was
        run, but failed if there were cached values.

        <LI>aclocal.m4: Added temporary setting of LIBS before
        AC_TRY_LINK in CF_FUNC_TGETENT.  Previously, the last value set
        by the AC_TRY_RUN loop was used, so only -lcurses was checked.

        <LI>configure.in: Added temporary setting of CPPFLAGS before
        AC_CHECK_HEADERS for X11 files.  Previously &lt;X11/DECkeysym.h&gt;
        and &lt;X11/Xpoll.h&gt; were found only if they were in the compiler's
        default include directories, even if `--x-includes=DIR' had been
        used or AC_PATH_XTRA had found them elsewhere.
</UL>
The problem on HP-UX was that we were linking with -lcurses rather than
-ltermcap due to the second bullet above, and apparently something in
HP-UX curses is broken.  This seems very strange, because the only thing
used is tgetent, which should affect any tty/pty configuration, but I
lost interest in tracking down the exact problem.

<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1>

This is a patch mostly by Bjorn Helgaas &lt;helgaas@dhc.net&gt; (I added the
os2main.c change, and a little of the documentation).  From Bjorn's
description:
<UL>
	<LI>If you use the "-hc &lt;color&gt;" option or set the "highlightColor"
	  resource, text is highlighted by changing only the background color,
	  rather than using reverse video.  I find this easier to read,
	  especially when selecting multi-colored text, and it is similar to
	  the way Netscape shows selections.

	<LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR".  The
	  principal exception is in screen.c, where I added a couple calls to
	  resetXtermGC().  This seems like it could be a bug even without
	  the color highlighting changes (though I don't pretend to understand
	  all the logic).
</UL>

<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1>

This patch modifies the reset behavior of xterm slightly:
<UL>
	<LI>change the terminfo entry so that rs1 (one of the strings used by
	  the 'reset' program) does a hard reset rather than switching
	  character sets.  This is more in accord with other terminal
	  descriptions.

	<LI>modifies the treatment of hard reset by the xterm program to
	  reset the saved lines.

	<LI>corrects hard reset by also resetting user-defined keys (DECUDK).
</UL>

<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1>

This fixes some minor bugs and adds new functionality:
<UL>
	<LI>add support for blinking text.
<UL>
	  <LI>This does not actually cause the
	  text to flash, but text with the blink attribute can be displayed
	  in color, using new resources colorBL and colorBLMode.

	  <LI>If colors are not used, the blinking text will be displayed as
	  before (just like bold).  The main purpose of this is to make
	  applications work properly when they assume the emulator supports
	  blinking text.

	  <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line
	  flag, to make room for the new BLINK flag.  There were no per-line
	  flags, so this changes a lot of logic.
</UL>

	<LI>corrected missing save-cursor logic in the handling of SGR 1048
	  (the new control sequence I added in patch #54, 1997/10/17).
	  Reported by Darren Hiebert.

	<LI>flush the output of the transparent printing after each line
	  Reported by Tomas Vanhala &lt;vanhala@ling.helsinki.fi&gt;.

	<LI>correct the modes that are affected by save/restore cursor by adding
	  WRAPAROUND and PROTECTED.

	<LI>corrected placement of one of the XSync calls that I added in patch
	  #51, 1997/9/15, which had the side-effect of writing on the window
	  border when the xterm was resizing from 132 to 80 columns.

	<LI>work around an incompatibility of the XKB definition used in xterm
	  versus that symbol from IRIX 6.2's imake definitions (by adjusting
	  the standalone configure script).
</UL>

<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1>

My last patch has an off-by-one error in the comparison for argc.  Douglas
Kosovic &lt;douglask@dstc.edu.au&gt; showed me where (he got a core dump).
Also, I think this explains Clint Olsen's problem, but the symptoms were more
subtle (EINVAL for a system call if the -display option is omitted).

<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1>

This patch does the following:
<UL>
	<LI>implement logic to permit xterm to work with proportional fonts.
<UL>
	  <LI>Thomas Wolff
	  &lt;Thomas.Wolff@sietec.de&gt;
	  requested this (but it isn't exactly what he's asking
	  for - that's a more involved task).

	  <LI>I chose to do this by rendering the characters on a fixed pitch,
	  because it would not be useful for existing applications to display
	  varying numbers of characters on each line.

	  <LI>Except that this forces the display to be wider, it works reasonably
	  well.  A couple of special cases (reverse + colorBD, for example)
	  do not display with proper colors, since the inter-character gaps
	  are painted with the background.
</UL>

	<LI>added a version number to the program (several people have requested
	  this).

	<LI>make the -version and -help options interpreted before the program
	  attempts to open the display.

	<LI>minor reorganization of the man-page (ordered the options, resources
	  and translations alphabetically - and eliminated some duplication).

	<LI>corrected a misspelled filename in Makefile.in, and added a lint
	  rule.

	<LI>updated the configure script to correct behavior when it cannot
	  find imake, as well as to fix the IRIX+gcc build (conflict with
	  /usr/include).

	<LI>regenerated the configure script with a newer patch to autoconf
	  that fixes a problem with environment space vs the configure --help
	  message.
</UL>
<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1>

This patch is mostly concerned with the standalone configure script; a few
minor corrections are added:
<UL>
	<LI>add configure option --disable-tek4014, to allow xterm to be built
	  without the tek4014 emulation.

	<LI>add configure option --with-terminal-type, to allow xterm to be
	  compiled with default $TERM value other than "xterm" (e.g.,
	  "xterm-16color") -- requested by Stephen Marley &lt;stephen@memex.com&gt;.

	<LI>fix a typo in the configure --help message -- reported by Darren
	  Hiebert &lt;darren@hmi.com&gt;.

	<LI>review diffs between main.c and os2main.c, to make them more alike.
	  (applies some minor bug-fixes to OS/2's version).

	<LI>add missing quotes in memmove/bcopy configure test
</UL>


<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1>

This patch is based on analysis by Arfst Ludwig &lt;arfst@luxor.IN-Berlin.DE&gt;,
who reported:
<blockquote>
	Setting the following resources xterm (all current versions) receives a
	segmentation fault on &lt;Btn2Up&gt; after scrolling:
<PRE>

	  *XTerm*VT100*translations:    #override \
	      ~Shift~Ctrl&lt;Btn2Up&gt;: insert-selection(PRIMARY, CUT_BUFFER0)\n\
	      Shift~Ctrl&lt;Btn2Up&gt;:  insert-selection(CLIPBOARD, CUT_BUFFER1)\n\
	      ~Shift&lt;BtnUp&gt;:       select-end(PRIMARY, CUT_BUFFER0)\n\
	      Shift&lt;BtnUp&gt;:        select-end(CLIPBOARD, CUT_BUFFER1)
</PRE>
	(The above resources intention is to be able to paste the latest
	selection even if the xterm was cleared.)
<P>
	And here is how it works (and a fix!):  The widget given to the action
	handler as first argument is not guaranteed to be a XtermWidget (it can
	be the ScrollbarWidget).  Instead of accessing the widget's member
	directly XtDisplay gives the required pointer in a safe way.
</blockquote>
I noticed that this was not the only instance (by reading the code, and testing
with his example), and extended the solution to check the widget-class to
ensure that it is indeed xterm's widget class before attempting to use it in
the context of translations.

<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1>

This fixes the segmentation violation noted by Rogier Wolff about a month
ago.  He'd set xterm to 400 (rows) by 150 columns, which broke because there
were limited buffers (200 rows) used for juggling data when adding or deleting
lines and for switching between alternate and normal screens.  I replaced this
by an allocated buffer.
<P>
The bug is simple to test if you set titeInhibit false.

<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1>

This patch does the following:
<UL>
	<LI>correct a minor placement problem with the right scrollbar.

	<LI>implement a new set of control sequences for switching between the
	  normal and alternate VT100 screens.  These work around the older
	  sequences limitation that required modification of the runtime
	  $TERMCAP to cooperate with the titeInhibit resource (that can't work
	  with terminfo).  I do this by moving all of the functionality of the
	  rmcur terminfo capability into the control sequences.

	<LI>implement the alternate-screen menu entry
</UL>

<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1>

This patch adds a fix and implements a new feature (as well as some minor
typos):
<UL>
	<LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem
	  with the wait call with the logging option.  It hung when the logfile
	  was opened as a command-line option.  I fixed this by moving the
	  StartLogging() call down past the place where I'd reset the setuid
	  mode.  So the logfile is opened as the real user, without having
	  to fork.

	<LI>Michael Rohleder &lt;michael.rohleder@stadt-frankfurt.de&gt; sent
	  me a patch which implements right-scrollbars for xterm.  I used that
	  as a starting point, renamed the command-line options and reduced
	  the number of ifdef's.
</UL>

<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1>

This patch addresses bugs and requests reported by
<UL>
	<LI>Bob Maynard &lt;rmaynard@montana.com&gt;,
	<LI>Clint Olsen &lt;olsenc@ichips.intel.com&gt;,
	<LI>JCHANDRA@Inf.COM (JCHANDRA),
	<LI>Michael Schroeder &lt;Michael.Schroeder@informatik.uni-erlangen.de&gt;,
	<LI>Pablo Ariel Kohan &lt;pablo@memco.co.il&gt;
</UL>

Some of the changes are interrelated (it was an unusually busy week).
<UL>

	<LI>change the default resource value for colorMode to true, matching
	  the Xterm.ad file.

	<LI>correct behavior of 'ech' control, making the default and 0
	  parameters erase one character rather than to the end of line
	  (reported by Michael Schroeder).

	<LI>add resource boldColors, command-line options +pc and -pc and
	  configure-script option to specify behavior of xterm's mapping bold
	  colors 0 through 7 to colors 8 through 15.
	  (request by Pablo Ariel Kohan).

	<LI>add resource colorAttrMode to specify whether colorULMode and
	  colorBDMode can override the ANSI colors
	  (from a problem report by Clint Olsen).

	<LI>correct a conflict between colorULMode/colorBDMode versus ANSI
	  colors, where exposure events would occasionally pick up the
	  former (e.g., colorBD) rather than ANSI colors.  Testing the
	  colorAttrMode made this apparent, though it has been in the
	  code since 3.2A (patch #35 in Jan 1997).

	<LI>correct two problems with the optional logging support.  On Linux
	  at least, the waitpid call in creat_as hangs when the logging is
	  toggled from the popup menu.  Also, the mktemp template has the wrong
	  number of X's (since X11R5!).  Fixed the waitpid problem by
	  exploiting the fact that the setuid behavior is reset before the
	  popup menus are available.
	  (reported by Jayachandran C.).

	<LI>add configure script options for building with the Xaw3d and neXtaw
	  libraries.

	<LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it
	  will pick up $(ALLDEFINES) rather than $(STD_DEFINES).  This is
	  needed to make scrollbars work on Linux, since that uses narrow
	  prototypes.
	  (reported by Bob Maynard).

	<LI>various minor updates to configure-script macros.
</UL>

<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1>

Most of this patch is related to the standalone configure script, though
there are fixes/enhancements as well:
<UL>
	<LI>add a new resource sunKeyboard, with associated command-line
	  option and menu-toggle that allows using a normal Sun or PC
	  keyboard to generated the complete DEC-style function keys
	  and keypad.

	<LI>correct a reversed foreground/background test in the control
	  sequence that replies with the current SGR settings.

	<LI>correct, by invoking XSync, a display problem that caused the
	  program to not properly update newly exposed areas when a font
	  change or 80/132 resize request was not completely accepted.

	<LI>restructured autoconf macros (I made a library of all of the
	  macros across the complicated configure scripts I'm working on).

	<LI>use the autoconf config.guess and config.sub scripts to better
	  identify the host-os.

	<LI>improve the configure script that uses 'imake' as a fallback for
	  definitions.

	<LI>correct several instances of unsigned/signed mixed expressions.
</UL>

I've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1,
IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly
as well).

<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1>

This is a collection of small fixes, and a couple of minor enhancements:
<UL>
	<LI>plug a security hole in the implementation of Media Copy (print)
	  by invoking setuid just before the main loop.

	<LI>add an ifdef'd include for &lt;sys/termio.h&gt; for HP-UX, which allows
	  the program to process SIGWINCH events (this is a bug in X11R6.3)

	<LI>add state-table entries for VT52 emulation to enter/exit keypad
	  application mode.

	<LI>disable the popup-menu entry for 8-bit controls when the terminal-id
	  is less than 200 (e.g., VT52 or VT100).

	<LI>ensure that the popup-menu entry for 8-bit controls is updated when
	  the application enables/disables this mode, including the response
	  to a full-reset.

	<LI>implement VT300 DECBKM feature: set interpretation of the backarrow
	  key to either backspace or delete.  The initial setting is via
	  resource; it can also be modified in the main popup menu.

	<LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked
	  (i.e., the terminal discards input).

	<LI>implement VTxxx SRM, which is used to control local echoing of
	  input on the terminal.

	<LI>add terminfo and termcap entries for xterm-8bit, a variation of
	  the xterm description that uses 8-bit control characters.

	<LI>add fallback definitions for Imakefile to allow it to work on some
	  X11R5 systems that have no SpecialCObjectRule or ProgramTargetName
	  macros.

	<LI>add .c.o and .c.i rules to standalone Makefile.in

	<LI>correct order of -lXmu and -lXext in standalone configure script.

	<LI>add configure script options to allow selective disabling of
	  active-icon, input-method and i18n code (mainly for users with X11R5
	  or an incomplete X11R6 configuration).

	<LI>change menu-indices from #define's to enum values, thereby making
	  it work better with the ifdef's for logging and active-icon (the
	  X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an
	  error introduced by incorporating that code).

	<LI>correct minor compile errors in the configuration where active-icon
	  is not used.

	<LI>add configure option to suppress echoing of long compiler commands

	<LI>correct spelling of decTerminalID in configure script help message

	<LI>use gcc __attribute__((unused)) to quiet warnings about unused
	  parameters when compiling with -W (to make it simpler to find the
	  real problems).
</UL>

<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1>

This patch implements the VT100/VT220 Media Copy (i.e., print-screen) control
sequences.

<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1>

This patch does the following (all but the first affect only the standalone
configure script):
<UL>
	<LI>minor correction to positioning of underlines for small (e.g., 5x8)
	  font size.
	<P>
	  The existing behavior allowed underlines to be drawn outside the
	  character-cell, so they weren't cleared properly under some
	  circumstances.

	<LI>adds more special-case tokens to the standalone configure script's
	  imake-option filter (e.g., "&amp;&amp;", since a "make -n main.o" on my IRIX
	  system uses that shell construct).

	<LI>adds a '--enable-logging' option for the standalone configure script.

	<LI>adds check and ifdef's for the standalone configure script to allow
	  for building on platforms with X11R6, which lacks Xpoll.h (introduced
	  in X11R6.1).
</UL>

<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1>

This patch does the following
<UL>
	<LI>corrects an indexing error in the doublesize character logic
	  (button.c) that caused core dump (this was reported by J.  Wunsch).
	<LI>corrects the logic of ShowCursor when it is painting in a doublesize
	  cell (charproc.c).
	<LI>corrects, according to vttest, the behavior when switching to
	  doublesize characters and back again (doublechr.c).
	<LI>adds cbt (back_tab) to the terminfo description (this was something
	  that I'd overlooked as applicable to curses optimization last
	  summer).
	<LI>corrects, for the standalone xmc test, the logic for disabling xmc.
</UL>

<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1>

This is a patch to provide test-support for some work I'm doing on ncurses.  It
does not modify the normal configuration of xterm; the code is compiled if the
standalone configure option "--enable-xmc-glitch" is specified.

<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1>

This fixes the problem reported with xterm's cursor color versus the background
(the second chunk in this patch) and also removes some duplicate initialization
of the cursor GC's.  If the cursor color at startup is the same as the
background, then xterm will use the reverse GC, ignoring the setting of the
colorMode resource.

<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1>

This implements the first part of the VT100 doublesize characters for xterm,
as well as fixing a handful of bugs:
<UL>
	<LI>the doublesize character support uses the normal font (using scaled
	  fonts will be another patch) with blanks to simulate doublesize
	  characters.  This patch does most of the global changes that'll be
	  required.  I've hidden most of the details in macros and ifdef's so
	  it's easy to configure out (part of the patch is a configure option
	  for that purpose).

	<LI>corrected limits in DeleteChar() function -- it's always ignored the
	  size of the left border and scrollbar.  I noticed this when working
	  on the doublesize characters since the glitch was doubled in size
	  (i.e., it wrapped some garbage around the right margin).

	<LI>corrected 'memmove()' logic, for standalone builds (it referenced a
	  malloc wrapper from my development library).

	<LI>add a check for HideCursor() to prevent repeated screen updates
	  (which can cause a spurious cursor glitch to appear, e.g., during
	  scrolling).  I noticed this with the 3.2A version (but only a few
	  weeks ago, when I started working on this patch).
</UL>

<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1>

Here's a fix for two problems:
<UL>
	<LI>modify handling of tgetent results in xterm and resize programs to
	  make them tolerant of missing termcap file, or unknown terminal name.
	  In this scheme, an explicit "-tn" option will succeed, overriding
	  the fallback list.

	<LI>a nit in the configure script (log extra information to help diagnose
	  which case of the test-compile of tgetent was used).
</UL>

<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1>

Bram Moolenaar reported that the cursor color changed unexpectedly while
scrolling.  The cause was that it used the same GC's as the logic that draws
the ANSI colors.  The bug only appears if the cursorColor resource isn't set,
and has been present since the initial implementation early last year.  (The
same bug also appears in rxvt ;-).  Here's a fix.

<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1>

Some nits found by Darren Hiebert (missing part of install-rule, incorrect
assignment for --enable-color-mode option).

<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1>

Patch for the configure script's logic for obtaining imake predefined
symbols.

<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1>

This patch does the following:
<UL>
	<LI>integrate the 16-color change for 'xterm'

	<LI>minor fixes/clarification of tgetent in terminfo vs termcap to
	  'resize'
</UL>

(both changes also modify the configure script)

<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1>

This implements a simple configuration script with autoconf (to which I'll
add more options later).  It does the following:
<UL>
	<LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris
	  2.4, possibly IRIX - sorry network was down today, but I did test
	  an earlier version yesterday).

	<LI>enables/disables the configuration ifdef's for ANSI color and VT52
	  emulation.
</UL>
It does not make tests for the things that imake does (that's another project),
instead it uses a hybrid of the autoconf tests for libraries and adds imake's
compiler options (which are necessary in some cases to get main.c to compile).

<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1>

This corrects a minor, but annoying error in the vt220 emulation: the DECUDK
is only supposed to be interpreted for _shifted_ function keys.

<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1>

This corrects something that I overlooked in patch #27 (21-aug-1996), which is
that when trimming the region to be repainted for the highlightSelection
resource of xterm, I still have to paint the background past the highlighted
region.  This only happens when I first do a selection in a window that's
partly off-screen, then move the window on-screen.

<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1>

This patch does the following:
<UL>
	<LI>combines the coding for foreground and background colors into a
	  single byte, reducing the memory required to store saved-lines in
	  color.  (I'll take back that byte in a following patch to use to
	  ensure the character-set, so there's no long-term decrease in memory
	  use).

	<LI>modifies the PF1-PF4 coding in termcap/terminfo.  Because xterm is
	  still by default emulating vt100, the function key codes are
	  vt100-compatible (I overlooked this in patch #31).

	  I also reformatted the whole terminfo file into a single-column,
	  for consistency.

	<LI>adds an interim xterm-vt220 description to accommodate the old and new
	  styles of function-keys (though probably it'd be better to drop the
	  old-style altogether).
</UL>

<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1>

This patch does the following:
<UL>
	<LI>implement DECSTR (soft terminal reset).  The biggest diff is due to
	  adding another state table (note that there's only one useful state
	  here, but it's only 256 bytes rather than 1k as it would have been
	  before I reduced the size of state entries).

	<LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM,
	  resetColor, resetCharsets).  More is done in patch #35.
</UL>

I got the description of DECSTR from a vt420 user's manual.  I'll do some
testing with vttest to ensure that there's nothing else to do than what was
documented.

<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1>

This adds to the reset-fix by Matthieu Herrb &lt;Mathieu.Herrb@mipnet.fr&gt; a
small change to make xterm able to output 8-bit characters in VT100 mode.

Applications that run on real VT100's don't do that anyway, and this feature
should be removed sometime after finishing off the VT220 emulation (VT220's can
do 8-bit characters).  That would be a good time to change the default
terminal-id to 220.

<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1>

This implements the REP (repeat) control for xterm.  That isn't part of the DEC
VTxxx series, but is defined in ISO 6429.  (Note that the base xterm terminal
description is <EM>not</EM> changed -- I added a variant, "xterm-rep").

<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1>

This implements vt52 emulation in xterm (ifdef'd so it can be removed).
I've been using it for testing for the past month or so.

<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1>

From bug-report by &lt;auroux@clipper.ens.fr&gt; (Denis Auroux), missing reset to
ground state.  I checked through the rest of <EM>that</EM> table and found another,
in the unimplemented MC (screen print).

<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1>

This patch does the following:
<UL>
	<LI>corrects the restoration of color for bold/underline color mode

	<LI>adds a resource 'decTerminalID' to control the reporting level of
	  xterm (e.g., VT100, VT220).

	<LI>uses the new resource to implement/correct the DA1, DA2 and
	  DECRPTUI reports.

	<LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0,
	  but the VT420 terminal I've been testing on says 1).
</UL>

All of these changes are based on vttest 2.6
<P>
(Most of the volume in the patch is to add 2 more state tables for parsing
the 2nd/3rd device-attribute controls).

<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1>

This patch corrects the following reported by Roland Rosenfeld
&lt;roland@spinnaker.rhein.de&gt;:
<UL>
	<LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD
	  resources.  Also noted &amp; fixed reset of colored underline/bold
	  with SGR 0.

	<LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error)
</UL>

Roland also complained that he couldn't use box characters with
<PRE>
	-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
</PRE>
but that's a known xterm limitation (the box characters must be part of the
font, in the first 32 locations).

<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1>

This patch fixes one of my long-term gripes:  xterm's selection doesn't clearly
show what's being selected (as per David's request, it's controlled by a
resource, which defaults to the older behavior).

<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1>

Here's a patch to fix a problem with xterm's cut/paste and another to modify
the appearance of the highlighting while selecting.  (The changes are
independent, so you can see if the change to screen.c is desirable).

<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1>

Here's a correction for two minor bugs that I picked up in testing, plus
some lint (from Solaris 2.5) where NULL was used incorrectly:
<UL>
	<LI>make the second alternate font the same as the first (that's what
	  vt420 and dtterm do)

	<LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't
	  return a '60').
</UL>

<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1>

This patch does several things.  In effect, xterm can (I think) do a reasonably
good job of emulating vt220 and vt320 terminals (as well as it was doing
vt100, at any rate ;-).
<P>
It does NOT do:
<UL>
	<LI>soft fonts

	<LI>rigel or sixel graphics
</UL>
<P>
Anyway, I:
<UL>

	<LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls

	<LI>added popup-menu for switching between DEC and Sun function keys.
	  (corrected alignment err wrt logging entry at that point).

	<LI>make xterm recognize both 8-bit and 7-bit controls (including
	  popup menu for switching modes).

	<LI>add user-definable function keys (aka DECUDK)

	<LI>support concealed text

	<LI>support protected text (both ISO compatible and DEC compatible -
	  that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED,
	  DECSEL controls.

	<LI>implement DECSCL.
</UL>
<P>
I'll be continuing to test this patch for a while, but don't expect to add any
new functionality (it passes all of the current tests I've built in vttest, but
I need to make more tests)..

<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1>

This removes the blinking cursor I added last week (for performance reasons).
Time-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more
work after XFree86 3.2, I assume).

<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1>

I looked more closely at my "double-negative" and realized that I had been
confused by the default color scheme (black on white) in combination with
reverse video.  However, I did see that the original_fg and original_bg data
weren't really used - so I removed that logic.
<P>
Also:
<UL>
	<LI>during initialization, check if ANSI colors are set with non fg/bg
	  values, disable color mode if not.  This makes xterm tolerant of
	  applications that allocate the whole color map.

	<LI>implemented blinking cursor (default is <EM>off</EM>)
</UL>

<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1>

This patch does the following:
<UL>
	<LI>fixes some minor typography in the control-sequences documentation
	  (it didn't occur to me til I'd sent the last patch that I could use
	  ghostview for previewing the troff output ;-)

	<LI>adjusts the shell's background color in ReverseVideo so that flicker
	  in resizing is reduced

	<LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without
	  the ISO color support (saves a lot of memory)

	<LI>used that ifdef to isolate/modify logic so that if the user doesn't
	  have the colorMode enabled, then ISO color support is disabled (saving
	  memory).
	<P>
	  (If anyone needs numbers, I had savedLines set to 2000, and found
	  a reduction from ~700k to ~400k of allocated memory, according to
	  Purify).
</UL>

<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1>

This documents the changes in control sequences for window operations that
I added in my previous patch.  I'm testing another patch that allows the
user to use less memory if colors aren't needed.

<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1>

This patch does the following:
<UL>
	<LI>fixes the core dump that I reported on IRIX 5.2 (in main.c)
	<P>
	  (it's worth noting that this bug exists in X11R6.1, so I'd like
	  to assume that someone's already submitted a fix to X Consortium...)

	<LI>change the interpretation of zero rows or columns in a resize-window
	  request to use the root window's size (looking more carefully at
	  dtterm, that seems to be what it does).

	<LI>change some memmove calls to memcpy for slightly better performance.
	  (also, a couple of memset calls to bzero - Quantify says bzero runs
	  20% faster, I assume because there's one less argument).

	<LI>interpret character sets 1 and 2 (so that vttest gives a reasonable
	  result) Both rxvt and dtterm do something equivalent.

	<LI>fix a minor memory leak in the logic that retrieves the window or
	  icon names (Purify found this for me while I ran vttest).
</UL>

<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1>

This implements the following:
<UL>
	<LI>escape sequences that act like the CDE dtterm's window operations
	  (though I have implemented the default width and height -- I've seen
	  a rather buggy dtterm running that seems to treat width=0 or height=0
	  literally -- maybe that's a feature, not a bug?)

	<LI>minor tweak to the screen-repainting when resizing (I still cannot
	  entirely get rid of flicker).

	<LI>still more fixes to terminfo &amp; termcap (I corrected my error for
	  the hpa code and added some other stuff by comparing to ncurses'
	  description and rxvt's).

	<LI>a tweak to the patch by Michael Rohleder for the color translation

	<LI>re-order attribute codes to allow later implementation of protected
	  fields (dtterm supposedly does this; it's probably more useful than
	  blinking or invisible text -- that uses up all of the available bits
	  without changing the attribute scheme radically).
</UL>

<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1>

This patch implements for xterm several minor features from ISO 6429 which are
useful for terminfo applications.  The HPA and VPA control sequences allow
cursor movement along a row or column, cutting down a little on the characters
transmitted.  The other codes allow resetting specific graphic rendition
attributes without modifying the other attributes.

(now if someone just had time to implement blinking cursors...)

<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1>

Adam Tla/lka &lt;atlka@pg.gda.pl&gt; told me a couple of weeks ago that I'd missed
some of the background coloring in xterm.  I investigated, and found that while
I'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd
overlooked the insert/delete lines.  Just so I wouldn't overlook any more of
these, I updated a copy of vttest to test ISO colors and bce (background color
erase).  This patch introduces a new function, ClearCurBackground, whose calls
replace the direct XClearArea calls that I'd overlooked.

(There's also a few compiler warnings fixed, etc ;-)

<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1>

This fixes the problem reported by David Dawes, by making the 50msec select
timeout for the Xaw3d arrow scrollbar a resource.  (I made it a boolean for a
variety of reasons -- to make it a number, you'd need an additional resource,
to avoid breaking the logic).

<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1>

This patch brings the termcap and terminfo descriptions for xterm up to date.
I made the following changes:
<UL>
	<LI>reformatted the terminfo description in a single-column (this is ok
	  for terminfo, and will simplify future patches -- can't do that for
	  termcap, since it would impact buffer requirements on some systems).

	<LI>omitted obsolete features in termcap to save a little space (bs, pt)

	<LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF)

	<LI>corrected some capabilities (vi, ve)

	<LI>added 'st' (set tab)

	<LI>reduced function keys in termcap for 'xterm' to 12 because color
	  capabilities makes that description larger than 1023 characters.

	<LI>created new termcap name 'xtermm' (monochrome) to match the terminfo
	  list, and make that description have 20 function keys.

	<LI>added corresponding color capabilities to terminfo (bce, colors,
	  pairs, op, ncv, setab, setaf)

	<LI>corrected corresponding capabilities in terminfo (civis, cnorm,
	  rmcup, smcup)

	<LI>added capabilities (el1, hts)

	<LI>in both, corrected home/end keys to match the code correction made
	  by Thomas Mueller in 3.1.2Bk

	  <P>=&gt; (I'm still considering modifying the code &amp; description to match
	      the rxvt program).
</UL>

<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1>

This corrects my earlier changes for colors - the inner border of the xterm was
getting painted with the wrong color, since I'd moved the call to set the
background into the logic that tracks SGR information.

<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1>

This corrects a memory leak in xterm that happens whenever one switches fonts.

<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1>

This patch corrects the behavior of the ANSI colors in xterm when reverse
video is used, as well as some other lesser sins:
<UL>
	<LI>button.c
<UL>
		<LI>(compiler warnings: shadowing of 'time', redundant cast)
</UL>

	<LI>charproc.c
<UL>
		<LI>renamed screen.colors[] array to screen.Acolors[] to more
		easily distinguish the non-ANSI colors from the ANSI colors.

		<LI>moved logic of SGR_Save() into VTInitialize, getting rid of
		local private variables original_fg and original_bg.

		<LI>moved some logic into getXtermForeground and getXtermBackground
		from SGR_Foreground, SGR_Background, etc.

		<LI>corrected misleading 'row' to 'col' in case for CUF, CUB
		sequences.
</UL>

	<LI>ctlseqs.ms
	<LI>xterm.man
<UL>
		<LI>(correct a misconception which I'd added that the color0
		through color6 resource values apply to non-ANSI colors)
</UL>

	<LI>ptyx.h
<UL>
		<LI>added original_fg, original_bg to TScreen structure.
</UL>

	<LI>scrollbar.c
<UL>
		<LI>(compiler warnings: redundant cast)
</UL>

	<LI>util.c
<UL>
		<LI>new functions getXtermForeground and getXtermBackground replace
		the macros GET_FG and GET_BG, with the added functionality of
		checking for the reverse-video status of xterm.

		<LI>in ReverseVideo, swap the SGR foreground and background colors
		also.
</UL>
</UL>

<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1>

I observed an occasional glitch in the xterm's color behavior; a clear to end
of line would get a color that had been used in a program that supposedly reset
colors.  I traced this down to the way xterm was modifying colors of GC's on
the fly; it didn't restore the original color of the GC, even though it would
later be used in functions (such as ClearRight) that assumed (my error) that
the GC would have the current foreground or background color.
<P>
I fixed this by resetting the GC's colors with a new function 'resetXtermGC()',
and direct calls on SGR_Foreground/SGR_Background, as appropriate and using a
new function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's
color.  (I also removed some commented-out code that was trying to do this --
the problem was a little more obscure).

<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1>

This patch fixes the remaining problems that I had making xterm run with x11r5,
as well as a couple of other bugs.  It follows my patch from yesterday, that
added ifdef's for some of the input-method resources.
<UL>
	<LI>corrected ifdef's that suppress the input-method code (doesn't
	  exist in my x11r5, and xterm works adequately without it).

	<LI>corrected fallback definition for 'Select()' macro (oops: I'd
	  copied the wrong text...)

	<LI>moved the declarations for the fd_set variables to data.[ch]

	<LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h)

	<LI>corrected (in main.c) some unused/orphaned variables.
</UL>

<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1>

This is mostly a documentation patch for xterm.  It describes the color control
sequences in more detail, and documents some other features of xterm that
aren't described elsewhere.
<P>
I've also added a couple of ifdef's to fix (part of) the problem that I'm
working on (making the program work properly on x11r5, where I'm doing memory
testing -- I have a "good" version from mid-January, but my resync version
doesn't work properly on x11r5).  I'm not done with <EM>that</EM> yet.

<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1>

I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF).  I've got an S3 card.
<P>
This fixes the following in the 3.1.2n xterm:
<UL>
	<LI>initialize cur_foreground, cur_background in charproc.c (Purify
	  told me they weren't initialized).

	<LI>add interpretation of codes 39, 49, to reset background and
	  foreground to default value (I'm told that ISO 6429 does this; but I
	  don't have a written reference -- yet -- can anyone help here?).
	  Anyway, rxvt does it, and it'll solve my remaining color management
	  problems.

	<LI>shadowing of 'time' in menu.c

	<LI>'Cardinal' vs 'int' in scrollbar.c

	<LI>several changes to permit compile with X11R5 (the system that I've
	  got Purify on won't be upgraded to X11R6 for a long time).
</UL>
<P>
I built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so
that I can test it some more with Purify.
<P>
<EM>btw</EM>:
the changes made in Xpoll.h won't work on some older systems, because
	fd_set isn't a defined type (I've got one machine at least that this
	applies to).

<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1>

This patch does all of the SGR foreground/background fixes (i.e., clearing the
screen after an SGR color is set causes that color to be used in the foreground
and/or background).  If the FG_COLOR and/or BG_COLOR flags aren't set, then the
xterm foreground and background default to the window's values.  This usage is
consistent with various types of hardware (especially the IBM PC), and is also
used in rxvt.
<UL>
	<LI>charproc.c:
<UL>
		<LI>add/use new macros GET_FG, GET_BG - n/c.

		<LI>add/use new functions SGR_Foreground() and SGR_Background()
		  to set corresponding colors in GC's, and to retain sense of
		  "original" colors.

		  <P>
		  =&gt; This makes redundant some of the corresponding logic
		     in HideCursor to set the foreground and background,
		     but I left it in since it <EM>may</EM> be fixing an unrelated
		     requirement.

		<LI>set GC's in LoadNewFont() according to whether the SGR fg/bg
		  colors are active.

		  <P>
		  =&gt; This fixes some glitches in the accompanying resize,
		     that leaves parts of the window in the original
		     background color.
</UL>

	<LI>screen.c:
<UL>
		<LI>modified ClearBufRows() to use the SGR fg/bg colors if
		  they're set.

		<LI>added function ScrnClearLines(), used this to replace
		  portions of ScrnInsertLine() and ScrnDeleteLine().
		  The new function uses the SGR fg/bg colors if they're
		  set.

		  <P>
		  =&gt; Otherwise, selection after an index or reverse index will
		     paint the wrong colors.

		<LI>modified ScrnDeleteChar() and ScrnInsertChar()
		  to use SGR fg/bg colors.
</UL>

	<LI>util.c:
<UL>
		<LI>modified ClearRight() so that if either of the SGR fg/bg
		  colors is set, we don't bzero the attributes and color
		  arrays, but instead fill them with the appropriate codes.

		<LI>modified ClearLeft to use SGR fg/bg colors.
</UL>
</UL>

<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1>

This patch modifies the object code, by replacing indexing expressions with
temporary variables with the full indexing expression.  At first glance, this
seems inefficient (it did to me ;-), until remembering comments made in the
compilers newsgroups that trying to "help" the compiler doesn't really work
that well.  A good optimizing compiler can do a better job than the programmer
can.  (There's a moral in the use of 'register' variables also, but I won't fix
those...).
<P>
Anyway, the revised code generates a smaller object...
<UL>
<LI>charproc.c:
<UL>
<LI>recode index expressions in ShowCursor() and HideCursor()
		  using SCRN_BUF_xxxxS macros - changes object.

<LI>replace constant '4' by MAX_PTRS - n/c.
</UL>

<LI>ptyx.h:
<UL>
<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS
		  macros, to pick up references to ScrnBuf data directly, and
		  added MAX_PTRS symbol to pick up those '4' constants strewn
		  about the code - n/c.
</UL>

<LI>screen.c:
<UL>
<LI>recode index expressions in ScreenWrite() using
		  SCRN_BUF_xxxxS macros - changes object.

<LI>replace constant '4' by MAX_PTRS - n/c.

<LI>use macros BUF_CHARS, BUF_ATTRS - n/c.

<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c
</UL>

<LI>scrollbar.c:
<UL>
<LI>replace constant '4' by MAX_PTRS - n/c.

<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c
</UL>
</UL>

<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1>
When setting up for this phase, I saw that you'd corrected the bug that I found
in ClearLeft.  I decided to make this series of patches anyway, since
readability never hurt (and there's the potential for finding another bug while
reviewing this set).
<UL>
<LI>button.c:
<UL>
<LI>use SCRN_BUF_xxxxS macros - n/c
</UL>
<LI>charproc.c:
<UL>
<LI>use SCRN_BUF_xxxxS macros - n/c
</UL>
<LI>ptyx.h:
<UL>
<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS,
		  SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four
		  arrays that are derived from screen-&gt;buf.
</UL>
<LI>screen.c:
<UL>
<LI>use SCRN_BUF_xxxxS macros - n/c
</UL>
<LI>util.c:
<UL>
<LI>use SCRN_BUF_xxxxS macros - n/c
</UL>
</UL>
<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1>

This is my third (and final cleanup) patch for xterm.  It gets rid of the
unused stuff, and converts several functions to static (thereby reducing their
scope).
<P>
At this point, the only compile warnings I've got (on Linux) are those about
the select arguments (int vs fd_set type), and a missing declaration for
waitpid.  Those both are hard to get right without autoconfigure.
<P>
The next patches will address the functional changes...
<UL>
<LI>Tekproc.c:
<UL>
<LI>changed several functions to 'static' that aren't used
outside this module -- changes object
</UL>
<LI>charproc.c:
<UL>
<LI>changed several functions to 'static' that aren't used
outside this module -- changes object
<LI>deleted unused function unparsefputs -- changes object.
</UL>
<LI>main.c:
<UL>
<LI>changed several functions to 'static' that aren't used
outside this module -- changes object
<LI>ifdef'd out unused function 'consolepr()' -- changes object
<LI>removed unused variable 'dummy_tio' -- changes object
<LI>moved variable 'discipline' to quiet unused-warning -- changes object
</UL>
<LI>main.h:
<UL>
<LI>deleted unused definition of DEFBORDERWIDTH - n/c
</UL>
<LI>misc.c:
<UL>
<LI>changed several functions to 'static' that aren't used
outside this module -- changes object
<LI>provide dummy return statements for xerror and xioerror to
quiet compiler warnings -- changes object
</UL>
<LI>ptyx.h:
<UL>
<LI>change sbuf_address and abuf_address to 'Char *' - n/c
</UL>
<LI>resize.c:
<UL>
<LI>changed several functions to 'static' that aren't used outside this module
-- changes object
</UL>
<LI>screen.c:
<UL>
<LI>remove unnecessary 'Char **' casts - n/c
</UL>
<LI>util.c:
<UL>
<LI>changed several functions to 'static' that aren't used outside this module
-- changes object
</UL>
</UL>
<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1>
This is my second patch to xterm.  It corrects most of the gcc warnings (except
for some that are due to X header files ;-).  I compared objects to keep track
of the changes that don't affect the object code (n/c) versus those that do.
<P>
At this point, I'm compiling (fairly) clean with gcc options
<PRE>
	-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs
</PRE>
(I also compiled with -Wshadow, but while that found some things that I wanted
to find, there's far too many warnings from the X headers to be usable in this
context).
<P>
The changes:
<UL>
<LI>Tekproc.c:
<UL>
<LI>parenthesized expression to avoid gcc warning -- n/c.

<LI>corrected nested-extern declaration for Bool
		  waiting_for_initial_map; ourTopLevelShellArgs, and
		  number_ourTopLevelShellArgs - n/c

</UL>
<LI>charproc.c:
<UL>
<LI>corrected potentially-unintialized variables 'scstype', 'xim',
		  and 'input_style' -- changes object.

<LI>adjusted logic of VTparse so that gcc won't warn about setjmp
		  clobbering parsestate -- changes object.

<LI>corrected initialization of 'scstype', which could have been
		  clobbered by setjmp/longjmp - changes object.

<LI>corrected nested-extern declaration of 'term', 'ProgramName'
		  - n/c
</UL>

<LI>cursor.c:
<UL>
<LI>corrected nested-extern declaration of 'term' -- n/c

<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
</UL>

<LI>input.c:
<UL>
<LI>change interface of StringInput to assume size_t (i.e.,
		  unsigned) nbytes -- changes object.

<LI>change interface of funcvalue, and sunfuncvalue to use
		  'KeySym' type instead of 'int' - changes object.
</UL>

<LI>main.c:
<UL>
<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c

<LI>corrected missing params of 'do_hangup()' -- changes object
		  (note: the missing params were not used).

<LI>corrected missing param of 'Error()' -- changes object

<LI>corrected nested-extern 'environ' - n/c

<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so
		  that gcc can see they won't be clobbered by the longjmp -
		  changes object.

<LI>use Size_t type - n/c.
</UL>

<LI>menu.c:
<UL>
<LI>removed redundant prototype for 'do_hangup()' -- n/c.

<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c
</UL>

<LI>menu.h:
<UL>
<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c
</UL>

<LI>misc.c:
<UL>
<LI>corrected definition of 'HandleFocusChange()' -- changes
		  object

<LI>cast parameters in call to 'TekExpose()' -- n/c

<LI>corrected nested-extern declarations of 'term', 'toplevel',
		  ProgramName, and 'environ' -- n/c.

<LI>use Size_t type - n/c.
</UL>

<LI>proto.h:
<UL>
<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from
		  main.c, resize.c to allow use of this symbol in prototypes
		  (mostly in xterm.h).

<LI>added definition 'Size_t' to use as corrected type for
		  strncpy, malloc sizes - n/c.
</UL>

<LI>resize.c:
<UL>
<LI>moved SIGNAL_T definition to proto.h -- n/c.

<LI>use Size_t type - n/c.
</UL>

<LI>screen.c:
<UL>
<LI>use Size_t type - n/c.
</UL>

<LI>tabs.c:
<UL>
<LI>corrected nested-extern declaration of 'term' -- n/c
</UL>

<LI>util.c:
<UL>
<LI>corrected/supplied parameters to 'TekExpose()' -- changes
		  object (note:  'TekExpose()' doesn't use its parameters).

<LI>corrected nested-extern declaration of
		  'waiting_for_initial_map' -- n/c.

<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
</UL>

<LI>xterm.h:
<UL>
<LI>prototype 'do_hangup()', 'HandleFocusChange()',
		  'TekExpose()', 'Error()', 'Exit()' - forces changes in
		  various places.

<LI>adjusted prototypes that pass 'Boolean' arguments to use
		  'int' (this is the "correct" ANSI approach to extended
		  compiles; it's worth mentioning that gcc doesn't meet the
		  ANSI spec here).  I used gcc -Wconversion to find these, but
		  there's a lot of unrelated warnings that are due to setting
		  NARROWPROTO in the config - n/c.

<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c
</UL>
</UL>
<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1>
This is my first cleanup patch for xterm.  It addresses all of the gcc warnings
for -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change
without modifying the object code.  (I'm compiling this with gcc 2.7.0 for an
aout target, which makes it simple to compare objects.  When I do ELF-only,
I've got a tool that compares that sort of thing as well).
<P>
Briefly, this patch adds (and uses) two header files in the xterm directory:
<PRE>
	proto.h
	xterm.h
</PRE>
I expect this to be the biggest patch by far.  However (barring a misplaced
prototype), it shouldn't break anything, since the intent of the patch is to
provide missing declarations.
</BODY>
</HTML>