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 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599
|
<!--
*****************************************************************************
* this file is part of xterm *
* *
* Copyright 1997-2024,2025 by Thomas E. Dickey *
* *
* All Rights Reserved *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* "Software"), to deal in the Software without restriction, including *
* without limitation the rights to use, copy, modify, merge, publish, *
* distribute, sublicense, and/or sell copies of the Software, and to *
* permit persons to whom the Software is furnished to do so, subject to *
* the following conditions: *
* *
* The above copyright notice and this permission notice shall be included *
* in all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
* IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY *
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, *
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE *
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
* *
* Except as contained in this notice, the name(s) of the above copyright *
* holders shall not be used in advertising or otherwise to promote the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
*****************************************************************************
$XTermId: xterm.log.html,v 1.2753 2025/12/21 23:49:39 tom Exp $
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.8.0">
<title>XTERM - Change Log</title>
<link rel="author" href="mailto:dickey@invisible-island.net">
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<meta name="keywords" content="xterm, change log">
<meta name="description" content=
"This is the xterm change-log, distributed with xterm, with items listed by patch-number and date">
<link rel="SHORTCUT ICON" href="/img/icons/xterm.ico" type=
"image/x-icon">
</head>
<body>
<hr>
<p>Copyright © 1997-2024,2025 by <a href=
"mailto:dickey@invisible-island.net">Thomas E. Dickey</a></p>
<hr>
<h1>Contents</h1>
<p><a href=
"https://invisible-island.net/xterm/xterm.log.html">Here</a> is
the latest version of this file.</p>
<p>It began as a list of the changes that I made for xterm, using
the notes that I added when submitting a patch. You should note
that other changes were made as well, by other people, to fix
bugs and correct ifdef's for portability. Until mid-2006, most of
these were summarized in the XFree86 <a href=
"https://web.archive.org/web/20070101220948/http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/CHANGELOG">
CHANGELOG</a>).</p>
<ul>
<li><a href="#xterm_406">Patch #406 - 2025/12/21</a></li>
<li><a href="#xterm_405">Patch #405 - 2025/12/14</a></li>
<li><a href="#xterm_404">Patch #404 - 2025/11/30</a></li>
<li><a href="#xterm_403">Patch #403 - 2025/10/19</a></li>
<li><a href="#xterm_402">Patch #402 - 2025/09/08</a></li>
<li><a href="#xterm_401">Patch #401 - 2025/07/02</a></li>
<li><a href="#xterm_400">Patch #400 - 2025/06/15</a></li>
<li><a href="#xterm_399">Patch #399 - 2025/05/18</a></li>
<li><a href="#xterm_398">Patch #398 - 2025/04/11</a></li>
<li><a href="#xterm_397">Patch #397 - 2025/01/05</a></li>
<li><a href="#xterm_396">Patch #396 - 2024/12/02</a></li>
<li><a href="#xterm_395">Patch #395 - 2024/10/24</a></li>
<li><a href="#xterm_394">Patch #394 - 2024/09/02</a></li>
<li><a href="#xterm_393">Patch #393 - 2024/07/11</a></li>
<li><a href="#xterm_392">Patch #392 - 2024/05/22</a></li>
<li><a href="#xterm_391">Patch #391 - 2024/05/12</a></li>
<li><a href="#xterm_390">Patch #390 - 2024/02/19</a></li>
<li><a href="#xterm_389">Patch #389 - 2024/01/01</a></li>
<li><a href="#xterm_388">Patch #388 - 2023/10/22</a></li>
<li><a href="#xterm_387">Patch #387 - 2023/10/15</a></li>
<li><a href="#xterm_386">Patch #386 - 2023/10/09</a></li>
<li><a href="#xterm_385">Patch #385 - 2023/10/01</a></li>
<li><a href="#xterm_384">Patch #384 - 2023/07/10</a></li>
<li><a href="#xterm_383">Patch #383 - 2023/06/27</a></li>
<li><a href="#xterm_382">Patch #382 - 2023/05/30</a></li>
<li><a href="#xterm_381">Patch #381 - 2023/05/28</a></li>
<li><a href="#xterm_380">Patch #380 - 2023/05/09</a></li>
<li><a href="#xterm_379">Patch #379 - 2023/02/15</a></li>
<li><a href="#xterm_378">Patch #378 - 2023/01/09</a></li>
<li><a href="#xterm_377">Patch #377 - 2022/11/25</a></li>
<li><a href="#xterm_376">Patch #376 - 2022/11/16</a></li>
<li><a href="#xterm_375">Patch #375 - 2022/10/23</a></li>
<li><a href="#xterm_374">Patch #374 - 2022/10/10</a></li>
<li><a href="#xterm_373">Patch #373 - 2022/09/25</a></li>
<li><a href="#xterm_372">Patch #372 - 2022/03/09</a></li>
<li><a href="#xterm_371">Patch #371 - 2022/02/24</a></li>
<li><a href="#xterm_370">Patch #370 - 2021/11/13</a></li>
<li><a href="#xterm_369">Patch #369 - 2021/09/21</a></li>
<li><a href="#xterm_368">Patch #368 - 2021/06/07</a></li>
<li><a href="#xterm_367">Patch #367 - 2021/03/26</a></li>
<li><a href="#xterm_366">Patch #366 - 2021/02/10</a></li>
<li><a href="#xterm_365">Patch #365 - 2021/02/03</a></li>
<li><a href="#xterm_364">Patch #364 - 2021/02/02</a></li>
<li><a href="#xterm_363">Patch #363 - 2020/12/26</a></li>
<li><a href="#xterm_362">Patch #362 - 2020/11/11</a></li>
<li><a href="#xterm_361">Patch #361 - 2020/10/14</a></li>
<li><a href="#xterm_360">Patch #360 - 2020/09/20</a></li>
<li><a href="#xterm_359">Patch #359 - 2020/08/17</a></li>
<li><a href="#xterm_358">Patch #358 - 2020/07/12</a></li>
<li><a href="#xterm_357">Patch #357 - 2020/07/05</a></li>
<li><a href="#xterm_356">Patch #356 - 2020/05/02</a></li>
<li><a href="#xterm_355">Patch #355 - 2020/05/01</a></li>
<li><a href="#xterm_354">Patch #354 - 2020/04/26</a></li>
<li><a href="#xterm_353">Patch #353 - 2020/02/01</a></li>
<li><a href="#xterm_352">Patch #352 - 2020/01/16</a></li>
<li><a href="#xterm_351">Patch #351 - 2019/11/17</a></li>
<li><a href="#xterm_350">Patch #350 - 2019/11/02</a></li>
<li><a href="#xterm_349">Patch #349 - 2019/09/22</a></li>
<li><a href="#xterm_348">Patch #348 - 2019/07/22</a></li>
<li><a href="#xterm_347">Patch #347 - 2019/06/30</a></li>
<li><a href="#xterm_346">Patch #346 - 2019/05/27</a></li>
<li><a href="#xterm_345">Patch #345 - 2019/05/14</a></li>
<li><a href="#xterm_344">Patch #344 - 2019/02/12</a></li>
<li><a href="#xterm_343">Patch #343 - 2019/01/13</a></li>
<li><a href="#xterm_342">Patch #342 - 2019/01/03</a></li>
<li><a href="#xterm_341">Patch #341 - 2018/12/24</a></li>
<li><a href="#xterm_340">Patch #340 - 2018/12/16</a></li>
<li><a href="#xterm_339">Patch #339 - 2018/12/12</a></li>
<li><a href="#xterm_338">Patch #338 - 2018/12/09</a></li>
<li><a href="#xterm_337">Patch #337 - 2018/09/21</a></li>
<li><a href="#xterm_336">Patch #336 - 2018/09/19</a></li>
<li><a href="#xterm_335">Patch #335 - 2018/08/14</a></li>
<li><a href="#xterm_334">Patch #334 - 2018/08/12</a></li>
<li><a href="#xterm_333">Patch #333 - 2018/05/03</a></li>
<li><a href="#xterm_332">Patch #332 - 2018/04/15</a></li>
<li><a href="#xterm_331">Patch #331 - 2017/12/30</a></li>
<li><a href="#xterm_330">Patch #330 - 2017/06/20</a></li>
<li><a href="#xterm_329">Patch #329 - 2017/06/12</a></li>
<li><a href="#xterm_328">Patch #328 - 2017/06/01</a></li>
<li><a href="#xterm_327">Patch #327 - 2016/10/07</a></li>
<li><a href="#xterm_326">Patch #326 - 2016/09/25</a></li>
<li><a href="#xterm_325">Patch #325 - 2016/06/05</a></li>
<li><a href="#xterm_324">Patch #324 - 2016/03/10</a></li>
<li><a href="#xterm_323">Patch #323 - 2016/03/07</a></li>
<li><a href="#xterm_322">Patch #322 - 2016/01/02</a></li>
<li><a href="#xterm_321">Patch #321 - 2015/12/31</a></li>
<li><a href="#xterm_320">Patch #320 - 2015/08/28</a></li>
<li><a href="#xterm_319">Patch #319 - 2015/08/19</a></li>
<li><a href="#xterm_318">Patch #318 - 2015/04/12</a></li>
<li><a href="#xterm_317">Patch #317 - 2015/03/27</a></li>
<li><a href="#xterm_316">Patch #316 - 2015/03/07</a></li>
<li><a href="#xterm_315">Patch #315 - 2015/03/02</a></li>
<li><a href="#xterm_314">Patch #314 - 2014/12/28</a></li>
<li><a href="#xterm_313">Patch #313 - 2014/11/28</a></li>
<li><a href="#xterm_312">Patch #312 - 2014/09/28</a></li>
<li><a href="#xterm_311">Patch #311 - 2014/09/18</a></li>
<li><a href="#xterm_310">Patch #310 - 2014/07/25</a></li>
<li><a href="#xterm_309">Patch #309 - 2014/07/13</a></li>
<li><a href="#xterm_308">Patch #308 - 2014/06/19</a></li>
<li><a href="#xterm_307">Patch #307 - 2014/06/17</a></li>
<li><a href="#xterm_306">Patch #306 - 2014/06/03</a></li>
<li><a href="#xterm_305">Patch #305 - 2014/06/02</a></li>
<li><a href="#xterm_304">Patch #304 - 2014/05/03</a></li>
<li><a href="#xterm_303">Patch #303 - 2014/03/06</a></li>
<li><a href="#xterm_302">Patch #302 - 2014/03/02</a></li>
<li><a href="#xterm_301">Patch #301 - 2014/01/19</a></li>
<li><a href="#xterm_300">Patch #300 - 2013/12/03</a></li>
<li><a href="#xterm_299">Patch #299 - 2013/12/01</a></li>
<li><a href="#xterm_298">Patch #298 - 2013/11/27</a></li>
<li><a href="#xterm_297">Patch #297 - 2013/09/10</a></li>
<li><a href="#xterm_296">Patch #296 - 2013/07/10</a></li>
<li><a href="#xterm_295">Patch #295 - 2013/07/06</a></li>
<li><a href="#xterm_294">Patch #294 - 2013/07/05</a></li>
<li><a href="#xterm_293">Patch #293 - 2013/05/27</a></li>
<li><a href="#xterm_292">Patch #292 - 2013/04/25</a></li>
<li><a href="#xterm_291">Patch #291 - 2013/02/26</a></li>
<li><a href="#xterm_290">Patch #290 - 2013/02/12</a></li>
<li><a href="#xterm_289">Patch #289 - 2013/02/08</a></li>
<li><a href="#xterm_288">Patch #288 - 2013/01/09</a></li>
<li><a href="#xterm_287">Patch #287 - 2012/11/25</a></li>
<li><a href="#xterm_286">Patch #286 - 2012/10/29</a></li>
<li><a href="#xterm_285">Patch #285 - 2012/10/23</a></li>
<li><a href="#xterm_284">Patch #284 - 2012/10/14</a></li>
<li><a href="#xterm_283">Patch #283 - 2012/10/09</a></li>
<li><a href="#xterm_282">Patch #282 - 2012/09/28</a></li>
<li><a href="#xterm_281">Patch #281 - 2012/06/26</a></li>
<li><a href="#xterm_280">Patch #280 - 2012/06/24</a></li>
<li><a href="#xterm_279">Patch #279 - 2012/05/10</a></li>
<li><a href="#xterm_278">Patch #278 - 2012/01/18</a></li>
<li><a href="#xterm_277">Patch #277 - 2012/01/07</a></li>
<li><a href="#xterm_276">Patch #276 - 2011/10/10</a></li>
<li><a href="#xterm_275">Patch #275 - 2011/09/11</a></li>
<li><a href="#xterm_274">Patch #274 - 2011/09/05</a></li>
<li><a href="#xterm_273">Patch #273 - 2011/08/25</a></li>
<li><a href="#xterm_272">Patch #272 - 2011/08/24</a></li>
<li><a href="#xterm_271">Patch #271 - 2011/07/14</a></li>
<li><a href="#xterm_270">Patch #270 - 2011/04/26</a></li>
<li><a href="#xterm_269">Patch #269 - 2011/02/19</a></li>
<li><a href="#xterm_268">Patch #268 - 2011/02/10</a></li>
<li><a href="#xterm_267">Patch #267 - 2010/11/20</a></li>
<li><a href="#xterm_266">Patch #266 - 2010/10/24</a></li>
<li><a href="#xterm_265">Patch #265 - 2010/10/22</a></li>
<li><a href="#xterm_264">Patch #264 - 2010/10/14</a></li>
<li><a href="#xterm_263">Patch #263 - 2010/10/13</a></li>
<li><a href="#xterm_262">Patch #262 - 2010/8/30</a></li>
<li><a href="#xterm_261">Patch #261 - 2010/6/28</a></li>
<li><a href="#xterm_260">Patch #260 - 2010/6/20</a></li>
<li><a href="#xterm_259">Patch #259 - 2010/6/5</a></li>
<li><a href="#xterm_258">Patch #258 - 2010/5/1</a></li>
<li><a href="#xterm_257">Patch #257 - 2010/4/22</a></li>
<li><a href="#xterm_256">Patch #256 - 2010/3/6</a></li>
<li><a href="#xterm_255">Patch #255 - 2010/1/21</a></li>
<li><a href="#xterm_254">Patch #254 - 2010/1/6</a></li>
<li><a href="#xterm_253">Patch #253 - 2009/12/10</a></li>
<li><a href="#xterm_252">Patch #252 - 2009/12/7</a></li>
<li><a href="#xterm_251">Patch #251 - 2009/11/11</a></li>
<li><a href="#xterm_250">Patch #250 - 2009/10/13</a></li>
<li><a href="#xterm_249">Patch #249 - 2009/10/1</a></li>
<li><a href="#xterm_248">Patch #248 - 2009/9/11</a></li>
<li><a href="#xterm_247">Patch #247 - 2009/8/30</a></li>
<li><a href="#xterm_246">Patch #246 - 2009/8/16</a></li>
<li><a href="#xterm_245">Patch #245 - 2009/8/12</a></li>
<li><a href="#xterm_244">Patch #244 - 2009/8/9</a></li>
<li><a href="#xterm_243">Patch #243 - 2009/3/28</a></li>
<li><a href="#xterm_242">Patch #242 - 2009/2/15</a></li>
<li><a href="#xterm_241">Patch #241 - 2009/1/26</a></li>
<li><a href="#xterm_240">Patch #240 - 2009/1/25</a></li>
<li><a href="#xterm_239">Patch #239 - 2009/1/8</a></li>
<li><a href="#xterm_238">Patch #238 - 2008/12/30</a></li>
<li><a href="#xterm_237">Patch #237 - 2008/09/14</a></li>
<li><a href="#xterm_236">Patch #236 - 2008/07/27</a></li>
<li><a href="#xterm_235">Patch #235 - 2008/04/20</a></li>
<li><a href="#xterm_234">Patch #234 - 2008/03/02</a></li>
<li><a href="#xterm_233">Patch #233 - 2008/02/24</a></li>
<li><a href="#xterm_232">Patch #232 - 2008/01/30</a></li>
<li><a href="#xterm_231">Patch #231 - 2008/01/05</a></li>
<li><a href="#xterm_230">Patch #230 - 2007/12/31</a></li>
<li><a href="#xterm_229">Patch #229 - 2007/8/12</a></li>
<li><a href="#xterm_228">Patch #228 - 2007/7/22</a></li>
<li><a href="#xterm_227">Patch #227 - 2007/6/27</a></li>
<li><a href="#xterm_226">Patch #226 - 2007/6/17</a></li>
<li><a href="#xterm_225">Patch #225 - 2007/3/24</a></li>
<li><a href="#xterm_224">Patch #224 - 2007/2/11</a></li>
<li><a href="#xterm_223">Patch #223 - 2006/11/30</a></li>
<li><a href="#xterm_222">Patch #222 - 2006/10/17</a></li>
<li><a href="#xterm_221">Patch #221 - 2006/10/1</a></li>
<li><a href="#xterm_220">Patch #220 - 2006/9/10</a></li>
<li><a href="#xterm_219">Patch #219 - 2006/9/4</a></li>
<li><a href="#xterm_218">Patch #218 - 2006/8/27</a></li>
<li><a href="#xterm_217">Patch #217 - 2006/8/20</a></li>
<li><a href="#xterm_216">Patch #216 - 2006/8/3</a></li>
<li><a href="#xterm_215">Patch #215 - 2006/6/19 - XFree86
4.6.99.2</a></li>
<li><a href="#xterm_214">Patch #214 - 2006/6/18 - XFree86
4.6.99.2</a></li>
<li><a href="#xterm_213">Patch #213 - 2006/4/30 - XFree86
4.5.99.905</a></li>
<li><a href="#xterm_212">Patch #212 - 2006/4/9 - XFree86
4.5.99.904</a></li>
<li><a href="#xterm_211">Patch #211 - 2006/3/19 - XFree86
4.5.99.902</a></li>
<li><a href="#xterm_210">Patch #210 - 2006/3/12 - XFree86
4.5.99.902</a></li>
<li><a href="#xterm_209">Patch #209 - 2006/2/12 - XFree86
4.5.99.22</a></li>
<li><a href="#xterm_208">Patch #208 - 2006/1/3 - XFree86
4.5.99.19</a></li>
<li><a href="#xterm_207">Patch #207 - 2005/11/13 - XFree86
4.5.99.16</a></li>
<li><a href="#xterm_206">Patch #206 - 2005/11/3 - XFree86
4.5.99.15</a></li>
<li><a href="#xterm_205">Patch #205 - 2005/9/18 - XFree86
4.5.99.12</a></li>
<li><a href="#xterm_204">Patch #204 - 2005/8/4 - XFree86
4.5.99.9</a></li>
<li><a href="#xterm_203">Patch #203 - 2005/7/6 - XFree86
4.5.99.7</a></li>
<li><a href="#xterm_202">Patch #202 - 2005/5/2 - XFree86
4.5.99.3</a></li>
<li><a href="#xterm_201">Patch #201 - 2005/4/21 - XFree86
4.5.99.2</a></li>
<li><a href="#xterm_200">Patch #200 - 2005/2/6 - XFree86
4.4.99.23</a></li>
<li><a href="#xterm_199">Patch #199 - 2005/1/17 - XFree86
4.4.99.22</a></li>
<li><a href="#xterm_198">Patch #198 - 2005/1/13 - XFree86
4.4.99.21</a></li>
<li><a href="#xterm_197">Patch #197 - 2004/11/30 - XFree86
4.4.99.19</a></li>
<li><a href="#xterm_196">Patch #196 - 2004/8/15 - XFree86
4.4.99.12</a></li>
<li><a href="#xterm_195">Patch #195 - 2004/8/8 - XFree86
4.4.99.11</a></li>
<li><a href="#xterm_194">Patch #194 - 2004/7/27 - XFree86
4.4.99.11</a></li>
<li><a href="#xterm_193">Patch #193 - 2004/7/19 - XFree86
4.4.99.10</a></li>
<li><a href="#xterm_192">Patch #192 - 2004/7/12 - XFree86
4.4.99.9</a></li>
<li><a href="#xterm_191">Patch #191 - 2004/6/6 - XFree86
4.4.99.7</a></li>
<li><a href="#xterm_190">Patch #190 - 2004/5/25 - XFree86
4.4.99.6</a></li>
<li><a href="#xterm_189">Patch #189 - 2004/5/16 - XFree86
4.4.99.6</a></li>
<li><a href="#xterm_188">Patch #188 - 2004/5/12 - XFree86
4.4.99.6</a></li>
<li><a href="#xterm_187">Patch #187 - 2004/4/27 - XFree86
4.4.99.4</a></li>
<li><a href="#xterm_186">Patch #186 - 2004/4/18 - XFree86
4.4.99.4</a></li>
<li><a href="#xterm_185">Patch #185 - 2004/3/3 - XFree86
4.4</a></li>
<li><a href="#xterm_184">Patch #184 - 2003/12/31 - XFree86
4.3.99.903</a></li>
<li><a href="#xterm_183">Patch #183 - 2003/12/26 - XFree86
4.3.99.903</a></li>
<li><a href="#xterm_182">Patch #182 - 2003/12/2 - XFree86
4.3.99.901</a></li>
<li><a href="#xterm_181">Patch #181 - 2003/10/26 - XFree86
4.3.99.15</a></li>
<li><a href="#xterm_180">Patch #180 - 2003/10/12 - XFree86
4.3.99.15</a></li>
<li><a href="#xterm_179">Patch #179 - 2003/5/21 - XFree86
4.3.99.5</a></li>
<li><a href="#xterm_178">Patch #178 - 2003/5/18 - XFree86
4.3.99.5</a></li>
<li><a href="#xterm_177">Patch #177 - 2003/3/23 - XFree86
4.3.0</a></li>
<li><a href="#xterm_176">Patch #176 - 2003/3/22 - XFree86
4.3.0</a></li>
<li><a href="#xterm_175">Patch #175 - 2003/3/9 - XFree86
4.3.0</a></li>
<li><a href="#xterm_174">Patch #174 - 2003/2/25 - XFree86
4.2.99.903</a></li>
<li><a href="#xterm_173">Patch #173 - 2003/2/6 - XFree86
4.2.99.902</a></li>
<li><a href="#xterm_172">Patch #172 - 2002/12/27 - XFree86
4.2.99.3</a></li>
<li><a href="#xterm_171">Patch #171 - 2002/12/12 - XFree86
4.2.99.3</a></li>
<li><a href="#xterm_170">Patch #170 - 2002/10/13 - XFree86
4.2.1</a></li>
<li><a href="#xterm_169">Patch #169 - 2002/10/5 - XFree86
4.2.1</a></li>
<li><a href="#xterm_168">Patch #168 - 2002/9/29 - XFree86
4.2.1</a></li>
<li><a href="#xterm_167">Patch #167 - 2002/8/24 - XFree86
4.2.0</a></li>
<li><a href="#xterm_166">Patch #166 - 2002/3/25 - XFree86
4.2.0</a></li>
<li><a href="#xterm_165">Patch #165 - 2002/1/5 - XFree86
4.1.0</a></li>
<li><a href="#xterm_164">Patch #164 - 2001/11/13 - XFree86
4.1.0</a></li>
<li><a href="#xterm_163">Patch #163 - 2001/11/04 - XFree86
4.1.0</a></li>
<li><a href="#xterm_162">Patch #162 - 2001/10/23 - XFree86
4.1.0</a></li>
<li><a href="#xterm_161">Patch #161 - 2001/10/10 - XFree86
4.1.0</a></li>
<li><a href="#xterm_160">Patch #160 - 2001/10/7 - XFree86
4.1.0</a></li>
<li><a href="#xterm_159">Patch #159 - 2001/9/19 - XFree86
4.1.0</a></li>
<li><a href="#xterm_158">Patch #158 - 2001/9/8 - XFree86
4.1.0</a></li>
<li><a href="#xterm_157">Patch #157 - 2001/6/18 - XFree86
4.1.0</a></li>
<li><a href="#xterm_156">Patch #156 - 2001/4/28 - XFree86
4.0.3</a></li>
<li><a href="#xterm_155">Patch #155 - 2001/4/20 - XFree86
4.0.3</a></li>
<li><a href="#xterm_154">Patch #154 - 2001/4/11 - XFree86
4.0.3</a></li>
<li><a href="#xterm_153">Patch #153 - 2001/3/29 - XFree86
4.0.3</a></li>
<li><a href="#xterm_152">Patch #152 - 2001/3/13 - XFree86
4.0.2</a></li>
<li><a href="#xterm_151">Patch #151 - 2001/3/10 - XFree86
4.0.2</a></li>
<li><a href="#xterm_150">Patch #150 - 2000/12/29 - XFree86
4.0.2</a></li>
<li><a href="#xterm_149">Patch #149 - 2000/12/6 - XFree86
4.0.1h</a></li>
<li><a href="#xterm_148">Patch #148 - 2000/10/31 - XFree86
4.0.1d</a></li>
<li><a href="#xterm_147">Patch #147 - 2000/10/26 - XFree86
4.0.1c</a></li>
<li><a href="#xterm_146">Patch #146 - 2000/9/12 - XFree86
4.0.1c</a></li>
<li><a href="#xterm_145">Patch #145 - 2000/9/11 - XFree86
4.0.1c</a></li>
<li><a href="#xterm_144">Patch #144 - 2000/8/23 - XFree86
4.0.1b</a></li>
<li><a href="#xterm_143">Patch #143 - 2000/8/19 - XFree86
4.0.1b</a></li>
<li><a href="#xterm_142">Patch #142 - 2000/8/18 - XFree86
4.0.1b</a></li>
<li><a href="#xterm_141">Patch #141 - 2000/8/14 - XFree86
4.0.1b</a></li>
<li><a href="#xterm_140">Patch #140 - 2000/7/23 - XFree86
4.0.1</a></li>
<li><a href="#xterm_139">Patch #139 - 2000/6/17 - XFree86
4.0d</a></li>
<li><a href="#xterm_138">Patch #138 - 2000/6/15 - XFree86
4.0c</a></li>
<li><a href="#xterm_137">Patch #137 - 2000/6/10 - XFree86
4.0b</a></li>
<li><a href="#xterm_136">Patch #136 - 2000/6/3 - XFree86
4.0b</a></li>
<li><a href="#xterm_135">Patch #135 - 2000/5/29 - XFree86
4.0b</a></li>
<li><a href="#xterm_134">Patch #134 - 2000/5/28 - XFree86
4.0b</a></li>
<li><a href="#xterm_133">Patch #133 - 2000/5/2 - XFree86
4.0a</a></li>
<li><a href="#xterm_132">Patch #132 - 2000/4/11 - XFree86
4.0a</a></li>
<li><a href="#xterm_131">Patch #131 - 2000/3/3 - XFree86
3.9.18b</a></li>
<li><a href="#xterm_130">Patch #130 - 2000/3/1 - XFree86
3.9.18a</a></li>
<li><a href="#xterm_129">Patch #129 - 2000/2/26 - XFree86
3.9.18a</a></li>
<li><a href="#xterm_128">Patch #128 - 2000/2/17 - XFree86
3.9.18</a></li>
<li><a href="#xterm_127">Patch #127 - 2000/2/12 - XFree86
3.9.17e</a></li>
<li><a href="#xterm_126">Patch #126 - 2000/2/8 - XFree86
3.9.17c</a></li>
<li><a href="#xterm_125">Patch #125 - 2000/1/31 - XFree86
3.9.17c</a></li>
<li><a href="#xterm_124">Patch #124 - 2000/1/27 - XFree86
3.9.17b</a></li>
<li><a href="#xterm_123">Patch #123 - 2000/1/22 - XFree86
3.9.17a</a></li>
<li><a href="#xterm_122">Patch #122 - 1999/12/28 - XFree86
3.9.16f</a></li>
<li><a href="#xterm_121">Patch #121 - 1999/11/14 - XFree86
3.9.16c</a></li>
<li><a href="#xterm_120">Patch #120 - 1999/10/28 - XFree86
3.9.16c</a></li>
<li><a href="#xterm_119">Patch #119 - 1999/10/16 - XFree86
3.9.16c</a></li>
<li><a href="#xterm_118">Patch #118 - 1999/10/5 - XFree86
3.9.16b</a></li>
<li><a href="#xterm_117">Patch #117 - 1999/9/29 - XFree86
3.9.16b</a></li>
<li><a href="#xterm_116">Patch #116 - 1999/9/25 - XFree86
3.9.16a</a></li>
<li><a href="#xterm_115">Patch #115 - 1999/9/18 - XFree86
3.9.16a</a></li>
<li><a href="#xterm_114">Patch #114 - 1999/9/15 - XFree86
3.9.16</a></li>
<li><a href="#xterm_113">Patch #113 - 1999/8/15 - XFree86
3.9.15b</a></li>
<li><a href="#xterm_112">Patch #112 - 1999/7/17 - XFree86
3.9Pw</a></li>
<li><a href="#xterm_111">Patch #111 - 1999/7/10 - XFree86
3.9Pw</a></li>
<li><a href="#xterm_110">Patch #110 - 1999/6/29 - XFree86
3.9Pu</a></li>
<li><a href="#xterm_109">Patch #109 - 1999/6/23 - XFree86
3.9Pt</a></li>
<li><a href="#xterm_108">Patch #108 - 1999/6/19 - XFree86
3.9Ps</a></li>
<li><a href="#xterm_107">Patch #107 - 1999/6/12 - XFree86
3.9Pq</a></li>
<li><a href="#xterm_106">Patch #106 - 1999/6/9 - XFree86
3.9Pq</a></li>
<li><a href="#xterm_105">Patch #105 - 1999/6/5 - XFree86
3.9Pp</a></li>
<li><a href="#xterm_104">Patch #104 - 1999/5/30 - XFree86
3.9Pn</a></li>
<li><a href="#xterm_103">Patch #103 - 1999/5/14 - XFree86
3.9Pm</a></li>
<li><a href="#xterm_102">Patch #102 - 1999/5/12 - XFree86
3.9Pm</a></li>
<li><a href="#xterm_101">Patch #101 - 1999/5/10 - XFree86
3.9Pm</a></li>
<li><a href="#xterm_100">Patch #100 - 1999/5/3 - XFree86
3.9Pl</a></li>
<li><a href="#xterm_99">Patch #99 - 1999/5/2 - XFree86
3.9Pk</a></li>
<li><a href="#xterm_98">Patch #98 - 1999/4/26 - XFree86
3.9Pk</a></li>
<li><a href="#xterm_97">Patch #97 - 1999/4/25 - XFree86
3.9Pk</a></li>
<li><a href="#xterm_96">Patch #96 - 1999/4/19 - XFree86
3.9Pj</a></li>
<li><a href="#xterm_95">Patch #95 - 1999/4/5 - XFree86
3.9Ph</a></li>
<li><a href="#xterm_94">Patch #94 - 1999/3/27 - XFree86
3.9Pf</a></li>
<li><a href="#xterm_93">Patch #93 - 1999/3/14 - XFree86
3.9Pd</a></li>
<li><a href="#xterm_92">Patch #92 - 1999/2/5 - XFree86
3.9Nz</a></li>
<li><a href="#xterm_91">Patch #91 - 1999/1/21 - XFree86
3.9Nw</a></li>
<li><a href="#xterm_90">Patch #90 - 1998/12/13 - XFree86
3.9Nq</a></li>
<li><a href="#xterm_89">Patch #89 - 1998/11/20 - XFree86
3.9Nm</a></li>
<li><a href="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk
and 3.3.2h</a></li>
<li><a href="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj
and 3.3.2f</a></li>
<li><a href="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj
and 3.3.2e</a></li>
<li><a href="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj
and 3.3.2e</a></li>
<li><a href="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni
and 3.3.2e</a></li>
<li><a href="#sync_83">Resync #83 - 1998/10/7 - XFree86
3.3.2e</a></li>
<li><a href="#xterm_83">Patch #83 - 1998/8/25 - XFree86
3.9Nb</a></li>
<li><a href="#xterm_82">Patch #82 - 1998/7/15 - XFree86
3.9Aj</a></li>
<li><a href="#xterm_81">Patch #81 - 1998/7/14 - XFree86
3.9Aj</a></li>
<li><a href="#xterm_80">Patch #80 - 1998/6/29 - XFree86
3.9Ai</a></li>
<li><a href="#xterm_79">Patch #79 - 1998/6/28 - XFree86
3.9Ai</a></li>
<li><a href="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah
and 3.3.2</a></li>
<li><a href="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah
and 3.3.2</a></li>
<li><a href="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah
and 3.3.2</a></li>
<li><a href="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah
and 3.3.2</a></li>
<li><a href="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag
and 3.3.2</a></li>
<li><a href="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag
and 3.3.2</a></li>
<li><a href="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag
and 3.3.2</a></li>
<li><a href="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag
and 3.3.2</a></li>
<li><a href="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af
and 3.3.2</a></li>
<li><a href="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad
and 3.3.2</a></li>
<li><a href="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad
and 3.3.1z</a></li>
<li><a href="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad
and 3.3.1e</a></li>
<li><a href="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad
and 3.3.1d</a></li>
<li><a href="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad
and 3.3.1c</a></li>
<li><a href="#xterm_64">Patch #64 - 1998/2/8 - XFree86
3.9Ad</a></li>
<li><a href="#xterm_63">Patch #63 - 1998/2/5 - XFree86
3.9Ad</a></li>
<li><a href="#xterm_62">Patch #62 - 1998/1/23 - XFree86
3.9Ac</a></li>
<li><a href="#xterm_61">Patch #61 - 1998/1/17 - XFree86
3.9Ac</a></li>
<li><a href="#xterm_60">Patch #60 - 1998/1/10 - XFree86
3.9Ab</a></li>
<li><a href="#xterm_59">Patch #59 - 1998/1/5 - XFree86
3.9Ab</a></li>
<li><a href="#xterm_58">Patch #58 - 1998/1/3 - XFree86
3.9Ab</a></li>
<li><a href="#xterm_57">Patch #57 - 1997/12/26 - XFree86
3.9Aa</a></li>
<li><a href="#xterm_56">Patch #56 - 1997/11/28 - XFree86
3.9x</a></li>
<li><a href="#xterm_55">Patch #55 - 1997/11/25 - XFree86
3.9x</a></li>
<li><a href="#xterm_54">Patch #54 - 1997/10/17 - XFree86
3.9s</a></li>
<li><a href="#xterm_53">Patch #53 - 1997/10/12 - XFree86
3.9r</a></li>
<li><a href="#xterm_52">Patch #52 - 1997/9/29 - XFree86
3.9q</a></li>
<li><a href="#xterm_51">Patch #51 - 1997/9/15 - XFree86
3.9p</a></li>
<li><a href="#xterm_50">Patch #50 - 1997/8/22 - XFree86
3.9m</a></li>
<li><a href="#xterm_49">Patch #49 - 1997/8/10 - XFree86
3.9k</a></li>
<li><a href="#xterm_48">Patch #48 - 1997/7/26 - XFree86
3.9j</a></li>
<li><a href="#xterm_47">Patch #47 - 1997/7/13 - XFree86
3.9i</a></li>
<li><a href="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</a></li>
<li><a href="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</a></li>
<li><a href="#xterm_44">Patch #44 - 1997/6/22 - XFree86
3.9g</a></li>
<li><a href="#xterm_43">Patch #43 - 1997/6/10 - XFree86
3.9d</a></li>
<li><a href="#xterm_42">Patch #42 - 1997/6/8 - XFree86
3.2Xl</a></li>
<li><a href="#xterm_41">Patch #41 - 1997/5/28 - XFree86
3.2Xl</a></li>
<li><a href="#xterm_40">Patch #40 - 1997/5/26 - XFree86
3.2Xl</a></li>
<li><a href="#xterm_39">Patch #39 - 1997/5/24 - XFree86
3.2Xl</a></li>
<li><a href="#xterm_38">Patch #38 - 1997/5/22 - XFree86
3.2Xh</a></li>
<li><a href="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</a></li>
<li><a href="#xterm_36">Patch #36 - 1997/1/16 - XFree86
3.2r</a></li>
<li><a href="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</a></li>
<li><a href="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</a></li>
<li><a href="#xterm_33">Patch #33 - 1996/11/24 - XFree86
3.2</a></li>
<li><a href="#xterm_32">Patch #32 - 1996/11/21 - XFree86
3.2</a></li>
<li><a href="#xterm_31">Patch #31 - 1996/11/16 - XFree86
3.2</a></li>
<li><a href="#xterm_30">Patch #30 - 1996/11/16 - XFree86
3.2</a></li>
<li><a href="#xterm_29">Patch #29 - 1996/9/15 - XFree86
3.1.2Gb</a></li>
<li><a href="#xterm_28">Patch #28 - 1996/8/31 - XFree86
3.1.2F</a></li>
<li><a href="#xterm_27">Patch #27 - 1996/8/21 - XFree86
3.1.2Ek</a></li>
<li><a href="#xterm_26">Patch #26 - 1996/8/20 - XFree86
3.1.2Ei</a></li>
<li><a href="#xterm_25">Patch #25 - 1996/8/18 - XFree86
3.1.2Ei</a></li>
<li><a href="#xterm_24">Patch #24 - 1996/8/11 - XFree86
3.1.2Ee</a></li>
<li><a href="#xterm_23">Patch #23 - 1996/7/31 - XFree86
3.1.2Ec</a></li>
<li><a href="#xterm_22">Patch #22 - 1996/7/26 - XFree86
3.1.2Ec</a></li>
<li><a href="#xterm_21">Patch #21 - 1996/7/24 - XFree86
3.1.2Ec</a></li>
<li><a href="#xterm_20">Patch #20 - 1996/7/24 - XFree86
3.1.2Ec</a></li>
<li><a href="#xterm_19">Patch #19 - 1996/7/21 - XFree86
3.1.2Ec</a></li>
<li><a href="#xterm_18">Patch #18 - 1996/7/18 - XFree86
3.1.2Ec</a></li>
<li><a href="#xterm_17">Patch #17 - 1996/7/2 - XFree86
3.1.2Eb</a></li>
<li><a href="#xterm_16">Patch #16 - 1996/6/25 - XFree86
3.1.2Ea</a></li>
<li><a href="#xterm_15">Patch #15 - 1996/5/29 - XFree86
3.1.2E</a></li>
<li><a href="#xterm_14">Patch #14 - 1996/5/12 - XFree86
3.1.2Dj</a></li>
<li><a href="#xterm_13">Patch #13 - 1996/4/23 - XFree86
3.1.2Df</a></li>
<li><a href="#xterm_12">Patch #12 - 1996/3/16 - XFree86
3.1.2Dc</a></li>
<li><a href="#xterm_11">Patch #11 - 1996/3/5 - XFree86
3.1.2Db</a></li>
<li><a href="#xterm_10">Patch #10 - 1996/2/14 - XFree86
3.1.2Cd</a></li>
<li><a href="#xterm_09">Patch #9 - 1996/2/10 - XFree86
3.1.2Cb</a></li>
<li><a href="#xterm_08">Patch #8 - 1996/2/9 - XFree86
3.1.2Cb</a></li>
<li><a href="#xterm_07">Patch #7 - 1996/1/28 - XFree86
3.1.2n</a></li>
<li><a href="#xterm_06">Patch #6 - 1996/1/8</a></li>
<li><a href="#xterm_05">Patch #5 - 1996/1/7</a></li>
<li><a href="#xterm_04">Patch #4 - 1996/1/7</a></li>
<li><a href="#xterm_03">Patch #3 - 1996/1/7</a></li>
<li><a href="#xterm_02">Patch #2 - 1996/1/7</a></li>
<li><a href="#xterm_01">Patch #1 - 1996/1/6</a></li>
</ul>
<h1><a name="xterm_406" id="xterm_406">Patch #406 -
2025/12/21</a></h1>
<ul>
<li>add option <tt>-emoji_width</tt> and resource
<tt>emojiWidth</tt> to allow enabling/disabling VS15/VS16
feature introduced in <a href="#xterm_404">patch #404</a>
(Debian #1123509). Also, work around display issues by changing
the filler character for VS16.</li>
</ul>
<h1><a name="xterm_405" id="xterm_405">Patch #405 -
2025/12/14</a></h1>
<ul>
<li>correct sign-extension in drawing changes made in <a href=
"#xterm_404">patch #404</a> (Debian #1122519)</li>
<li>further improvements to limit-checking for mouse button and
motion events (report by James Holderness).</li>
<li>correct index expression when handling overflow of title
stack.</li>
</ul>
<h1><a name="xterm_404" id="xterm_404">Patch #404 -
2025/11/30</a></h1>
<ul>
<li>add numeric keypad codes to XTGETTCAP.</li>
<li>implement parsing and cursor positioning for Unicode
variation selectors 15 and 16.</li>
<li>improve limit-checking for mouse button and motion events
(report by James Holderness).</li>
<li>fix a bug in printer code in xterm #403 (report by Felix
Brockmeier).</li>
<li>change <tt>wcwidth</tt> for private-use codes, to make them
consistently neutral width, i.e., single/double width according
to whether they are used for CJK.</li>
<li>improve test-driver for <tt>wcwidth</tt>, adding options to
test the predefined ranges listed in UnicodeData, as well as
suppressing output where it only shows that the system's
<tt>wcwidth</tt> lacks a definition for codes.</li>
<li>add some of the OpenBSD local-patches, including an
ifdef-improvement for <tt>DEF_DISALLOWED_WINDOW</tt> (patch by
Matthieu Herrb).</li>
<li>modify configure script macros to widen pattern for
<tt>$host_os</tt> from “linux*gnu” to
“linux*gnu*” to cover targets such as
i686-pc-linux-gnut64 (GenToo #963725).</li>
</ul>
<h1><a name="xterm_403" id="xterm_403">Patch #403 -
2025/10/19</a></h1>
<ul>
<li>modify a special case which gives the expected width of
Latin-1 characters to account for the <tt>allowC1Printable</tt>
resource (Debian #1110771).</li>
<li>modify <tt>run-tic.in</tt> to use ncurses tic's <tt>-o</tt>
option in preference to the <tt>TERMINFO</tt> environment
variable.</li>
<li>adjust limits for built-in line-drawing characters (Debian
#1109472).</li>
<li>add note in manpage regarding environment variables which
xterm removes (report by Ben Collver).</li>
<li>modify resources <code>eightBitSelectTypes</code> and
<code>utf8SelectTypes</code> to match names ignoring case.</li>
<li>improve manpage description of comma-separated resource
values (prompted by discussion with István Kopft).</li>
<li>change default value for <code>disallowedWindowOps</code>
resource (prompted by discussion with István
Kopft).</li>
<li>fix a mismatched pointer in free in error-handling of a
table lookup of resource initialization (report/patch by
István Kopft).</li>
<li>update tables in <code>wcwidth.c</code> based on Unicode
17.0.0</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_402" id="xterm_402">Patch #402 -
2025/09/08</a></h1>
<ul>
<li>revise a correction for HLS to RGB from <a href=
"#xterm_385">patch #385</a> to avoid losing precision
(report/patch by István Kopft).</li>
<li>extend special case for line-drawing characters in glyphs
1-31 to work with TrueType fonts (report/testcase by Jens
Schweikhardt).</li>
<li>modify <code>wcwidth.c</code> to treat Emoji codes as
double-width.</li>
<li>add configure option <tt>--with-xterm-kbs</tt> as in
ncurses, to provide for platform-based default value for the
erase key definition in terminfo.</li>
<li>modify DA1 to report extension code 17 with VT320.</li>
<li>simplify <tt>CursorBack</tt> and related cursor-movement
functions.</li>
<li>change names of experimental ifdef's such as xmc-glitch to
begin with "<tt>EXP_</tt>", and consistently use fallbacks in
ptyx.h</li>
<li>expanded section of manpage dealing with select/paste.</li>
<li>amend <a href="#xterm_392">patch #392</a> changes for
accepting an 8-bit ST to make this an experimental feature
limited to the SOS table when in UTF-8 mode.</li>
<li>update precompose.c based on Unicode 16.0</li>
<li>add a null-pointer check in <tt>ScrnWriteText</tt> (Debian
#1110769).</li>
</ul>
<h1><a name="xterm_401" id="xterm_401">Patch #401 -
2025/07/02</a></h1>
<ul>
<li>adjust reported window-position by the shell window's
border with in XTWINOPS 13, for better match with the position
set via XTWINOPS 3, fixing a mismatch seen with esctest.</li>
<li>improve ifdef'ing of infrequently-configured features.</li>
<li>add <tt>vttests/query-allowed.pl</tt>, to illustrate OSC
60, 61, and 62.</li>
<li>add <em>OSC 62</em>, to provide a list of features which
can be specified to be disabled/enabled via resource settings
or menus.</li>
<li>restore a check needed for Debian #1084794, which was lost
in the changes for <a href="#xterm_400">patch #400</a> (report
by Sean C Farley).</li>
<li>correct spelling for "allowWindowOps" in OSC 61. The
original spelling "allowWinOps" is still accepted.</li>
</ul>
<h1><a name="xterm_400" id="xterm_400">Patch #400 -
2025/06/15</a></h1>
<ul>
<li>improve configure check for X libraries to reduce
duplicates.</li>
<li>amend fix for (Debian #1084794 to ensure that
non-linedrawing characters are drawn with Xft (report by Robert
Ross).</li>
<li>simplify/consolidate copyright notices where those were
redundant.</li>
<li>update/improve cleanup of environment variables.</li>
</ul>
<h1><a name="xterm_399" id="xterm_399">Patch #399 -
2025/05/18</a></h1>
<ul>
<li>add configure check for <tt>inline</tt>, for c89
support.</li>
<li>further improve integration between UTF-8 and
<tt>allowC1Printable</tt> (report by Matthieu Herrb).</li>
<li>modify one of the missing-character checks to prefer Xft's
check over the check for missing line-drawing characters
(Debian #1084794).</li>
<li>align terminfo building blocks in terminfo to correspond to
recent refactoring/trimming in ncurses.</li>
<li>revise a limit-check in selection to fix a regression in
<a href="#xterm_398">patch #398</a> (Debian #1105738).</li>
<li>modify configure check for Xft to work around recent change
to fontconfig's pkg-config file (Gentoo #953864).</li>
</ul>
<h1><a name="xterm_398" id="xterm_398">Patch #398 -
2025/04/11</a></h1>
<ul>
<li>modify <tt>DECFRA</tt> and <tt>DECRQCRA</tt> to handle NRCS
and ISO character set mappings.</li>
<li>ensure that the cursor GC is updated when switching between
normal and italic fonts (report/testcase by Peter
Fabinski).</li>
<li>reduce overflow in scaling of ReGIS coordinates
(report/testcase by Robert L Masterson).</li>
<li>improve permissions-check for valid shell program.</li>
<li>extend <em>modifyOtherKeys</em> and
<em>formatOtherKeys</em> to the various categories of special
keys, i.e., cursor-keys, function-keys, keypad-keys,
modifier-keys and (other) special-keys.
<ul>
<li>review/extend <tt>convmap.pl</tt> to handle all of the
X11 keysym definitions in <tt>keysym2ucs</tt>.</li>
<li>keysyms which do not correspond to Unicode character
codes are mapped to Unicode private use areas in the BMP
and plane 15.</li>
<li>add/extend control sequences for the new format- and
modify-resources.</li>
</ul>
</li>
<li>fix copy/paste error in configure script for default value
of <tt>--enable-block-select</tt> (report by Vincent
Lefèvre).</li>
<li>revise <tt>keysym2ucs.c</tt>, to provide mapping to/from
the Unicode private use area for non-character keysyms. Also
remove redundant items from <tt>keysym.map</tt>.</li>
<li>improve <tt>modifyOtherKeys</tt>, by providing the UCS
value for keys which have no single-byte representation (Debian
#1093056).</li>
<li>add two extensions to <tt>modifyOtherKeys</tt>:
<ul>
<li>setting <tt>modifyOtherKeys</tt> to 3 makes all
keyboard input send escape sequences, using parameter 1
where no modifiers are given.</li>
<li>a subparameter can be added to the <tt>XTMODKEYS</tt>
control sequence, telling xterm to factor-out the
corresponding modifier mask from available parameters in
the <tt>modifyOtherKeys</tt> feature.</li>
</ul>
</li>
<li>add items <tt>ColumnMode</tt> and <tt>StatusLine</tt> to
<tt>disallowWindowOps</tt>, for <tt>DECCOLM</tt>,
<tt>DECANM</tt> and <tt>DECSASD</tt>, <tt>DECSSDT</tt>
respectively (report by Sami Farin).</li>
<li>fix several minor issues reported by Coverity.</li>
<li>add <tt>ColorEvents</tt> resource to provide a way for
applications to send a client message which can modify the
default foreground and background colors (adapted from patch by
Claes Nästén).</li>
<li>add special case for displaying an error for <tt>CAN</tt>
(cancel) when emulating VT100 (prompted by discussion with
Thomas Wolff).</li>
<li>correct the size of a <tt>CellData</tt> buffer in
<tt>xtermReportSGR</tt> seen in ASAN2 (report by Sami
Farin).</li>
</ul>
<h1><a name="xterm_397" id="xterm_397">Patch #397 -
2025/01/05</a></h1>
<ul>
<li>add resource <tt>printRawChars</tt> to allow bypassing
check in <a href="#xterm_389">patch #389</a> which omits
Unicode non-characters from printing (request by Adam
Saponara).</li>
<li>add visible-effect for <tt>SUB</tt>, per DEC 070 page
5-132.</li>
<li>correct a limit-check in private mode <tt>1045</tt>.</li>
<li>add optional feature for block-selection, bound to
meta-button-one (patch by Adam Saponara).</li>
<li>if started as a VT52, identify the terminal as a real VT52
rather than VT52 emulated by VT100.</li>
<li>amend change to VT52 cursor-addressing per DEC 070 (mintty
#1299).</li>
<li>correct <tt>ctlseqs.ms</tt> suffix for
<tt>XTTITLEPOS</tt></li>
</ul>
<h1><a name="xterm_396" id="xterm_396">Patch #396 -
2024/12/02</a></h1>
<ul>
<li>fix stricter warnings provided by upcoming gcc 15, as well
as NetBSD lint.</li>
<li>modify title-stack test script, adding logging and
command-replay options. Improved the script with new controls:
<ul>
<li>add <tt>XTTITLEPOS</tt> query to get position in
title-stack.</li>
<li>add <tt>DECRQSS</tt> for <tt>XTSMTITLE</tt>.</li>
</ul>
</li>
<li>correct cursor-addressing limit for VT52 mode (report by
Serguei Fichel).</li>
<li>amend change in <a href="#xterm_395">patch #395</a> for
7-bit parsing to allow UTF-8 titles (report by Dmytro
Bagril).</li>
<li>portability fixes for configure script, from ncurses</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_395" id="xterm_395">Patch #395 -
2024/10/24</a></h1>
<ul>
<li>add <tt>DECRQSS</tt> response for <tt>DECSTGLT</tt>, i.e.,
ANSI SGR color.</li>
<li>add Russian and SCS NRCS character set mappings.</li>
<li>remove obsolete code for OS390 and VMS.</li>
<li>minor fixes to work with vttest 20240929's 7-bit parsing
test.</li>
<li>improve DECRPM responses for unsupported modes; those which
are valid for a given DEC terminal are reported as permanently
reset rather than unknown.</li>
<li>add JIS-Roman and JIS-Katakana character sets, for
VT382.</li>
<li>fix typo in <tt>ctlseqs.ms</tt> note about function key vs
DSR (report by Michael Thomas Greer).</li>
<li>formatting fixes for <tt>ctlseqs.ms</tt> (report by Mark
Manning).</li>
<li>update tables in <code>wcwidth.c</code> based on Unicode
16.0.0</li>
</ul>
<h1><a name="xterm_394" id="xterm_394">Patch #394 -
2024/09/02</a></h1>
<ul>
<li>add <tt>-nomap</tt> option (request by Tavis Ormandy).</li>
<li>improve checks for rectangle operations, per DEC 070.</li>
<li>improve check for missing characters in bitmap fonts, for a
case where the font is marked complete but its range does not
include non-Latin1 codes (prompted by discussion with Craig
Leres).</li>
<li>correct upper-limit in check for missing characters, from
<a href="#xterm_393">patch #393</a> changes (report/patch by
Matthew Martin).</li>
<li>fix for <tt>-report-fonts</tt> option when the font's first
character position is nonzero (prompted by discussion with
Craig Leres).</li>
<li>add null-pointer check for a Heisenbug (Debian
#1078255).</li>
</ul>
<h1><a name="xterm_393" id="xterm_393">Patch #393 -
2024/07/11</a></h1>
<ul>
<li>add a check for ANSI SC/RC, to ignore CSI parameters.</li>
<li>improve check for missing characters for bitmap-fonts by
using the normal font for reference in the case where the
current font, e.g., the wide-font was derived from the normal
font and lacks per-character metrics (report by Rajeev V.
Pillai).</li>
<li>fix regression in error-recovery for SGR parameters from
<a href="#xterm_357">patch #357</a> (report by James
Holderness).</li>
<li>remove some duplicates in <tt>xtermcfg.h</tt> (report by
Matthew Green).</li>
<li>change default for <tt>--enable-imake</tt> configure
option.</li>
<li>fixes for <tt>wcwidth</tt>:
<ul>
<li>return 0 for format effectors, like a zero-width
printing character rather than -1 like a control character
(report by Rajeev V. Pillai).</li>
<li>correct <tt>doublewidth</tt> to account for reserved
codepoints which are listed in the EastAsianWidth
file.</li>
<li>add a special case for surrogate pairs, which might be
checked in testing the <tt>wcwidth</tt> function.</li>
</ul>
</li>
<li>amend sixel bounds-check added in <a href=
"#xterm_371">patch #371</a> to not wrap out-of-bounds
data.</li>
<li>eliminate <tt>maxStringParse</tt> limit for SIXEL.</li>
<li>improve logic which ignores APC, PM and SOS controls to
also not accumulate their data temporarily in a buffer.</li>
<li>exclude <tt>TERM_INGRESS</tt> from cleanup of environment
variables (patch by Iain Riley).</li>
<li>fix some documentation typos (report by Thomas Wolff).</li>
</ul>
<h1><a name="xterm_392" id="xterm_392">Patch #392 -
2024/05/22</a></h1>
<ul>
<li>improve input decoding for non-Latin1 character sets by
preserving the sense of GL/GR.</li>
<li>add resource <tt>preferLatin1</tt> to simplify UPSS
configuration (Gentoo #932154).</li>
<li>build-fix for <tt>--disable-boxchars</tt>; <a href=
"#xterm_390">patch #390</a> reuses that feature's code to draw
the part of the DEC Technical character set which has no
Unicode equivalent.</li>
<li>modify <tt>#include</tt> of <tt>pty.h</tt> to work with
musl (report by Khem Raj).</li>
<li>improve definitions used in <tt>clock_gettime</tt> logic in
<tt>graphics_sixel.c</tt>, as well as updating comments (patch
by Ben Wong).</li>
<li>amend <code>allowC1Printable</code> changes from <a href=
"#xterm_391">patch #391</a>, restoring a special case which
caused C1 characters to be ignored (report/testcase by Dmytro
Bagrii).</li>
</ul>
<h1><a name="xterm_391" id="xterm_391">Patch #391 -
2024/05/12</a></h1>
<ul>
<li>improve integration between UTF-8 and
<code>allowC1Printable</code>.</li>
<li>alter SIXEL HLS computation to make blue 0 degrees (patch
by Ben Wong).</li>
<li>disable SIXEL aspect-ratio, pending a rewrite (patch by Ben
Wong).</li>
<li>add resource <code>incrementalGraphics</code> (prompted by
patch by Ben Wong).</li>
<li>reorganize <tt>graphics_sixel.c</tt> as a step toward
eliminating graphics buffer-size (integrated patch by Ben
Wong).</li>
<li>use <code>__linux__</code> consistently rather than the
older <code>linux</code>.</li>
<li>build-fix for musl (report by Jonáš Vidra,
adapted patch by Khem Raj):
<ul>
<li>modify <code><em>ifdef</em></code> for
<code>USE_OPENPTY</code>, changing test for
<code>__GLIBC__</code> to <code>__linux__</code></li>
<li>change <code><em>ifdef</em></code>'s for
<code>_POSIX_SOURCE</code> to
<code>_POSIX_VERSION</code></li>
<li>modify <code><em>ifdef</em></code> for
<code>setsid</code> to use a configure-script check for
that function's existence and move the old check to imake
fallbacks.</li>
</ul>
</li>
<li>minor consistency fixes for manpage.</li>
<li>fix regression in <a href="#xterm_390">patch #390</a>:
non-UTF8 text pasted as a XA_UTF8_STRING was not decoded
(report by Petri Kaukasoina).</li>
</ul>
<h1><a name="xterm_390" id="xterm_390">Patch #390 -
2024/02/19</a></h1>
<ul>
<li>improve typography of control-sequences page (patches by
Branden Robinson).</li>
<li>amend UPSS change from <a href="#xterm_389">patch #389</a>,
fixing a regression in VT100/VT220 character sets.</li>
<li>modify ANSI conformance per ECMA-43 and DEC 070:
<ul>
<li>set ANSI conformance level to 3 for DEC levels 2 and
up.</li>
<li>disable locking shifts in level 1, e.g., VT100.</li>
<li>disable single-shifts from G2/G3 in level 1.</li>
<li>use UPSS for G2/G3 in levels 2 and up.</li>
</ul>
</li>
<li>modify invisible-character attribute to permit
<tt>DECRQCRA</tt> to report a consistent checksum
(report/testcase by Thomas Wolff).</li>
<li>align terminfo building blocks in terminfo to correspond to
recent refactoring/trimming in ncurses.</li>
<li>set flag in regexec call for
<code>on<em>N</em>Clicks</code> to handle
“<tt>^</tt>” anchor (patch by Matthew Martin).</li>
<li>add line-drawing data for the characters in <a href=
"https://www.vt100.net/charsets/technical.html"><em>DEC
Technical</em></a> which have no Unicode equivalents.</li>
<li>remove a special case in <tt>encode_scs</tt> which made
xterm report Latin-1 when encoding is set to UTF-8, where ASCII
is the selected character set. This fixes a regression in
vttest for the <tt>DECRSPS</tt> cursor test.</li>
<li>correct values for <em>Ps</em> of <tt>DECAUPSS</tt> in
<tt>ctlseqs.ms</tt> (report by James Holderness).</li>
<li>simplify/correct expression for checking Unicode
non-characters (report by Thomas Wolff).</li>
<li>correct loop for trimming environment variables
(report/patch by Casper Dik).</li>
<li>fixes for manpage formatting (Debian #1041809).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_389" id="xterm_389">Patch #389 -
2024/01/01</a></h1>
<ul>
<li>interchange variables in subparameter parsing, fixing a bug
where subparameters after the first parameter could be
misidentified (patch by Adam Saponara).</li>
<li>correct popping of icon/window titles in a case where only
one was pushed from <a href="#xterm_385">patch #385</a>
changes.</li>
<li>add <tt>XTQMODKEYS</tt> response in <tt>DECRQSS</tt>, as
alternative for vim.</li>
<li>correct <tt>DECCIR</tt> encoded information on character
set size, handle a VT525 quirk, and add <tt>DECST8C</tt>
(Windows Terminal #14984).</li>
<li>improve <tt>DECRQCRA</tt> (prompted by discussion with
James Holderness, Windows Terminal #14974).</li>
<li>add part of VT525 color controls:
<ul>
<li><tt>DECAC</tt>, to update default
foreground/background, respond to <tt>DECRQSS</tt></li>
<li><tt>DECATC</tt>, to respond with <tt>DECRQSS</tt></li>
</ul>
</li>
<li>prevent Unicode non-characters from being printed (prompted
by patch by Grady Martin).</li>
<li>modify <tt>send_SGR()</tt> to avoid modifying colors 16 to
255 in printed output (patch by Grady Martin).</li>
<li>minor cleanup of miscellaneous error-codes with
<tt>ERROR_MISC</tt>.</li>
<li>remove legacy <tt><em>CSI</em> 53</tt> for locator status,
corrected in <a href="#xterm_294">patch #294</a>.</li>
<li>modify <tt>DECRQUPSS</tt> and <tt>DECAUPSS</tt> feature to
support VT5xx character sets (report by Thomas Wolff).</li>
<li>improve configure script:
<ul>
<li>reduce configure-check compiler warnings (prompted by
Florian Weimer, Redhat #2251945)</li>
<li>improve usage messages in configure script to make it
clearer when an option value is optional.</li>
</ul>
</li>
<li>improve EWMH handling (report/analysis by Edward Rosten)
<ul>
<li>reset <tt>_NET_WM_STATE_HIDDEN</tt> flag from
<tt>_NET_WM_STATE</tt> before mapping the window to
deiconify.</li>
<li>cache X properties to reduce latency (adapted from
patch by Edward Rosten).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_388" id="xterm_388">Patch #388 -
2023/10/22</a></h1>
<ul>
<li>improve <tt>disallowPasteControls</tt> by adding a category
for the special characters known to <tt>stty</tt> (prompted by
discussion with David Leadbeater).</li>
<li>amend support of <tt>DECAUPSS</tt>, undoing change to
initialization of G2/G3 so that pasting of GR characters works
properly (report/analysis by Petri Kaukasoina).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_387" id="xterm_387">Patch #387 -
2023/10/15</a></h1>
<ul>
<li>add <tt>DECRQUPSS</tt> and <tt>DECAUPSS</tt>.</li>
<li>add <tt>DECRQDE</tt> (report by Jake Hamby).</li>
<li>correct indexing expression in title-stack, from <a href=
"#xterm_385">patch #385</a> changes (report by Brian
Lindholm).</li>
</ul>
<h1><a name="xterm_386" id="xterm_386">Patch #386 -
2023/10/09</a></h1>
<ul>
<li>improve references in <tt>ctlseqs.ms</tt> (prompted by
discussion with Kirill Chibisov).</li>
<li>make the maximum amount of memory used for buffering DCS
and OSC strings configurable with <tt>maxStringParse</tt>
resource (report by Daniel Franke).</li>
<li>improve performance of ReGIS when initializing the largest
fontsize (report by Ben Wong).</li>
<li>fix regression in SIXEL colors, in <a href=
"#xterm_385">patch #385</a> (report/patch by Jonny
Langley).</li>
<li>fix typo in <code>--with-wtmp</code> (report/patch by Sven
Joachim)</li>
</ul>
<h1><a name="xterm_385" id="xterm_385">Patch #385 -
2023/10/01</a></h1>
<ul>
<li>fixes for ReGIS (report by Ben Wong).
<ul>
<li>correct conversion from HLS to RGB</li>
<li>improve font-caching performance.</li>
</ul>
</li>
<li>update tables in <code>wcwidth.c</code> based on Unicode
15.1.0</li>
<li>improve <code>fastScroll</code> resource:
<ul>
<li>suppress screen-refreshes for carriage-returns</li>
<li>add <code>-jf</code> option to simplify use of this
resource.</li>
<li>add a control sequence for enabling/disabling the
resource.</li>
<li>enable this feature by default</li>
</ul>
</li>
<li>extend title-stack feature to allow an additional parameter
to directly access the stack, like the
<code>XTPUSHCOLORS</code> and <code>XTPOPCOLORS</code>
feature.</li>
<li>correct size and position of box shown for double-cell
character which happens to be missing from the bitmap font
(report by Peter Fabinski).</li>
<li>improved configure script:
<ul>
<li>add pattern for uClibc-ng to <tt>CF_XOPEN_SOURCE</tt>
(report/patch by Waldemar Brodkorb).</li>
<li>add configure options <tt>--with-utmp-path</tt> and
<tt>--with-wtmp-path</tt> to override configure script's
check for utmp/wtmp pathnames which are shown in the manual
(Debian #1042767).</li>
<li><tt>CF_XOPEN_SOURCE</tt> provides for defining
<tt>_DEFAULT_SOURCE</tt> for MinGW32 and MinGW64.</li>
<li>sed expression used to report gcc version now works
with MinGW</li>
</ul>
</li>
<li>ensure that line-attributes are reset after drawing missing
character (report by Christian Weisgerber).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_384" id="xterm_384">Patch #384 -
2023/07/10</a></h1>
<ul>
<li>exclude ASCII space from <code>showMissingGlyphs</code>,
since a few bitmap fonts lack this (report by "SanRemo",
Emanuel Haupt).</li>
<li>correct a step in rendering double-width characters with
bitmap-fonts (report by Peter Fabinski, Debian #1039986).</li>
<li>fixes for ReGIS-related problems (report by Ben Wong):
<ul>
<li>mimic an undocumented hardware VT340 feature which
handles color initialization with incomplete
parameters.</li>
<li>handle whitespace between operator/operands for color
values.</li>
<li>reset ReGIS-context when resetting graphics in
<tt>RIS</tt>.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_383" id="xterm_383">Patch #383 -
2023/06/27</a></h1>
<ul>
<li>expand description of full- and soft-reset in the
manual.</li>
<li>fixes for full- and soft-reset:
<ul>
<li>clear alternate screen on full reset.</li>
<li>disable menu-entry for active icon; it merely shows
whether the feature is enabled.</li>
<li>use <tt>appcursorDefault</tt> and
<tt>appkeypadDefault</tt> resources for reset of
<tt>DECCKM</tt> and <tt>DECKPAM</tt>.</li>
<li>save initial resource values for
<tt>sixelScrolling</tt> and <tt>privateColorRegisters</tt>,
using those in full reset.</li>
<li>update checkbox for <em>Enable Blinking Cursor</em>
(report by Rajeev V. Pillai).</li>
</ul>
</li>
<li>add reply for <tt>DECSACE</tt> with <tt>DECRQSS</tt>.</li>
<li>modify status-line feature to exit without erasing for
<tt>DECSTR</tt>.</li>
<li>add private mode <tt>1045</tt> which imitates the original
xterm cursor-back reverse wrapping mode <tt>45</tt> (see
<a href="#xterm_380">patch #380</a>).</li>
<li>improve checks for non-Unicode values, e.g., in
<tt>DECRQCRA</tt>.</li>
<li>re-checkout from RCS archive to fix stale identifiers
(report by Sven Joachim).</li>
</ul>
<h1><a name="xterm_382" id="xterm_382">Patch #382 -
2023/05/30</a></h1>
<ul>
<li>amend change to <tt>CursorBack</tt> in <a href=
"#xterm_380">patch #380</a>, allowing the result to be on the
hidden right-half of double-cell characters (report by Rajeev
V. Pillai).</li>
<li>amend <tt>xtermDrawString</tt>, fixing regression with
<tt>--disable-wide-chars</tt> configuration from <a href=
"#xterm_380">patch #380</a>.</li>
<li>corrected pathname for <tt>run-tic.sh</tt>, for full
install in an out-of-tree build (report by Rajeev V.
Pillai).</li>
</ul>
<h1><a name="xterm_381" id="xterm_381">Patch #381 -
2023/05/28</a></h1>
<ul>
<li>fix a regression in wide bitmap fonts versus check for
missing glyphs (report by Rajeev V. Pillai).</li>
</ul>
<h1><a name="xterm_380" id="xterm_380">Patch #380 -
2023/05/09</a></h1>
<ul>
<li>simplify the change for <code>sixelScrolling</code> from
<a href="#xterm_374">patch #374</a> (report by Per
Bothner).</li>
<li>add <tt>xterm+focus</tt> and <tt>report+da2</tt>, update
<tt>report+version</tt> building blocks in terminfo, from
post-ncurses 6.4</li>
<li>drop the <tt>-title</tt> option from <tt>uxterm</tt> and
<tt>koi8rxterm</tt>, because that interferes with deriving the
default title from the <tt>-e</tt> option (Debian #1031837).
Compensate for this by using the <tt>-class</tt> option to
derive a default title.</li>
<li>improve description of readline 2003 mode in
<tt>ctlseqs.ms</tt> (report by Thomas Wolff).</li>
<li>other improvements to status-line feature (report by Thomas
Wolff):
<ul>
<li>clear status line on <tt>DECCOLM</tt></li>
<li>ignore <tt>DECSASD</tt> if no previous
<tt>DECSSDT</tt></li>
<li>allow <tt>DECSSDT 1</tt> immediately after
<tt>DECSSDT 2</tt>, i.e., without switching back to
host mode.</li>
</ul>
</li>
<li>adjust <tt>RequestResize</tt> to avoid shrinking screen
when using <tt>DECCOLM</tt> while the status-line is active
(report/patch by Thomas Wolff).</li>
<li>disallow wrapping before the beginning of the screen, to
the end of the screen, for cursor-back sequences (Redhat
#2182357).</li>
<li>modify makefile to install the 16x16 xpm files (report by
Harald Dunkel).</li>
<li>update test-package to reflect resolution of Debian
#906901.</li>
<li>change default of <code>showMissingGlyphs</code> to
<em>True</em>.</li>
<li>improve handling of double-sized characters when those
happen to be missing from the bitmap font and/or are
fullwidth.</li>
<li>pointer/overflow fixes (reported by David Leadbeater):
<ul>
<li>improve limit-checks for control-sequence numeric
parameters in SIXEL graphics.</li>
<li>add null-pointer checks in <tt>WriteNow</tt> macro to
handle a case where <tt>SS2</tt> or <tt>SS3</tt> might be
in effect while processing a combining character.</li>
<li>disallow ReGIS reporting for character-set names
containing characters other than alphanumerics or
underscore.</li>
<li>implement TrueType fallback font for double-sized
characters, including Unicode fullwidth. Also add
<tt>limitFontHeight</tt> to provide for configuring the
distinction between slightly-oversized glyphs and
double-sized glyphs.</li>
</ul>
</li>
<li>configure script improvements:
<ul>
<li>check for <tt>nfsd_t</tt></li>
</ul>
</li>
<li>fix a typo in the underline cursor thickness derivation
(patch by Jan Engelhardt).</li>
</ul>
<h1><a name="xterm_379" id="xterm_379">Patch #379 -
2023/02/15</a></h1>
<ul>
<li>improve text-cursor (patch by Jan Engelhardt):
<ul>
<li>allow selecting <tt>CURSOR_BAR</tt> mode from
command-line/Xresources.</li>
<li>draw cursor using filled rectangle instead of rectangle
outline to permit thicker underlines/bars.</li>
<li>scale up cursor relative to font size.</li>
</ul>
</li>
<li>improve readline modes (Fedora #2166860):
<ul>
<li>document readline modes</li>
<li>change the feature to configure by default</li>
<li>replace hard-coded SS3 for cursor movement with current
mode</li>
<li>replace hard-coded erase/lnext characters with current
values</li>
</ul>
</li>
<li>improve status-line (report by Thomas Wolff):
<ul>
<li><tt>RIS</tt> turns off status-line</li>
<li>Right-margin (<tt>DECLRMM</tt> and <tt>DECSLRM</tt>)
limits the length of text written/updated in the
status-line.</li>
<li>Most controls which affect the whole screen are ignored
while updating the status-line.</li>
</ul>
</li>
<li>modify configure check for <tt>tgetent</tt> to allow for
some special cases of ncurses configuration (report by Satadru
Pramani).</li>
<li>reduce timeout, improve warning message if resize is run on
a terminal which is not VT100-compatible.</li>
<li>reduce compiler warnings in configure script.</li>
</ul>
<h1><a name="xterm_378" id="xterm_378">Patch #378 -
2023/01/09</a></h1>
<ul>
<li>improve descriptions of <em>XTQMODKEYS</em> and
<em>XTQALLOWED</em> features in <tt>ctlseqs.ms</tt> (reports by
Bram Moolenaar, Thomas Wolff).</li>
<li>add <tt>bracketed+paste</tt> and <tt>report+version</tt>
building blocks to terminfo, from ncurses 6.4</li>
<li>improve check for unsupported formatting characters, e.g.,
zero-width space, to properly ignore them (report by Thomas
Wolff).</li>
<li>improve/document error-checking for some of the controls
which return responses: DECRQSS, XTGETXRES, XTSETTCAP,
XTGETTCAP (prompted by discussion with David Leadbeater).</li>
<li>improve limit-checks for fallback font cache (report by
Dimitrije Erdeljan).</li>
<li>improve check for too-wide glyph in fallback font by
allowing xterm to continue searching for a suitable font rather
than just failing on the first. Also add
<tt>limitFontWidth</tt> to allow changing the amount by which a
glyph must extend outside the font's bounding box to disallow
it.</li>
</ul>
<h1><a name="xterm_377" id="xterm_377">Patch #377 -
2022/11/25</a></h1>
<ul>
<li>add control sequences for reporting the current state of
the modified keys options (XTQMODKEYS) and allowed/disallowed
operations (XTQALLOWED), (prompted by discussion with Bram
Moolenaar).</li>
<li>amend <code>modifyOtherKeys</code> case 2 to distinguish
the escape character with modifiers, e.g., shift-escape, from a
plain escape character (suggested by Bram Moolenaar).</li>
<li>improve parsing and error-recovery in the case where a list
of X11 bitmap fonts is given in the <code>-fn</code> and
related options.</li>
<li>change default for <code>xftTrackMemUsage</code> to false,
because libXft does not handle certain fonts.</li>
</ul>
<h1><a name="xterm_376" id="xterm_376">Patch #376 -
2022/11/16</a></h1>
<ul>
<li>modify configure script to always check for gcc
attributes,</li>
<li>update <code>install-sh</code>.</li>
<li>fix parsing of <code>result -u</code> in
<code>vttests/halves.pl</code>.</li>
<li>add a note in <code>ctlseqs.ms</code> about compatibility
of <code>TBC</code>.</li>
<li>fix a copy/paste error in manual (patch by Grady
Martin).</li>
<li>add null-pointer checks in <code>x_strcasecmp</code> and
<code>x_strncasecmp</code>, to help with error-recovery for a
missing font (Debian #1022942).</li>
</ul>
<h1><a name="xterm_375" id="xterm_375">Patch #375 -
2022/10/23</a></h1>
<ul>
<li>improve error-recovery when setting a bitmap font for the
VT100 window, e.g., in case <em>OSC 50</em> failed,
restoring the most recent valid font so that a subsequent
<em>OSC 50</em> reports this correctly (report by David
Leadbeater).</li>
<li>exclude <code>MC_XDG_OPEN</code> from environment variables
trimmed on startup (report by Gabor Hauzer).</li>
<li>check for null pointer in <code>isSelect()</code> (report
by Column Paget).</li>
</ul>
<h1><a name="xterm_374" id="xterm_374">Patch #374 -
2022/10/10</a></h1>
<ul>
<li>eliminate use of grep aliases from vttests scripts.</li>
<li>amend discussion of <code>DECSDM</code> versus <em>Sixel
Scrolling</em> in <code>ctlseqs.ms</code> (reports by Hayaki
Saito, Ben Wong).</li>
<li>change default for <code>sixelScrolling</code> resource to
better match VT330/VT340 <code>DECSDM</code> setting (patch by
Ben Wong).</li>
<li>fix some gcc and coverity warnings.</li>
<li>improve memory usage for <tt>OSC 52</tt> (report by
David Leadbeater).</li>
<li>fix regression in <a href="#xterm_373">xterm-373</a> change
adding resources <tt>xftTrackMemUsage</tt> to
<tt>xftMaxGlyphMemory</tt>, which did not first cache the
server's resource-settings (report/testcase by Gabor Hauzer, as
well as Debian #1021243).</li>
<li>fix regression in <a href="#xterm_373">xterm-373</a> change
for status-line vs alternate screen (report by Rajeev V.
Pillai).</li>
<li>configure script improvements:
<ul>
<li>modify <tt>CF_XOPEN_SOURCE</tt> to handle more special
cases of Linux (reports by Adam Sampson, Sven
Joachim).</li>
<li>modify checks for egrep/fgrep aliases to work around
warning messages from GNU grep 3.8</li>
</ul>
</li>
</ul>
<h1><a name="xterm_373" id="xterm_373">Patch #373 -
2022/09/25</a></h1>
<ul>
<li>improve rendering of TrueType fonts:
<ul>
<li>add resource <tt>xftTrackMemUsage</tt> to
enable/disable a new feature of Xft which improves
performance.</li>
<li>add resources <tt>xftMaxGlyphMemory</tt> and
<tt>xftMaxUnrefFonts</tt> to customize memory-usage of Xft
and fontconfig.</li>
<li>provide for display of colored fonts in libXft
2.3.5</li>
<li>allow for an extra TrueType font to be specified using
the <code>-fa</code> option, as an override to the
<em>fontconfig</em> scheme of fallback fonts (request by
Nickolas Raymond Kaczynski).</li>
<li>improve caching of TrueType missing-glyph tests.</li>
<li>allow no more than 255 fonts to be scanned for a
fontset.</li>
<li>eliminate a table-lookup in <tt>findXftGlyph</tt></li>
</ul>
</li>
<li>improvements status-line feature:
<ul>
<li>save/restore wraparound flag when updating the
status-line (report by Rajeev V. Pillai).</li>
<li>avoid clearing the status-line when switching between
normal and alternate screens (report by Valtteri
Vuorikoski).</li>
<li>remove adjustment from <tt>update_winsize</tt> leftover
from initial work (report by Valtteri Vuorikoski).</li>
</ul>
</li>
<li>modify <tt>wcwidth</tt> tables to separate Unicode
<em>Cf</em> category as <em>formatting</em> control-characters,
to better match the guideline for <a href=
"http://www.unicode.org/faq/unsup_char.html">unsupported
characters</a> (report by Tim Chase).</li>
<li>add configure option
<tt>--disable-exec-selection</tt>.</li>
<li>use <tt>mkstemp</tt> where <tt>mkdtemp</tt> is unavailable,
when initializing colored cursor.</li>
<li>adapt fixes from OpenBSD xenocara:
<ul>
<li>improve ifdef's for a few optional features.</li>
<li>correct <tt>#ifdef</tt> to <tt>#if</tt> in a few uses
of <tt>OPT_PRINT_ON_EXIT</tt>.</li>
</ul>
</li>
<li>set <tt>StartupWMClass</tt> in
“<tt>.desktop</tt>” files, e.g., to help
<tt>cinnamon-session</tt> notice that xterm sets
<tt>WM_CLASS</tt> and use its icon (patch by Richard de
Boer).</li>
<li>disable pixel computation when rgb width is greater than 8,
to work with depth 30 (patch by Denis Kaganovich).</li>
<li>improve color-computation for SGR 2 faint/dim (patch by
Boian Bonev). Add resource <tt>faintIsRelative</tt> to specify
if the modified computation should be used (prompted by
discussion with Matthieu Herrb).</li>
<li>correct comparison-length for environment variable cleanup
(patch by Brendan O' Dea).</li>
<li>correct <tt>dsl</tt> capability for <tt>dec+sl</tt> block
in terminfo (report by Rajeev V. Pillai).</li>
<li>improve output formatting by <tt>vttests/utf8.pl</tt></li>
<li>repair test/demo scripts still using "vxt-" prefix, some
cleanup with shellcheck.</li>
<li>enable page-number for <tt>DECXCPR</tt> response in
VT330.</li>
<li>amend change for combining characters in <a href=
"#xterm_371">patch #371</a> to limit it to the
currently-defined codes (report by Thomas Wolff).</li>
<li>add directory-template parameter to <tt>mktemp</tt> in
shell-scripts to improve portability to older systems (patch by
Ryan Schmidt).</li>
<li>mention webpage <a href=
"https://invisible-island.net/xterm/xterm-paste64.html"><em>XTerm
– bracketed-paste</em></a> in
<code>ctlseqs.ms</code></li>
<li>update manual-page descriptions for
<code>allowPasteControls</code> and
<code>disallowedPasteControls</code> (<a href=
"#xterm_363">patch #363</a>).</li>
<li>further extended list of environment variables to purge on
startup (suggested by Thomas Wolff).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_372" id="xterm_372">Patch #372 -
2022/03/09</a></h1>
<ul>
<li>amend allocation/freeing of scrollback lines, eliminating
an adjustment for status-line added in <a href=
"#xterm_371">patch #371</a> (report/testcase by Rajeev V.
Pillai).</li>
</ul>
<h1><a name="xterm_371" id="xterm_371">Patch #371 -
2022/02/24</a></h1>
<ul>
<li>drop double-buffer default from test-packages, since that
interferes with status-line.</li>
<li>add <code>faceSize7</code> to table in
<code>charproc.c</code>, overlooked in <a href=
"#xterm_360">patch #360</a> (patch by Vladimir A. Pavlov).</li>
<li>use <code>XDrawString</code> rather than
<code>XDrawString16</code> for text when the latter is not
needed.</li>
<li>improve performance for initializing/reusing graphic
objects in the SIXEL feature.</li>
<li>improve error-checking for <code>resize</code>.</li>
<li>fix errata in manual page (Debian #988221).</li>
<li>extended list of environment variables to purge on startup,
i.e., in case a user starts xterm from another terminal
emulator.</li>
<li>add comment in <code>cursor.c</code> to explain why
autowrap (<code>DECAWM</code>) does not apply to data
saved/restored with save/restore cursor-operations (report by
Thomas Wolff).</li>
<li>add special case in generating the combining-character
table in <code>wcwidth.c</code>, for Hangul Jamo Extended-B
(report by Luis Javier Merino).</li>
<li>simplify/improve portability of <code>trap</code> commands
in shell-scripts.</li>
<li>update configure options<br>
<code>--disable-rectangles</code>,<br>
<code>--disable-tcap-fkeys</code> and<br>
<code>--disable-tcap-query</code><br>
to account for changed default settings.</li>
<li>rather than ignore empty parameter for setting title, use
that to reset it to “xterm” for scripting.</li>
<li>check for out-of-bounds condition while drawing sixels, and
quit that operation (report by Nick Black).</li>
<li>add fallback definition for <code>PROJECTROOT</code> so
that a suitable default location for <code>luit</code> will be
compiled-in on build-servers.</li>
<li>implement DEC status-line controls DECSASD/DECSSDT:
<ul>
<li>decode controls, set state</li>
<li>implement DECRQSS responses</li>
<li>implement indicator-style status-line</li>
<li>add configure option
<code>--enable-status-line</code></li>
<li>add resource <code>indicatorFormat</code></li>
<li>implement host-writable status-line, able to handle
video-attributes and simple left/right cursor movement.
This disallows all of the DEC/xterm private modes such as
switching to/from the alternate screen.</li>
<li>move the status-line if the window is resized.</li>
<li><em>Note:</em> the associated screen-resizing does not
work for the special case of TrueType fonts with
double-buffering (see note in <a href=
"#xterm_349_xft_bug">patch #349</a>).</li>
</ul>
</li>
<li>modify configure-script fixup for <code>-Werror</code>
options to exclude fixup for <code>-Werror=format</code>, e.g.,
<code>-Werror=format-security</code>.</li>
<li>amend change from <a href="#xterm_370">patch #370</a>; DEC
070's pseudo-code for DECCOLM incorrectly suggests that it
enables DECLRMM as a side-effect.</li>
<li>fix some memory leaks seen using esctest and asan2 (patch
by Luis Javier Merino).</li>
</ul>
<h1><a name="xterm_370" id="xterm_370">Patch #370 -
2021/11/13</a></h1>
<ul>
<li>add <code>-a</code>, <code>-c</code> and <code>-d</code>
options to <code>query-status.pl</code> to improve test for
<code>DECRQSS</code>.</li>
<li>expanded discussion of maximum graphics geometry in
<code>ctlseqs.ms</code> (suggested by Bon Wong).</li>
<li>corrected parameter symbol for <code>DECCARA</code> and
<code>DECRARA</code> in <code>ctlseqs.ms</code> to indicate
that multiple parameters may be used (report by Thomas
Wolff).</li>
<li>add several test/demo scripts.</li>
<li>improve <code>DECCOLM</code>, <code>DECLRMM</code> and
<code>DECALN</code> referring to pseudo-code in DEC 070.</li>
<li>amend a change in patch #348 which caused left/right margin
mode to be reset when resizing the terminal window (report by
Valentine Barshak).</li>
<li>fix a misnamed macro-parameter (patch by Rajeev V.
Pillai).</li>
<li>fix spacing of <code>wideFont</code> when its width is not
exactly twice as wide as the normal font (report by Rajeev V.
Pillai).</li>
<li>suppress loading of italic font in a few places when
<code>colorITmode</code> is enabled (report/analysis by Rajeev
V. Pillai).</li>
<li>modify <code>XTSMGRAPHICS</code> to return failure status
if the terminal is not configured to support the corresponding
ReGIS or SIXEL feature (report by Nick Black, notcurses #2252,
notcurses #2257).</li>
<li>modify <code>DECERA</code> and <code>DECFRA</code> to erase
corresponding area in SIXEL graphics (patch by Nick Black,
notcurses #1740, vt340test #16). Also modify
<code>DECSERA</code>.</li>
<li>equate visuals for TrueColor and DirectColor (patch by
Denis Kaganovich).</li>
<li>correct computation for pixel value of rgb when using depth
16 (report by Denis Kaganovich).</li>
<li>correct wrapping of VT100-style double-sized characters
when configured for Unicode wide-characters (report by Luis
Javier Merino).</li>
<li>updated default value for <code>sixelScrolling</code>
resource to match expected behavior versus <code>DECSDM</code>
change in <a href="#xterm_369">patch #369</a> (report by Grant
Taylor).</li>
</ul>
<h1><a name="xterm_369" id="xterm_369">Patch #369 -
2021/09/21</a></h1>
<ul>
<li>modify <code>run-tic.sh</code> to work around bug in
development version of ncurses which was packaged in FreeBSD
ports.</li>
<li>remove ifdef's for <code>OPT_COLOR_RES</code> and
<code>OPT_COLOR_RES2</code>.</li>
<li>improve performance over slow connections (report by Harald
Dunkel).</li>
<li>update cursor if restoring mode for DECTCEM.</li>
<li>modify <code>CharWidth</code> macro to ensure that the
shortcut for Latin-1 is only applied when UTF-8 is not enabled,
to fix a bug in handling soft-hyphen from <a href=
"#xterm_334">patch #334</a> changes (patch by Martijn van
Duren).</li>
<li>improve terminfo:
<ul>
<li>fill-in function-keys in terminfo which are not Sun/HP
keyboards using <code>xterm+nopcfkeys</code>
building-block.</li>
<li>add kbeg to xterm+keypad to accommodate termcap
applications</li>
<li>add smglp and smgrp to vt420+lrmm, to provide useful
data for the "tabs" <code><strong>+m</strong></code>
option</li>
</ul>
</li>
<li>support shift-tab in Sun, HP and SCO keyboards.</li>
<li>document some legacy features in <code>ctlseqs.ms</code>
(prompted by discussion with Jimmy Aguilar Mena "Ergus").</li>
<li>add “trim” option to <code>cdXtraScroll</code>
and <code>tiXtraScroll</code>.</li>
<li>remove support for non-fifo save-lines configuration.</li>
<li>extend <code>cdXtraScroll</code> to check if the cursor is
at the upper-left of the scrolling region when the erasure is
for the remainder of the screen versus the whole screen
(prompted by discussion with Jörg Breitbart).</li>
<li>add workaround for broken pcre2 package in Debian 10.</li>
<li>change screen-refresh call used for <code>DECCARA</code>
and <code>DECRARA</code> to ensure that trailing blanks which
are part of the rectangle are repainted (report/analysis by
Dennis Filder).</li>
<li>when resetting the terminal, ensure that the cursor shape
also is reset, e.g., if <code>DECSCUSR</code> has been used to
modify the cursor shape for an xterm which was started with the
underlined cursor option (report/analysis by Luis Javier
Merino).</li>
<li>prevent <code>DECSCUSR</code> from blinking the cursor if
the <code>cursorBlink</code> resource is “never”
(report by Vladimir D Seleznev).</li>
<li>invert the sense of <code>DECSDM</code>, to correspond with
VT382 manuals (lsix #41).</li>
<li>update tables in <code>wcwidth.c</code> based on Unicode
14.0.0</li>
</ul>
<h1><a name="xterm_368" id="xterm_368">Patch #368 -
2021/06/07</a></h1>
<ul>
<li>add <code>DefaultOff</code> option to
<code>RenderFont</code> resource, as part of the
session-management feature.</li>
<li>add auto-scroll-lock feature (patch by Stelios
Bounanos).</li>
<li>update the window-size information returned via
<code>TIOCGWINSZ</code> when rows/columns are unchanged but the
font-size changes (report by Nick Black).</li>
<li>improve session-management feature by saving/restoring the
font settings.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_367" id="xterm_367">Patch #367 -
2021/03/26</a></h1>
<ul>
<li>add <code>OSC 22</code> to allow programs to select
different pointer cursor at runtime.</li>
<li>change configuration for <em>no-return</em> functions to
use <code>_Noreturn</code> when it is available, because
<code>clang --analyze</code> does not properly handle the gcc
noreturn attribute.</li>
<li>add <code>cursorTheme</code> resource to provide a way to
enable or disable the cursor theme feature.</li>
<li>modified <code>CopyWait</code> event retries to use shorter
sleeps, to improve responsiveness (tmux #2556).</li>
<li>improve quoting/escaping in demo-scripts per
shellcheck.</li>
<li>add <code>resizeByPixel</code> resource, to permit
disabling window manager resizing-hints (patch by Tim
Oehl).</li>
<li>corrected <code>printOptsImmediate</code> handling of
alternate-screen (report by Abhijit Dasgupta).</li>
<li>update sample terminfo to more closely match ncurses.</li>
<li>add/improve limit-checks for Xlib calls (report by Roman
Fiedler).</li>
<li>fix a typo in the help-message (report by Tomas
Korbar).</li>
</ul>
<h1><a name="xterm_366" id="xterm_366">Patch #366 -
2021/02/10</a></h1>
<ul>
<li>correct a compiler-warning fix in <a href=
"#xterm_352">patch #352</a> which allowed sign-extension of
coordinate values (report by "CismonX").</li>
<li>correct upper-limit for selection buffer, accounting for
combining characters (report/testcase by Tavis Ormandy).</li>
<li>with <code>alwaysHighlight</code> true, xterm does not
properly track focus. The <em>screen->select</em>
<code>FOCUS</code> flag remains always on, which prevents
<code>bellIsUrgent</code> from working, as the urgent
<code>WM_HINT</code> flag is only set in
<code>setXUrgency()</code> when the window is not focused. Fix
this by updating <em>screen->select</em> in
<code>unselectwindow()</code> regardless of the value of
<code>always_highlight</code> (patch by Jiri Bohac).</li>
<li>improve fix for interaction between SRM and ENQ (report by
Grant Taylor).</li>
<li>build-fix for <code>--with-Xaw3dxft</code>, needed when
<code>--with-toolbar</code> is omitted (report by Jimmy Olgeni,
Emanuel Haupt).</li>
</ul>
<h1><a name="xterm_365" id="xterm_365">Patch #365 -
2021/02/03</a></h1>
<ul>
<li>amend fix for “word” selection in <a href=
"#xterm_364">patch #364</a> to limit that to the
<code>insert-selectable</code> <em>action</em>, which reads
data from the screen. This restores the interactive behavior
where double-clicking on a “word” would make
subsequent selection extensions by words as well as suppressing
some boundary-checks (report by David Wolfskill, FreeBSD
#253225).</li>
</ul>
<h1><a name="xterm_364" id="xterm_364">Patch #364 -
2021/02/02</a></h1>
<ul>
<li>add <code>-fc</code> option.</li>
<li>correct/improve limit-checks for SRM versus ENQ from
<a href="#xterm_344">patch #344</a> (report by Tom
Szilagyi).</li>
<li>enable <code>XftFont</code> resource in Xaw3dxft
configuration (patch by Tavis Ormandy).</li>
<li>improve quoting/escaping in build-scripts per
shellcheck.</li>
<li>add <code>libpcre2-posix</code> to the packages tested for
<code>--with-pcre2</code> option, needed with Fedora (report by
Tomas Korbar).</li>
<li>correct a typo in manual page, and note that
<code>KeepClipboard</code> may not be compiled-in (report/patch
by Sean C Farley).</li>
<li>corrected boundary-checks for “word” selection
used in <code>on<em>N</em>Clicks</code> resources (report by
Tavis Ormandy).</li>
<li>update to autoconf-2.52-20210101, to improve shellcheck
warnings.</li>
<li>improve configure check for desktop categories.</li>
</ul>
<h1><a name="xterm_363" id="xterm_363">Patch #363 -
2020/12/26</a></h1>
<ul>
<li>disable groff hyphenation in generated html when using
man2html.</li>
<li>change SCS “<code>&4</code>” Cyrillic to
non-NRCS, per VT520 manual.</li>
<li>amend fix for SCS in <a href="#xterm_198">patch #198</a> to
remove <code>DEL</code> rather than converting it to a space
(report by Thomas Wolff).</li>
<li>modify state transitions for selecting character sets to
eliminate an ambiguity between the “A” used in
VT220 versus VT320.</li>
<li>improve error recovery when selecting characters by
resetting to US ASCII when no suitable encoding is found, e.g.,
attempting to use an NRCS sequence when NRCS is not
enabled.</li>
<li>turn off hyphenation in “<code>.txt</code>”
conversion, prompted by groff changes.</li>
<li>add VT5xx ISO Latin-2 (prompted by discussion with Thomas
Wolff).</li>
<li>amend change from <a href="#xterm_361">patch #361</a> to
event-handling in <code>CopyWait</code> to handle active-icon
as a special case (Debian #975687).</li>
<li>add call to <code>loadColorTable</code> to get the visual
information needed to decode BE RGBA32 color format (patch by
Leandro Lupori).</li>
<li>modify the resource-parsing for
<code>disallowedPasteControls</code> and similar lists of
names/numbers to recognize “~;” (tilde) for
cancelling a given name/number.</li>
<li>add ENQ, EOT and NUL to default for
<code>disallowedPasteControls</code>.</li>
<li>change default for <code>disallowedPasteControls</code> to
omit the tab character (suggested by Harald Dunkel).</li>
<li>fix swapped height/width in <code>regisScreenSize</code>
and <code>maxGraphicSize</code> resources using "auto" value,
from <a href="#xterm_314">patch #314</a> (report by Anton
Lavrentiev)</li>
<li>revise <a href="#xterm_362">patch #362</a> change for
shift-modifier versus mouse protocol and select/paste by adding
resource <code>shiftEscape</code>, which can be enabled via a
control sequence (prompted by discussion with Matthijs van
Duin).</li>
<li>simplify/improve ifdef in trace code for using a separate
set of files for each run of xterm.</li>
<li>add options <code>-r</code> and <code>-t</code> to
<code>vttests/query-color.pl</code> to show the 6-digit RGB
code and actual colors.</li>
<li>add <code>nel</code> to <code>xterm-basic</code>
terminfo.</li>
<li>alter <code>vttests/modify-keys.pl</code> to omit HTML
reference links to the modified-keys table where no keycode was
available.</li>
</ul>
<h1><a name="xterm_362" id="xterm_362">Patch #362 -
2020/11/11</a></h1>
<ul>
<li>cleanup of calls to <code>free</code>, removing checks for
null (Walter Harms).</li>
<li>improved mouse-button reporting (prompted by discussion
with Stephane Chazelas)
<ul>
<li>narrow the scope of the change for shift-key in
<a href="#xterm_361">patch #361</a> to make it apply only
when the <code>modifyOtherKeys</code> resource is set to 2
(i.e., “program mode”). Also, when checking the
shift-key, ignore modifiers other than shift, control and
“meta”</li>
<li>use the alt/meta modifier information obtained in
<code>VTInitModifiers</code> to replace a hard-coded
<em>mod1</em> used to detect “Meta” for
mouse-button responses.</li>
</ul>
</li>
<li>reduce <code>SIGWINCH</code>'s sent to the client by
filtering out duplicates.</li>
<li>improve display when <code>scaleHeight</code> is greater
than 1:
<ul>
<li>the text-cursor is vertically-centered on the current
line, rather than only extending below the current line
(report by Manu Chaturvedi).</li>
<li>the built-in line-drawing characters extend to the
scaled cell-height.</li>
</ul>
</li>
<li>fill-in special case for motion-events to match the changes
for shift-key in pointer-button events from <a href=
"#xterm_361">patch #361</a>.</li>
</ul>
<h1><a name="xterm_361" id="xterm_361">Patch #361 -
2020/10/14</a></h1>
<ul>
<li>treat the return value of <code>strerror</code> as readonly
(patch by Philipp Klaus Krause).</li>
<li>modify event-handling in <code>CopyWait</code> to work
around hanging while writing large amounts of text to an active
icon and at the same time iconifying/deiconifying (report by
Dave Kemper).</li>
<li>initialize double-buffer for active-icon window.</li>
<li>improve manual page description of scrollbar resources
(report by Brian Lindholm).</li>
<li>correct ifdef for menu entry for active-icon, when
initializing it with toolbar configuration.</li>
<li>add preprocessor option to makefile to set internal
definition of pixmaps directory to match the
install-configuration (FreeBSD #250036).</li>
<li>cleanup of calls to <code>free</code>, removing checks for
null (Walter Harms).</li>
<li>add fallback actions <code>pointer-button</code> and
<code>pointer-motion</code> which handle events for the mouse
control-sequences protocol if the <em>select</em>-related
translations are omitted with
<code>*omitTranslation:select</code> (prompted by discussion
with "Ergus")</li>
<li>amend rule for using shift-key to override mouse-protocol
for select/paste to limit that feature to mouse-buttons which
are actually bound to select/paste actions (prompted by
discussion with "Ergus").</li>
<li>corrected mapping in special case for repainting wrap-marks
when viewing the scrollback area.</li>
<li>use separate <em>GCs</em> for <code>showWrapMarks</code>
feature, to work around cursor coloring change in <a href=
"#xterm_345">patch #345</a> (report by Paulo Silva de
Alíbano).</li>
</ul>
<h1><a name="xterm_360" id="xterm_360">Patch #360 -
2020/09/20</a></h1>
<ul>
<li>mention <code>decGraphicsID</code> in
<code>ctlseqs.ms</code> (suggested by Thomas Wolff).</li>
<li>modify pixel-coordinate mouse response to use as origin the
VT100-window rather than the underlying widget, which includes
the scrollbar (report by Thomas Wolff).</li>
<li>add configure option <code>--disable-print-graphics</code>
(Ross Combs).</li>
<li>add <code>test_ptydata</code> to “make check”
rule.</li>
<li>minor fixes for <code>ctlseqs.ms</code> (report by
Jean-Marc Bourguet).</li>
<li>minor fixes for manpage style (report/patch by
"a1346054").</li>
<li>correct cleanup from switch between italics/normal font in
the show/hide cursor functions (report/testcase by Peter
Fabinski).</li>
<li>integrated patch by Ross Combs:
<ul>
<li>internal renaming of GraphicsID symbols, for
readability.</li>
<li>adjust logic for VT125, treating it as a ReGIS
terminal.</li>
</ul>
</li>
<li>update configure macros, for compiler-warning fixes.</li>
<li>integrated patch by Ross Combs:
<ul>
<li>add control sequence modes for graphics printing.</li>
<li>improve conversion to bitmaps for TrueType fonts in
ReGIS</li>
<li>add <code>font7</code> resource, for an
“enormous” bitmap font.</li>
<li>do not reset graphics in a soft-reset.</li>
<li>add <code>pointerFont</code> resource, and
<code>-pf</code> command-line option.</li>
</ul>
</li>
<li>improve typography of manual page (patch by Branden
Robinson).</li>
<li>amend <a href="#xterm_359">patch #359</a> change to
<code>df-install.in</code> to ignore a command-line assignment
to <code>DESTDIR</code> if followed by an explicit
<code>--dir</code> (report by Sven Joachim).</li>
</ul>
<h1><a name="xterm_359" id="xterm_359">Patch #359 -
2020/08/17</a></h1>
<ul>
<li>add special case in <code>WriteText</code> to allow colors
8-15 to override <code>colorBDMode</code> (patch by Ingo
Brückl).</li>
<li>add <code>utf8Weblike</code> resource, to provide an
alternate scheme for handling ill-formed UTF-8 sequences
(adapted from patch by Dan Gohman).</li>
<li>improve computation for the number of lines needed to
scroll-up a SIXEL graphic (report/patch by Ben Wong).</li>
<li>correct manpage description for default value of
<code>disallowWindowOps</code> from changes in <a href=
"#xterm_331">xterm #331</a> (patch by Ben Wong).</li>
<li>correct a loop starting-point in
<code>refresh_graphics</code> from optimization in <a href=
"#xterm_358">patch #358</a> changes (report by Ben Wong).</li>
<li>add a new mouse mode 1016, which uses the same format as
mode 1006, but sends the mouse's position in pixels (suggested
by Igor van den Hoven).</li>
<li>fix an issue from <a href="#xterm_338">patch #338</a>
changes where only the first selection buffer specified in the
request would be updated using OSC 52 (patch by Michael
Gulick).</li>
<li>modify makefile/scripts to allow <code>DESTDIR</code> to
prefix the target directory for desktop-file-install (report by
Fred Heitkamp).</li>
<li>enable SIXEL feature by default.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_358" id="xterm_358">Patch #358 -
2020/07/12</a></h1>
<ul>
<li>correct logic for decodeTerminalID changes in <a href=
"#xterm_357">patch #357</a> (report by "Chartreuse").</li>
<li>modify makefile to use <code>plink.sh</code> when linking
test-programs, to fix build when using pcre (report by H Merijn
Brand)</li>
<li>build-fix for test_ptydata program (patch by H Merijn
Brand)</li>
</ul>
<h1><a name="xterm_357" id="xterm_357">Patch #357 -
2020/07/05</a></h1>
<ul>
<li>several minor optimizations for the ReGIS and SIXEL
features, improving performance by 10%.</li>
<li>add resource <code>decGraphicsID</code> to allow displaying
graphics when the emulation level would ordinarily disallow
this (prompted by discussion with Thomas Wolff).</li>
<li>add control sequences for fast switching of color palettes:
<code>XTPUSHCOLORS</code>, <code>XTPOPCOLORS</code>,
<code>XTREPORTCOLORS</code></li>
<li>amend change for soft-hyphen from <a href=
"#xterm_328">patch #328</a> to avoid stripping
replacement-characters which would be shown with malformed or
overlong UTF-8 input.</li>
<li>corrected an error-handling case in
<code>decodeUtf8</code>, matching a similar fix in <a href=
"#xterm_268">patch #268</a> (report/patch by Dan Gohman).</li>
<li>add a test-driver for <code>ptydata.c</code></li>
<li>minor cleanup of macros (adapted from patch by Walter
Harms).</li>
<li>fix some errata in <code>ctlseqs.ms</code> (report by
Thomas Wolff).</li>
<li>allow immediate repaint-on-palette-changed if
double-buffering is enabled.</li>
<li>deprecate codes 10/11 in sgr push controls, changing those
to 30/31, to avoid confusion with sgr 10-19.</li>
<li>modify <code>SGR</code> parameter handling to stop if an
unrecognized parameter is encountered, to guard against
malformed or nonstandard sequences (report by Bram
Moolenaar).</li>
<li>modify <code>DECERA</code> color for consistency with other
erasures/clearing (report by Thomas Wolff).</li>
<li><code>ECH</code> should not be masked by
<code>DECSCA</code> (report by Thomas Wolff).</li>
<li>extend <code>DECFRA</code> and <code>REP</code> to accept
any “graphic” character rather than just Latin1,
etc. (report by Thomas Wolff).</li>
<li>add <code>-C</code> option to 256colors2.pl and
88colors2.pl, to demonstrate mixed semicolon/colon separators
which are implied by ECMA-48.</li>
<li>update sample terminfo to reflect the documentation
improvements.</li>
<li>update description of 88/256/direct color in
<code>ctlseqs.ms</code> to point out that using semicolons is a
deprecated legacy feature, and standard terminal applications
should use colons (prompted by discussion with Bram
Moolenaar).</li>
<li>modify configure-check for <code>tgetent</code> to
conditionally include <code>termcap.h</code>, enabling
configuration using <code>clang</code>'s pedantic-errors option
(report by Dennis Clarke). See <a href=
"https://invisible-island.net/ncurses/man/curs_termcap.3x.html#h3-Other-Compatibility">
<em>Other Compatibility</em></a> in ncurses'
<em>curs_termcap(3X)</em>.</li>
<li>remove some unnecessary pointer checks (patch by Walter
Harms).</li>
<li>accept terminal-id and add DA response for VT131,
VT132.</li>
</ul>
<h1><a name="xterm_356" id="xterm_356">Patch #356 -
2020/05/02</a></h1>
<ul>
<li>revise fix for Debian #954730, which interfered with wheel
mouse events (report by Gabriele Balducci).</li>
</ul>
<h1><a name="xterm_355" id="xterm_355">Patch #355 -
2020/05/01</a></h1>
<ul>
<li>revise fix for Debian #954730, which interfered with wheel
mouse events (report by Henri Menke).</li>
<li>fix typos in documentation (reports by Stephen Hurd, Stefan
Assmann).</li>
<li>add mapping for <code>decTerminalID</code> for
“100” overlooked in <a href="#xterm_354">patch
#354</a>.</li>
<li>update tables in wcwidth.c based on Unicode 13.0.0</li>
<li>build-fix for “make check” when building
out-of-tree (report by Sven Joachim).</li>
</ul>
<h1><a name="xterm_354" id="xterm_354">Patch #354 -
2020/04/26</a></h1>
<ul>
<li>work around performance problems of
<code>XDrawImageString</code> and
<code>XDrawImageString16</code> functions (Debian
#954845).</li>
<li>add a control sequence which reports xterm's version (patch
by Nicholas Marriott, mintty #881).</li>
<li>temporarily set numeric locale category to "C" when parsing
resources, so that <code>scaleHeight</code> and
<code>faceSize</code> settings do not depend on locale (Debian
#820803).</li>
<li>improve DA/DA2 response by ensuring that the
<code>decTerminalID</code> maps to one of the known
identifiers, as well as providing DA2 response for VT241 and
VT382.</li>
<li>terminfo improvements:
<ul>
<li>add (my) comments from ncurses which explain the keypad
layouts.</li>
<li>add <code>vt52+keypad</code> from ncurses</li>
<li>use improved <code>xm</code> example for
<code>xterm+x11mouse</code>, <code>xterm+sm+1006</code>
from ncurses 6.2 terminfo.src</li>
</ul>
</li>
<li>two fixes for left/right wheel mouse event reporting
(Debian #954730):
<ul>
<li>filter identical button-events</li>
<li>correct order of button-range versus protocol type (see
<a href="#xterm_345">patch #345</a>)</li>
</ul>
</li>
<li>change “make check” makefile-rule to use
test-drivers for charclass and wcwidth data.</li>
<li>quiet “did not find a usable <em>xxx</em> TrueType
font” warnings by making <code>fontWarnings</code> apply
to these messages (report by Jim Rees).</li>
<li>improve reinitialization of parameter list (report/testcase
by James Holderness).</li>
<li>temporarily set numeric locale category to "C" when
formatting SVG or XHTML screendumps, to make the radix
separator used in RGB values consistent (adapted from patch by
George Kouryachy).</li>
<li>add resource <code>forceXftHeight</code> to control whether
workaround from Debian #880407 is used.</li>
<li>apply updated ascent/descent in workaround from Debian
#880407 to fix a 1-pixel gap in built-in vertical lines
(report/testcase by Stefan Assmann).</li>
<li>improve round-off of scaling for built-in line-drawing
(prompted by discussion with Stefan Assmann).</li>
<li>adjust fonts in svg-icon files to accommodate reduced
functionality of new pango (report/analysis by YOKOTA
Hiroshi).</li>
<li>improve configure check for X Toolkit library.</li>
<li>correct Y-coordinate transformation in
<code>ClearCurBackground</code>, overlooked in changes for
<a href="#xterm_334">patch #334</a> (report/analysis by Chuck
Silvers).</li>
<li>remove <code>--vendor</code> option from test-packages'
install of desktop files; the feature is badly broken in
<em>gnome-shell</em>.</li>
<li>modify <code>uxterm</code> to make it possible to select
nonstandard locale <em>C.UTF-8</em>, e.g, if the user's locale
is set to “C” (Debian #940626).</li>
<li>re-save/tweak “.svg” icon-files to work around
breakage in toolset since the files were created in <a href=
"#xterm_283">patch #283</a>.</li>
</ul>
<h1><a name="xterm_353" id="xterm_353">Patch #353 -
2020/02/01</a></h1>
<ul>
<li>amend change in <a href="#xterm_352">patch #352</a> for
button-events to fix a case where some followup events were not
processed soon enough (report/patch by Jimmy Aguilar
Mena).</li>
<li>handle <em>MappingNotify</em> X event, to improve recovery
when switching keyboard configurations using
<code>xkbcomp</code> (prompted by discussion with Frank Mosch,
Debian #661295). There is more work needed here, possibly in
the X libraries.</li>
<li>improve discussion of mouse-mode in <code>ctlseqs.ms</code>
(suggested by Igor van den Hoven).</li>
<li>further improve checks for Xft <em>max-advance-width</em>
to take into account fonts which use two cells for ambiguous
width characters. Also improve the time used for these checks
(reports by Yuri Pankov, Frank Mosch).</li>
<li>fix a few spelling errors reported by codespell (report by
Jens Schleusener).</li>
<li>modify <code>run-tic.sh</code> to prefer development
version of ncurses since changes to terminfo file in <a href=
"#xterm_345">patch #345</a> rely upon bug-fixes in ncurses
(prompted by discussion with Will Senn).</li>
</ul>
<h1><a name="xterm_352" id="xterm_352">Patch #352 -
2020/01/16</a></h1>
<ul>
<li>adjust fontsize data to handle a minor inconsistency from
recent Xft versions (Debian #880407, adapted from patch by
Vincent Lefèvre).</li>
<li>add a table to the manual page description of
<code>forceBoxChars</code> to alert the reader to the special
characters aside from “line-drawing” which are
drawn directly when this resource is set (Debian #931305).</li>
<li>improve <code>checkXft</code> logic which attempts to
detect fonts whose <em>max-advance-width</em> is inconsistent
with the actual glyph widths. For some fonts, it is necessary
to check additional characters (report/analysis by Jan
Engelhardt).</li>
<li>improve configure-checks for X headers and libraries on
recent MacOS, which has moved those files under
<code>/usr/X11</code>.</li>
<li>improve portability of iconify/deiconify feature by taking
into account some window managers which manipulate the EWMH
<code>_NET_WM_STATE</code> property, adding/removing
<code>_NET_WM_STATE_HIDDEN</code> rather than actually
<em>minimizing</em> the window (prompted by discussion with
Jörg Breitbart).</li>
<li>improve workaround from <a href="#xterm_287">patch #287</a>
for the <code>-iconic</code> option when configured with
toolbar by postponing the extra request for minimizing the
window to the end of menu-initialization.</li>
<li>modify <code>xevents</code> special-case for mouse-events
to include button-events so that the meta key by itself can
generate button-events (report/analysis by Mattias
Engdegård).</li>
<li>amend SGR-stack change from <a href="#xterm_348">patch
#348</a> to not associate bold attribute with background color
(report by Nicholas Marriott).</li>
<li>fix copy/paste error in manual page (patch by Larry
Hynes).</li>
<li>add definitions in <code>xterm_io.h</code> so that GNU/Hurd
will use <code>posix_openpty</code> (patch by Samuel
Thibault).</li>
<li>build-fix in debug-tracing, for <code>esctest</code>.</li>
<li>updated autoconf macros</li>
<li>update config.guess</li>
</ul>
<h1><a name="xterm_351" id="xterm_351">Patch #351 -
2019/11/17</a></h1>
<ul>
<li>correct logic in <code>property_to_string</code> for
deciding when to fallback from UTF-8 decoding to ISO-8859-1
decoding, broken in <a href="#xterm_350">xterm #350</a>
(FreeBSD #241961).</li>
<li>add <code>-report-icons</code> to help-message.</li>
<li>improved autoconf macros:
<ul>
<li><code>CF_ADD_LIBS</code>: the change to filter out
duplicates caused this to append rather than prepend.
revise to fix that.</li>
<li><code>CF_GCC_VERSION</code> and
<code>CF_GCC_WARNINGS</code>: move checks to distinguish
icc/clang from gcc from the macro which handles the
--enable-warnings option, to make this work
without-warnings for the inline-checks.</li>
</ul>
</li>
<li>update config.guess, config.sub</li>
<li>correct status in <code>XTGETXRES</code> replies when the
resource was not found.</li>
<li>fix some gcc, cppcheck, clang and coverity warnings.</li>
<li>guard call to <code>RequestResize</code> from the
struct-notify event handler to prevent recursion in the
Xft+buffered workaround in some cases when doing manual
resizing rather than resizing via escape sequences (reports by
Stefan Assmann, Mike Thornburg).</li>
<li>amend the workaround for Xft+buffered blanking by moving
the switch to bitmap-fonts to account for differences in font
metrics between bitmap- and TrueType-fonts (report by Stefan
Assmann).</li>
<li>improve the note on the <code>xterm-rep</code> terminfo
entry (prompted by discussion with Sven Joachim).</li>
</ul>
<h1><a name="xterm_350" id="xterm_350">Patch #350 -
2019/11/02</a></h1>
<ul>
<li>modify html/svg dump to not ignore zero'd/blank cells.</li>
<li>align terminfo file with ncurses, e.g., add
<code>xterm+osc104</code> block.</li>
<li>improve discussion of <code>modifyOtherKeys</code> in
manual page and in <code>ctlseqs.ms</code>.</li>
<li>add <code>vttests/modify-keys.pl</code> script to
illustrate the <code>modifyOtherKeys</code> resource (prompted
by discussion with Bram Moolenaar).</li>
<li>various improvements to <code>ctlseqs.ms</code>, as part of
autogenerating links for the website.</li>
<li>update manual page default for <code>saveLines</code>
resource default value (Branden Robinson, Debian #913815).</li>
<li>add command-line option <code>-report-xres</code> to show
the values of the VT100 widget X resources when initialization
is complete.</li>
<li>add a control sequence which, like tcap-query, allows an
application to inspect most X resource settings of the VT100
widget.</li>
<li>adjust some optional features to enable them in the imake
configuration as they would be by default via the configure
script.</li>
<li>add null-pointer checks to improve error recovery when
bitmap fonts are missing or corrupt (report by Jonne
Ransijn).</li>
<li>correct the condition for deleting the EWMH window-title
property, i.e., if UTF-8 titles are disabled, rather than if an
update to the EWHM property found no change (report by Sven
Joachim).</li>
<li>build-fix for the case when configure
<code>--enable-trace</code> is used without
<code>--enable-warnings</code> (report by Sven Joachim).</li>
<li>fix a few minor bugs found with Coverity.</li>
<li>add a check in <code>property_to_string</code> to avoid
translating <code>UTF8_STRING</code> or
<code>COMPOUND_TEXT</code> into Latin-1 when UTF-8 encoding is
active, e.g., when pushing onto the title-stack while switching
to the alternate screen.</li>
<li>build-fix for the <code>--disable-doublechars</code>
configure option (report by Brian Lindholm).</li>
</ul>
<h1><a name="xterm_349" id="xterm_349">Patch #349 -
2019/09/22</a></h1>
<ul>
<li>add graphic context to support bold+italics (patch by Quinn
Strahl).</li>
<li>document window properties in the manual page.</li>
<li>improve title-string feature:
<ul>
<li>if any of <code>allowC1Printable</code>,
<code>utf8Title</code> or <code>titleModes</code> hint that
an application might send a title-string encoded in UTF-8,
check if that is the case, and if it is recodable into
ISO-8859-1, use that for the ICCCM-style title.</li>
<li>check if the title given by a control sequence happens
to be already encoded in UTF-8, to avoid double-encoding
(FreeBSD #240393).</li>
<li>Make <code>sameName</code> resource work for the EWMH
titles.</li>
<li>Modify menu-state of <code>utf8Title</code> to be
consistent with the <code>utf8</code> source, i.e., setting
the EWMH properties automatically when UTF-8 is
active.</li>
</ul>
</li>
<li id="xterm_349_xft_bug">reorganize text-drawing to make it
possible to investigate using Xft to implement VT100-style
double-sized characters. While doing this, made a workaround
for apparent Xft bug which loses its drawable state when
switching from 132 to 80 columns.</li>
<li>improve font-warning messages by showing which are
<em>derived</em> rather than directly from resource settings
(suggested by Tomas Korbar). Also filter repeated font-warning
messages, to accommodate broken X configurations.</li>
<li>fix an inconsistency between failure to load derived wide
font versus failure to load derived wide-bold font (Redhat
#1679790). That relies upon the “:unscaled”
property which is broken in some distributions (however, recent
Debian and the BSDs such as MacOS work).</li>
<li>updated autoconf-252 to check X11R7 include/lib directories
found on some older configurations.</li>
<li>set a graphic-context for border when double-buffering is
active; to prevent the border color from changing when
switching to reverse-video.</li>
<li>build-fix for <code>--disable-ziconbeep</code>, which
conflicted with the new double-buffer configuration (report by
Brian Lindholm).</li>
<li>fix loop-limit for lookup of <code>fullscreen</code>
resource broken in <a href="#xterm_347">xterm #347</a> (report
by Scott Bertilson).</li>
</ul>
<h1><a name="xterm_348" id="xterm_348">Patch #348 -
2019/07/22</a></h1>
<ul>
<li>update window-manager hints when exiting Tek4014 mode
(Debian #932569, patch by Jonathan Irwin).</li>
<li>fix a misformatted printf in
<code>report-sgr.pl</code>.</li>
<li>add configure check for termios types, to improve
compiler-warnings.</li>
<li>ensure that when resetting margins, to also reset
<code>DECLRMM</code>. This affects <code>DECCOLM</code>,
<code>DECALN</code> (although DEC STD 070 mentions only
top/bottom margins), and <code>DECSTR</code>.</li>
<li>corrected order of reset/move when setting
<code>DECCOLM</code>, and make it more consistent by always
resetting margins, rather than only when the mode is changed
(report by James Holderness).</li>
<li>compile-in double-buffer support by default, changing the
configure option to set the default resource value for
<code>buffered</code> to true or false.</li>
<li>take in account the reverse-video state when computing the
filler-color used when clearing the screen in double-buffering
configuration.</li>
<li>correct logic for filtering scrollbar-updates when
<code>buffered</code> resource is compiled-in but not enabled
(report by Paul Lampert).</li>
<li>improve state saved/restored for cursor-save and SGR stack
features.</li>
<li>improve description of 1006 and 1005 mouse modes, to avoid
implying that they use character-parameters (report by Bryan
Christ).</li>
<li>explain in <code>ctlseqs.ms</code> that some of the numeric
keypad keys were xterm extensions rather than VT100/VT220
terminal features (prompted by discussion with Thomas
Wolff).</li>
<li>explain in <code>ctlseqs.ms</code> how the DEC windowing
extension is supported by xterm.</li>
<li>add 28 rectangular editing to the primary response
(suggested by Thomas Wolff).</li>
<li>fix a typo, improve wording in <code>ctlseqs.ms</code>
(Thomas Wolff).</li>
<li>fix internal column-parameter when <code>SL</code> or
<code>SR</code> is used with left/right margins (patch by
Thomas Wolff).</li>
<li>fix off-by-one in VT52 graphics character mapping (patch by
Thomas Wolff).</li>
<li>use <code>_X_UNUSED</code>, etc., when available as a
fallback for <code>GCC_UNUSED</code>, etc., to reduce compiler
warnings when building with <code><em>imake</em></code>.</li>
<li>update config.sub</li>
</ul>
<h1><a name="xterm_347" id="xterm_347">Patch #347 -
2019/06/30</a></h1>
<ul>
<li>fix a few minor bugs found with Coverity.</li>
<li>improve double-buffering for scrollbars combined with
scrolled text; add <code>bufferedFPS</code> resource to control
the maximum rate of screen updates (report by Mike
Thornburg).</li>
<li>improve fixes for <code>DECCRA</code> handling of
double-width characters (patch by Martin Hostettler).</li>
<li>improve discussion of ECMA-48's typographical error for
<code>SD</code> in <code>ctlseqs.ms</code> (prompted by report
by Martin Hostettler).</li>
<li>correct off-by-one in parameter limit-check for
<code>DECCRA</code> (report by Martin Hostettler).</li>
<li>modify <code>saveCellData</code> to handle case where
double-width character is partially copied; that should be
blanked (report/testcase by Thomas Wolff).</li>
<li>add resource <code>buffered</code> to allow
enabling/disabling double-buffered mode.</li>
<li>two fixes for the double-buffer configuration, prompted by
MacPorts' switch to double-buffering (patch by Mike Thornburg,
MacPorts #58313):
<ul>
<li>ensure that the needSwap flag is set after drawing
TrueType text</li>
<li>corrected the drawable-parameter used for the
bar-cursor</li>
</ul>
</li>
<li>modify <code>ScrnRefresh</code> to ignore a case where the
left/right halves of a double-width character have been set to
different video attributes. The attribute to use is in the
left-half (report/testcase by Thomas Wolff).</li>
<li>correct a limit-check for <code>DECCRA</code> in case the
target lies off-screen (report/testcase by Thomas Wolff).</li>
<li>documentation errata (report by Thomas Wolff).</li>
<li>reset flags including wraparound and reverse-wrap when
switching to VT52 mode, while noting that DEC's standard
documentation leaves that behavior <em>undefined</em> (report
by Thomas Wolff).</li>
<li>ensure that italic font is turned off on hard/soft resets
(report by Martin Hostettler).</li>
<li>improve responsiveness to X events while processing HTML or
SVG dumps (report by Martin Hostettler).</li>
<li>replace logic in <code>wcwidth.c</code> for detecting
double-width characters with binary-search table generated
using updated <code>uniset</code> (report by Robert Ross).</li>
<li>add test-driver for <code>wcwidth.c</code> to simplify
comparison with system's <code>wcwidth</code>.</li>
<li>ensure that window-manager name comparisons work when
active-icon is enabled, since <code><em>CSI</em>13t</code> uses
the window-manager name (report by Glenn Golden, Arch
#62818).</li>
<li>trim a stray “experimental” in one of the
comments about the tcap-query feature, which has been a
supported feature since 2008 (see <a href="#xterm_238">patch
#238</a>).</li>
</ul>
<h1><a name="xterm_346" id="xterm_346">Patch #346 -
2019/05/27</a></h1>
<ul>
<li>update description of the “default” setting for
the <code>renderFont</code> resource to match the behavior in
<a href="#xterm_261">patch #261</a> (Debian #862042).</li>
<li>account for <code>internalBorder</code> in
<code>useBorderClipping</code> (report by Robert Ross).</li>
<li>update table of unknown-width characters in wcwidth.c based
on Unicode 12.1.0 (prompted by discussion with Robert
Ross).</li>
<li>improve description of DECSCL versus S7C1T and S8C1T in
<code>ctlseqs.ms</code>.</li>
<li>improve consistency between <code><em>CSI</em>3t</code> and
<code><em>CSI</em>13t</code>, accounting for differences
between some window managers' handling of EMWH extents (report
by Bram Moolenaar).</li>
<li>fix a sign-extension when reporting offscreen window
position (report by Bram Moolenaar).</li>
</ul>
<h1><a name="xterm_345" id="xterm_345">Patch #345 -
2019/05/14</a></h1>
<ul>
<li>updated FreeBSD test-package from recent /usr/ports
scripts.</li>
<li>workaround in <code>run-tic.sh</code> for HPUX, whose
<code>mktemp</code> prints the name of a temporary directory
without creating it.</li>
<li>add left/right margin capabilities to terminfo, since the
default terminal emulation is VT420 (suggested by Thomas
Wolff).</li>
<li>modify treatment of <code>reverseVideo</code> for dynamic
colors to make text foreground/background consistent with the
cursor color (prompted by discussion with Ben Wong, lsix
#20).</li>
<li>modify button-handling to make SGR button-release distinct
from button-press for button-codes starting with 8 (patch by
Mikulas Patocka).</li>
<li>add aliases for the sgr push/pop controls to work around
language limitations of C# (request by Dan Thompson).</li>
<li>correct a typo in <code>setDirectFG</code>, which could
cause setting of indexed-color after a direct-color to be
ignored.</li>
<li>add resource <code>useBorderClipping</code> as an
alternative to <code>useClipping</code> (request by Robert
Ross).</li>
<li>improve logic for displaying xterm's built-in line-drawing
characters vs missing glyphs, e.g., for U+2409 to U+240D (patch
by Robert Ross).</li>
<li>add <code>vttests/sgrPushPop2.pl</code> to illustrate how
selective pushes work, as well as to demonstrate push/pop of
the various color types supported by xterm.</li>
<li>fix a special case in <code>XTPOPSGR</code> where
direct-colors were not checked as a dependency of
indexed-colors, contrary to documentation.</li>
<li>reduce buffer-flushes for <code>OSC 4</code> and
<code>OSC 5</code> color-queries, as well as in the
queries for dynamic colors.<br>
<strong>Note:</strong> this change makes the reply for
<code>OSC 5</code> use the “5” in the
response; formerly it was mapped to ”4” after
adding the maximum number of colors.</li>
<li>modify <code>vttests/query-color.pl</code> to demonstrate
multiple queries in one request.</li>
<li>update tables of combining and unknown-width characters in
wcwidth.c based on Unicode 12.0.0.</li>
<li>modify response for <code>OSC 5</code> to be
consistent with documentation.</li>
<li>add <code>vttests/query-dynamic.pl</code></li>
<li>modify <code>vttests/query-color.pl</code> to accept bold,
underline, etc., keywords to decide whether to use
<code>OSC 5</code> rather than
<code>OSC 4</code>.</li>
<li>modify cursor coloring to avoid a case where the cursor
matched the foreground color while the text was displayed in
reverse-video (report by Nuno Silva).</li>
<li>fix an inconsistency in X10 mouse responses from <a href=
"#xterm_342">patch #342</a> changes; the legacy protocol
supports only buttons 1-3.</li>
<li>reduce the number of buffer-flushes for tcap-query
batches.</li>
<li>modify <code>tcapquery.pl</code> to demonstrate batch
queries with <code>-q</code> option.</li>
<li>increase response-buffer size, and make it configurable as
<code>limitResponse</code> (prompted by discussion with Stephen
P Wall).</li>
<li>modified configure script:
<ul>
<li>check/workaround for non-POSIX manipulation of
predefined symbols</li>
<li>check for updated X Toolkit, which uses
<code>const</code>.</li>
</ul>
</li>
<li>update config.guess, config.sub</li>
<li>provide for secondary-selection, overlooked in <a href=
"#xterm_338">patch #338</a> (report by Emile LeBlanc).</li>
<li>documentation errata (patch by Larry Hynes).</li>
<li>improve pointer-checks in <code>Tekproc.c</code></li>
<li>revise solution for Debian #919475, to allow for
struct-notify events occurring as a side-effect of toggling
to/from full-screen mode.</li>
<li>window's border-size was incorrectly added to position when
maximizing window (report by Gary Langshaw).</li>
</ul>
<h1><a name="xterm_344" id="xterm_344">Patch #344 -
2019/02/12</a></h1>
<ul>
<li>add ASCII escape to default for
<code>disallowedPasteControls</code> (prompted by discussion
with Martin Hostettler).</li>
<li>fix typo in <code>ctlseqs.ms</code> (Robert Ross).</li>
<li>implement DEC Cyrillic NRCS (based on screenshots of vttest
provided by Markus Schmidt).</li>
<li>correct control returning sixel geometry maximum versus
actual size (patch by Ben Wong).</li>
<li>improve manual page for <code>resize</code> to clarify that
<code>resize</code> does not execute the shell commands which
it generates for setting environment variables.</li>
<li>improve memory-management for parser, to handle response
strings that might occur with <code>ENQ</code> or when
<code>SRM</code> mode is active (patch by Martin
Hostettler).</li>
<li>change <code>Comment</code> text in uxterm's desktop file
to work around a limitation of GNOME's GIO application
(<a href="https://gitlab.gnome.org/GNOME/gnome-shell/issues/940#note_427334">issue
#940</a>). The <a href=
"https://developer.gnome.org/gio/stable/gio-Desktop-file-based-GAppInfo.html#g-desktop-app-info-search">
documentation</a> reads:
<blockquote>
<p>Searches desktop files for ones that match
<em><code>search_string</code></em>.</p>
<p>The return value is an array of <em>strv</em>s. Each
<em>strv</em> contains a list of applications that matched
search_string with an equal score. The outer list is sorted
by score so that the first <em>strv</em> contains the
best-matching applications, and so on. The algorithm for
determining matches is undefined and may change at any
time.</p>
</blockquote>
</li>
<li>a check of <code>zIconBeep</code> resource was removed in
double-buffer fix in <a href="#xterm_334">patch #334</a>. That
is used to decide whether to handle struct-notify events. When
xterm does handle the events, it may negotiate a new
window-size with the window manager. In that case, the
<code>limitResize</code> resource setting limited the new
window-size to the screen-size. Amended that by eliminating the
limit for this special case when double-buffer is configured,
and restoring the check for <code>zIconBeep</code> when
double-buffer is not configured (Debian #919475).</li>
<li>disallow recursion which could happen if a user configures
the <code>answerbackString</code> resource with the
<code>ENQ</code> code and experiments with that code when
<code>SRM</code> is enabled (report by by Martin
Hostettler).</li>
<li>add remaining credits in <code>COPYING</code> file.</li>
<li>modify <code>run-tic.sh</code> to check if it is using an
older version of ncurses which does not support large terminal
descriptions, and if so, remove a non-essential feature to keep
within the 4096-byte legacy limit.</li>
</ul>
<h1><a name="xterm_343" id="xterm_343">Patch #343 -
2019/01/13</a></h1>
<ul>
<li>modify <code>run-tic.sh</code> to prefer ncurses6 over
ncurses5, when available.</li>
<li>add <code>COPYING</code> file, and dummy "check" makefile
rule for testing Arch packages.</li>
<li>add/update package scripts for FreeBSD and NetBSD, for
testing.</li>
<li>update tables of combining and ambiguous-width characters
in wcwidth.c based on Unicode 11.0.0.</li>
<li>modify <code>xterm-new</code> sample terminfo entry to
correspond to ncurses 6.1, using the SGR 1006 mouse
protocol.</li>
<li>improve manual page discussion of selection ownership
versus highlighting (prompted by discussion with Martin
Hostettler).</li>
<li>restore/repair <code>keepClipboard</code> feature which was
broken by changes in <a href="#xterm_338">patch #338</a>
(report by Martin Hostettler).</li>
<li>improve documentation for <code>deleteIsDEL</code>
resource.</li>
<li>modify DECRQM response for private mode 1037 to account for
cases where the resource <code>deleteIsDEL</code> is initially
neither true nor false, but dependent upon the keyboard type
(report/analysis by Martin Hostettler).</li>
<li>clear pointers for pattern/fontset after destroying their
data when switching facename with an escape sequence (report by
Robert Ross).</li>
<li>modify logic for TrueType fallback fonts to match the
sort-order used by <code>fc-match</code> (report by Robert
Ross).</li>
<li>add resource setting <code>limitFontsets</code> which can
be used to limit or disable the new TrueType fontset feature
(request by Robert Ross).</li>
</ul>
<h1><a name="xterm_342" id="xterm_342">Patch #342 -
2019/01/03</a></h1>
<ul>
<li>limit mouse-button events to 11 buttons in the original
protocol, and 15 in the extended mouse-protocol (patch by
Martin Hostettler).</li>
<li>correct calculation for buttons past 11 in
<code>mouse-codes</code> sample script (patch by Martin
Hostettler).</li>
<li>disable a supplementary check added in <a href=
"#xterm_341">patch #341</a> which interferes with using
fontconfig to select different-sized bitmap fonts (Arch
#61237).</li>
</ul>
<h1><a name="xterm_341" id="xterm_341">Patch #341 -
2018/12/24</a></h1>
<ul>
<li>add options to <code>mouse-codes</code> script to
demonstrate that the encoding used for mouse events limits
button numbers to 11.</li>
<li>allow mouse button numbers up to 11 using an offset of 128
for button numbers 8-11 rather than the offset of 64 used for
wheel-mouse, etc., buttons 4-7 in <a href="#xterm_338">patch
#338</a> (adapted from patch by Martin Hostettler).</li>
<li>correct off-by-one right-margin checks for double-width
character adjustments in DECERA/DECFRA (patch by Martin
Hostettler).</li>
<li>allocated size of selection buffer was not reset when
freeing the buffer in <a href="#xterm_338">patch #338</a>
(report/analysis by Stefan Assmann).</li>
<li>modify the initial pattern passed to fontconfig to disallow
color bitmap fonts.</li>
<li>improve error recovery for a case where fontconfig ignores
the requested pattern due to override in the user's font
configuration (report/testcase by Stefan Assmann).</li>
</ul>
<h1><a name="xterm_340" id="xterm_340">Patch #340 -
2018/12/16</a></h1>
<ul>
<li>suppress a spurious warning about fontsets when
initializing menus for the toolbar configuration.</li>
<li>fix some strict compiler warnings.</li>
<li>improve checks for TrueType font, to help with the case of
color bitmap fonts, which fontconfig misrepresents (Arch Linux
#58706).</li>
</ul>
<h1><a name="xterm_339" id="xterm_339">Patch #339 -
2018/12/12</a></h1>
<ul>
<li>modify <code>CF_GNU_SOURCE</code> macro to treat
<em>newlib</em> as similar to <em>glibc</em>, fixing a problem
with the configure checks for pseudoterminals in Cygwin
overlooked in <a href="#xterm_334">patch #334</a> updates for
configure-macros.</li>
</ul>
<h1><a name="xterm_338" id="xterm_338">Patch #338 -
2018/12/09</a></h1>
<ul>
<li>ignore <code>$TERMINFO</code> in the configure script if it
is set to a non-directory value.</li>
<li>updated configure macros:
<ul>
<li><code>CF_WITH_PCRE2</code>, modified to work with
Debian's (mis-numbered) pcre3 package.</li>
<li><code>CF_CC_ENV_FLAGS</code> , report preprocessor
options in <code>CFLAGS</code></li>
<li><code>CF_LD_RPATH_OPT</code> , suppress check if
<code>--disable-rpath</code> option was given.</li>
<li><code>CF_XOPEN_SOURCE</code>, add case for
midnightbsd</li>
</ul>
</li>
<li>update config.guess, config.sub</li>
<li>add a check to ensure that the filename parameter passed to
<code>XpmReadFileToPixmap</code> is actually a file, since that
function does not check (report by Ben Nott).</li>
<li>amend solution for Debian #758633 to ensure that replies
for bracketed paste are not sent while processing a selection
for <code>exec-formatted</code> (Debian #913237).</li>
<li>improve adjustments/clearing for double-width characters in
<code>DECERA</code>, <code>DECFRA</code>,
<code>DECSERA</code>.</li>
<li>improve adjustments/clearing for double-width characters
when doing vertical scrolling within left/right margins (patch
by Martin Hostettler).</li>
<li>modify wcwidth to encode a few spacing combining marks as
regular combining characters.</li>
<li>change compiled-in default for <code>saveLines</code> to
match the resource-file changed in <a href="#xterm_192">patch
#192</a> (Debian #913815).</li>
<li>change default <code>faceSize</code> to 8.0, to simplify
switching back/forth between bitmap fonts and TrueType. This
was originally (mis)set to 14.0 in <a href="#xterm_148">patch
#148</a>.</li>
<li>add fallback support in Xft configuration for missing
glyphs (prompted by discussion with Mike Burns).</li>
<li>fix a problem with using direct-colors for the background
color when clearing/scrolling (report by Nicholas
Marriott).</li>
<li>add a "sources" rule for the makefile's generated
source.</li>
<li>add a short explanation in <code>ctlseqs.ms</code>
discussing the differences in error-recovery for malformed
sequences versus unimplemented features, and amend one case for
consistency (prompted by discussion with Martin
Hostettler).</li>
<li>adjusted ifdef's so that the paste64 configure option does
not automatically enable the readline-mouse configure
option.</li>
<li>revert the change which prevented concurrent ownership of
different selection targets, and instead modify selection
storage so that different concurrent requests for different
selection targets will be stored/retrieved independently
(Debian #901249).</li>
<li>remove a check which prevented returning button-codes past
the documented 4/5 for wheel mouse, and add a script
<code>mouse-codes</code> which makes a report showing the
various mouse codes for different button/modifier combinations
(discussion with Přemysl Janouch).</li>
<li>improve display and checksum for DEC Special Graphics by
mapping 0x5f to 0.</li>
<li>add a null-pointer check for table-ending in the
extended-boolean resource-handling (report by Felix von
Leitner).</li>
<li>remove stray <code>]</code>'s from INSTALL-file (Larry
Hynes).</li>
</ul>
<h1><a name="xterm_337" id="xterm_337">Patch #337 -
2018/09/21</a></h1>
<ul>
<li>regenerated configure script (report by Sven Joachim).</li>
<li>revise/improve fix for scrolling in margins
(report/analysis by Martin Hostettler):</li>
<li>amend change to default-translations "select" subset to
ensure that specific key-press actions are listed before
generic key-press actions (reports by H Merijn Brand, Sven
Joachim).</li>
</ul>
<h1><a name="xterm_336" id="xterm_336">Patch #336 -
2018/09/19</a></h1>
<ul>
<li>ensure that only one of PRIMARY and CLIPBOARD is owned by
xterm at a given time (Debian #901249).</li>
<li>documentation fixes (report by Lars Krueger):
<ul>
<li>document <code>SL</code> and <code>SR</code>.</li>
<li>document <code>DECRPTUI</code>, change number of digits
to match VT420.</li>
</ul>
</li>
<li>revise <code>omitTranslation</code> resource, e.g.,
splitting “default” into several more useful
categories.</li>
<li>modify mask-logic to permit <em>control-</em> and
<em>meta-</em> modifiers to be used in mouse protocol.</li>
<li>several fixes for parsing/state (report/testcases by Martin
Hostettler):
<ul>
<li>remove an old/unimplemented entry for xterm-title from
state table.</li>
<li>save/restore wrap-flag when scrolling, to fix an
inconsistency between jump-scrolling and
normal-scrolling.</li>
<li>improve a special case of wrapping where the cursor
starts beyond the right-margin, and wraps at the terminal's
last-column before the settable-margins can take
effect.</li>
<li>if origin mode is set, adjust a restored cursor column
relative to the left margin.</li>
<li>when scrolling a line within left/right margins,
correct order of the fixups needed when a double-width
character crosses the margin boundary.</li>
</ul>
</li>
<li>review/fix a few cases where the parsing state was not
reset after completing a control sequence (prompted by report
by Martin Hostettler).</li>
<li>disallow <code>XTCHECKSUM</code> if the corresponding
window-ops "SetChecksum" is unset.</li>
<li>add <code>print-vt-chars.pl</code> script to illustrate the
NRCS and codepages supported by xterm.</li>
<li>add <code>other-sgr.sh</code> script to demonstrate the
non-VT100 video attributes implemented in <a href=
"#xterm_305">patch #305</a>, and added a summary of their
introduction in ECMA-48 to the control sequences document.</li>
<li>add <code>tabs</code> and <code>-tabs</code> keywords to
<code>ttyModes</code> resource to simplify workaround for
terminal drivers which are not aware of UTF-8 (FreeBSD
#229682).</li>
<li>add VT5xx NRCS 7-bit Turkish and DEC Turkish.</li>
<li>add VT5xx NRCS 7-bit Hebrew and DEC Hebrew.</li>
<li>add VT5xx NRCS 7-bit Greek and DEC Greek.</li>
<li>correct a few post-VT220 codepages to make them display
without setting the NRCS state.</li>
<li>extend <code>vt100Graphics</code> resource to include other
character-sets such as the VT500 codepages in UTF-8 mode.</li>
<li>add some VT5xx codepages to help with the discussion of
96-character sets: <em>ISO Greek Supplemental</em>, <em>ISO
Hebrew Supplemental</em>, <em>ISO Latin–5
Supplemental</em>, and <em>ISO Latin–Cyrillic</em>.</li>
<li>improve description of the VT300-controls for designating
character sets, and fix a typo which indicated that some were
used for 94-character sets (prompted by discussion with Lars
Krueger).</li>
<li>add private control <code>XTCHECKSUM</code> for modifying
<code>checksumExtension</code>.</li>
<li>factor out xterm's <code>DECRQCRA</code> checksum
extensions as a resource setting
<code>checksumExtension</code>.</li>
<li>revise calculation of checksum for <code>DECRQCRA</code> to
match DEC's terminals (using screenshots of vttest provided by
Markus Schmidt).</li>
<li>restore a fix for memory-checksum setup of
<code>DECCKSR</code> from <a href="#xterm_315">patch #315</a>
incorrectly reverted in <a href="#xterm_334">patch #334</a> as
part of fix for <code>DECRQCRA</code>.</li>
</ul>
<h1><a name="xterm_335" id="xterm_335">Patch #335 -
2018/08/14</a></h1>
<ul>
<li>add <code>colorInnerBorder</code> resource to make a change
from <a href="#xterm_334">patch #334</a> configurable (reports
by H Merijn Brand, Gabriele Balducci).</li>
</ul>
<h1><a name="xterm_334" id="xterm_334">Patch #334 -
2018/08/12</a></h1>
<ul>
<li>modify <code>Imakefile</code> to reflect the fact that
NetBSD no longer has a working termcap emulation.</li>
<li>add resource-setting <code>validShells</code> which can be
used to augment the system's <code>/etc/shell</code> (prompted
by discussion with Paul Lampert).</li>
<li>stifle some useless warnings from lintian in
test-packages.</li>
<li>add the ncurses extension “RGB” to the
responses for the termcap-query feature.</li>
<li>improved getopts-handling in sample scripts.</li>
<li>fix some warnings from gcc8 and clang --analyze.</li>
<li>update note about incorrect documentation for
<code>DECRQSS</code> to include VT525 (report by Markus
Schmidt).</li>
<li>correct check for default-values in rectangular parsing; a
zero counts as a missing or default parameter (report/testcase
by Markus Schmidt).</li>
<li>correct some ranges in the <code>ambiguous[]</code> table
in wcwidth (adapted from patch by KUGA Tsutomu).</li>
<li>fix a special case with faint video attribute incorrectly
combined with default color.</li>
<li>add private control <code>XTREPORTSGR</code> for reporting
video-attributes and color on a rectangle, and script
<code>report-sgr.pl</code> to demonstrate it.</li>
<li>modify some of the markup in <code>ctlseqs.ms</code> to
work around groff's reassignment of ASCII punctuation
characters as documented in <em>groff_char(7)</em>.</li>
<li>treat ECMA-48 SGR 6 the same as SGR 5.</li>
<li>add private controls <code>XTPUSHSGR</code> and
<code>XTPOPSGR</code> for saving/restoring the current
video-attributes on a stack (adapted from patch by Dan
Thompson).</li>
<li>modify <code>DECRPM</code> response for logging enable to
indicate its state even when enabling/disabling it is not
allowed.</li>
<li>implement <code>DECSNLS</code></li>
<li>implement <code>DECRSPS</code></li>
<li>improve fill-color for double-buffer configuration, which
was sharing a graphic context with the cursor.</li>
<li>fix a couple of cases where double-sized VT100 characters
were not clipped, seen in Joe Smith's <a href=
"http://www.inwap.com/pdp10/#Tymnet">VT100 torture
test</a>.</li>
<li>color the inner border using the same
<code>borderColor</code> as the outer border, rather than
filling with the VT100's default background.</li>
<li>change encoding of “THANKS” to UTF-8.</li>
<li>modify handling of <code>DECELR</code> to recognize
<code>MotionNotify</code> events again, amending a check for
<code>allowMouseOps</code> which limited that to button-events
in <a href="#xterm_328">patch #328</a> (Olaf Rogalsky).</li>
<li>fix some screen-painting problems with left/right margins
when using insert-line or delete-line (report/testcase by
Martin Hostettler). also fix similar case with
index/reverse-index.</li>
<li>several minor performance improvements using macros, e.g.,
inline checks for character width.</li>
<li>add <code>DECSCPP</code> and <code>DECSLPP</code> to
<code>DECRQSS</code>.</li>
<li>implement <code>DECSCPP</code>.</li>
<li>implement <code>DECCIR</code> and <code>DECTABSR</code>
presentation reports.</li>
<li>modify checksum computation for <code>DECRQCRA</code> to
treat uninitialized cells as blanks rather than nulls.</li>
<li>drop custom-entity from HTML-dump, use UTF-8 for &nbsp;
(Debian #902381).</li>
<li>modify display of non-BMP characters when using bitmap
fonts to show a null/empty box rather than the replacement
character which was used in cleanup changes for <a href=
"#xterm_233">patch #233</a> (report by Christian
Weisgerber).</li>
<li>when setting up clipping rectangle for Xft, allow for the
case where xterm is only displaying a combining character,
where the base was already written (report by Joshua
Crowgey).</li>
<li>allow reset Xft's state if switching font-sizes when
double-buffering is used.</li>
<li>fix repainting, e.g., on resize, when double-buffering is
used with Xft (patch by Daniel Colascione).</li>
<li>correct some interchanged pairs of symbols in
<code>unicode/keysym.map</code> (Brad Town).</li>
<li>improve configure macros CF_GCC_WARNINGS, CF_GNU_SOURCE,
CF_POSIX_C_SOURCE, CF_TRY_XOPEN_SOURCE, CF_XOPEN_SOURCE,
CF_X_ATHENA_CPPFLAGS.</li>
<li>modify <code>logFile</code> resource to interpret
“<code>-</code>” as the standard output (adapted
patch by Colum Paget).</li>
<li>improve documentation of Tek4014 menu options; fix a case
where the Tek4014 window was not displayed before switching
modes.</li>
<li>re-correct parameter for <em>pid</em> used for DECCKSR,
DECRQCSR (see <a href="#xterm_315">xterm #315</a>).</li>
<li>hard/soft reset now resets the cursor-blinking state that
may have been set via escape sequences; the cursor-blinking
menu-entry feature is unmodified (report by Matthieu
Herrb).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_333" id="xterm_333">Patch #333 -
2018/05/03</a></h1>
<ul>
<li>ensure that i18n is enabled if input-method is
enabled.</li>
<li>modify logic for pre-edit to update spot-location while the
cursor is invisible (Kakoune #1940).</li>
<li>change default icon to newer one, "mini.xterm".</li>
<li>install a complete set of icons, to simplify post-install
customization.</li>
<li>add resource <code>disallowedPasteControls</code> to extend
filtering of control characters from pastes.</li>
<li>add <code>print-on-error</code> action-hook, and document
action-hooks for dump-html, dump-svg.</li>
<li>provide action-hook for <code>print-immediate</code>, which
was available only as a menu-item (report by Rastislav
Barlik).</li>
<li>continue to improve notes in <code>ctlseqs.ms</code> which
mention where various controls originated.</li>
<li>add case to accept ECMA-48's bogus <code>SD</code>, but
document the issue in <code>ctlseqs.ms</code>.</li>
<li>add control sequence for loading XPM-icon file, using the
analogous control sequence from shelltool/dtterm.</li>
<li>add <code>-report-icons</code> option, to report on
XPM-icon and title-bar updates.</li>
<li>correct a discrepancy between locator-reports for VT220 vs
VT330.</li>
<li>add window-ops control sequences to complement existing
ones for reporting window-position and text-area size with
reports for text-area position and window-size.</li>
<li>display vt52 graphics mode characters.</li>
<li>correct case-statement for window-ops 10, overlooked since
some window managers equate vertical-maximize and
horizontal-maximize window hints with full-screen
maximize.</li>
</ul>
<h1><a name="xterm_332" id="xterm_332">Patch #332 -
2018/04/15</a></h1>
<ul>
<li>add a <code>GetChecksum</code> item to
<code>disallowedWindowOps</code></li>
<li>improve notes in <code>ctlseqs.ms</code> which mention
where various controls originated.</li>
<li>add control sequences for querying the X display size and
the character size, both in pixels to help eliminate some of
the constants in <code>esctest</code>.</li>
<li>fixes prompted by review of George Nachman's
<code>esctest</code> script:
<ul>
<li>add a null-pointer check and a limit-check in
<code>xtermCheckRect</code>.</li>
<li>correct limit-check for right-margin when processing
autowrapping if xterm is not built for
wide-characters.</li>
<li>repair logic in <code>RIS</code> to reset 132-column
mode when an escape sequence is used to enable
80/132-column switching.</li>
<li>correct array-limit for EWMH working state.</li>
<li>further improve limit-checks versus assert's (see
<a href="#xterm_315">patch #315</a>).</li>
<li>correct order of check-margins and move-to-left margin
for <code>DL</code> and <code>IL</code>.</li>
<li>modify reverse-wrap to pay attention to top/bottom
margins as it has done for left/right margins since
<a href="#xterm_279">patch #279</a>.</li>
<li>modify behavior of <code>DECFI</code> and
<code>DECBI</code> to not index the screen at the
left/right edge of the display unless those happen to be
the left/right margins.</li>
<li>add case for VT320 DSR response for keyboard
status.</li>
</ul>
</li>
<li>improve check for valid shell path using
<code>getusershell</code> and <code>endusershell</code> if
available, in case <code>/etc/shells</code> does not exist
(suggested by Rainer Orth).</li>
<li>modified configure checks for groff and man2html, to use
the latter by default, but allowing mandoc as a partial
replacement for former.</li>
<li>revisited the inconsistent copyright notices mentioned in
<a href="#xterm_165">patch #165</a>, and eliminate the issue as
mentioned in this <a href=
"https://invisible-island.net/personal/copyrights.html">copyright
discussion</a>.</li>
<li>fix typo in this change-log (report by Sven Joachim)</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_331" id="xterm_331">Patch #331 -
2017/12/30</a></h1>
<ul>
<li>add workaround for improper grayscale adjustments made in
FreeType library, exposed by changes to rounding in 2.8.1,
which shows up as a gap in line-drawing characters (Debian
#880407).</li>
<li>improve a special case where a non-Unicode font's
line-drawing characters were not used, when specifying it via
the <code>utf8Fonts</code> resource, e.g.,
<blockquote>
<pre>
-fs 15 \
-xrm '*VT100.font:12x24' \
-xrm '*VT100.boldFont:12x24' \
-xrm '*VT100.utf8Fonts.font: 12x24' \
-xrm '*VT100.utf8Fonts.boldFont: 12x24' \
</pre>
</blockquote>
</li>
<li>replace constant 10msec delay for next X event with new
resource <code>nextEventDelay</code>, and reduce that to 1msec
to accommodate faster machines than used when
<code>-hold</code> was implemented in <a href=
"#xterm_116">1999</a> (Debian #877628).</li>
<li>add <code>scroll-to</code> action, which simplifies binding
a key to scroll to the beginning or end of the saved-lines
(Debian #880120).</li>
<li>add building blocks for alternate screen and/or title-stack
features in the <code>terminfo</code> file.</li>
<li>improve calculations for cell-data size.</li>
<li>change configure script to enable XHTML/SVG screen dumps by
default.</li>
<li>change configure script to enable 256-colors by
default.</li>
<li>update config.guess, config.sub</li>
<li>change configure script option for
<code>--with-man2html</code> to use improved script by
default.</li>
<li>add case for private mode 1044 in DECRQM, to report the
keepClipboard resource setting and corresponding menu
entry.</li>
<li>fix an inconsistency between private mode 12 (the AT&T
610 cursor blink) and <code>DECSCUSR</code>: the former relied
on having the <code>cursorBlink</code> resource set initially
to enable the escape sequence, while the latter does not.</li>
<li>add private modes 13 and 14, as well as resource
<code>cursorBlinkXOR</code> to allow better control over the
cursor-blinking state (discussion with Bram Moolenaar).</li>
<li>modify the html and svg screen dumps to support direct
color</li>
<li>modify media copy (screen-printing) to support the same SGR
codes as <code>DECRQSS</code>, including 88/256 indexed color
as well as direct color.</li>
<li>improve options-parsing for query-status.pl script.</li>
<li>modify parsing of <code>SGR</code> direct-color control
making <em>color space identitier</em> optional. The
corresponding <code>DECRQSS</code> reply always returns an
empty (default) field for the identifier.</li>
<li>add wide-attributes to <code>DECRQSS</code> reply for
<code>SGR</code>.</li>
<li>add private mode 1046 to help with scripting
applications.</li>
<li>correct expression used for readline-flags in DECRQM; to
test the current flag rather than information <em>stacked</em>
within the same variable.</li>
<li>correct typo in <code>ctlseqs.ms</code> reference to
ISO-8613-6 (patch by Mike Frysinger).</li>
<li>fix lintian warning for test-package.</li>
<li>fix typo in <code>DECRQSS</code> for <code>SGR</code> 48,
which printed the foreground value for colors past 15. Also use
colon delimiter for codes 38/48 in response (report by Paul
LeoNerd Evans).</li>
<li>improve workaround for Debian #542434 by using the font's
maximum width when no ISO-8859-1 glyphs are provided (Debian
#879936).</li>
<li>work around a special case of <em>Xft</em>'s mismanagement
of its cached data by adding a check before the
<code>-report-fonts</code> option to ensure that it does not
use an <code>XftPattern</code> which may have been freed during
a call to <code>XftFontOpenPattern</code>.</li>
<li>improve manual page description of <code>regex</code>
option for <code>on<em>X</em>Clicks</code> resources (report by
Lukas Mai).</li>
<li>add <code>directColor</code> resource.</li>
<li>additional manpage macro cleanup (Branden Robinson, Debian
#880551).</li>
<li>add optional support for direct-colors (adapted from patch
by anonymous “Nibby Nebbulous”).</li>
<li>improve legacy/NRC character set mapping (patch by Thomas
Wolff), e.g.,
<ul>
<li>enable alternate NRC set designators for French and
French Canadian, ‘9’ and ‘f’
respectively, as documented in ctlseqs. (‘9’ is
documented for VT510, ‘f’ is a Kermit
feature).</li>
<li>correct the Unicode value in the <em>DEC Technical</em>
table to show capital delta.</li>
<li>referring to
<blockquote>
<p><a href=
"http://vt100.net/docs/vt220-rm/table2-3b.html">http://vt100.net/docs/vt220-rm/table2-3b.html</a><br>
<a href=
"http://vt100.net/docs/vt320-uu/appendixe.html">http://vt100.net/docs/vt320-uu/appendixe.html</a></p>
</blockquote>
<p>add entries for the <em>DEC Supplemental Graphics</em>
table to display 0x28/0xa8 as ¤ and 0x5d/0xdd as
Ÿ.</p>
</li>
<li>referring to
<blockquote>
<p><a href=
"http://www.vt100.net/charsets/technical.html">http://www.vt100.net/charsets/technical.html</a></p>
</blockquote>
<p>alter the Unicode values used for 0x2b through 0x2c to
use <em>curly braces</em> to work with the
“middle” parts displayed with 0x2f and
0x30.</p>
</li>
<li>modify the VT220 “Supplemental” table,
giving a hint that it was probably meant to be
“Supplemental Graphics” and is the same as
VT320's table.</li>
</ul>
</li>
<li>quiet a few font-warnings when a derived fontname cannot be
opened, overlooked in refactoring of font resources in <a href=
"#xterm_328">patch #328</a> (initially reported on <a href=
"https://cygwin.com/ml/cygwin/2017-06/msg00255.html">Cygwin
mailing list</a>, with <a href=
"https://cygwin.com/ml/cygwin/2017-07/msg00216.html">followup</a>).</li>
<li>correct error response for <code>DECRQSS</code> broken in
cleanup of Coverity reports in <a href="#xterm_288">patch
#288</a> (reports by Bram Moolenaar and IWAMOTO Kouichi).</li>
<li>improve <code>DECRPM</code> responses by returning <em>mode
not recognized</em> for modes which may not be settable due to
the selected <code>decTerminalID</code> resource (report by
IWAMOTO Kouichi).</li>
<li>correct logic for <code>print-immediate</code> action, and
enable corresponding menu entry (patch by Lauri
Tirkkonen).</li>
<li>add configure option <code>--with-pcre2</code> (patch by
David Michael).</li>
<li>fix a misspelled subsection title in ctlseqs.ms and add a
note regarding blink which was rendered as bold in X11R6.
Blinking text was implemented in <a href="#xterm_60">Patch
#60</a>.</li>
<li>fix typos in <code>xterm.man</code> (patches by Sven
Joachim, Larry Hynes).</li>
<li>fix typography in <code>xterm.man</code> (patch by Bjarni
Ingi Gislason, Debian #869248).</li>
<li>fix typo in <code>INSTALL</code> (Larry Hynes).</li>
<li>add <code>xterm-direct</code> terminal description based on
changes introduced in <a href="#xterm_277">patch #277</a>, and
relying upon ncurses <code><strong>RGB</strong></code>
extension.</li>
<li>modify <code>xterm-new</code> terminal description to use
ECMA-48 <code>REP</code>, reflecting its use in xterm since
<a href="#xterm_32">patch #32</a> (1996).</li>
<li>clarify comment in ctlseqs.ms regarding blink: it has been
part of xterm since <a href="#xterm_60">patch #60</a>
(1998).</li>
<li>update ftp URLs in documentation.</li>
</ul>
<h1><a name="xterm_330" id="xterm_330">Patch #330 -
2017/06/20</a></h1>
<ul>
<li>updates for ReGIS (Ross Combs):
<ul>
<li>remove redundant text command error check which broke
<code>T(B)</code> and <code>T(E)</code>.</li>
<li>retain the loading alphabet number across multiple
“L” commands.</li>
<li>add <code>S(T)</code> delay handler.</li>
<li>fix some color handling error messages.</li>
<li>add stubbed-out macrograph handling.</li>
<li>use <code>fragment_remaining()</code> and
<code>fragment_consumed()</code> instead of manually
checking position / length in various places.</li>
<li>rename some local variables in string / extent / option
parsing</li>
<li>wrap some long lines.</li>
<li>move macrograph command handling out of the
top-level.</li>
</ul>
</li>
<li>add a summary of the italic fonts loaded to
<code>-report-fonts</code> option.</li>
<li>modify the font-lookup for italics to allow for
“<code>-i-</code>” if no match is found with slant
“<code>-o-</code>” (prompted by patch by Ben
Wong).</li>
<li>change default values for <code>mkSamplePass</code> and
<code>mkSampleSize</code> to reflect generally-improved locale
support in various operating systems (FreeBSD #219800).</li>
<li>modify <code>wcwidth.c</code> to return -1 for non-Unicode
values, and adjust a couple of blocks to better match
assumptions about ambiguous-width characters in other
implementations. Also modify <code>wcwidth.c</code> to support
configurable soft-hyphen, so there is no drawback to using this
version rather than a system <code>wcwidth</code>.</li>
<li>amend change made in <a href="#xterm_328">patch #328</a>
for cursor-visibility to handle case where an application is
updating the reverse-video state (FreeBSD #219800).</li>
<li>update tables of combining and ambiguous-width characters
in wcwidth.c based on Unicode 10.0.0.</li>
<li>build-fix for <code>--enable-sixel-graphics</code> without
<code>--enable-regis-graphics</code> (reports by Sven Joachim,
FreeBSD #219945).</li>
</ul>
<h1><a name="xterm_329" id="xterm_329">Patch #329 -
2017/06/12</a></h1>
<ul>
<li>add control sequences for reading the Sixel and ReGIS
graphics sizes (suggested by Ben Wong).</li>
<li>add a workaround for <code>wcwidth</code> returning -1 for
characters which should have been printable (FreeBSD
#219800).</li>
<li>fix a bug in font initialization from <a href=
"#xterm_328">patch #328</a> (FreeBSD #219800).</li>
<li>fix a special case in <code>HideCursor</code> which
assigned a bold font to the slot used for normal font in
changes for italics in <a href="#xterm_307">patch #307</a>
(Debian #858304).</li>
<li>updates for ReGIS (Ross Combs):
<ul>
<li>Strings specified with no command are used as
"comments". Print these in the log when tracing.</li>
<li>Catch attempts to use "alternate display" mode (AKA
"blink") from the GIGI, but do not implement it.</li>
<li>The <code>T(M)</code> command should only multiply the
height by 10, not 20.</li>
<li>Make the <code>S(E)</code> command reset more state
than just the screen contents.</li>
<li>Remove two rotation variables which were only being
printed.</li>
<li>Numerous minor fixes and comment updates in the
<code>R</code> command.</li>
<li>Unknown <code>R</code> command option names trigger an
empty response.</li>
<li>Fix the output position after printing rotated text (it
was missing the the sign before).</li>
<li>Fix the position change with pixelvectors and rotated
text (the rotation transform was not being applied).</li>
<li>Update the <em>TODO</em> list and remove a verification
<em>FIXME</em> (slanted text positioning is correct as
is).</li>
<li>Emulate the approximately 1.4x enlargement for text
which isn't rotated at right angles.</li>
<li>Only update the color planes specified in the plane
mask (the <code>W</code> command's <code>F</code>
option).</li>
</ul>
</li>
<li>fix a bug introduced by the changes to font information in
<a href="#xterm_328">patch #328</a>. When processing the
"checkfont" option of the <code>locale</code> resource, the
program referred to the <em>request</em> data, to an array
which was only allocated in the <em>new/result</em> widget
(report by H Merijn Brand).</li>
<li>fix a missing assignment initialization to make the
<code>utf8</code> resource control whether escape sequences to
enable/disable UTF-8 mode are allowed.</li>
</ul>
<h1><a name="xterm_328" id="xterm_328">Patch #328 -
2017/06/01</a></h1>
<ul>
<li>revise parser for <code>charClass</code> resource, making
these improvements:
<ul>
<li>accept octal and hexadecimal values</li>
<li>allow embedded whitespace</li>
<li>allow the class after colon to be optional, e.g., to
clear class settings for a range of characters.</li>
</ul>
</li>
<li>add command-line option
<code>-report-charclass</code>.</li>
<li>fix most lintian warnings about test-package</li>
<li>add <code>eraseSavedLines</code> resource.</li>
<li>document <code>DECSED 3</code> in
<code>ctlseqs.ms</code> (report by Ben Longmans).</li>
<li>improve integration between configure-events and updates
for reported screensize, in particular when switching between
vt100 and tek4014 modes.</li>
<li>modify selection-highlighting of reverse-video text to keep
that distinct, e.g., by reversing the selection foreground and
background colors as one would expect. This fixes a "useless"
case in the description of
<code>highlightColorMode</code>.</li>
<li>improve fix for Debian #759734, addressing a case where
non-colored cursor would be invisible against reverse-video
(see <a href="#xterm_311">patch #311</a>).</li>
<li>updates for ReGIS (Ross Combs):
<ul>
<li>the "H" option of the "T" command should multiply by
10, not 20.</li>
<li>display unknown glyphs as a solid block.</li>
<li>given a succession of text-direction options, use the
last.</li>
<li>fix the direction of ReGIS slanted text so that
negative values produce oblique output .</li>
<li>fix the ReGIS text direction option to only rotate
characters when no following size option is used.</li>
</ul>
</li>
<li>update terminfo to better match corresponding entries in
ncurses, e.g., <code>u8</code> pattern to match the VT220,
VT420, etc., primary responses, as well as adding
<code>smxx</code> and <code>rmxx</code>.</li>
<li>fixes from Jörg Sommer:
<ul>
<li>corrected a trace-message regarding maximum
graphics-size; it used the similar ReGIS maximum size which
might not be configured.</li>
<li>in <code>do_select_regex</code>, clear selection if
there is no match. If the regex does not match anything
around the cursor, the selection returned must be empty,
otherwise the whole line is treated as a match. This way
the command defined by <code>exec-selectable</code> will
not be executed if there is no match.</li>
<li>modify limit in <code>do_select_regex</code> to include
the character at the cursor in the match, making it easier
to type something and then hit the key to trigger
<code>exec-selectable</code>.</li>
<li>If <code>exec-selectable</code> or
<code>insert-selection</code> is triggered by a mouse
button click, the position of the mouse pointer should be
used. This makes it easier to address any position on the
window and it makes it possible to use the mouse, e.g., for
applications such as mutt where you cannot move the
cursor.</li>
</ul>
</li>
<li>modify <code>DECRC</code> to save/restore xterm's
last-column flag used to control wrapping behavior rather than
manipulating <code>DECAWM</code> (report/analysis by Mattias
Engdegård).</li>
<li>add configure option <code>--enable-terminfo-env</code> to
use the value set by <code>--with-own-terminfo</code> for the
<code>$TERMINFO</code> environment variable. That variable was
set automatically for HPUX, but would be useful in other
systems, e.g., for Solaris (request by Jeff Wieland).</li>
<li>fix a race condition when setting up a signal handler to
timeout if opening <code>/dev/tty</code> hangs (patch by Tobias
Stoeckmann).</li>
<li>review/cleanup resources which were not in the manual page
(report by Maxwell Anselm):
<ul>
<li>add manual page description as needed.</li>
<li>drop resource name for <code>menuBar</code>, as
unnecessary.</li>
<li>modify fallback numeric value for
<code>regisScreenSize</code> resource to match that for
<code>maxGraphicSize</code>.</li>
</ul>
</li>
<li>updated configure macros <code>CF_ADD_CFLAGS</code>,
<code>CF_CC_ENV_FLAGS</code>, <code>CF_GNU_SOURCE</code>,
<code>CF_MATH_LIB</code>, and <code>CF_XOPEN_SOURCE</code> from
other program-changes.</li>
<li>update config.guess, config.sub</li>
<li>change “maximum screensize” assumed by
<code>resize</code> to 9999x9999, to accommodate people using
the <em><code>Unreadable</code></em> font.</li>
<li>drop <code>Utility</code> from default value of
<code>--with-desktop-category</code> (Debian #780176).</li>
<li>widen the configure script pattern used for finding related
".desktop" files, including “Terminal”</li>
<li>several minor improvements to font utility functions:
<ul>
<li>provide for later modification to implement font-sets
by parsing the font resources as comma-separated
lists.</li>
<li>parse <code>-fn</code> and <code>-fa</code> similarly,
using “x:” and “xft:” prefixes for
font name/family strings to distinguish between XLFD and
Xft font specifications.</li>
<li>use loops to iterate over font classes</li>
<li>use getters/setters for font data to allow for
on-demand lookups.</li>
<li>make the debugging trace for missing glyph less verbose
since that interferes with the <code>-report-fonts</code>
option.</li>
<li>refactor <code>xtermLoadFont</code> to make it clearer
how some fonts are derived from others, e.g., bold,
wide.</li>
<li>make the triggering and suppressing of font-warnings
more consistent by storing the last state in the
widget.</li>
<li>reduce font-warnings by checking for repeated
warnings.</li>
</ul>
</li>
<li>add <code>vttests/query-status.pl</code></li>
<li>add <code>vttests/closest-rgb</code></li>
<li>add special case for displaying soft-hyphen if it happens
to fall at the right margin, and omitting similar case such as
the BIDI markers, where a zero-width character is neither a
control character nor a combining character (Debian
#844325).</li>
<li>modify logic for <code>OSC 52</code>, <em>manipulate
selection data</em>, to update the selection-time to include
the latest X events. This fixes some cases where the selection
was invalid, e.g., after an event due to focus-follows-mouse
(report/testcase by Stephane Chauveau).</li>
<li>revise macro <code>CastMallocN</code> as new macro
<code>TextAlloc</code> to make explicit use of
<code>sizeof(char)</code> (prompted by patch by Cade
Foster).</li>
<li>add <em>“Mouse Ops”</em> menu entry and related
resources to allow runtime disabling/enabling of the mouse
protocol escape sequences (discussion with Bob Proulx).</li>
<li>improve discussion of mouse actions versus protocol in the
manual (discussion with Bob Proulx).</li>
<li>improve discussion of environment variables in the manual,
pointing out where some features (such as termcap and the
System5 <code>COLUMNS</code> and <code>LINES</code> variables)
are used rarely, mainly to support legacy applications.</li>
<li>add examples of <code>translations</code> resource for
select/paste, and for font-size changes to the manual.</li>
<li>minor reordering of some entries in <code>ctlseqs.ms</code>
for consistency (report by Arran Ubels).</li>
<li>add <code>-s</code> option to <code>256colors2.pl</code>
and <code>88colors2.pl</code>, to demonstrate modifying the
“system” colors 0–15.</li>
<li>omit <code>XFT_SPACING</code> property from call to <code>
XftPatternBuild</code>, to work around a bug in
<em>fontconfig</em> for handling Google Go fonts, whose names
sort in an order not expected by <em>fontconfig</em>, causing
the request for a monospaced font to return <em>italics</em>,
e.g.,
<blockquote>
<pre>
$ fc-match 'Go Mono:spacing=monospace'
Go-Mono-Italic.ttf: "Go Mono" "Italic"
(report by Giacomo Boffi on <a href=
"http://unix.stackexchange.com/questions/324941/xterm-displays-an-italic-face-instead-of-regular">Stackoverflow</a>).
</pre>
</blockquote>
</li>
<li>modify <code>minstall.in</code> to improve a workaround
added to the manual page in <a href="#xterm_182">patch #182</a>
to avoid having the C preprocessor used in the imake
configuration strip out the comments in the character classes
section (reports by Ted Unangst, Anthony J Bentley).</li>
</ul>
<h1><a name="xterm_327" id="xterm_327">Patch #327 -
2016/10/07</a></h1>
<ul>
<li>add a check in the function which handles end-of-line
wrapping to ensure that C1 controls are allocated one column
when <code>allowC1Printable</code> is set (Debian
#738794).</li>
<li>use consistent error-checking after <code>strtol</code>
calls, fixes a case where a query with OSC 6 did not ensure
there was a valid color number (report by Alex Smith).</li>
<li>add <code>-baudrate</code> option, for testing
ncurses.</li>
<li>always generate the <code>CASE_<em>xxx</em></code> symbols
in <code>VTparse.h</code> and <code>Tekparse.h</code>, as part
of a change to improve debug-logging. This makes the build
always depend upon <code>awk</code>.</li>
<li>modify <code>allowC1Printable</code> to disallow codes
160-254 as being equivalent to codes 32-126 when parsing escape
sequences (Debian #839220).</li>
<li>amend fix from <a href="#xterm_326">patch #326</a> for
TrueType fonts to exclude the hidden character used for
double-width cells (report by Grady Martin).</li>
<li>fix a typo in <code>ctlseqs.ms</code></li>
</ul>
<h1><a name="xterm_326" id="xterm_326">Patch #326 -
2016/09/25</a></h1>
<ul>
<li>updated appdata file (report by Richard Hughes).</li>
<li>improve discussion of the different terminal emulations
provided by xterm in the manual page.</li>
<li>add examples of setting the icon title with/without the
window title in the manual (Debian #833984).</li>
<li>correct a limit-check when using a numeric value for
extended Booleans e.g., <code>*fullscreen:3</code> rather than
a name such as <code>*fullscreen:never</code>.</li>
<li>add action <code>allow-bold-fonts</code></li>
<li>improved formatting fixes for manual page, using script to
find mismatches in spelling of resources, actions and menu
entries.</li>
<li>improve documentation of logging resources.</li>
<li>fix a special case of flickering cursor by adding
<code>GraphicsExpose</code> to the list of event types that
should not trigger making the mouse cursor visible (patch by
Joe Peterson).</li>
<li>correct initialization of line-drawing in VT52-mode,
overlooked in changes for <a href="#xterm_297">patch #297</a>
(report/patch by Ben Wiley Sittler).</li>
<li>minor clarification of form-feed versus line-feed in
<code>ctlseqs.ms</code> (suggested by David Kemper).</li>
<li>amend fix for Debian #738794 to restore a check for missing
characters which are <em>not</em> combining characters. Also
fill in a corresponding special case for TrueType fonts (Debian
#827905).</li>
</ul>
<h1><a name="xterm_325" id="xterm_325">Patch #325 -
2016/06/05</a></h1>
<ul>
<li>improve manual page discussion of function keys (discussion
with Ross Combs).</li>
<li>further improve fix for Debian #545220 in <a href=
"#xterm_248">patch #248</a>, to avoid conflict with combining
characters (Debian #738794).</li>
<li>improve <code>-hold</code> option to avoid 100% CPU usage
with NetBSD after closing the shell, which makes subsequent
checks for X input events fail (prompted by patch by Pierre
Pronchery).</li>
<li>review <code>#ifdef</code> statements, listed those which
do not have a configure option in
<code>xtermcfg.hin</code>.</li>
<li>fixed one case where the menu sensistivity for
<em>Print-All Immediately</em> and <em>Print-All on Error</em>
was not properly ifdef'd.</li>
<li>modify terminfo entries for 16-, 88- and 256-color to reset
palette with <code>rs1</code> capability.</li>
<li>accept <code>legacy</code> value of <code>-kt</code> as
synonym for the <code>oldXtermFKeys</code> resource, and extend
the full-reset logic to use the keyboard type set via
<code>-kt</code>.</li>
<li>modify <code>ioctl</code> calls for <code>I_PUSH</code> to
first check if the module has been added, using
<code>I_FIND</code>. This is needed for newer Solaris libraries
with c11 support (adapted from patch by Alan Coopersmith).</li>
<li>add check in <code>getXtermCombining</code> to ensure that
combining characters were allocated (report by Tor
Andersson).</li>
<li>add configure option <code>--without-xinerama</code> to
allow suppressing the extension (Gentoo #580936).</li>
<li>update keysym2ucs.c based on Unicode 9.0</li>
<li>fixed most <code>cppcheck --enable=all</code> warnings,
including for style (prompted by report by David Binderman).
There was one bug-fix:
<ul>
<li>RGB least-squares computation in
<code>allocateClosestRGB</code> used only one ordinate</li>
</ul>
</li>
<li>add <code>cppcheck</code> to lint-like programs in
configure script and makefile.</li>
<li>fix some const correctness issues and point out an array
lifetime issue (Ross Combs).</li>
<li>updates for SIXEL and ReGIS (Ross Combs):
<ul>
<li>Sixel drawing should still happen after an error if
some commands have been processed</li>
<li>Tiny steps toward reporting ReGIS input</li>
</ul>
</li>
</ul>
<h1><a name="xterm_324" id="xterm_324">Patch #324 -
2016/03/10</a></h1>
<ul>
<li>updated configure macro <code>CF_LD_RPATH_OPT</code> from
ncurses changes.</li>
<li>provide alternate fix for Juha Nurmela's report by turning
on POSIX signals if <code>_POSIX_C_SOURCE</code> is at least
one. This is done to improve the behavior if a direct child
process receives a <code>STOP</code> signal.</li>
<li>revert change to <code>CF_POSIX_C_SOURCE</code> from
<a href="#xterm_323">patch #323</a> (reports by Ashish Shukla,
Christian Weisgerber).</li>
</ul>
<h1><a name="xterm_323" id="xterm_323">Patch #323 -
2016/03/07</a></h1>
<ul>
<li>updated appdata and desktop files to add keywords (report
by Richard Hughes).</li>
<li>modify configure macro <code>CF_POSIX_C_SOURCE</code> to
accommodate some systems, e.g., FreeBSD, which have separated
their implementation specific preprocessor symbols from the
POSIX ones, requiring both to be defined (report by Juha
Nurmela).</li>
<li>change the directory to the current working dir of the
child process in exec-formatted and exec-selectable actions
(patch by Alexander Pohoyda).</li>
<li>correct typo in xterm.man (patch by Larry Hynes).</li>
<li>correct typo in ctlseqs.ms (report by Shriramana
Sharma).</li>
<li>add feature to support XHTML and SVG screen dumps (patch by
Jens Schweikhardt).</li>
<li>correct response to DECRQSS when terminal id is less than
400 (patch by Iwamoto Kouichi).</li>
</ul>
<h1><a name="xterm_322" id="xterm_322">Patch #322 -
2016/01/02</a></h1>
<ul>
<li>fix regression due to incorrect fix for compiler warning
when allocating storage for <code>/etc/shells</code> (reports
by Ashish Shukla, Debian #809646).</li>
</ul>
<h1><a name="xterm_321" id="xterm_321">Patch #321 -
2015/12/31</a></h1>
<ul>
<li>add resource <code>keepClipboard</code>, escape sequence
and action <code>keep-clipboard</code>.</li>
<li>add optional feature to capture text copied to clipboard at
the time of copying rather than at the time the clipboard
contents are requested for pasting (patch by Milan
Mehner).</li>
<li>improve a special case where the <code>-e</code> option was
used to pass a single-quoted command via <code>luit</code>, by
wrapping it in a “sh -c” (report by Keith
Hedger).</li>
<li>minor fix for type-cleanliness when allocating storage for
<code>/etc/shells</code> (Tobias Stoeckmann).</li>
<li>fix a typo in manual page (Dan Church).</li>
<li>fix minor file-descriptor leak; after calling
<code>openpty</code>, the slave's file descriptor is not needed
(report by Juha Nurmela).</li>
<li>editorial change to ctlseqs.ms (report by David
Gomboc).</li>
<li>minor updates for autoconf macros.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_320" id="xterm_320">Patch #320 -
2015/08/28</a></h1>
<ul>
<li>correct documentation for <code>%t</code> format (report by
Martin Tournoij).</li>
<li>add <code>%R</code> for consistency to
<code>exec-formatted()</code> and
<code>insert-formatted()</code> actions.</li>
<li>add <code>%r</code> format to <code>exec-formatted()</code>
and <code>insert-formatted()</code> actions (patch by Martin
Tournoij).</li>
<li>Amend fix for Debian #794201 (report forwarded from
Christian Jachmann by Emanuel Haupt, Debian #797008).</li>
</ul>
<h1><a name="xterm_319" id="xterm_319">Patch #319 -
2015/08/19</a></h1>
<ul>
<li>add a section to <code>ctlseqs.ms</code> discussing control
sequences and ECMA-48, to explain why C1 controls do not occur
in the decoded characters from UTF-8 byte streams (prompted by
discussion with Poul-Henning Kamp).</li>
<li>modify check for cursor-theme from <a href=
"#xterm_301">patch #301</a> to also check if the resource
<code>Xcursor.theme</code> is set to a nonempty value before
fallback to xterm's own dummy theme (request by Robert
Kloefkorn).</li>
<li>explain in <code>ctlseqs.ms</code> that some keys which
normally send SS3-prefixes are changed to CSI-prefixes if
key-modifiers are passed as parameters (report by George
Nachman).</li>
<li>correct double-free of font information when multiple
problems are found, particularly for the wide fonts loaded via
the <code>-wc</code> option (report/testcase by Nelson
Beebe).</li>
<li>make configure option <code>--enable-builtin-xpms</code>
actually work (report by William Bulley).</li>
<li>correct combination of <code>-ls</code> and <code>-e</code>
options for utempter configuration (Debian #794201).</li>
<li>NetBSD build-fix for OPT_RENDERFONT versus OPT_SHIFT_FONTS
(patch by Matthew Green, forwarded by Thomas Klausner).</li>
<li>fix a few minor bugs found with Coverity.</li>
<li>update pixelvector handling (Ross Combs):
<ul>
<li>split pixel-based and coord-based functions with common
parts factored out to a "raw" function</li>
<li>add a "step" variant which loads a single PV digit</li>
</ul>
</li>
<li>make the graphic dirty upon resize or clear, fixing some
missing refreshes (patch by Ross Combs)</li>
<li>fixes scrolling to use user coordinates and move in the
correct direction (patch by Ross Combs)</li>
<li>several fixes/improvements for ReGIS whitespace and
page-handling (patch by Ross Combs).</li>
</ul>
<h1><a name="xterm_318" id="xterm_318">Patch #318 -
2015/04/12</a></h1>
<ul>
<li>rename new(er) configure option
<code>--enable-initial-erase</code> to
<code>--enable-pty-erase</code>, since that conflicted with an
existing option (report by Jens Schweikhardt).</li>
<li>fix cut/paste error in <code>--with-builtin-xpms</code>
configure option (reports by Jens Schweikhardt, Ross
Combs).</li>
<li>fix minor formatting issue in xterm manual (report by Jens
Schweikhardt).</li>
<li>eliminate unnecessary "#(vi" markers in autoconf macros by
using "(" to begin case-statement cases (suggested by Jens
Schweikhardt).</li>
<li>minor fixes to improve <code>const</code> usage (Ross
Combs).</li>
</ul>
<h1><a name="xterm_317" id="xterm_317">Patch #317 -
2015/03/27</a></h1>
<ul>
<li>adapt example for <code>exec-formatted</code> from <a href=
"http://lukas.zapletalovi.com/2013/07/hidden-gems-of-xterm.html">
Lukáš Zapletal's</a> webpage to manual (Debian
#780008).</li>
<li>add a short usage section to the xterm manual, including
notes on setting the window title (Debian #742477).</li>
<li>revise a change made to <code>ICH</code> in <a href=
"#xterm_314">patch #314</a> to address limit-checks
(reports/testcases by Zoltán Kéri and Joe
Peterson, also reported by Christian Weisgerber).</li>
</ul>
<h1><a name="xterm_316" id="xterm_316">Patch #316 -
2015/03/07</a></h1>
<ul>
<li>revert change to make <code>DCH</code> honor top/bottom
scrolling margins. For the record, both the VT420 and VT520
reference manuals incorrectly state that <em>"DCH has no effect
outside the scrolling margins."</em></li>
<li>fix regression in <code>DCH</code> introduced in adjustment
for limit-check in <a href="#xterm_314">patch #315</a>
(report/testcase by Zoltán Kéri, also reported by
Christian Weisgerber).</li>
<li>correct default value for configure option
<code>--enable-initial-erase</code>; it should be "False", but
in <a href="#xterm_315">patch #315</a> it was "Maybe", which
differed from default set in <a href="#xterm_192">patch
#192</a>.</li>
</ul>
<h1><a name="xterm_315" id="xterm_315">Patch #315 -
2015/03/02</a></h1>
<ul>
<li>change default for <code>--enable-narrowproto</code> for
Cygwin to "no" to better match contemporary configurations
(report by Jens Schweikhardt, prompted by <a href=
"http://stackoverflow.com/questions/28137618/what-is-a-narrow-prototype-and-why-would-i-need-one/28334574?noredirect=1#comment45022128_28334574">
discussion</a>).</li>
<li>provide <code>OSC 106</code> as an alternative to
<code>OSC 6</code>, avoiding conflict with one of
Terminal.app's undocumented escape sequences (report by Egmont
Koblinger).</li>
<li>fix an off-by-one in comparison when autowrap and
left/right margins are combined (report by George
Nachman).</li>
<li>modify <code>DECBI</code> and <code>DECFI</code> to work
outside the left/right margins, since the vague VT520 reference
manual could support that interpretation (suggested by George
Nachman).</li>
<li>correct response for <code>DECSCUSR</code> in
<code>DECRQSS</code> (report/analysis by George Nachman).</li>
<li>add <code>DECSLRM</code> to list for <code>DECRQSS</code>
in ctlseqs.ms (report by George Nachman).</li>
<li>improve limit-checks versus assert's in the debugging
version (reports by George Nachman).</li>
<li>correct a problem with multiple writes to the right-margin
when autowrap is turned off (report by George Nachman, also
reported in Gnome #744819 by Ulf Magnusson).</li>
<li>modify <code>DCH</code> to honor top/bottom and left/right
margins (report by George Nachman).</li>
<li>correct off-by-one in comparison so that <code>DL</code>
honors left/right margins (report by George Nachman).</li>
<li>correct logic of <code>DECSCL</code>, which always set
8-bit controls as a side-effect (report by George
Nachman).</li>
<li>correct loop limit for <code>DECSED 1</code>, when
<code>DECSCA</code> is enabled (report by George Nachman).</li>
<li>fix a entry in csi_table for “<code>$</code>”,
needed for <code><em>CSI</em> [ $ z</code>
(report by George Nachman).</li>
<li>remove restriction from <a href="#xterm_279">patch #279</a>
changes on <code>DECIC</code> and <code>DECDC</code> to
left-right mode (report by George Nachman).</li>
<li>correct PID value returned in response to DECRQCRA
(report/analysis by George Nachman).</li>
<li>fix an ifdef'ing problem, where
<code>--disable-dec-locator</code> would turn off logic needed
for <code>DECIC</code> and <code>DECDC</code> (report by George
Nachman).</li>
<li>correct order of parameters in report for
<code><em>CSI</em> 1 9 t</code>, which gives the
screensize in characters (report by George Nachman).</li>
<li>add null pointer checks for a case in DECCRA where part of
the target rectangle lies outside the screen limits (report by
George Nachman).</li>
<li>remove extra "6" for selective erase from DA1 response
(report by George Nachman).</li>
<li>support Xinerama screen specification in geometry parsing
(patch by Nicolas George).</li>
<li>add configure option <code>--enable-initial-erase</code> to
set <code>ptyInitialErase</code> consistently with manpage, as
well as adding a table in manpage to clarify the relationship
between the resources related to the backarrow key (Debian
#775952).</li>
<li>add configure <code>--enable-builtin-xpms</code> to
simplify compiling-in the icons introduced in <a href=
"#xterm_284">patch #284</a> (prompted by discussion with
William Bulley).</li>
<li>fix/improve autoconf macros:
<ul>
<li>CF_WITH_APP_DEFAULTS, add paths for OSX</li>
<li>CF_WITH_MAN2HTML, configure option "--with-man2html"
provides "man2html" as alternative to groff's man/html
conversion</li>
</ul>
</li>
<li>fix some minor issues in manpage (Jens Schweikhardt).</li>
</ul>
<h1><a name="xterm_314" id="xterm_314">Patch #314 -
2014/12/28</a></h1>
<ul>
<li>fix a minor bug in the termcap-specific version of
<code>resize</code> when the lines or columns values are at the
very end of an incomplete termcap string (prompted by coverity
report).</li>
<li>improve paste64 feature (report by Olaf Rogalsky)
<ul>
<li>fix “<code>p</code>;” command in
<code>paste64.pl</code> example.</li>
<li>modify <code>_OwnSelection</code> to allow the paste64
control to cause primary/clipboard selections to be
disowned and cleared.</li>
<li>omit an extra "=" used in padding, to make the base64
response a multiple of four characters.</li>
<li>modify <code>_ConvertSelectionHelper</code> to not stop
converting on embedded nulls in the primary or clipboard
selection. That makes the behavior consistent with
cut-buffers. Nulls are not passed on to the application
because they are used for separators in the X library calls
that convert <code>XTextProperty</code> values.</li>
</ul>
</li>
<li>add configure option <code>--with-man2html</code> to allow
an alternative to groff's man/html conversion.</li>
<li>review and modify resource-settings which can be set via
control sequences, etc:
<ul>
<li>add <code>OSC 6</code>, to enable/disable colors
set via <code>OSC 5</code>, without changing the color
assignments (prompted by patch by Ingo Brückl).</li>
<li>add command-line option <code>-itc</code> for
italics.</li>
<li>add <code>colorIT</code> and <code>colorITMode</code>
for italics, like <code>colorBD</code>, etc.</li>
<li>guard <code>allowPasteControls</code> against
modification by <code>editres</code>.</li>
</ul>
</li>
<li>change <code>passedPty</code> from fixed-length to
allocated to ensure that it is long enough to hold the
<code>-S</code> option value (report by Ben Longbons).</li>
<li>improve ReGIS graphics initialization (Ross Combs):
<ul>
<li>add a new string resource to set the default ReGIS
font.</li>
<li>fix a caching problem where the font name wasn't taken
into consideration when looking up cached metrics.</li>
<li>enables use of fractional values in coordinates (which
in turn allows setting the coordinates to something like
[0,1][1,0])</li>
<li>doubles the minimum ReGIS graphic to 200x200</li>
<li>set the default ReGIS image size to "auto"</li>
<li>fix some swapped width/height parameters in TRACE
messages</li>
<li>add support for scaling and mirrored coordinate systems
to the screen address command</li>
<li>sets a minimum ReGIS graphics size of 100x100 --
smaller address ranges will be scaled up</li>
<li>reset the image if either the width or height is zero
(which should happen together or not at all, but switching
the logic gets rid of some parentheses)</li>
<li>adds support for alternate screen coordinates (just
offsets, not inverted coordinates or scaling)</li>
<li>keeps the graphics state across ReGIS calls unless P1
or P3 entry codes are used</li>
<li>changes loops to continue after parsing whitespace to
allow trailing whitespace</li>
<li>fixes some incorrect character casts</li>
</ul>
</li>
</ul>
<h1><a name="xterm_313" id="xterm_313">Patch #313 -
2014/11/28</a></h1>
<ul>
<li>add <code>regisScreenSize</code> resource setting to allow
custom screensizes for ReGIS graphics (prompted by discussion
with Scott Froebe).</li>
<li>fix some minor issues in manpage (Jens Schweikhardt).</li>
<li>improve ReGIS font-handling (Ross Combs):
<ul>
<li>remove "random junk" generation for unknown
characters</li>
<li>add xterm extension to load user glyphs for alphabet
0</li>
<li>add xterm extension to specify loading an alphabet from
a font by name</li>
<li>fix bug with use of empty alphabet slots which caused
slot 0 to be clobbered</li>
<li>update/clarify ReGIS-related comments</li>
<li>add DECprint extension for printing/clearing the screen
(only clearing is performed)</li>
</ul>
</li>
<li>improve ReGIS colorspec conversion (Ross Combs):
<ul>
<li>avoid some floating point math for colorspace
conversion</li>
<li>move two copies of colorspec parsing to a single
function</li>
<li>change colorspec parsing to handle components being out
of order or with spaces and commas between them</li>
<li>add support for an extension where RGB components can
be given instead of HLS</li>
</ul>
</li>
<li>improve use of const, e.g., for the <code>LineData</code>
pointers (patch by Ross Combs).</li>
<li>clip of graphics that overlap the scrollback buffer and alt
screen (patch by Ross Combs).</li>
<li>amend change to focus-change events in <a href=
"#xterm_287">patch #287</a> to limit it to suppressing the
reset of the urgency-hint, because some useful
<code>FocusOut</code> events were lost (report by Joe
Peterson).</li>
<li>modify dpkg build-script to configure xterm-dev as an
<code>x-terminal-emulator</code> alternative.</li>
<li>extend the <code>--with-xterm-symlink</code> feature to
make symbolic links for the other programs and scripts.</li>
<li>minor fix to <code>vttests/resize.pl</code> to avoid
undefined variable when receiving broken/missing response,
e.g., from mrxvt.</li>
<li>change the way that ReGIS graphics are refreshed (patch by
Ross Combs):
<ul>
<li>it pre-composes any overlapping graphics to avoid
unnecessary and flickering draws</li>
<li>it adds a three-dimensional lookup table for RGB ->
pixel values and uses this across all graphics</li>
<li>it draws in line segments when there is a run of the
same color</li>
<li>in cases where there are no transparent parts, it uses
an XImage to draw</li>
<li>it hooks into the double-buffering support if it is
enabled (though this doesn't seem to get rid of all
flicker).</li>
</ul>
This has the effect of reducing flicker and speeding up
redraws.
</li>
</ul>
<h1><a name="xterm_312" id="xterm_312">Patch #312 -
2014/09/28</a></h1>
<ul>
<li>undo change to <code>do_select_regex()</code> in <a href=
"#xterm_311">patch #311</a> (reports by H Merijn Brand,
Sven-Haegar Koch, Debian #762978).</li>
</ul>
<h1><a name="xterm_311" id="xterm_311">Patch #311 -
2014/09/18</a></h1>
<ul>
<li>mention <code>xclip</code> in manpage as an alternative
workaround for copying clipboard data, noting that
<code>selectToClipboard</code> (see <a href="#xterm_209">patch
#209</a>) is the recommended approach (Debian #639094).</li>
<li>correct comparison in do_select_regex() of working position
against starting column.</li>
<li>correct initialization for regular-expression feature of
<code>exec-selectable</code> and <code>insert-selectable</code>
actions (Debian #758633).</li>
<li>modify logic for <code>exec-formatted</code> and
<code>insert-formatted</code> actions to ensure that the
formatting occurs just after the selection is received (Debian
#758633).</li>
<li>account for state of reverse-video in special case of
cursor coloring (Debian #759734).</li>
<li>fix a sign-extension problem in ReGIS support, as well as
correcting a case where ignored-characters were not really
ignored (patch by Ross Combs).</li>
<li>Enable the "Escape Sequence" menu entry when an OSC 50
is received. Also disable it if the escape sequence specifies
no font (Debian #760208).</li>
<li>improve fix for the <code>fontsel</code> menu entry from
<a href="#xterm_304">patch #304</a>: because the recovery used
the "current font", it would fail if one first selected a valid
font, then an invalid font (Debian #760207).</li>
<li>correct an off-by-one in limit-check for
<code>ScrnLimitChar</code> function (report by Egmont
Koblinger).</li>
</ul>
<h1><a name="xterm_310" id="xterm_310">Patch #310 -
2014/07/25</a></h1>
<ul>
<li>update package/freebsd files based on xterm #309 port.</li>
<li>adapt changes from Minux3.2 which ported <a href=
"#xterm_197">xterm #197</a>, to allow building on that platform
both using <code>imake</code> as well as using the configure
script.</li>
<li>update precompose.c based on Unicode 7.0</li>
<li>build-fix for <code>--with-Xaw3dxft</code> option (report
by Emanuel Haupt).</li>
</ul>
<h1><a name="xterm_309" id="xterm_309">Patch #309 -
2014/07/13</a></h1>
<ul>
<li>modify configure script to work around debris left by
XQuartz upgrades.</li>
<li>modify test-package scripts to enable ReGIS graphics.</li>
<li>improvements/additions to ReGIS graphics, e.g., drawing
text (Ross Combs).</li>
<li>add <code>--with-Xaw3dxft</code>, to link with Xaw 3d xft
library (Stephen P Wall).</li>
<li>amend reset for cursor-shape to take into account
<code>cursorUnderline</code> resource (report by Christian
Weisgerber).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_308" id="xterm_308">Patch #308 -
2014/06/19</a></h1>
<ul>
<li>corrected font used for clipping double-width bitmap fonts
from <a href="#xterm_307">patch #307</a> changes to work around
mis-scaled fonts (Debian #752947).</li>
<li>improve wording of a warning message.</li>
</ul>
<h1><a name="xterm_307" id="xterm_307">Patch #307 -
2014/06/17</a></h1>
<ul>
<li>fill background for top/bottom parts of
double-width/double-height characters, to cover occasional gaps
due to bitmap font-scaling (report by Egmont Koblinger).</li>
<li>amend resets for keyboard-type, pointer-mode and
title-modes from <a href="#xterm_305">xterm #305</a> changes to
account for resource settings (Debian #751351).</li>
<li>modify <em>printAttributes</em> feature to include new SGR
codes.</li>
<li>modify cursor show/hide logic to work with italic
fonts.</li>
<li>do clipping and filling for a case with bitmap-fonts and
italics when the font server returns only a "close" match
(report/testcase by Egmont Koblinger).</li>
<li>adjust loop comparison for underlining to display
underlines on 5x8 font as in <a href="#xterm_304">patch
#304</a> (Debian #750733).</li>
<li>amend fix for Freedesktop #15979 (Debian #750733).</li>
<li>amend xterm.appdata.xml, making it validate with current
schema.</li>
</ul>
<h1><a name="xterm_306" id="xterm_306">Patch #306 -
2014/06/03</a></h1>
<ul>
<li>fixes for display-errors in new SGR codes (report by Egmont
Koblinger).</li>
</ul>
<h1><a name="xterm_305" id="xterm_305">Patch #305 -
2014/06/02</a></h1>
<ul>
<li>add <code>xterm.appdata.xml</code> (request by Richard
Hughes). By the way, none of the <em>released</em> validators
yet handle <code><licence></code> tags (or
<code><metadata_license></code>, etc).</li>
<li>fix memory leaks in bitmap font-name caching.</li>
<li>other changes to hard-reset behavior:
<ul>
<li>reset keyboard-type on hard-reset.</li>
<li>reset pointer-mode (<code>pointerMode</code>) on
hard-reset</li>
<li>reset title-modes (<code>titleModes</code>) on
hard-reset</li>
<li>reset cursor-shape on hard or soft-reset</li>
<li>reset LEDs on hard-reset.</li>
<li>reset DECSACE on hard-reset.</li>
</ul>
</li>
<li>reset bracketed-paste mode on hard-reset (suggested by
Egmont Koblinger).</li>
<li>modify UTF-8 decoder to account for
<code>allowC1Printable</code> resource.</li>
<li>revise <code>getXftColor</code> to ensure that its sequence
number will not overflow in long-running sessions.</li>
<li>minor fix to selection to prevent hidden character from
being returned in selection data (report by Egmont
Koblinger).</li>
<li>add <code>-sh</code> to help-message.</li>
<li>amend check for incomplete fonts to always decide that a
character is missing if the font lacks per-character metrics
(prompted by Freedesktop #15979).</li>
<li>minor reorganization to implement “filler” SGR
features. There are no established applications which rely upon
these; some people find them amusing.
<ul>
<li>separate bits used to manage drawing state from
attribute-bits.</li>
<li>implement SGR codes 2, 3, 9, 21 and their corresponding
resets.</li>
<li>add configure option <code>--disable-wide-attrs</code>
to disable the feature.</li>
</ul>
</li>
<li>additional changes for ReGIS support (Ross Combs):
<ul>
<li>fix some arc drawing bugs and add support for pattern
shading.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_304" id="xterm_304">Patch #304 -
2014/05/03</a></h1>
<ul>
<li>add debugging check for parsing table entries, fixed a few
inconsistencies.</li>
<li>handle utmp/utmpx strings consistently with new function
that null-pads unused locations.</li>
<li>build-fix for imake configuration with FreeBSD 9 and later,
to account for replacing <code>utmp</code> with
<code>utmpx</code>.</li>
<li>improve handling of the <code>fontsel</code>
(font-selection) menu item:
<ul>
<li>initialize the menu entry differently if the toolbar
configuration is used, i.e., enabling it without attempting
to use the current selection as a font name. Because of the
way in which the toolbar is setup, this attempt usually
failed, and would result in a warning.</li>
<li>if the menu action fails, e.g., no font can be loaded
for the given selected name, then recover by resuming with
the current font. Before, the recovery went to the default
font. That was done to work around missing bitmap font in
<a href="#xterm_276">patch #276</a>.</li>
</ul>
</li>
<li>document OSC 119 in the control sequences listing
(report by Egmont Koblinger).</li>
<li>modify special handling of <code>XF86Paste</code> or
<code>SunPaste</code> keysyms (see <a href="#xterm_227">patch
#227</a>) to use the standard shift/lock modifiers in case
those are, for example, used in level 3 in an XKB file (patch
by Matthieu Herrb).</li>
<li>configure macro updates:
<ul>
<li>drop the <code>-no-gcc</code> option from
CF_INTEL_COMPILER</li>
<li>modify CF_XOPEN_SOURCE to suppress the check for
defining _XOPEN_SOURCE on Solaris</li>
</ul>
</li>
<li>reduce bss storage used for ReGIS/Sixel modules, as well as
cleanup storage usage in other modules.</li>
<li>initial changes for ReGIS support (Ross Combs):
<ul>
<li>document control-sequences</li>
<li>separate ifdef's for sixel and color-register
features</li>
<li>add configuration for VT382</li>
</ul>
</li>
</ul>
<h1><a name="xterm_303" id="xterm_303">Patch #303 -
2014/03/06</a></h1>
<ul>
<li>improve check for <code>/etc/shells</code> to allow its
entries to be symbolic links.</li>
<li>fix a regression in <a href="#xterm_302">patch #302</a>
fixes relating to interaction of <code>SHELL</code> and
<code>XTERM_SHELL</code> variables (Debian #740919).</li>
<li>improve manpage discussion of use of
<code>/etc/shells</code> for validating the <code>SHELL</code>
environment variable.</li>
<li>further improve the approximation for color map by ignoring
bits which would not be applied by the rgb masks for the
current visual (report by Joe Peterson).</li>
<li>add <code>-report-colors</code> to usage-message (report by
Joe Peterson).</li>
</ul>
<h1><a name="xterm_302" id="xterm_302">Patch #302 -
2014/03/02</a></h1>
<ul>
<li>amend approximation for color map introduced in <a href=
"#xterm_277">patch #277</a> to make that apply only to
<code>TrueColor</code> (adapted from patch by Joe
Peterson).</li>
<li>add <code>-report-colors</code> option, to show colors as
they are allocated.</li>
<li>fix some gcc <code>-Wcast-qual</code> warnings.</li>
<li>correct app-defaults location for CentOS-4 in
xterm.spec</li>
<li>improve check in <code>minstall.sh</code> for X manpage's
section number; add sample dependencies for the relevant
documentation package to packaging test-scripts (prompted by
Novell #779474).</li>
<li>modify sample build-scripts for dpkg and rpm to ensure that
<code>vttests</code> scripts are uncompressed and
executable.</li>
<li>modify Perl scripts in <code>vttests</code> to use
<code>env</code> to find Perl rather than relying on
<code>/usr/bin/perl</code> This makes the sample scripts usable
with NetBSD and other systems using <em>pkgsrc</em>.</li>
<li>amend check from <a href="#xterm_301">patch #301</a> for
valid shell to permit existing <code>SHELL</code> value to
specify the shell; clarify the behavior in the manpage (report
by Emmanuel Thomé).</li>
<li>amend change to wide-character processing from <a href=
"#xterm_257">patch #257</a> to allow switching to/from UTF-8
encoding if the <code>utf8</code> resource was not set to
“always” (report by Honza Maly).</li>
<li>fix incorrect free from <a href="#xterm_301">patch #301</a>
changes, if explicit program without <code>-e</code> option is
a valid shell (patch by Romain Francoise).</li>
</ul>
<h1><a name="xterm_301" id="xterm_301">Patch #301 -
2014/01/19</a></h1>
<ul>
<li>OSC 104 and 105 did not accept parameter to reset a
specific color (patch by Egmont Koblinger).</li>
<li>add configure check for <code>initgroups</code>, and use
that function to complement its use of <code>setgid</code>
(prompted by patch by Miroslav Lichvar).</li>
<li>improve manpage description of scrollbar translations
versus the vt100 translations (Debian #723573).</li>
<li>add a few paragraphs to manpage explaining the implications
of xterm's reliance on X Toolkit for command-line parsing.</li>
<li>modify cursor-theme logic to check if the environment
variable <code>XCURSOR_THEME</code> is set to a nonempty value
before constructing a dummy them (prompted by similar check
added in OpenBSD CVS).</li>
<li>add check for a case where TrueType bold font is missing a
glyph where the non-bold font has it. Temporarily switch to the
non-bold font to draw the glyph (report by David
Demelier).</li>
<li>minor documentation fixes for ctlseqs.ms</li>
<li>only set <code>SHELL</code> environment variable to
programs found in <code>/etc/shells</code> (prompted by
patch/report by Al Poole).</li>
<li>build-fix, when <code>--disable-wide-chars</code>
<code>--disable-boxchar</code> is used (prompted by patch by
Andrey Panov).</li>
</ul>
<h1><a name="xterm_300" id="xterm_300">Patch #300 -
2013/12/03</a></h1>
<ul>
<li>amend workaround for <code>Xcursor</code> library from
<a href="#xterm_298">patch #298</a>; the suggested solution for
Debian #466704 fell afoul of a bug in <code>Xcursor</code>
which treated an empty value for <code>Inherits=</code> as a
valid theme—and resulted in a stack overflow due to
unbounded recursion. Certain environments such as XFCE4 exposed
the bug. A related report in Debian #531679 was closed without
following the recommendation to limit stack recursion in this
library (reported by Sergey V Dyatko, Debian #731269).</li>
</ul>
<h1><a name="xterm_299" id="xterm_299">Patch #299 -
2013/12/01</a></h1>
<ul>
<li>fix regression in line-drawing from <a href=
"#xterm_297">patch #297</a> changes for NRCS exposed by change
to <code>assumeAllChars</code> resource in <a href=
"#xterm_298">patch #298</a> (report by Markus Waldeck).</li>
</ul>
<h1><a name="xterm_298" id="xterm_298">Patch #298 -
2013/11/27</a></h1>
<ul>
<li>quiet a warning about ambiguity when <code>-h</code>
command-line option is parsed, since <code>-help</code> is used
rather than the options mentioned in the message. This warning
was caused by fixes in <a href="#xterm_272">patch
#272</a>.</li>
<li>remove an extra check for keypad-mode which interfered with
the <a href="#xterm_280">patch #280</a>
<code>modifyKeyboard</code> feature for the numeric keypad
(report by David Conners).</li>
<li>change default for <code>assumeAllChars</code> resource
(Debian #725682). There are unresolved issues with Terminus
fonts, e.g., Debian #722017.</li>
<li>add <code>-report-fonts</code> command-line option and
<code>reportFonts</code> resource to optionally report the
fonts which are loaded, and their metrics such as the number of
missing glyphs.</li>
<li>work around <code>Xcursor</code> library to make
<code>pointerColor</code> resource work as documented (Debian
#466704, analysis by Vincent Lefèvre).</li>
<li>amend change from <a href="#xterm_297">patch #297</a> for
ASCII-equivalents to ensure that missing characters which
happen to be double-width are padded to the expected number of
columns. Also, correct the choice between normal/wide Xft fonts
used when checking for missing characters (reported by WU Yue,
Debian #728949, Gentoo #491334).</li>
<li>modify sixel-graphics drawing to account for scrollbar
width (report by Mario Edelmann).</li>
<li>fix remaining issue with <code>DECNRCM</code>; the British
character set was confused with ISO Latin-1 (report by Hayaki
Saito).</li>
<li>build-fix for <code>--disable-boxchars</code> configure
option.</li>
<li>updated configure macros, from ongoing work on lynx and
ncurses.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_297" id="xterm_297">Patch #297 -
2013/09/10</a></h1>
<ul>
<li>modify check for missing cells in bitmap font to work
around terminus 10646 encoding, which is mostly missing, add
<code>assumeAllChars</code> resource to provide the older
behavior.</li>
<li>modify macros used to check for missing cells in bitmap
fonts to pick up a long-overlooked improvement made to xfd in
XFree86.</li>
<li>improve workaround for groff versus ASCII-equivalents;
<a href="#xterm_185">patch #185</a> had overlooked Xft
configuration (reported by anonymous user on Arch Linux
forum).</li>
<li>review/extend <code>DECNRCM</code> support (prompted by
report by Hayaki Saito asking about the two "A" codes).
<ul>
<li>make pasting of DECNRCM data work by translating the
pasted data into the selected encoding.</li>
<li>limit mode changes to VT220 and up.</li>
<li>ignore SCS for National Replacement Characters if
<code>DECNRCM</code> is not set.</li>
<li>add tables and logic to decode SCS controls ending with
"%" and one additional character. This expects the parsing
of SCS to VT320.</li>
<li>also added parsing for SCS of DEC Supplemental and DEC
Technical, which are for VT2xx and VT3xx respectively.</li>
<li>implement VT220 Multinational character set "GR" aka
"DEC Supplemental Graphic".</li>
<li>DEC Technical character set based on <a href=
"http://www.vt100.net/charsets/technical.html">vt100.net
description</a>.</li>
<li>implement Portuguese NRC.</li>
<li>provide for temporarily switching to/from NRC mode from
UTF-8 mode when <code>DECNRCM</code> is set or reset.</li>
</ul>
</li>
<li>minor fix to assert's found while testing examples from
<a href="https://gist.github.com/ttdoda">ttdoda's
slrm-test1.txt</a>.</li>
<li>modify <code>DECLRMM</code> to not update the cursor
position (report by Iwamoto Kouichi forwarded by Hayaki
Saito).</li>
<li>modify cursor-position report to take origin-mode into
account (report by Hayaki Saito, see also <a href=
"https://github.com/gnachman/iTerm2/pull/129">iTerm2 pull
request 129</a>).</li>
<li>correct off-by-one comparison in when handling
carriage-return at left margin (patch by Iwamoto Kouichi,
forwarded by Hayaki Saito).</li>
<li>improve handling of <code>faceName</code> resource when a
"size=" property is embedded in it, by using that size to
replace the default <code>faceSize</code> resource. This lets
xterm honor the other faceSize resources (report by Jens
Schweikhardt).</li>
<li>improve OSC 52 selection-data by setting its timestamp
to correspond to the most-recent event received by xterm, to
ensure that calls to <code>XtOwnSelect</code> succeed even if
the selection is manipulated solely through the keyboard
(prompted by patch by Richard Tollerton).</li>
<li>change configure-script defaults for "luit" and
"wide-chars" options to match the values used in the imake
configuration, to lessen user surprise if they are accustomed
to building xterm using imake(report by Andries E
Brouwer).</li>
<li>improve the imake-related configuration's check if xterm is
started in a locale that uses UTF-8 encoding. Before, this
checked the locale settings only for "UTF-8", now it checks
ignoring case for "UTF-8" and "UTF-8" (report by Andries E
Brouwer).</li>
</ul>
<h1><a name="xterm_296" id="xterm_296">Patch #296 -
2013/07/10</a></h1>
<ul>
<li>improve experimental sixel feature (Ross Combs).</li>
<li>modify delimiter in configure macro used to add a library
after a given library to avoid confusion with <code>-Wl</code>
pass-through options to linker (NetBSD #48031).</li>
<li>fix quoting in expression used to trim extra libraries from
<a href="#xterm_295">patch #295</a> changes (report by Thomas
Klausner).</li>
</ul>
<h1><a name="xterm_295" id="xterm_295">Patch #295 -
2013/07/06</a></h1>
<ul>
<li>adjust order of libraries to work around incomplete symbol
resolution when using <code>--as-needed</code> option
(ArchLinux #36047).</li>
<li>minor fix for <code>plink.sh</code>, for IRIX64.</li>
</ul>
<h1><a name="xterm_294" id="xterm_294">Patch #294 -
2013/07/05</a></h1>
<ul>
<li>add note in ctlseqs.ms for CPR response pointing out a
potential point of confusion with the string sent by a modified
F1 key (suggested by Bram Moolenaar).</li>
<li>improve <code>plink.sh</code> by checking if the linker
supports the <code>--as-needed</code> option (suggested by
David Philippi).</li>
<li>improve clearing for private mode 1049 when switching to
the alternate screen (Debian #711758).</li>
<li>amend fix from <a href="#xterm_292">patch #292</a> by
removing now-unneeded chunk which introduced problem in
selection (Debian #714527).</li>
<li>add definition to optionally override compiled-in class for
xterm from makefile, needed for test-packages.</li>
<li>add configure option
<code>--enable-sixel-graphics</code></li>
<li>add experimental support for sixel graphics (Ross
Combs).</li>
</ul>
<h1><a name="xterm_293" id="xterm_293">Patch #293 -
2013/05/27</a></h1>
<ul>
<li>modify sample xterm.spec to use newer icon</li>
<li>add configure option <code>--with-icon-symlink</code> to
work around systems which map icon requests for to a single
"xterm" icon, but neglect to install the icon needed for window
decorations (report by H Merijn Brand).</li>
<li>improve parameterizing of sample xterm.spec</li>
<li>amend fix for printer from <a href="#xterm_280">patch
#280</a>, removing a reset of the signal handler for
<code>SIGCHLD</code> (report by Joe Julian).</li>
<li>set environment variable <code>XTERM_FILTER</code> if a
locale-filter is used.</li>
<li>enable <code>DEBUG</code> logic when
<code>--enable-trace</code> configure option is given.</li>
<li>improve description of <code>initialFont</code>,
<code>set-vt-font</code> and <code>set-tex-text</code> in
manpage (Debian #707899).</li>
<li>fix regression from <a href="#xterm_292">patch #292</a>;
selecting a word that ended at the right margin without
wrapping would not select the last cell (report by Christian
Weisgerber).</li>
</ul>
<h1><a name="xterm_292" id="xterm_292">Patch #292 -
2013/04/25</a></h1>
<ul>
<li>add limit-check when double-click selects a word; if the
saved-lines were scrolled back and the word selected wrapped at
the screen's lower right corner, an assertion was triggered
(patch by Taketo Kabe).</li>
<li>correct limit-check in <code>unsaveEditBufLines</code>,
fixing a case where enlarging the terminal size could show a
blank line where there actually is available text (patch by
Bertram Felgenhauer).</li>
<li>add <code>PasteControls</code> feature to
<code>allowWindowOps</code> which by default disallows pasting
control characters other than formatting such as carriage
return (discussion with Hayaki Saito).</li>
<li>fix typo in ctlseqs.ms for DECRQM response (patch by
Emanuele Giaquinta).</li>
<li>update default shown in configure <code>--help</code>
message for <code>--with-terminal-id</code> option (patch by
Andres Perera).</li>
<li>rename script/preprocessor variables used for substituting
the <code>backarrowKey</code> default value for consistency
(patch by Andres Perera).</li>
<li>set umask to 077 before creating debugging-trace
files.</li>
<li>add configure option <code>--disable-openpty</code> to
control whether openpty() may be used in preference to
posix_openpt().</li>
<li>improve workaround from <a href="#xterm_279">patch #279</a>
for BSD systems which do not complete initialization until both
sides of the pseudoterminal are opened, by preferring openpty()
function over posix_openpt() when available (report by
Christian Weisgerber).</li>
</ul>
<h1><a name="xterm_291" id="xterm_291">Patch #291 -
2013/02/26</a></h1>
<ul>
<li>add validity check for xterm widget parameter to
<code>AlternateScroll</code> function, needed to handle wheel
mouse events in the scrollbar area since <a href=
"#xterm_282">patch #282</a> changes which introduced
<code>alternateScroll</code> feature (Redhat #874327).</li>
</ul>
<h1><a name="xterm_290" id="xterm_290">Patch #290 -
2013/02/12</a></h1>
<ul>
<li>revert of <a href="#xterm_282">patch #282</a> change was
incomplete (report by Jim Reisert).</li>
<li>fix typo in manpage (report by Vincent
Lefèvre).</li>
</ul>
<h1><a name="xterm_289" id="xterm_289">Patch #289 -
2013/02/08</a></h1>
<ul>
<li>revert the <a href="#xterm_282">patch #282</a> change which
restored "lost" text after shrinking/growing the screen size.
If the screen was updated between the two resizing operations,
unexpected text might be shown at the end (report/testcase by
Joe Peterson).</li>
<li>reverse the arrow-keys sent for
<code>alternateScroll</code> to match the usage in browsers
(suggested by Dieter Roelants).</li>
<li>modify mouse reports to consistently indicate motion events
whether or not a button is pressed. Old behavior (since
<a href="#xterm_127">patch #127</a> modified encoding for wheel
mouse) showed only that the button was released if no button
had been pressed (report by Andy Koppe).</li>
<li>correct and improve behavior for SGR 1006 mouse protocol on
button release in any-event mode. Initial implementation in
<a href="#xterm_277">patch #277</a> left internal state showing
the last button pressed when reporting motion events. It now
keeps track of all buttons which have been pressed and
released, showing the lowest remaining button by number in the
response (reports by Hayaki Saito, Andy Koppe).</li>
<li>fix inconsistency between <code>TermColors</code> and
<code>OscTextColors</code> enums which interchanged values for
tektronix cursor color and highlight foreground in control
sequences in <a href="#xterm_225">patch #225</a> (report/patch
by Peder Stray).</li>
<li>fix inconsistent use of noreturn-attribute in
<code>Exit</code> function which interfered with clang
--analyze.</li>
<li>remove incorrect <code>free</code> used in computation of
<code>XTERM_SHELL</code> variable, from Coverity fixes in
<a href="#xterm_288">patch #288</a> (FreeBSD #175782).</li>
<li>add <code>--with-valgrind</code> option to configure script
for consistency with my other programs.</li>
<li>update table of ambiguous width characters in wcwidth.c
based on Unicode 6.2.0</li>
<li>update table of combining characters in wcwidth.c based on
Unicode 6.2.0</li>
<li>update precompose.c based on Unicode 6.2.0</li>
</ul>
<h1><a name="xterm_288" id="xterm_288">Patch #288 -
2013/01/09</a></h1>
<ul>
<li>fix a special case in <code>ShowCursor</code> where the
foreground and background colors of the current position are
the same. In that case, choose the further of the window's
foreground and background colors for the cursor color.</li>
<li>modify <code>alternateScroll</code> feature added in
<a href="#xterm_282">patch #282</a> to use either
<code>CSI</code> or <code>SS3</code> according to the cursor
keys application mode setting, to simplify using it in vi, etc.
(suggested by Dietar Roelants).</li>
<li>revise manpage for <code>resize</code> to clarify the
changes which <code>resize</code> may make to the terminal
settings as well as to the terminal itself.</li>
<li>remove code such as <code>struct ttysize</code>, used for
SunOS 3 and 4.</li>
<li>modify configure script and makefile to check for
<code>groff</code> and suppress groff-specific rules if groff
is not found.</li>
<li>modify ctlseqs.ms and makefile to work around bugs in
<code>grohtml</code> which cause ".png" files to be truncated
when producing html documentation.</li>
<li>modify suffix rules for "make docs" to make the names of
the generated ".png" files predictable, helping to work around
longstanding problems with this feature of groff—none of
its releases work for <em>all</em> of xterm's tables..</li>
<li>correct typo in ctlseqs.ms for DECIC and DECDC; the
character preceding the final "<code>~</code>" is an ASCII
single-quote "<code>'</code>" rather than a space (report by
Paul LeoNerd Evans).</li>
<li>update CF_GCC_VERSION macro, handling both Debian and
Darwin.</li>
<li>improve configure script checks for the
<code>--with-desktop-category</code> option. After <a href=
"#xterm_280">patch #280</a> changes, if no value was given for
this option, and no existing desktop files found for
comparison, the incorrect "auto" value was passed into the
generated desktop file (report by Julien Cristau).</li>
<li>modify sample build-scripts to disable check for
<code>imake</code> due to code-rot in Xorg.</li>
<li>add <code>-v</code> command-line option to
<code>resize</code>, reporting the same version string as
<code>xterm</code> and the two shell-wrappers.</li>
<li>make name-transformation apply to other occurrences of
<code>resize</code>, other manpages.</li>
<li>special-case the name-transformation in xterm's manpage in
the NAME section so that the result works with
<code>makewhatis</code> (report by Julien Cristau).</li>
<li>modify install-rules for manpages to put each program's
respective transformed name into the header rather than
xterm's.</li>
<li>remove deprecated files: proto.h, os2main.c</li>
<li>minor fixes based on Coverity scan, including:
<ul>
<li>correct caching of Atom value for the font menu's
"Selection" entry.</li>
<li>ensure that utmp/utmpx calls do not depend upon
trailing nulls in the <code>ut_id</code> and
<code>ut_line</code> values.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_287" id="xterm_287">Patch #287 -
2012/11/25</a></h1>
<ul>
<li>fix a case where in_put() loop could continue when it has
found an X event rather than the pty, causing the pty-read to
be delayed (patch by Balazs Kezes).</li>
<li>add option to <code>pointerMode</code> resource and
corresponding control sequences to allow text-cursor to remain
hidden if the pointer leaves/enters the window via accelerator
keys. Ordinary motion within the window restores the pointer
(prompted by patch by Balazs Kezes).</li>
<li>remove special case of modifiers for the
<code>Mode_switch</code> and <code>XK_ISO_Level3_Shift</code>
from <a href="#xterm_223">patch #223</a>. Verified that the
conflict which this was intended to resolve does not happen for
normal compose- or modeswitch-handling (prompted by patch by
Balazs Kezes, Debian #638694).</li>
<li>modify the handling of focus-change events to ignore those
whose detail is <code>NotifyPointer</code>, since those are
sent in addition to focus-change events directed to the old/new
windows having focus. In particular, this prevents the
urgency-hint from being reset inadvertently (prompted by patch
by Balazs Kezes).</li>
<li>modify description of <code>iconName</code> in manpage to
make it clearer that this resource does not specify the
filename of an icon (discussion with Ian Collier).</li>
<li>modify <code>iconHint</code> resource to allow suppressing
the built-in icon by setting this to "none" (discussion with
Ian Collier).</li>
<li>make <code>-iconic</code> option work with the toolbar
configuration.</li>
<li>correct initialization of window manager hints used to set
the icon-pixmap. That detail from <a href="#xterm_282">patch
#282</a> overwrote state used to control the
<code>-iconic</code> command-line option (report by Ian
Collier).</li>
<li>fix paste64 feature for the case where the selection comes
from the current terminal. The selection callback can happen
after the reply is partly built, making it necessary to flush
the reply-buffer to keep things in the proper order (report by
Ailin Nemui).</li>
<li>reject command-line options which are longer than the
options in xterm's table, to avoid mismatches (Redhat
#875305).</li>
<li>correct attribution for <a href="#xterm_282">patch #282</a>
changes.</li>
</ul>
<h1><a name="xterm_286" id="xterm_286">Patch #286 -
2012/10/29</a></h1>
<ul>
<li>fix <code>minstall.in</code> to work with "make docs" rule,
so that patch number appears in the corresponding generated
documentation.</li>
<li>modify <code>minstall.in</code> to keep the name shown in
the heading consistent with any renaming, e.g., for
test-builds.</li>
<li>check for misconfigured <code>printerCommand</code>
resource on the first use, warn and disable it if it does not
specify an executable command (Debian #691642).</li>
<li>improve check for window-manager name needed to establish
usable default for activeIcon resource. This works around a
scenario where <code>gdm</code> does incomplete cleanup,
leaving window properties that refer to windows which no longer
exist (Redhat #869959).</li>
</ul>
<h1><a name="xterm_285" id="xterm_285">Patch #285 -
2012/10/23</a></h1>
<ul>
<li>add/adapt FreeBSD ports files for test-building.</li>
<li>modify <code>minstall.sh</code> to use the patch-number and
date in the manpage footer.</li>
<li>add check for failure to allocate the fg/bg colors at
startup, e.g., misconfiguration. Work around by setting both to
the default colors (suggested by Scott Bertilson).</li>
<li>amend change for <a href="#xterm_280">patch #280</a> which
added <code>modifyKeyboard</code>, to make
<code>modifyOtherKeys</code> work (report by Ailin Nemui).</li>
<li>add <code>query-colors.pl</code> example for
OSC 4.</li>
<li>correct mis-applied fix for minstall.sh (report by Miroslav
Lichvar).</li>
</ul>
<h1><a name="xterm_284" id="xterm_284">Patch #284 -
2012/10/14</a></h1>
<ul>
<li>amend configurability changes for icons from <a href=
"#xterm_283">patch #283</a>, moving the new functionality to
the <code>iconHint</code> resource to avoid conflict with
existing uses of the <code>iconName</code> resource in the
<code>Shell</code> widget (report by Emanuel Haupt).</li>
<li>fix documentation errata reported by Miroslav Lichvar:
<ul>
<li>correct manpage default for <code>allowTcapOps</code>
(see <a href="#xterm_243">patch #243</a></li>
<li>modify documentation for configure
<code>--enable-backarrow-key</code> to match the script
(see <a href="#xterm_280">patch #280</a>).</li>
<li>fix typo in <code>minstall.sh</code> in <a href=
"#xterm_283">patch #283</a>, which made the leading-cap
"Xterm" become "xterm" (patch by Miroslav).</li>
</ul>
</li>
<li>fix two typos in configure.in from <a href=
"#xterm_283">patch #283</a> changes; one broke the
<code>--regex</code> configure option (report by H Merijn
Brand).</li>
</ul>
<h1><a name="xterm_283" id="xterm_283">Patch #283 -
2012/10/09</a></h1>
<ul>
<li>modify makefile and script to generate appropriate renaming
s/xterm/xterm-dev/ for test-package's manpage.</li>
<li>improve makefile rules for installing/uninstalling pixmap
files, to include the newer mini- and filled- variants.</li>
<li>clarify change in manpage regarding <a href=
"#xterm_282">patch #282</a> change to always set a
window-decoration icon, even if <code>iconName</code> is not
set.</li>
<li>add a fourth flavor of window-decoration icons,
"filled-xterm" for a monochrome xterm with filled
interior.</li>
<li>use shape-mask to improve contrast of the window-decoration
icons.</li>
<li>minor changes to icon colors to improve contrast on
bright-mud backgrounds.</li>
<li>drop configure checks for memmove versus bcopy, and
strerror function; all currently tested platforms support
these.</li>
<li>cleanup configure macros, as done in byacc 20121003.</li>
<li>improve configurability of the built-in icon selectable via
the <code>iconName</code> resource.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_282" id="xterm_282">Patch #282 -
2012/09/28</a></h1>
<ul>
<li>improve configure check for
<code>XkbKeycodeToKeysym</code>, fixing a regression on some
older systems in the <a href="#xterm_280">patch #280</a>
changes.</li>
<li>add clarification in manpage for
<code>alwaysBoldMode</code> and <code>veryBoldColors</code>
resources (prompted by Derek Martin question about using the
former with TrueType fonts).</li>
<li>add <code>alternateScroll</code> resource and corresponding
control sequences which modify the <code>scroll-forw</code> and
<code>scroll-back</code> actions: when the alternate screen is
displayed, wheel mouse up/down will send cursor keys (Debian
#683942).</li>
<li>improve rendering for the case when a Unicode character is
absent in the bold font but present in the normal font by
temporarily falling back to the normal font (Debian #359006,
Debian #408666).</li>
<li>provide configure option
<code>--enable-double-buffer</code> and ifdef's to allow
comparisons with/without double-buffering. The default uses
normal buffering.</li>
<li>add feature to optionally scroll current page before
clearing, controlled by resource setting
<code>cdXtraScroll</code> (prompted by patch by Balazs
Kezes):</li>
<li>integrated patches from Arch Linux forum posting (patches
by Balazs Kezes):
<ul>
<li>modify reallocation limit of line-data when resizing
screen so that "lost" text will be restored if the screen
is first shrunk and then grown.</li>
<li>modify output to use double-buffering to reduce
flicker.</li>
</ul>
</li>
<li>modify <code>scroll-lock</code> action to handle
on/off/toggle keywords like other actions. Previously the
optional parameter was interpreted as an integer.</li>
<li>extend <code>DECSCUSR</code> to provide a way to set the
cursor to a vertical bar (patch by Paul Bolle).</li>
<li>add <code>-8</code>, <code>-c</code>, <code>-d</code> and
<code>-u</code> options to <code>88colors2.pl</code> and
<code>256colors2.pl</code> scripts. No current terminal
emulator recognizes C1 controls while handling UTF-8
encoding—see notes in <a href="#xterm_119">patch #119</a>
and <a href="#xterm_109">patch #109</a> regarding
<code>utf8controls</code>—but the <code>-u</code> and
<code>-8</code> options are useful for demonstrating this
point.</li>
<li>improve speed when changing color palettes using OSC
controls by deferring repaint while followup controls might be
additional color palette changes.</li>
<li>modify <code>SGR 38</code> and
<code>SGR 48</code> to accept RGB index, matching the
closest entry in xterm's palette.</li>
<li>extend <code>SGR 38</code> and
<code>SGR 48</code> to accept colon as parameter separator
(request by Paul LeoNerd Evans).</li>
<li>modify <code>fullscreen</code> action to allow it to toggle
the full-screen mode rather than only set or unset it (prompted
by Eeri Kask's suggestion to support
<code>_NET_WM_TOGGLE</code>). This implementation does not yet
use <code>_NET_WM_TOGGLE</code>.</li>
<li>add support for <code>_NET_WM_STATE_MAXIMIZED_VERT</code>
and <code>_NET_WM_STATE_MAXIMIZED_HORZ</code> EWMH properties
(suggested by Eeri Kask).</li>
<li>make fullscreen mode work with the tek4014 window. This
change makes only the currently active window to be changed to
fullscreen rather than changing both windows.</li>
<li>modify <code>TekClear</code> function to discard pending
output before clearing the tek4014 display (patch by Kevin
Ryde).</li>
<li>fix <code>deleteIsDEL</code> feature, broken in <a href=
"#xterm_280">patch #280</a> changes (report by Mike Thornburg,
forwarded by Jeremy Huddleston).</li>
<li>fix a special case of wrapping double-width characters
(report/test-case by Ken Winstein).</li>
<li>add <code>E3</code> extended capability to
<code>xterm-basic</code> to match ncurses <a href=
"https://invisible-island.net/ncurses/NEWS.html#t20120728">20120728</a>
patch.</li>
<li>fix incorrect transformation of row-parameter for
<code>ClearCurBackground</code> in <a href="#xterm_279">patch
#279</a> which caused incorrect painting in some scrolling
scenarios (report by Chuck Silvers).</li>
<li>fix typo in manpage description of <code>+maximized</code>
option (Paul Maier).</li>
<li>change default for configure option
<code>--with-xpm</code>, turning it on unless requested
otherwise.</li>
<li>add configure option <code>--with-icon-name</code> which
can be used to override the default icon used in
icon-themes.</li>
<li>extend <code>activeIcon</code> resource to provide
<code>default</code> value which tells xterm to determine the
window manager's name and automatically enable the feature for
fvwm and window maker. The explicit true/false values can be
used to override this behavior.</li>
<li>add "mini" xterm icon, which scales better than the
standard xterm icon, e.g., for the gnome/kde "panel"
feature.</li>
<li>extend <code>iconName</code> resource to search for icon
named according to resource value and use that if found. If not
found, use compiled-in pixmap. Both set the WM_ICON_NAME
property which is used by various window managers, usually for
window decoration.</li>
<li>updated autoconf patch, adding support for --datarootdir,
which changes the default location of manpages.</li>
<li>further improved autoconf macros for configuring icons,
from vile 9.8h</li>
</ul>
<h1><a name="xterm_281" id="xterm_281">Patch #281 -
2012/06/26</a></h1>
<ul>
<li>remove "$(srcdir)/" from install-icon rule to fix builds
when --srcdir configuration option is used.</li>
<li>fix for configure script's search for icon file when it is
not found in the current directory, e.g., when building out of
tree (patch by Thierry Reding).</li>
<li>undo the XK_Home / XK_End change from <a href=
"#xterm_280">patch #280</a> which broke the non-VT220 keyboard
for those keys (report by H Merijn Brand).</li>
</ul>
<h1><a name="xterm_280" id="xterm_280">Patch #280 -
2012/06/24</a></h1>
<ul>
<li>add configure check to work around warning from
desktop-file-install for "Encoding", noting that it emits
deprecation warnings without providing its version
information.</li>
<li>add configure option <code>--with-icon-theme</code> to tell
xterm whether to install into an icon theme, defaulting to
"hicolor" (Redhat #755206, Redhat #799614 and Redhat
#804279).</li>
<li>change <code>--with-icondir</code> to look for "icons"
directory rather than "pixmaps" by default. Add new option
<code>--with-pixmapdir</code> to allow these two uses to be
installed concurrently.</li>
<li>modify configure options <code>--with-app-defaults</code>
and <code>--with-icondir</code> to accept "auto" as value to
look for existing directory from well-known locations.</li>
<li>add missing codes for secondary DA response which tell the
type of terminal as in the primary DA response.</li>
<li>update primary DA response for VT420 to include user
windows and horizontal scrolling.</li>
<li>add <code>modifyKeyboard</code> resource to support
keypad-modifier changes per request by Thomas Wolff.</li>
<li>add XK_Home / XK_End to editing-keypad checks</li>
<li>add back-tab key <code>kB</code> to termcap entries to
match the terminfo.</li>
<li>update terminfo to match corresponding entries in ncurses,
e.g., add <code>XT</code> and adjust <code>sgr</code> string
for xterm-bold entry.</li>
<li>add configure options to predefine the most commonly
customized resources for terminal-settings, use those to
substitute into the manpage the corresponding compiled-in
values: <code>altSendsEscape</code>, <code>backarrowKey</code>,
<code>backarrowKeyIsErase</code>, <code>deleteIsDEL</code>,
<code>metaSendsEscape</code> (Redhat #819588).</li>
<li>change default emulation level to VT420 (discussion with
Ailin Nemui).</li>
<li>improve logic for DECSCL; <a href="#xterm_279">patch
279</a> partly enforced limitation of this to higher-level
emulations. This patch finishes that change.</li>
<li>improve check for base of combining characters, preventing
combination when cursor movement has intervened. Mosh's webpage
gives two different examples of this, with other causes
ascribed to the behavior.</li>
<li>modify IL/DL to set cursor to first column on row for
better VT102/VT220 compatibility (prompted by code review of
mosh).</li>
<li>separate state-table entries for DECSC/DECRC from the
ANSI.SYS save/restore cursor, since the latter conflicts with
DECSLRM when DECLRMM is enabled since <a href=
"#xterm_279">patch #279</a> (report/analysis by Ailin
Nemui).</li>
<li>fixes to avoid using <code>SIGCHLD</code> handler of main
program in printer's subprocess (report by Joe Julian).</li>
<li>correct restore-parameter for mouse-modes from <a href=
"#xterm_279">patch #279</a> changes.</li>
<li>add null-pointer checks to input-method caching added in
<a href="#xterm_277">patch #277</a> to fix a problem in the
exposure code, when deselecting a window (report by Kriston
Rehberg).</li>
<li>unset <code>DESKTOP_STARTUP_ID</code> environment variable
to lessen confusion on the part of GTK applications which use
the variable without checking it (report by John Little).</li>
</ul>
<h1><a name="xterm_279" id="xterm_279">Patch #279 -
2012/05/10</a></h1>
<ul>
<li>fill in missing cases in the save/restore modes feature
(report by Thomas Wolff).</li>
<li>add check to ensure that combining characters are
precomposed in the order given (report/analysis by Andries E
Brouwer).</li>
<li>improve workability check for posix_openpt(), to take into
account BSD systems which do not complete initialization until
both sides of the pseudoterminal are opened (report by
Christian Weisgerber).</li>
<li>amend fix for Debian #650291 in <a href="#xterm_277">patch
#277</a> changes to account for different data returned by
vnc4server (Debian #670638).</li>
<li>add check in DECCRA operation to make copies of blinking
text also blink by updating a line-level flag.</li>
<li>modify rectangle operations to work with DECOM.</li>
<li>modify DECSERA to use the current protected state rather
than preserving it.</li>
<li>add <code>precompose</code> resource to allow storing
character data in Normalized Form D as described in <a href=
"http://unicode.org/reports/tr15/">http://unicode.org/reports/tr15/</a>
(report/discussion with Andries E Brouwer).</li>
<li>modify CBT, other ISO-6429 controls which are used by VT520
to work with DECOM.</li>
<li>add HPR and VPR controls, ISO 6429 cursor movement used in
VT520.</li>
<li>remove "linux" restriction for IUTF8 ifdef in main.c
(prompted by Matthew Dempsky posting on
mailing.openbsd.tech).</li>
<li>implement the remaining VT420-level device status
reports.</li>
<li>change DECXCPR to return page 1, rather than 0.</li>
<li>improve VT-level checks on reporting functions, such as
DECXCPR.</li>
<li>change limit on <code>decTerminalID</code> to 525.</li>
<li>fixes to improve vttest vt52 screen when running as a
VT420:
<ul>
<li>add checks for some VT2xx and up controls for
consistency: DECSCL, S1C8T, S1C7T.</li>
<li>modify DECRQSS return for DECSCL to only return that
when running as VT2xx and up.</li>
<li>when exiting from VT52-mode, resume in VT100 level
rather than the level before starting VT52-mode.</li>
</ul>
</li>
<li>implement DECLRMM, DECSLRMM and DECNCSM (prompted by
discussions with Ailin Nemui and Paul LeoNerd Evans). This
modifies several controls to obey top/bottom and left/right
margins.</li>
<li>correct macro definition used for testing modes used in
ANSI/DEC request-mode controls introduced in <a href=
"#xterm_262">patch #262</a>.</li>
<li>modify <code>x_getlogin</code> to check $LOGNAME and $USER
before fallback to <code>getlogin</code>, so that user's choice
for these variables can be carried forward to the xterm process
(Debian #611487).</li>
<li>document DECSCUSR response for DECRQSS in ctlseqs.ms</li>
<li>add <code>zIconTitleFormat</code> resource to allow
customizing the "*** " prefixed to the icon title when the
<code>zIconBeep</code> feature is activated (request by Thomas
Adam).</li>
<li>modify DECSCUSR to update the same internal variable as
RM/SM 12, and document in manpage the two variables used for
controlling blinking cursor (report by Paul LeoNerd
Evans).</li>
<li>correct response data for DECSCUSR in reply for DECRQSS
response, which had inverted the blink-value (reports by Ailin
Nemui, Paul LeoNerd Evans).</li>
<li>add a null-pointer check in <code>OkPasswd</code> macro to
fix a problem in <code>resize</code> with Fedora 17 and a
serial console (report/patch by Daniel Drake).</li>
<li>add workaround for Mac OS X, which loses the window size of
a pseudo-terminal when the tty device is opened
(report/analysis by Egmont Koblinger).</li>
<li>updated configure check for workable
<code>posix_openpt</code> versus <code>grantpt</code>, from
<code>luit</code> fixes.</li>
<li>modify DECIC/DECDC/DECBI/DECFI implemented in <a href=
"#xterm_277">patch #277</a> to enable them only in VT4xx mode
and up (report by Ailin Nemui).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_278" id="xterm_278">Patch #278 -
2012/01/18</a></h1>
<ul>
<li>correct initialization for <code>eightBitMeta</code>
resource (FreeBSD #164101).</li>
<li>make special check for Darwin 9 (and lower) to <em>not</em>
use <code>posix_openpt</code> (report by Christian Ebert).</li>
<li>minor fixes (adding ".ne" directives) to reduce the cases
where groff's utility for generating images for tables dumps
core. Most versions of groff (I've found 1.19.2 to be the most
stable) dump core when attempting to report that there are too
few lines on a page for a table to be shown.</li>
</ul>
<h1><a name="xterm_277" id="xterm_277">Patch #277 -
2012/01/07</a></h1>
<ul>
<li>remove special case for ISC pseudo-terminals which attempts
to open the pty in two different ways.</li>
<li>move call to <code>grantpt</code> before asking utempter to
add a record, to work with kFreeBSD which does not update the
terminal's ownership until this point (Debian #652907).</li>
<li>document limitation of XIM interface in manpage (Debian
#230787).</li>
<li>cleanup error reporting with new xtermWarning
function.</li>
<li>add configure option <code>--disable-selection-ops</code>
to make the new actions optional.</li>
<li>add four new actions for making the selection or data
directly copied from the screen (prompted by discussion in
Debian #637001, as well as report by Arjen van Tol):
<ul>
<li>exec-formatted</li>
<li>exec-selectable</li>
<li>insert-formatted</li>
<li>insert-selectable</li>
</ul>
</li>
<li>add <code>visualBellLine</code> resource to allow
<code>visualBell</code> to flash only the current line
(prompted by patch by Gertjan Halkes).</li>
<li>add <code>eightBitMeta</code> resource to control the
features which modify or interpret the eighth bit of a key when
the meta modifier key is pressed (prompted by Debian
#326200).</li>
<li>improve discussion of <code>eightBitInput</code> in the
manpage (prompted by Debian #326200).</li>
<li>correct logic for <code>alt-sends-escape</code> action,
overlooked when implementing <code>altSendsEscape</code>
resource, which still used <code>eightBitInput</code> resource
value.</li>
<li>add a workaround for <code>XAllocColor()</code>, which does
not actually allocate "a read-only colormap entry corresponding
to the closest RGB value supported by the hardware", but rather
a rough approximation (Debian #650291).</li>
<li>undo parameter checks for <code>RequestResize()</code>
added in <a href="#xterm_251">patch #251</a> and amended in
<a href="#xterm_270">patch #270</a>, because zeros also are
special cases (report by John S Urban).</li>
<li>modify some test-scripts to use <code>/bin/echo</code>
rather than the shell's possibly-builtin <code>echo</code>, to
work around broken configuration on Mac OS X, i.e., neither
honoring the option nor flagging an error.</li>
<li>add SGR 1006, as a better technical solution than SGR 1015:
<ul>
<li>the responses will not be confused with line-deletion
and scrolling controls.</li>
<li>the button encoding is a little simpler, since it does
not add an unnecessary 32 because the integer parameter
does not have to be represented as a printable
character.</li>
<li>the control responses for pressing and releasing a
mouse button differ, allowing an application to tell which
button was released.</li>
</ul>
<p>Besides these improvements, in discussion, it was noted
that urxvt's implementation of 1005 is incorrect, relying
upon a locale that provides UTF-8 encoding. In contrast,
vttest demonstrates a correct decoding, independent of
locale.</p>
</li>
<li>add support for urxvt SGR 1015 to address shortcoming of
SGR 1005 with luit (patch by Egmont Koblinger).</li>
<li>add ISO and DEC controls useful for left/right
scrolling.</li>
<li>add some changes for OpenBSD and MirBSD (adapted from patch
by Thorsten Glaser):
<ul>
<li>disable search for non-Unix96 ptys.</li>
<li>fix a gcc warning in
<code>timestamp_filename</code></li>
<li>modify <code>Imakefile</code> to install xterm setgid
to utmp.</li>
</ul>
</li>
<li>add/use/prefer <code>posix_openpt()</code> for opening
pseudo-terminal.</li>
<li>modify special errno handling case in ptydata.c from
<a href="#xterm_158">patch #158</a> to allow for the
possibility that any platform may have special cases where
"/dev/tty" is absent. For example, this can happen in a FreeBSD
jail (patch by David Wolfskill).</li>
<li>add keyboard logic to map shift-tab into XK_ISO_Left_Tab,
which is usually, not always, done by the X keyboard
configuration.</li>
<li>portability fixes for some configure macros:
<code>CF_XOPEN_SOURCE</code></li>
</ul>
<h1><a name="xterm_276" id="xterm_276">Patch #276 -
2011/10/10</a></h1>
<ul>
<li>modify clipping limits for TrueType fonts to account for
the <code>scaleHeight</code> resource setting, to work around
another problem due to recent FreeType changes. In this case,
the <code>DejaVu Sans Mono</code> set to pixelsize=13.5 is
truncated because the font descent is reduced by FreeType to
match an incorrect height metric (report by Adam Lee).</li>
<li>improve recovery when bitmap fonts are not installed, e.g.,
so that switching font-sizes works for TrueType fonts.</li>
<li>modify lookup for <code>XTERM_SHELL</code> feature to allow
relative pathnames.</li>
<li>modify abbreviation disambiguation check for command-line
parameters to account for <code>-geometry</code>, whose
parameter may begin with "+" or "-" (report by Scott
Bertilson).</li>
</ul>
<h1><a name="xterm_275" id="xterm_275">Patch #275 -
2011/09/11</a></h1>
<ul>
<li>add <code>ash</code>, <code>zsh</code> to known shells for
<code>resize</code>.</li>
<li>modify <code>resize</code> to reuse the logic from
<code>xterm</code> which determines the actual logon-user's
shell if <code>$SHELL</code> is not set.</li>
<li>revert the <code>unsetenv("SHELL")</code> added in <a href=
"#xterm_272">patch #272</a>.</li>
<li>an <code>unsetenv("SHELL")</code> added in <a href=
"#xterm_272">patch #272</a> to help ensure that
<code>luit</code> would get the user's shell consistently did
not work as expected for cases where multiple names are in the
password-file for a given uid. That was because changes in
<a href="#xterm_157">patch #157</a> to handle this situation
did not take into account that repeated calls to
<code>getpwnam</code> and <code>getpwuid</code> return a
pointer to the same static buffer. Fixed the older logic to
work as intended, by ensuring that the passwd-data from each
call is stored separately (report by Paul Keusemann).</li>
<li>adjust ifdef's for <code>putenv</code> and
<code>unsetenv</code> in case only one of those is provided on
a given platform.</li>
<li>correct comparison used in <code>ExposeContains</code>
macro from <a href="#xterm_274">patch #274</a> changes, to
handle window-dragging (patch by Todd Eigenschink).</li>
</ul>
<h1><a name="xterm_274" id="xterm_274">Patch #274 -
2011/09/05</a></h1>
<ul>
<li>portability fixes for cygwin: do not define
<code>SVR4</code>, and work around nonstandard header
location.</li>
<li>ifdef'd use of <code>unsetenv</code> from <a href=
"#xterm_273">patch #273</a> changes to work with Solaris 9
(report by Waldemar Rachwal).</li>
<li>modify logic for <code>XtAppPending</code> to merge
adjacent <code>Expose</code> and <code>ConfigureNotify</code>
events which are redundant (report by Edward McGuire).</li>
<li>fix an unneeded warning message when <code>-r</code> option
is given.</li>
<li>remove a few redundant entries from table used for helping
abbreviation-checking of command-line options, makes
<code>-geom</code> work again after <a href="#xterm_272">patch
#272</a> changes as an abbreviation of
<code>-geometry</code>.</li>
<li>add <code>scaleHeight</code> resource and command-line
option <code>-sh</code> as workaround for some
font-configurations broken by changes in FreeType 2.4.6 (report
by Miroslav Hodak).</li>
<li>portability fixes for some configure macros:
<code>CF_FUNC_TGETENT</code>, <code>CF_XOPEN_SOURCE</code>,
<code>CF_X_ATHENA_LIBS</code>.</li>
<li>add configure option <code>--with-freetype-config</code> to
improve selection over the plethora of configuration options
which freetype has so far provided.</li>
<li>build-fix for configure <code>--enable-load-vt-fonts</code>
when <code>--enable-widec</code> is not specified.</li>
<li>build-fixes for suppressing various features, needed after
changes in patches 270, 271 and 272 (report by Brian
Lindholm)</li>
</ul>
<h1><a name="xterm_273" id="xterm_273">Patch #273 -
2011/08/25</a></h1>
<ul>
<li>build-fix for out-of-tree "make docs" rule.</li>
<li>correct a typo in <code>x_strdup</code>, from <a href=
"#xterm_198">patch #198</a> changes.</li>
<li>correct initialization for <code>-e</code> option, broken
in <a href="#xterm_272">patch #272</a> changes (report by
Gabriele Balducci).</li>
<li>build-fix for out-of-tree builds to address
<code>minstall</code> script changes in <a href=
"#xterm_272">patch #272</a> (patch by Thierry Reding).</li>
</ul>
<h1><a name="xterm_272" id="xterm_272">Patch #272 -
2011/08/24</a></h1>
<ul>
<li>document limitation of <code>Gtk</code> in connection with
xterm's <code>-into</code> option, in the manpage (Ubuntu
#806969).</li>
<li>improve <code>-into</code> by checking for and using the
size of the window within which xterm is embedded, overriding
other clues.</li>
<li>modify logic for <code>localeFilter</code> resource to
allow that to include command-line options of luit.</li>
<li>improve <code>-into</code> by checking for invalid
window-id, and allowing hexadecimal/decimal/octal values.</li>
<li>improve <code>keepSelection</code>, adding the case where
the highlighting is cleared, overlooked in <a href=
"#xterm_230">patch #230</a> (patch by Marco Peereboom).</li>
<li>improve command-line parsing to make abbreviate options
work consistently across xterm-specific versus standard X
toolkit options, and report cases where an abbreviated option
happens to be ambiguous. In particular, <code>-d</code> now
works as an abbreviation for <code>-display</code>.</li>
<li>fix regression in command-line parsing introduced in
<a href="#xterm_271">patch #271</a> changes for Debian #629358,
(Debian #637910).</li>
<li>split-out new termcap/terminfo building block
<code>xterm+kbs</code> for configurability.</li>
<li>modify <code>terminfo</code> file to reflect changes in
ncurses for <code>xterm-16color</code> and
<code>xterm-256color</code>.</li>
<li>modify <code>minstall.sh</code>, etc., to reflect the
default default class, <code>$TERM</code> and
<code>decTerminalID</code> values.</li>
<li>reword <code>resize</code> manpage to reflect the fact that
<code>$TERMCAP</code> is not set on all systems (patch by Alan
Coopersmith).</li>
<li>work around combined Xaw6/Xaw7 package in DragonFlyBSD
which omits the usual symbolic link to the preferred library
name.</li>
<li>further improve build-fix for termcap systems by checking
for some which are only partial implementations, e.g., termcap
2.08 in CentOS 5.2</li>
</ul>
<h1><a name="xterm_271" id="xterm_271">Patch #271 -
2011/07/14</a></h1>
<ul>
<li>omit permissions adjustments to pty on exit except for
pre-Unix98 ptys, since modern implementations handle this
(report by Sean C Farley).</li>
<li>modify logic for switching fonts between UTF-8 and
non-UTF-8 encoding to not merge the derivable bold-, wide- and
widebold values from the VT100 fonts. Also suppress warning
when not using UTF-8 fonts if wide- and widebold-fonts cannot
be derived or otherwise loaded (report by Werner
Scheinast).</li>
<li>modify menu-creation to suppress entries which will never
be used in the current configuration, rather than simply
disabling them.</li>
<li>add resource <code>printModeImmediate</code> and menu item
to allow print of screen plus saved lines to a file.</li>
<li>add menu item to allow runtime enable/disable of the
<code>printFileOnXError</code> feature.</li>
<li>append a timestamp to filename used in
<code>printFileOnXError</code> feature, and restrict its
permissions (request by Vincent Lefèvre).</li>
<li>add a check when cancelling cursor-blinking, in case the
cursor is blinked off. Fix so that the cursor is repainted
without waiting for other events, e.g., keypress (report by
Ailin Nemui).</li>
<li>add configure <code>--with-app-class</code> option, to
simplify building "xterm-dev" packages with filenames that do
not conflict with conventional "xterm" packages.</li>
<li>corrected logic flow for DECSCL, which prevented the
updated operating level from being reported via DECRQSS (report
by Ailin Nemui).</li>
<li>corrected default for <code>brokenStringTerm</code>
resource to match manpage.</li>
<li>add vttests/dynamic.pl</li>
<li>add runtime check for locale not supported by X libraries,
and fallback to XA_STRING in this case (request by Bryan
Henderson).</li>
<li>fix a special case in configure script after no FreeType
libraries are found. The script was proceeding to check for a
usable configuration.</li>
<li>add <code>xterm+tmux</code> building block to terminfo
(adapted from changes proposed by Ailin Nemui and Nicholas
Marriott).</li>
<li>improve discussion of <code>faceName</code> resource in
manpage (adapted from suggestions by Jens Schweikhardt).</li>
<li>correct mapping of shifted up/down cursor-keys in termcap
function-keys mode, i.e., resource
<code>tcapFunctionKeys</code> (patch by Gertjan Halkes).</li>
<li>update AIX case in <code>CF_XOPEN_SOURCE</code> configure
macro to add release 7.x.</li>
<li>modify ifdef's in <code>xterm_io.h</code> for
<code>__hpux</code> to force that to use the hacked SYSV
support in that file. This fixes a problem with a non-blocking
socket call (patch by Paul Lampert).</li>
<li>improve filtering of desktop category scanning, to exclude
XFCE.</li>
<li>modify configure script to work with systems that have both
ncurses (or other terminfo) as well as a real termcap library,
e.g., Slackware (report by Andrew Watts).</li>
<li>modify configure script to work around special case where
user's environment adds compiler flags to the <code>CC</code>
variable (prompted by report by Paul Lampert).</li>
<li>amend change for Debian #110226 so that "-h" or "-v"
options cause an exit, rather than simply printing to stdout
while the window is displayed (Debian #629358).</li>
<li>add response for <code>DECRQSS</code> which gives the
setting for <code>DECSCUSR</code>.</li>
<li>modify AllocateTermColor() to handle
<code>XtDefaultForeground</code> and
<code>XtDefaultBackground</code>, which are not recognized by
<code>XParseColor</code>. For example, this fixes the use of
OSC 112 when no explicit cursor color was set (report by
Ailin Nemui).</li>
<li>handle special-case of <code>KeyPress</code> translated to
<code>popup-menu</code> action (Ubuntu #756273).</li>
</ul>
<h1><a name="xterm_270" id="xterm_270">Patch #270 -
2011/04/26</a></h1>
<ul>
<li>build-fix, e.g., for using <code>imake</code> on platforms
which use the termcap library.</li>
<li>modify <code>utf8</code> resource to accept a name.</li>
<li>mention default for <code>fontWarnings</code> in manpage
(report by Werner Scheinast).</li>
<li>split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8
Fonts" (prompted by discussion with Werner Scheinast).</li>
<li>gray-out font-menu entries when a font fails to load, e.g.,
a bitmap font is not installed.</li>
<li>improve behavior when there is no app-defaults file:
<ul>
<li>set the <code>toolBar</code> resource to false</li>
<li>gray-out the font menu entries where no resource is
found.</li>
</ul>
</li>
<li>add configure option <code>--with-desktop-category</code>
to allow customization of the ".desktop" files.</li>
<li>build-fix for the <code>install-desktop</code>
makefile-rule, when the source/build directories differ (patch
by Loïc Minier).</li>
<li>add menu entry and corresponding resource which can be used
to suppress all bold-fonts (discussion with Jan
Engelhardt).</li>
<li>make internal line-size value consistent with allocated
sizes of character and related arrays to ensure that bulk
copying of line data, e.g., in scrolling, accounts for the
padding used for pointer alignment (adapted from patch by
Rajesh Mandalemula, also reported by Ali Bahar).</li>
<li>widen ifdef for screen-resizing logic from <a href=
"#xterm_176">patch #176</a> changes to send
<code>SIGWINCH</code> to process group to include any system
supporting <code>ioctl(*,TIOCGPGRP,*)</code> (prompted by
linux-specific patch in OpenSUSE rpm package).</li>
<li>add <code>printModeOnXError</code> and
<code>printFileOnXError</code> resources, which allow the user
to specify that xterm will write the contents of its screen to
a file if it is exiting due to an X error (Debian
#280457).</li>
<li>restore logic that made reverse-video apply to the
scrollbar's foreground/background, broken in <a href=
"#xterm_158">patch #158</a> (report by Bryan Ischo).</li>
<li>amend some of the window operations parameter-checks added
in <a href="#xterm_251">patch #251</a> for the push/pop title
feature, to allow the parameters used for window resizing to be
-1's, which makes the corresponding values ignored rather than
using the window's maximum width/height (report by Noah
Friedman).</li>
<li>correct order of initialization for
<code>translations</code> vs <code>fullscreen</code> resources
to enable a special case which omits the Alt-Enter translation
when <code>fullscreen</code> is disabled (Debian #612978).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_269" id="xterm_269">Patch #269 -
2011/02/19</a></h1>
<ul>
<li>build-fixes for <code>imake</code> (report by Heiko
Berges).</li>
<li>modify autoconf macro CF_PKG_CONFIG to work with
cross-compile environments (patch by Thierry Reding).</li>
<li>modify <code>MapToColorMode()</code> to favor bold over
underline, matching the precedence used before <a href=
"#xterm_252">patch #252</a> (report/analysis by Nicolas
George).</li>
<li>add <code>omitTranslation</code> resource, which can be
used to suppress the default translations for these features:
<ul>
<li>fullscreen</li>
<li>scroll-lock</li>
<li>shift-fonts</li>
<li>wheel-mouse</li>
</ul>
</li>
<li>make the fullscreen feature configurable (Debian #612978)
<ul>
<li>add it to the configurable list
<code>disallowedWindowOps</code>.</li>
<li>add command-line option <code>-fullscreen</code> to
allow the feature to be enabled at startup.</li>
<li>add resource <code>fullscreen</code> to control whether
the feature is active or may be enabled.</li>
</ul>
</li>
<li>modify <code>probe_netwm_fullscreen_capability</code> for
64-bit machines. Contrary to <code>XGetWindowProperty</code>
manpage, that function returns 32-bit data packed as
<code>long</code>'s.</li>
<li>eliminate copy of <code>name</code> resource, which was
otherwise used only to give the terminal-description name for
the tcap-query feature. Use the actual <code>$TERM</code> value
instead, as derived from <code>termName</code> resource,
etc.</li>
<li>eliminate an old inconsistency with error messages, some
used the <code>-name</code> option, while others used
<code>argv[0]</code>. The latter is now used consistently.</li>
<li>improve configure check for rpath-hack, to improve builds
on systems where gcc will not search /usr/local/lib, etc.</li>
<li>build-fix for Xaw3d configuration (report by H Merijn
Brand).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_268" id="xterm_268">Patch #268 -
2011/02/10</a></h1>
<ul>
<li>fix an inconsistency of the "Enable Reverse Video" checkbox
in the VT Options menu. This also removes a special case added
in <a href="#xterm_217">patch #217</a> which limited the effect
of the <code>reverseVideo</code> resource (Debian
#603808).</li>
<li>amend decoding of misformed UTF-8 sequences to avoid
absorbing valid characters as documented in Unicode 6.0 section
3.9 (report by Keith Winstein).</li>
<li>do not set urgency hint when window already has focus
(patch by Dimitrios Christidis).</li>
<li>amend extended mouse-coordinate mode from <a href=
"#xterm_262">patch #262</a> changes to include the <em>Cb</em>
button-code, which also may be greater than 127 (report by
Ailin Nemui).</li>
<li>ensure that underline-cursor is visible when an application
happens to set the background color (report by Christian
Weisgerber).</li>
<li>add feature for <a href=
"http://www.davidsimmons.com/soft/xtermhacks/xterm-fullscreen.patch">
full-screen toggling</a> using either Alt-Enter or a menu
selection (integrated patch by Dave Simmons).</li>
<li>add missing logic to handle reallocation of FIFO index for
the "UTF-8" menu entry (report by David Holland, NetBSD
#44344).</li>
<li>add makefile rules <code>docs-ctlseqs</code>,
<code>docs-xterm</code>, etc.</li>
<li>correct typo in description of DECRPM in control sequences
document (report by Ailin Nemui).</li>
</ul>
<h1><a name="xterm_267" id="xterm_267">Patch #267 -
2010/11/20</a></h1>
<ul>
<li>minor formatting changes to ctlseqs.ms to simplify a script
which extracts the feature information. See the results in
<a href=
"https://invisible-island.net/xterm/xterm.faq.html#compare_versions">
Comparing versions, by counting controls</a> in the xterm
FAQ.</li>
<li>add <code>docs-clean</code> makefile rule.</li>
<li>add <code>copy-selection</code> action (request by Timo
Juhani Lindfors, Debian #588785).</li>
<li>trim leading/trailing blanks from string used for
"Selection" font-menu data.</li>
<li>trim leading/trailing blanks from color resource
values.</li>
<li>configure script improvements:
<ul>
<li>add workaround for removal of X11 dependency from Xt's
package file (report by Robert Hooker).</li>
<li>add workaround for removal of fontconfig dependency
from Xft's package file (report by Jeremy Huddleston).</li>
<li>add workaround for removal of Xmu dependency from Xaw's
package file (report by Jeremy Huddleston).</li>
<li>improve workaround in <code>CF_X_TOOLKIT</code> macro,
checking for other possible packages where Xt's
dependencies may be given.</li>
<li>prefer <code>${name:=value}</code> to
<code>${name-value}</code>, since recent bash changes break
legacy support for that feature.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_266" id="xterm_266">Patch #266 -
2010/10/24</a></h1>
<ul>
<li>add rpm and dpkg scripts, for testing.</li>
<li>more fixes for Debian #600707 (report by Cyril
Brulebois).</li>
</ul>
<h1><a name="xterm_265" id="xterm_265">Patch #265 -
2010/10/22</a></h1>
<ul>
<li>fix a regression in fontname logic from <a href=
"#xterm_263">patch #263</a> changes (Debian #600707, reported
by Vincent Lefèvre).</li>
<li>revert modification of any-event/any-button protocol from
<a href="#xterm_263">patch #263</a> changes. It interferes with
selection using a shifted mouse button (reports by Neil Bird,
Bram Moolenaar).</li>
</ul>
<h1><a name="xterm_264" id="xterm_264">Patch #264 -
2010/10/14</a></h1>
<ul>
<li>replace a null-pointer check with check for empty string in
<code>xtermOpenFont</code>, to eliminate a warning message from
<a href="#xterm_263">patch #263</a> changes.</li>
<li>build-fix for <a href="#xterm_263">patch #263</a> when
toolbar is not configured (patch by Chris Clayton) (reports by
Robby Workman, David Wood).</li>
</ul>
<h1><a name="xterm_263" id="xterm_263">Patch #263 -
2010/10/13</a></h1>
<ul>
<li>corrected initialization of "misc" resource values, to
ensure that xterm has allocated a copy of strings which may not
have been malloc'd by the X library (Debian #600129).</li>
<li>modify handling of any-event/any-button mouse protocol; it
now is active with any combination of key-modifiers.</li>
<li>add debugging feature <code>showWrapMarks</code>, which
marks lines which xterm knows are wrapped, showing where a
double-click will select past the end of a line.</li>
<li>build-fix to address change in include-guards for
<code>Xlib.h</code> in ongoing Xorg edits (patch by Jeremy
Huddleston).</li>
<li>improve <code>pointerMode</code> by continuing to watch for
motion events after mouse tracking is disabled if the pointer
is hidden (Debian #594856).</li>
<li>further extend initialization for active-icon font to check
if the font was not loaded successfully, to retry with
<code>font1</code>, or as even (if TrueType fonts are used) to
use a TrueType font. The retries are to help with cases as in
<a href="#xterm_241">patch #241</a> where the bitmap fonts are
not available.</li>
<li>fix special case of active-icon used when TrueType font is
specified for the xterm window, from <a href="#xterm_261">patch
#261</a> change. In that case, the default font's size was used
for layout of the active icon's window (Debian #591265).</li>
</ul>
<h1><a name="xterm_262" id="xterm_262">Patch #262 - 2010/8/30</a></h1>
<ul>
<li>fix a case where changing the cursor color via escape
sequences did not immediately update the screen (report by
Andreas Wagner).</li>
<li>implement ANSI and DEC request-mode control sequences. The
latter includes the xterm-specific private modes such as the
mouse mode. The feature is ifdef'd with the rectangle
operations since its decoding overlaps that feature.</li>
<li>correct typo in ctlseqs.ms for response of OSC 21 (patch by
Kevin Schoedel).</li>
<li>improve discussion of mouse tracking in ctlseqs.ms</li>
<li>increase an array limit used in reporting mouse events
(report by Ryan Johnson).</li>
<li>add extended mouse-coordinates mode, allowing up to
2015x2015 windows, using UTF-8 encoding (patch by Ryan
Johnson).</li>
<li>modify manpage hyphens to conform with <a href=
"http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html">
Debian</a>.</li>
</ul>
<h1><a name="xterm_261" id="xterm_261">Patch #261 - 2010/6/28</a></h1>
<ul>
<li>fix regression in <code>renderFont</code> logic, from
<a href="#xterm_260">patch #260</a> changes (report by Joseph
Quinsey).</li>
</ul>
<h1><a name="xterm_260" id="xterm_260">Patch #260 - 2010/6/20</a></h1>
<ul>
<li>modify <code>plink.sh</code> to work around problem linking
to recent PCRE libraries.</li>
<li>extend <code>renderFont</code> resource to allow deferred
switch to TrueType fonts without affecting existing resource
settings (Debian #585620).</li>
<li>modify configure macro CF_X_TOOLKIT to work around omission
of ICE library from ".pc" file (report by Miroslav
Lichvar).</li>
<li>change configure script default for
<code>--enable-broken-st</code> i.e., the
<code>brokenStringTerm</code> feature) to normally enable it.
If the corresponding resource is enabled, this feature
eliminates an apparent freeze of xterm when sending mis-encoded
data to the screen (Debian #584801).</li>
<li>document in manpage some actions which were overlooked:
<ul>
<li>readline-button</li>
<li>scroll-lock</li>
<li>set-8-bit-control</li>
</ul>
</li>
<li>undo a change to limit-check in <code>ScrnRefresh</code> in
<a href="#xterm_257">patch #257</a>, which broke
<code>fastScroll</code> feature (Debian #584841).</li>
<li>modify handling of <code>brokenLinuxOSC</code> and
<code>brokenStringTerm</code> to also sound the bell.</li>
<li>add control/D and control/Q to controls which will cause
early exit from control string per
<code>brokenStringTerm</code> resource.</li>
<li>improve documentation of <code>brokenStringTerm</code>
resource in manpage.</li>
</ul>
<h1><a name="xterm_259" id="xterm_259">Patch #259 - 2010/6/5</a></h1>
<ul>
<li>modify configure check for <a href=
"https://invisible-island.net/luit/">luit</a> to include new
aliases for the program (<code>xterm-filter</code> and
<code>bluit</code>).</li>
<li>add workaround in <code>xtermClearLEDs()</code> to account
for Xkb's override, making vttest's LED demo reset the scroll
lock.</li>
<li>filter out client-message events when deciding whether to
hide cursor, e.g., when using SCIM (patch/report by anonymous
user).</li>
<li>improve description of <code>-bd</code> option in manpage
(report by Guy Daniel Clotilde).</li>
<li>modify configure checks for PCRE and other libraries to use
<code>pkg-config</code>, if available.</li>
<li>amend change from <a href="#xterm_252">patch #252</a>, to
take <code>veryColorColors</code> resource into account when
checking <code>colorBDMode</code> resource for TrueType fonts
(report by anonymous user).</li>
<li>add <code>vttests/query-fonts.pl</code> script for
demonstrating the <code>OSC 50</code> font query.</li>
<li>improve manpage discussion of Scroll Lock feature.</li>
<li>improve configure macros CF_GCC_VERSION and
CF_GCC_WARNINGS.</li>
<li>fix warnings for "clang --analyze".</li>
<li>change default for <code>allowScrollLock</code> resource to
<code>false</code>, noting that the supposedly unused key has
been useful for various rebindings (Debian #580946).</li>
</ul>
<h1><a name="xterm_258" id="xterm_258">Patch #258 - 2010/5/1</a></h1>
<ul>
<li>add pointer-checks in <code>ScrnRefresh</code> to fix a
case in rapid scrolling where an empty record is fetched from
the scrollback FIFO.</li>
</ul>
<h1><a name="xterm_257" id="xterm_257">Patch #257 - 2010/4/22</a></h1>
<ul>
<li>correct ctlseqs.ms description of OSC 17 and OSC 19 (patch
by Emanuele Giaquinta).</li>
<li>corrected logic for <code>menuLocale</code> resource; the
<code>setlocale</code> function returns the original locale
only when querying.</li>
<li>improve filtering of translations resource, narrowing the
scope of the <code>alwaysUseMods</code> to address only the
translations that would cause a key to be sent to the host
(report by Andrew Gaylard).</li>
<li>change default value of <code>menuLocale</code> resource to
"C", to work around longstanding <a href=
"https://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg
bug</a>.</li>
<li>modify handling of <code>scrollKey</code> feature to ignore
XON/XOFF keys.</li>
<li>implement scroll-lock feature.</li>
<li>revise memory allocation in UTF8toLatin1() to fix an
out-of-bounds index (Mandriva #54531).</li>
<li>compute value for first wide-character rather than assuming
it is 256, fixes problem with <code>-cjk_width</code>
introduced in patches <a href="#xterm_242">242</a> and <a href=
"#xterm_249">249</a> (report by Thomas Wolff).</li>
<li>improve configure script:
<ul>
<li>corrected check for <code>_XOPEN_SOURCE</code> for
OpenSolaris.</li>
<li>when possible, add rpath option for libraries in
unusual places</li>
<li>add configure option <code>--disable-rpath-hack</code>
to control whether the rpath option can be added.</li>
</ul>
</li>
<li>modify <code>AllocateTermColor()</code> to separate
initialization from control sequences, fixing problem from
<a href="#xterm_254">patch #254</a> changes where enabling
<code>allowSendEvents</code> resource prevents setting cursor
color on command-line (Debian #572928).</li>
<li>amend logic from <a href="#xterm_185">patch #185</a> to not
reallocate cell-array if processing
<code>ESC % G</code> to switch from UTF-8 if already
in ISO-8859-1 character set (report by Michael Koehne).</li>
<li>fix to avoid calling <code>XmuInternStrings()</code> with
zero count (report by Johan Bockgård).</li>
<li>fix build when --disable-ansi-color configure option is
used.</li>
<li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is
defined (patch by Matthieu Herrb)</li>
</ul>
<h1><a name="xterm_256" id="xterm_256">Patch #256 - 2010/3/6</a></h1>
<ul>
<li>add TerminalEmulator to desktop category files.</li>
<li>modify <code>sinstall.sh</code> to ignore the "." appended
to permissions by selinux.</li>
<li>change app-defaults organization, installing UXTerm-color
and KOI8XTerm-color for consistent behavior regarding
<code>customization: color</code> (prompted by discussion
in Ubuntu #421261).</li>
<li>fix typo in <code>minstall.sh</code> from <a href=
"#xterm_255">patch #255</a> changes, and add case for
<code>/var/run</code> needed for full path of utmp (report by
Julien Cristau).</li>
<li>minor fix to xterm manpage, remove a comment stating that
margin bell can be changed via the VT Options menu. That was
replaced in <a href="#xterm_225">patch #225</a></li>
<li>add a "docs" rule to makefile.</li>
<li>fix initialization of Atom used for <code>XkbBell</code>
feature from <a href="#xterm_243">patch 243</a> changes. Unlike
the other calls to <code>XInternAtom()</code>, in this case the
flag telling X to create the Atom was unset (patch by Chris
Adams).</li>
</ul>
<h1><a name="xterm_255" id="xterm_255">Patch #255 - 2010/1/21</a></h1>
<ul>
<li>rename <code>install.sh</code> to <code>install-sh</code>
in case suffix-rules might interfere.</li>
<li>extend range for <code>convertToUTF8</code> function to
full 31-bits, to use with printing, etc.</li>
<li>improve manpage by checking for actual locations of
utmp/wtmp files (Debian #562640).</li>
<li>modify configure macro CF_XOPEN_SOURCE to remove -D's
before adding the same name rather than relying on -U's, to
reduce redefinition warnings for some platforms that have
conflicting definitions in headers.</li>
<li>correct logic used to switch to alternate screen using
FIFO-lines configuration (Debian #565772).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_254" id="xterm_254">Patch #254 - 2010/1/6</a></h1>
<ul>
<li>add a configure-check to eliminate <code>install-ti</code>
rule from Makefile when the system has no tic (terminfo
compiler) program. This lets one use the
<code>install-full</code> rule more consistently.</li>
<li>amend change to WriteText() function in <a href=
"#xterm_252">patch #252</a> to take into account the
<code>colorAttrMode</code> resource (report by Krzysztof
Kotlenga).</li>
<li>document <code>titleModes</code> resource in manpage, added
in <a href="#xterm_252">patch #252</a>.</li>
<li>modify tcap-query table entries for shifted up/down cursor
keys to match ncurses convention.</li>
<li>improve lookup of termcap-query data, allowing for
duplicate keycodes versus missing entries.</li>
<li>add control sequence which can be used to modify the
terminal data used for the termcap-keyboard.</li>
<li>improve portability of tcap-query feature, using terminfo
functions in preference to termcap on systems having
terminfo.</li>
<li>improve font-setting/querying control
(<code>OSC 50</code>):
<ul>
<li>when TrueType font is selected, the TrueType
<code>faceName</code> will be set, rather than the bitmap
font.</li>
<li>when TrueType font is selected, querying returns the
name of the TrueType font.</li>
<li>querying a font recognizes the relative-font convention
that setting a font could use.</li>
</ul>
</li>
<li>add menu-entry for allowColorOps.</li>
<li>add new resources for fine-tuning menu entries:
<code>allowColorOps</code>, <code>disallowedColorOps</code>,
<code>disallowedFontOps</code> and
<code>disallowedTcapOps</code>.</li>
<li>correct logic for disabling the "TrueType Fonts" menu item;
it was not ensuring that the <code>faceName</code> resource
value was non-empty.</li>
<li>implement VT520-style controls <code>DECSMBV</code> and
<code>DECSWBV</code> for setting the margin- and warning-bell
volume.</li>
<li>fix a minor error from <a href="#xterm_243">patch #243</a>
which made the zIconBeep feature use a minor-error tone rather
than an informational tone.</li>
<li>add a null-pointer check for the case where
<code>renderFont</code> resource is true, but
<code>faceName</code> resource is unset, used in logic to strip
"xft:" prefix from <a href="#xterm_251">patch #251</a> changes
(patch by Michael Riepe).</li>
<li>add special case to configure CF_XOPEN_SOURCE macro to use
extensions on Darwin (patch by Dennis Preiser).</li>
<li>improve configure checks for regular expressions header and
library</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_253" id="xterm_253">Patch #253 -
2009/12/10</a></h1>
<ul>
<li>add a null-pointer check in <code>getPrinterFlags()</code>
per changes in <a href="#xterm_252">patch #252</a>.</li>
<li>add a null-pointer check, needed in UTF-8 mode for Xft
fonts after changes in <a href="#xterm_252">patch #252</a>
(patch by Alan Coopersmith).</li>
<li>correct size when clearing struct for tek4014 (patch by
Jochen Voss).</li>
<li>parenthesize expression in <code>MoreRows</code> macro,
fixing a limit check added in <a href="#xterm_251">patch
#251</a> (Debian #560039).</li>
</ul>
<h1><a name="xterm_252" id="xterm_252">Patch #252 - 2009/12/7</a></h1>
<ul>
<li>modify title-querying logic to support retrieval of titles
encoded using UTF-8.</li>
<li>add new "title-modes" control sequence for controlling
whether window/icon titles can be set or queried using UTF-8,
optionally encoded in a hexadecimal string.</li>
<li>use <code>mkdir -p</code> rather than
<code>mkdirs.sh</code> (prompted by discussion of mawk by
Aleksey Cheusov).</li>
<li>add appropriate copyright/license notices to the bulk of
files lacking same, and modify to use identical terms in others
which used different wording. The main exceptions are the files
contributed by Markus Kuhn, who appears to prefer public domain
distribution, noting that I have modified/improved several of
these without changing the terms of distribution (request by
Jari Aalto).</li>
<li>add control sequences for resetting the "dynamic" colors to
their default values.</li>
<li>add control sequences for resetting the "special" colors to
their default values.</li>
<li>add control sequences for setting the "special" colors such
as <code>colorBD</code> (bold).</li>
<li>add overlooked case for setting highlight foreground color
with the dynamic-colors control.</li>
<li>add <code>OSC 104</code>, for resetting ANSI/16/88/256
colors to default.</li>
<li>reset ANSI/16/88/256 colors to default in soft/hard reset
functions.</li>
<li>strip "xft:" prefix from <code>faceName</code> and
<code>faceNameDoublesize</code> resource values,</li>
<li>add <code>DECSCUSR</code> (discussion with Andy
Koppe).</li>
<li>add check/warning on failure to load font, to see if the
name looks like an Xft pattern rather than XLFD. This can
happen if someone happens to modify their X resource settings
for programs that read data from xterm's namespace.</li>
<li>modify handling of <code>print</code> and
<code>print-everything</code> actions to allow the various
printer flags to be overridden by supplying parameters.</li>
<li>add resource <code>printerNewLine</code> (request by Ovidiu
Gheorghioiu).</li>
<li>minor cleanup, finish using <code>TScreenOf()</code> and
<code>TekScreenOf()</code> macros introduced in <a href=
"#xterm_224">patch #224</a>.</li>
<li>improve checks in ShowCursor/HideCursor to get the
background color, particularly when
<code>highlightReverse</code> resource is used (reports by Jan
Engelhardt, Christian Weisgerber).</li>
<li>correct <code>checkVeryBoldAttr</code> to omit comparison
of foreground color to special color values used for
<code>color<XX></code> resources (report by Jan
Engelhardt).</li>
<li>make <code>colorBDMode</code> and <code>colorULMode</code>
resources work with TrueType configuration (report by Jan
Engelhardt).</li>
</ul>
<h1><a name="xterm_251" id="xterm_251">Patch #251 -
2009/11/11</a></h1>
<ul>
<li>add window-ops controls to push/pop icon and/or window
labels on a stack.</li>
<li>minor fixes to align termcap file with terminfo.</li>
<li>add resource <code>disallowedWindowOps</code>, to allow
fine-tuning of features to suppress with the
<code>allowWindowOps</code> resource (prompted by discussion
with Bram Moolenaar).</li>
<li>add makefile rules for resize-manpage to pdf, etc.</li>
<li>further improve limit-checks in select/paste (Mandriva
#54531).</li>
</ul>
<h1><a name="xterm_250" id="xterm_250">Patch #250 -
2009/10/13</a></h1>
<ul>
<li>add check and error-message for fonts that have no
printable values in the ISO-8859-1 range (Debian #542434).</li>
<li>some compiler-warning cleanup, in particular workaround for
defective implementation of gcc's attribute warn_unused_result
(report by Bram Moolenaar).</li>
<li>improve estimate of single-column width for packed TrueType
fonts by ignoring extents for codes 127 and 159.</li>
<li>improve line-drawing for TrueType fonts which happen to
have defined glyphs which are <em>not</em> line-drawing in
0..31 by assuming they're not, and just checking the existence
of the Unicode codepoints. This makes it more likely that the
user can override a misconfigured font using the "Line-Drawing
Characters" menu entry.</li>
<li>limit minimum cell-width for packed font to maximum-advance
reported by Xft. Some fonts are wider than that, even in the
Latin-1 range (Debian #550497).</li>
<li>add list of direct-contributors in "THANKS" file.</li>
<li>stylistic changes to this file to help scripted extraction
of list of contributors.</li>
<li>correct off-by-one in <code>okPosition</code> fix from
<a href="#xterm_249">patch #249</a> limit-checks which
prevented double-click selection on the bottom line of the
screen (reports by Rajeev V. Pillai, Debian #550368).</li>
<li>add <code>-q</code> option to
<code>vttests/256colors2.pl</code> and
<code>vttests/88colors2.pl</code> to demonstrate bulk
initialization of color palette.</li>
<li>improve the workaround from patch #188 by enabling
resources for the 88-color model.</li>
<li>document in xterm manpage the limited availability of
resources <code>color16</code> to <code>color255</code> as
noted in <a href="#xterm_188">patch #188</a> (Ubuntu
#438850).</li>
</ul>
<h1><a name="xterm_249" id="xterm_249">Patch #249 - 2009/10/1</a></h1>
<ul>
<li>change default for <code>allowWindowOps</code> resource to
false.
<!-- on the other hand, gnome-terminal, pterm and rxvt-unicode
leave most of the related functionality enabled ;-) --></li>
<li>add limit-checks for result of visual_width() function,
needed from <a href="#xterm_242">patch #242</a> and exposed by
#244 changes (Debian #548321).</li>
<li>improve limit-checks in select/paste.</li>
<li>fix a remaining bug from <a href="#xterm_230">patch
#230</a> changes for displaying multi-column characters in a
proportional font (report by Chris Jones).</li>
<li>add new resource forcePackedFont and menu entry "Packed
Font" to control whether to use the font's minimum (default) or
maximum width when those differ. The workaround which xterm
uses to accommodate proportional fonts is not necessary with
certain fonts such as unifont which happen to store a mixture
of multicolumn glyphs (report by Chris Jones).</li>
<li>fix an (old) bug which did not restart the timer for
blinking text if the only blinking text was temporarily
scrolled out of view, e.g., using the scrollbar.</li>
<li>fix an (old) flaw in the delete-line operation where the
text which is scrolled into view while the display is scrolled
up was not repainted.</li>
<li>improve delete-line and insert-line operations, retaining
selection when the selection does not intersect the
deleted/inserted lines.</li>
<li>fix an (old) off-by-one error when an application cleared
above the cursor position while the display was scrolled up,
that would leave an extra line of text uncleared.</li>
<li>fix a similar problem where the double-size attribute would
not be reset when clearing the screen while the display was
scrolled up.</li>
<li>fix an indexing error which would occur if an application
cleared a line while the display was scrolled up and was also
in UTF-8 mode (Redhat #524503). The error was from <a href=
"#xterm_228">patch #228</a> but more visible after changes from
<a href="#xterm_244">patch #244</a>.</li>
</ul>
<h1><a name="xterm_248" id="xterm_248">Patch #248 - 2009/9/11</a></h1>
<ul>
<li>fix an overlooked adjustment for selecting double-width
characters in the narrow-character configuration.</li>
<li>eliminate uses of <code>XTERM_CELL</code> and
<code>XTERM_CELLC</code> where an appropriate
<code>LineData</code> pointer is available.</li>
<li>correct expression in <code>okScrnRow</code> macro, making
selections give the length of lines below the visible screen
(report by Stuart Henderson).</li>
<li>correct logic used to improve performance of missing-glyph
check, which did not handle line-drawing characters (Debian
#545220).</li>
</ul>
<h1><a name="xterm_247" id="xterm_247">Patch #247 - 2009/8/30</a></h1>
<ul>
<li>add ifdef's and check for openpty() on DragonFly (patch by
Alex Hornung).</li>
<li>correct calculation for size of line's data block, which
was sometimes off-by-one when configured using
<code>--enable-16bit-chars</code> (report by H Merijn
Brand).</li>
<li>fix indexing error in print-everything feature from
<a href="#xterm_246">patch #246</a> (patch by Ovidiu
Gheorghioiu).</li>
</ul>
<h1><a name="xterm_246" id="xterm_246">Patch #246 - 2009/8/16</a></h1>
<ul>
<li>remove obsolete logic for saving/restoring wrapping flags,
which did not work on 64-bit platform. Wrapping flags (stored
in the line-index) are now copied with line-data (Debian
#541160).</li>
<li>modify comments in app-defaults files to avoid problem with
C preprocessor used by <code>xrdb</code> (Debian #541603).</li>
<li>restore special case in <code>makeColorPair</code>, needed
for <code>colorBDMode</code> resource (Debian #541089).</li>
<li>correct <code>SetLineFlags()</code> macro, broken in
<a href="#xterm_244">patch #244</a> when recoding to avoid
gcc-specific bitfields (Debian #541236).</li>
<li>modify initialization of screen buffers to ensure that
pointers align to int-boundaries. This fixes a problem
introduced in <a href="#xterm_244">patch #244</a> where the
color- and character-arrays (stored after the video-attributes
in each row) might be misaligned (report by Rajeev V
Pillai).</li>
<li>add limit-check in <code>ScrnRefresh</code> for handling
saved-lines from the circular buffer which are repainted on a
screen whose width has increased. To improve performance,
circular buffer entries are not resized (report by Rajeev V
Pillai).</li>
<li>correct type for <code>CellColor</code> (a late change in
<a href="#xterm_244">patch #244</a> to avoid gcc-specifc enums
made that unsigned rather than unsigned short, for the
256-color option).</li>
<li>fix typo in configure option --enable-16bit-chars (report
by Rajeev V. Pillai).</li>
</ul>
<h1><a name="xterm_245" id="xterm_245">Patch #245 - 2009/8/12</a></h1>
<ul>
<li>correct a special case in saving FIFO-lines from <a href=
"#xterm_244">patch #244</a>. If the screen was shrunk, xterm
used the wrong amount for copying to FIFO-lines, and then used
this amount to adjust the current row on the screen. That was
both a visible defect (Debian #541109) as well as a potential
addressing error (Debian #541132, Debian #541160, and Debian
#541236).</li>
<li>add clarification in xterm manual about the various
<code>allow<em>XXX</em>Ops</code> resources, which are disabled
when the <code>allowSendEvents</code> resource is active (patch
by Julien Cristau, Debian #531597).</li>
</ul>
<h1><a name="xterm_244" id="xterm_244">Patch #244 - 2009/8/9</a></h1>
<ul>
<li>refactored storage of saved-lines, providing a configure
option to manage them as a FIFO (actually a circular buffer),
improving performance. Added configure option
<code>--enable-fifo-lines</code> to enable/disable the new
feature (it is enabled by default).</li>
<li>added <code>fastScroll</code> resource, to amuse people who
measure terminal emulator performance by <code>cat</code>'ing
large files to the screen.</li>
<li>modify check in <code>readPtyData</code> from return values
to provide exit on zero-bytes read from pty for FreeBSD, or
eliminate high-CPU in "xterm-hold" processing (discussion with
Ulrich Spoerlein, FreeBSD ports/136686). The check was
originally modified to combine negative/zero values in
XFree86-3.1.2E, 1996/05/06.</li>
<li>add configure option <code>--enable-16bit-chars</code> to
provide wide-characters with 16-bits (rather than the default
32-bits).</li>
<li>add <code>retryInputMethod</code> resource to allow
configuring out the retries xterm uses to connect to
non-responsive XIM server, to work around defective X
configurations as noted in <a href=
"http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">
NetBSD mailing list</a>.</li>
<li>make regular-expression selection work for VT100
double-sized characters.</li>
<li>improve layout when drawing missing characters in a
proportional font, e.g., as boxes, to take into account whether
they are double-width (report by Guilbert Stabilo on
comp.unix.shell).</li>
<li>add capability for keypad-center (kb2/KA2) to termcap entry
for xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220
(FreeBSD conf/136336).</li>
<li>change default for <code>keepSelection</code> resource to
true (prompted by discussion with David Muir Sharnoff).</li>
<li>remove a limit-check in ptydata.c, allowing Unicode values
past 64k to be displayed using TrueType fonts (Debian
#458432).</li>
<li>remove a vt52-specific ifdef to allow mapping F1-F4 to
PF1-PF4 when vt52 support is not compiled (report by Olaf
'Rhialto' Seibert).</li>
<li>save/restore line-wrapping flags when converting from
ISO-8859-1 encoding to UTF-8 encoding, as well as when resizing
screen.</li>
<li>remove extra adjustment of position in fix for Debian
#418324.</li>
<li>modify default check for <code>mkWidth</code> resource to
check for line-drawing characters, which are categorized as
double-width in Solaris 10 (report by Sebastian Kayser).</li>
<li>add "print-everything" action (patch by Ovidiu
Gheorghioiu).</li>
<li>start refactoring scrollback data using new getLineData()
function.</li>
<li>demote recent change to Debian #252873 fix to experimental,
ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141).</li>
<li>work around groff mapping of ASCII quotes using macros
(requested by Reuben Thomas based on Colin Watson advice, fixes
Debian #378700).</li>
<li>correct symbol used for default of
<code>allowWindowOps</code> which was
<code>DEF_ALLOW_FONT</code> rather than
<code>DEF_ALLOW_WINDOW</code> (report by Matthieu Herrb).</li>
<li>amend fix for tek4014 from <a href="#xterm_243">patch
#243</a> to make it only apply to the Tek Options menu.</li>
</ul>
<h1><a name="xterm_243" id="xterm_243">Patch #243 - 2009/3/28</a></h1>
<ul>
<li>revert change to default for <code>allowTcapOps</code>
(request by Bram Moolenaar).</li>
<li>reallocate result returned by <code>xtermEnvLocale()</code>
to avoid reference to freed memory after handling
<code>menuLocale</code> resource.</li>
<li>fix an old (X11R5) bug in tek4014 for switching
fontsizes.</li>
<li>add resource <code>defaultString</code> to make
configurable the use of "#" when pastes of UTF-8 text fail due
to limitations in the current locale settings.</li>
<li>make the set of selection target Atom's configurable by two
new resources <code>eightBitSelectTypes</code> and
<code>utf8SelectTypes</code>, e.g., to use the
<code>TEXT</code> Atom in preference to
<code>UTF8_STRING</code> (discussion with Stanislav Sedov
regarding koi8rxterm and the FreeBSD port).</li>
<li>modify handling of <code>TARGETS</code> Atom by making it
return exactly the set of targets as those which xterm is
currently providing.</li>
<li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly
to /bin/cat in <code>minstall.sh</code> to work around
/etc/man.conf's with those variables already set (report by
Марьясин
Семён).</li>
<li>improve error-checking of tcap-query parser.</li>
<li>add check for keyboard <code>tcap</code>), which ensures
that terminal descriptions containing the same string for
shifted/unshifted keys will be seen by tcap-query as only the
unshifted key. (This would only happen with an incorrect
terminal description).</li>
<li>fix conversion for input event-state to modifier-parameter
which made tcap-query feature not work with
<code>tcapFunctionKeys</code> (keyboard type
<code>tcap</code>).</li>
<li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow
overriding the default compiled-in values for
"allow<em>xxx</em>" resources.</li>
<li>remove check on bell-percentage added in <a href=
"#xterm_242">patch #242</a>, which disallowed zero/negative
values (Redhat Bugzilla #487829).</li>
</ul>
<h1><a name="xterm_242" id="xterm_242">Patch #242 - 2009/2/15</a></h1>
<ul>
<li>fix configure check for <code>XkbBell</code> and provide
appropriate parameter for it.</li>
<li>fix a caching problem with double-size fonts versus reverse
video that could cause core dump.</li>
<li>repair double-size fonts from workaround used in <a href=
"#xterm_240">patch #240</a>.</li>
<li>add new section to the VT Fonts menu which allows enabling
or disabling the font, termcap (tcap-query), title and window
operations.</li>
<li>add <code>fontWarnings</code> resource, to control whether
to show warnings on failure to load a font.</li>
<li>improve warnings for unloadable fonts introduced in
<a href="#xterm_240">patch #240</a> by limiting those to the
cases where a font would be specified directly by a resource
setting rather than a derived fontname.</li>
<li>further amend fix for Debian #252873 from <a href=
"#xterm_197">patch #197</a> to treat a blank cell which does
not have both foreground and background colored as a
non-colored cell. This improves a special case where the cursor
is on a blank cell which had foreground color scrolled in
(report by Miroslav Lichvar).
<p>Also add the same logic when hiding cursor, so the outline
matches the in-focus cursor.</p>
</li>
<li>modify internals to reduce places PAIRED_CHARS() is used,
making WriteText() and ScrnWriteText() accept IChar array, as
well as providing a wrapper for drawXtermText().</li>
<li>change default XIM font from "*" to "fixed" to improve
startup time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla
#464930).</li>
<li>typo in #240 log (Slava Semushin)</li>
</ul>
<h1><a name="xterm_241" id="xterm_241">Patch #241 - 2009/1/26</a></h1>
<ul>
<li>improve checks for missing bitmap fonts, fallback to
"fixed" as needed to work around broken font-packages (report
by Jacek Luczak).</li>
<li>fix breakage from <a href="#xterm_240">patch #240</a>
changes for <code>xtermAddInput()</code> (patches by Jeff Chua,
Julien Cristau).</li>
</ul>
<h1><a name="xterm_240" id="xterm_240">Patch #240 - 2009/1/25</a></h1>
<ul>
<li>use <code>plink.sh</code> for linking xterm (suggested by
Larry Doolittle).</li>
<li>add resource descriptions for input method to xterm
manpage.</li>
<li>update configure script; consistently append to $CFLAGS
rather than prepend.</li>
<li>add <code>install-scripts</code> rule to makefile, to allow
koi8rxterm and uxterm scripts to be altered independently of
<code>install-bin</code></li>
<li>add <code>-maximized</code> command-line option and
corresponding resource (prompted by alt.os.linux newsgroup
comment).</li>
<li>modify translations of scrollbar widget using
<code>xtermAddInput()</code> (see <a href="#xterm_181">patch
#181</a>) to accept the actions that the vt100 widget accepts,
such as shift-insert to perform a paste operation (request by
Martin Zwickel).</li>
<li>change default for <code>allowTcapsOps</code> resource to
false, since it causes unexpected behavior for vim users with
<code>AltGr</code>.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_239" id="xterm_239">Patch #239 - 2009/1/8</a></h1>
<ul>
<li>correct a cast in input.c, which broke translation of
numeric keypad codes to pageup, pagedown, etc., on 64-bit
platform (Debian #511138, report by Larry Doolittle).</li>
</ul>
<h1><a name="xterm_238" id="xterm_238">Patch #238 -
2008/12/30</a></h1>
<ul>
<li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint
platforms.</li>
<li>reset the screen wrapping-flag at the end of
<code>ClearRight</code> to fix an occasional case where the
last character of a scrolled and wrapped line would be cleared
(patch by Joe Peterson).</li>
<li>modify to use POSIX coding for comparing resource settings
such as <code>locale</code>, to work with locales such as
Turkish (report by M Vefa Bicakci).</li>
<li>turn on configure <code>paste64</code> feature by default
(request by Jean-Philippe Bernardy). It is runtime
enabled/disabled with <code>allowWindowOps</code>.</li>
<li>turn on configure <code>tcap-query</code> feature by
default, add resource <code>allowTcapOps</code> to make this
runtime enabled/disabled.</li>
<li>make <code>OSC 3</code> (change X property, from <a href=
"#xterm_110">patch #110</a>) subject to
<code>allowWindowOps</code> resource.</li>
<li>make VT220 <code>DSR</code> responses inactive in
VT100-mode.</li>
<li>make <code>DECUDK</code> feature inactive in
VT100-mode.</li>
<li>respond to incorrectly formatted <code>DECRQSS</code> with
a cancel.</li>
<li>add <code>allowFontOps</code> resource to allow the
fontsize-switching and font query/set control sequences to be
enabled/disabled (prompted by Debian #510030).</li>
<li>some code cleanup based on gcc 4.x
<code>-Wconversion</code> warnings in button.c and
charproc.c</li>
<li>modify <code>tcap-query</code> feature to not return data
for shifted cursor-keys when the keyboard type is set to vt220,
since returning the same string for shifted/unshifted keys may
confuse some applications (Gentoo #212546).</li>
</ul>
<h1><a name="xterm_237" id="xterm_237">Patch #237 -
2008/09/14</a></h1>
<ul>
<li>improve usability of TrueType fonts by making the font-size
switching for shifted keypad plus/minus use the
<code>faceSize</code> resources to determine the order of fonts
(when TrueType fonts are used) rather than the bitmap fonts,
since their sizes may not be in the same order (report by H
Merijn Brand)</li>
<li>remove an optimization of <code>ConfigureNotify</code>
events from <a href="#xterm_236">patch #236</a> which seems to
interfere with passing <code>SIGWINCH</code> to applications
(Gentoo #233836).</li>
<li>modify handling of <code>altSendsEscape</code> to reset the
<code>eightBitInput</code> mode, like
<code>metaSendsEscape</code> (patch by Ted Phelps).</li>
<li>add feature to show the text-cursor as an underline rather
than a box, plus command-line options <code>-uc</code> and
<code>+uc</code> and resource <code>cursorUnderLine</code> to
control the feature (patch by Paul Lampert).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_236" id="xterm_236">Patch #236 -
2008/07/27</a></h1>
<ul>
<li>correct memory reallocation when handling a paste of UTF-8
text from <a href="#xterm_225">patch #225</a> changes
(report/patch by Max Mikhanosha).</li>
<li>correct allocation of temporary buffer in
<code>xtermFindShell</code> in case the user's
<code>$PATH</code> contains no ":" (report/analysis by Victor
Stinner, Freedesktop.Org Bugzilla #16790).</li>
<li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to
fix new compile problem exposed by fix for fd_mask (patch by
Hasso Tepper).</li>
<li>add configure-check for ncurses
<code>use_extended_names</code>, (report by Martin
Mokrejs).</li>
<li>correct computation for toolbar height; layout manager
already takes into account <code>borderWidth</code>
resource.</li>
<li>implement VT320-style SCS (select character set) for ISO
Latin-1 supplemental.</li>
<li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu
#230919).</li>
<li>fix to make <code>luit</code> work with xterm's
<code>-ls</code> option (report/patch by Marius Tolzmann).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_235" id="xterm_235">Patch #235 -
2008/04/20</a></h1>
<ul>
<li>add control sequences for some of the recent resource/menu
settings:
<ul>
<li><code>altSendsEscape</code> (private mode 1039)</li>
<li><code>keepSelection</code> (private mode 1040)</li>
<li><code>selectToClipboard</code> (private mode 1041)</li>
<li><code>bellIsUrgent</code> (private mode 1042)</li>
<li><code>popOnBell</code> (private mode 1043)</li>
</ul>
</li>
<li>add resource <code>formatOtherKeys</code> to provide an
alternate escape sequence format for the
<code>modifyOtherKeys</code> resource (request by Paul LeoNerd
Evans).</li>
<li>adjust saved-cursor position if the window is resized while
displaying the alternate screen (Novell #196880, Debian
#383384).</li>
<li>improve pointer-checks to fix a bug exposed by resizing
during initialization under StumpWM window manager (Fedora
Bugzilla #437928).</li>
<li>modify <code>unselectwindow()</code> to ensure that the
mouse pointer is not hidden after xterm loses focus (report by
Jeremy Huddleston).</li>
<li>add special check for fd_mask on Mac OS X (report by Jeremy
Huddleston).</li>
<li>add <code>dylib</code> to autoconf's suffix list used for
checking the result from <code>xmkmf</code>, to work with Mac
OS X (report by Jeremy Huddleston).</li>
<li>correct initialization of bold- and wide-, wide-bold fonts
which may be set via the <code>utf8Fonts</code> subresource
(Debian #347790).</li>
</ul>
<h1><a name="xterm_234" id="xterm_234">Patch #234 -
2008/03/02</a></h1>
<ul>
<li>modify <code>sinstall.sh</code> to use POSIX locale to
bypass GNU ls changes to date-format.</li>
<li>improved/refined changes for closing bitmap font (patch by
Andrea Odetti).</li>
<li>improve resize computation for situations where the
negotiation fails, by invoking the xterm widget's core-class
resize method (Debian #365602, patch by Jim Paris).</li>
<li>restore initialization of terminal's <code>VMIN</code> and
<code>VTIME</code> settings, from <a href="#xterm_232">patch
#232</a> changes (patch by Matthieu Herrb).</li>
</ul>
<h1><a name="xterm_233" id="xterm_233">Patch #233 -
2008/02/24</a></h1>
<ul>
<li>add configure check for <code>ttydefaults.h</code>, include
if needed, e.g., for systems where defining
<code>_POSIX_C_SOURCE</code>, etc., prevents it from being
included via <code>termios.h</code> (prompted by comments by
Robert Delius Royar and Jeremy Huddleston).</li>
<li>bug-fixes for bugs.opensolaris.org (patches from Alan
Coopersmith)
<dl>
<dt>4029911</dt>
<dd>fix a typo in manpage</dd>
<dt>4045962</dt>
<dd>xterm doesn't properly set ut_syslen</dd>
<dt>4192572</dt>
<dd>left-left-right misinterpreted as triple click</dd>
</dl>
</li>
<li>minor optimization to tab-initialization (patch by
Németh Márton).</li>
<li>fix a case where an incorrect font was freed during
initialization from <a href="#xterm_232">patch #232</a> changes
(patch by Andrea Odetti).</li>
<li>improve comparison used in <code>SameFont</code> function
for GC-caching (Julien Cristau).</li>
<li>correct macro name used for default <code>CKILL</code>
definition to work with Mac OS X (report by Jeremy
Huddleston).</li>
</ul>
<h1><a name="xterm_232" id="xterm_232">Patch #232 -
2008/01/30</a></h1>
<ul>
<li>corrected logic in a font-cache used for reverse-video
(Debian #404079).</li>
<li>add control sequence to alter <code>pointerMode</code> at
runtime.</li>
<li>add limit-checks for rectangle operation parameters (report
by Martin Pirker).</li>
<li>modify <code>minstall.sh</code> to suppress
<code>$MANPAGER</code> and <code>$PAGER</code> environment
variables, which may interfere with redirecting output of
<code>man</code> to a shell variable (report/patch by Zdenek
Sekera).</li>
<li>do not try to hide mouse pointer in the tek4014 window,
fixes broken "-t" option at startup from <a href=
"#xterm_230">patch #230</a> changes (report by Robert K.
Nelson).</li>
<li>correct datatype used when drawing tek4014 data using xterm
compiled for wide-characters, on big-endian machines (reports
by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel,
Merle Reinhart).</li>
<li>modify to cache the font-names along with the bitmap font
data, to improve comparison of fonts.</li>
<li>modify to allow building with configure options
<code>--disable-ansi-color</code> and
<code>--disable-leaks</code> (Debian #459817, report/patch by
Németh Márton).</li>
<li>modify to allow building with configure options
<code>--enable-wide-chars</code> and
<code>--disable-c1-print</code> (Debian #459816, report/patch
by Németh Márton).</li>
<li>add <code>pointerMode</code> resource to control whether
and when the pointer cursor is hidden as the user types.</li>
<li>simplify initialization of ttyMode- and related characters
using a table.</li>
<li>modify initialization-logic for stty values that correspond
to ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp,
rprnt flush, werase, lnext). These were reset to constants for
both termios and legacy interfaces immediately after asking the
system for the existing values since X11R6.1, rather than using
them to provide inherited values. While the legacy interface
has some constraints, e.g., on HPUX, the POSIX or termios
interface should not. Your shell may reset these anyway
(prompted by patch by Ed Schouten).</li>
<li>improve logic for hiding/displaying pointer-cursor (report
by Mark Brukhartz).</li>
<li>add limit-checks to tabs.c, increase maximum column for
setting tab-stops from 320 to 1024 (report by Németh
Márton).</li>
<li>correct length, i.e., number of types of selection targets,
computed by <code>ConvertSelection()</code> when not handling
wide characters for the <code>XA_TARGETS()</code> case. This
leaves an extra Atom on the end of the list which is not
handled by <a href=
"http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java
applications</a>. The problem was introduced in <a href=
"#xterm_151">patch #151</a> (report by David Wood).</li>
</ul>
<h1><a name="xterm_231" id="xterm_231">Patch #231 -
2008/01/05</a></h1>
<ul>
<li>undo change to <code>getXtermCell()</code> from patch #230
using <code>PACK_PAIR</code> macro (Debian #459014, analysis by
Caetano Jimenez Carezzato).</li>
<li>minor documentation fixes (patch by Slava Semushin)</li>
<li>add makefile actions to install KOI8RXTerm app-defaults
file (patch by Julien Cristau).</li>
</ul>
<h1><a name="xterm_230" id="xterm_230">Patch #230 -
2007/12/31</a></h1>
<ul>
<li>add <code>quietGrab</code> resource, which when true,
suppresses cursor repainting when <code>NotifyGrab</code> and
<code>NotifyUngrab</code> event types are received during
change of focus (request by Nicolas George).</li>
<li>do not treat Unicode BIDI control characters as combining
characters (Debian #457634).</li>
<li>add <code>koi8rxterm</code>, from Debian.</li>
<li>add manpage for <code>uxterm</code>, from Debian (Ubuntu
#128136, Debian #438645)</li>
<li>remove ".xpm" suffixes from Icon filenames in desktop files
since it confuses some lookups following the <a href=
"http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">
Icon Theme Specification</a> (report by Slava Semushin)</li>
<li>correct width-calculation used for adjusting proportional
fonts, to work with wide-characters (Debian #441354).</li>
<li>fixes/improvements for double-size characters:
<ul>
<li>correct old clipping calculation which used total
height of glyphs where ascent was needed.</li>
<li>if bold font is unavailable, fall back to normal
font</li>
<li>adjust to "work" with Xft (which does not support
double-width single-height characters).</li>
<li>restore reset of doublesize for a line when it is
cleared, broken in <a href="#xterm_228">patch
#228</a>.</li>
</ul>
</li>
<li>modify logic for <code>forceBoxChars</code> resource when
using TrueType fonts to be consistent with bitmap fonts</li>
<li>modify logic for <code>forceBoxChars</code> resource to
make the "Line-Drawing Characters" menu entry use xterm's
line-drawing characters even asked to draw wide line-drawing
characters which are available in the font.</li>
<li>modify rectangle-support functions to preserve colors when
filling/erasing to match WRQ Reflection behavior (request by
Enzo Toscano).</li>
<li>add getopt-parsing to tcapquery.pl, including feature to
test the extended cursor/editing keys.</li>
<li>make missing double-width glyphs display as double-width
(Debian #456236).</li>
<li>change <code>tcap-fkeys</code> and <code>rectangles</code>
configure options to enable them by default.</li>
<li>hide the mouse pointer while user is typing (request by
Rodolfo Borges).</li>
<li>extend configure options <code>--enable-tcap-query</code>
and <code>--enable-tcap-fkeys</code> to send cursor- and
editing-keypad keys modified according to the keyboard (or
termcap) selection for shift, alt, control, meta.</li>
<li>modify <code>kdch1</code> in termcap, e.g.,
<code>xterm-r6</code> to match the terminfo file.</li>
<li>add <code>-hm</code> option to turn
<code>highlightColorMode</code> on or off.</li>
<li>add <code>highlightColorMode</code> resource to separate
the new (since <a href="#xterm_225">patch #225</a>)
highlighting with both text- and background-colors (prompted by
report/example by Thomas Wolff).</li>
<li>add <em>Keep Selection</em> menu entry to turn the
<code>keepSelection</code> resource on/off at runtime.</li>
<li>add <code>keepSelection</code> resource, which when
enabled, tells xterm to retain the X selection even after it
stops highlighting it (patch by Sergey Vlasov).</li>
<li>extend the <code>CSI > n</code> sequence to
allow disabling all types of modified-keys that the
<code>CSI > m</code> sequence affects.</li>
<li>move include for <code><xtermcap.h></code> in
<code>resize.c</code> to avoid redefinition of
<code>termios</code> structure on OpenSolaris (report by Rahul
Gopinathan Nair).</li>
<li>extend terminfo building blocks for modified editing keys
to include all six keys.</li>
<li>synchronize terminfo with ncurses (report by Stephane
Chazelas)
<ul>
<li>equate <code>xterm-xfree86</code> and
<code>xterm-xf86-v44</code>.</li>
<li>add ncurses extensions OTbs, AX, for termcap
conversions.</li>
<li>make old/legacy entries such as <code>xterm-24</code>,
<code>xterm-65</code> and aliases <code>xterms</code>,
<code>vs100</code> inherit from
<code>xterm-old</code>.</li>
<li>make <code>xterm-r5</code> and <code>xterm-r6</code>
the same, ignoring historical errors in X Consortium's
version.</li>
</ul>
</li>
<li>fix an ifdef in logic for selecting regular expressions
while in a narrow-character locale (Debian #449227).</li>
</ul>
<h1><a name="xterm_229" id="xterm_229">Patch #229 - 2007/8/12</a></h1>
<ul>
<li>override locale in minstall.sh; change in <a href=
"#xterm_226">patch #226</a> does not work in UTF-8 locale
(report by Zdenek Sekera).</li>
<li>undo an incorrect fix for a memory leak in <a href=
"#xterm_209">patch #209</a> (Debian #435858).</li>
</ul>
<h1><a name="xterm_228" id="xterm_228">Patch #228 - 2007/7/22</a></h1>
<ul>
<li>modify configure script to permit combining
<code>--with-utempter</code> and <code>--enable-setuid</code>,
e.g., for using xterm with the utempter library on FreeBSD
(report by Andriy Gapon).</li>
<li>modify "Quit" menu entry to override the <code>-hold</code>
command-line option.</li>
<li>add a check in the startup error-reporting to avoid writing
to pipe when it has not been opened. In that case, report
errors directly to the standard error.</li>
<li>add OPT_READLINE definition to xtermcfg.hin, overlooked in
<a href="#xterm_205">patch #205</a> (report by Kalle Olavi
Niemitalo).</li>
<li>modify <code>88colors2.pl</code> and
<code>256colors2.pl</code>, adding <code>-r</code> option to
reverse the palettes for the extended colors.</li>
<li>check for partial overwrite or deletion of multi-column
characters in several cases, e.g., insert-character,
delete-character, etc., and fill the remainder of the cells
used by the multi-column characters affected with blanks.</li>
<li>correct character-class codes in wide-character mode for
characters 215, 247 (see also <a href="#xterm_165">patch
#165</a>).</li>
<li>fix missing assignment for UTF-8 parsing in widget
initialization (Debian #403360).</li>
<li>correct index expression used to set line-wrapping flag,
making selection from scrollback work consistently (Debian
#430121, report by Vincent Lefèvre).</li>
<li>amend changes to handshake in <a href="#xterm_226">patch
#226</a> to accommodate Solaris, which relies on the extra
setting of the terminal size after I/O initialization. Do this
by adding new resource <code>ptySttySize</code>, which is false
for Linux and MacOS X, i.e., true for for Solaris and other
SVR4 platforms, as well as FreeBSD (reports by David Wood,
Renato Botelho).</li>
<li>check for X events after cursor-left, and carriage return,
consistent with indexing operations (comments by Vegard Nossum
and Ingo Molnar on a mailing-list).</li>
<li>initialize the <code>.keyboard</code> structure, needed for
some platforms (such as Solaris) after <a href=
"#xterm_227">patch #227</a> fixes for keysyms (patch by David
Wood).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_227" id="xterm_227">Patch #227 - 2007/6/27</a></h1>
<ul>
<li>exclude the Intel compiler from the extra gcc warning
options added in <a href="#xterm_226">patch #226</a>.</li>
<li>modify change for Debian #422521 from <a href=
"#xterm_226">patch #226</a> to work with configurations where
the X server does not recognize the <code>XF86Paste</code> or
<code>SunPaste</code> keysyms (report by Paolo Pumilia).</li>
<li>fix incorrect free in fix for "Selection" menu entry in
<a href="#xterm_226">patch #226</a>.</li>
</ul>
<h1><a name="xterm_226" id="xterm_226">Patch #226 - 2007/6/17</a></h1>
<ul>
<li>add configure check to use
<code>-Wno-unknown-pragmas</code> for Solaris, and a few other
new gcc warning options to address regressions in its warning
options.</li>
<li>add sample desktop and icon files, along with configure
options for manipulating them.</li>
<li>fix an infinite loop when showing a 2-column character in a
1-column screen (Debian #426863).</li>
<li>add <code>XF86Paste</code> and <code>SunPaste</code> to the
default translations (Debian #422521, patch by Bernhard R
Link).</li>
<li>update wcwidth.c (partly based on/prompted by mailing list
comment).</li>
<li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and
Xorg 7.1 keysymdef.h file.</li>
<li>improve <code>gen-pc-fkeys.pl</code>, making it show all of
the building-block terminfo entries used by xterm.</li>
<li>correct strings used for modifiers applied to F1-F4 in
xterm+pcf1 terminfo entry.</li>
<li>improve session management by adding the ICE connection
number to the <code>select</code> call rather than waking up
once per second (patch by Miroslav Lichvar).</li>
<li>add environment variable <code>$XTERM_LOCALE</code> to help
with shell initialization, e.g., to set a specific locale for
xterm on systems where a global locale is set in the shell
startup scripts.</li>
<li>add resource settings <code>mkSampleSize</code> and
<code>mkSamplePass</code> to modify the <code>mkWidth</code>
added in <a href="#xterm_201">patch #201</a>. In <a href=
"#xterm_202">patch #202</a>, xterm would also check if the
system's <code>wcwidth</code> matched its built-in tables "well
enough" to be used when <code>mkWidth</code> was false, and if
not would use the built-in tables anyway. These resources allow
the user to customize the decision (prompted by comments by
Emanuele Giaquinta)</li>
<li>modify logic which resets/updates the screensize on the
child process side of the pseudo-terminal to do this only if a
successful handshake was received, e.g., as determined by the
<code>waitForMap</code> resource (prompted by reports by
Emanuele Giaquinta and Bernhard R Link, but see also <a href=
"#xterm_177">patch #177</a> and <a href="#xterm_159">patch
#159</a>.</li>
<li>improve permissions logic when closing pseudo-terminal
(Debian #12261, patch by Nathanael Nerode, analysis by Richard
Braakman).</li>
<li>add resource <code>highlightReverse</code> which controls
whether xterm will allow selection highlighting to hide
reverse-video or use the older behavior which inverts the
foreground and background colors when selected text with
reverse-video attribute (report by Adam M Costello, comments by
Victor Vaile).</li>
<li>restore a special case for cursor-color in
<code>ReverseVideo()</code> lost in rewrite for <a href=
"#xterm_224">patch #224</a> (report by Adam Sulmicki).</li>
<li>correct initialization for menu entry for
<code>bellIsUrgent</code> (patch by Emanuele Giaquinta).</li>
<li>correct length of underlining for double-width Xft fonts
(report by Shidai Liu "Leo").</li>
<li>correct clipping for double-width Xft fonts (report by
Shidai Liu "Leo").</li>
<li>modify initialization for <code>italicULMode</code> to
avoid <code>XftPatternBuild</code> reusing bold attributes
(report by Shidai Liu "Leo").</li>
<li>add a check in case someone tries to call the
<code>popup-menu()</code> action on a menu which is not
initialized (Debian #426364).</li>
<li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by
Peter Bray).</li>
<li>improve guess for X's manpage section in
<code>minstall.sh</code>, (prompted by comment by Miroslav
Lichvar).</li>
<li>modify <code>minstall.sh</code> to handle manpage patch
with more than one dot (patch by Miroslav Lichvar).</li>
<li>fix configure message for --disable-setgid option (patch by
Miroslav Lichvar).</li>
<li>add <code>allowTitleOps</code> resource to allow users to
prevent the title- and icon-names from changing (request by
John Bashinski).</li>
<li>fix "spawn-new-terminal" action, for the case where no
parameter is passed to the action (patch by Daniel
Colascione).</li>
<li>fix error-checking on internal font switching for
"Selection" menu entry (Debian #421523).</li>
<li>amend select/paste change from <a href="#xterm_225">patch
#225</a> by limiting it to non-UTF-8/non-KOI8-R encoding
(Debian #420974).</li>
<li>add workaround for groff ".URL" codes which are not present
in some commonly-used bitmap fonts (Debian #418324).</li>
</ul>
<h1><a name="xterm_225" id="xterm_225">Patch #225 - 2007/3/24</a></h1>
<ul>
<li>add <code>useClipping</code> resource to allow clipping to
be disabled.</li>
<li>use <code>XftDrawSetClipRectangles</code> to work around
Xft pixel-trash (report by Reuben Thomas).</li>
<li>add configure option <code>--enable-tcap-fkeys</code>, and
resource <code>tcapFunctionKeys</code>, which can be used to
tell xterm to use function-key definitions from the termcap (or
terminfo) which it uses to set $TERM on startup.</li>
<li>add resources <code>altIsNotMeta</code> and
<code>altSendsEscape</code> to allow one to use Alt-keys like
the meta-key even if they are bound to different keycodes
(prompted by discussion with Daniel Jacobowitz).</li>
<li>revert a change from <a href="#xterm_216">patch #216</a>
that unnecessarily made the meta modifier override the
<code>eightBitInput</code> resource if the alt- and
meta-modifiers happened to overlap (report/patch by Daniel
Jacobowitz).</li>
<li>correct associated font for active icon for colored text
(broken in <a href="#xterm_224">patch #224</a>).</li>
<li>correct ifdef's for Darwin (patch by Emanuele
Giaquinta).</li>
<li>add <code>highlightTextColor</code> resource, and options
<code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code>
(adapted from patch by Victor Vaile).</li>
<li>revise <code>find_closest_color()</code> function to
address concern about borrowing from <code>Tcl/Tk</code>
(request by Dan McNichol).</li>
<li>add "spawn-new-terminal" action, which can be assigned to
key translation, allowing one to spawn a new copy of xterm
using the current process's working directory (adapted from
patch by Daniel Colascione).</li>
<li>improve select/paste between UTF-8 and Latin1 xterms by
adapting the translations from <a href="#xterm_185">patch
#185</a>. Extend that to include Unicode fullwidth forms
FF00-FF5E. Also modify select/paste of DEC line-drawing
characters in Latin1 mode to use ASCII characters.</li>
<li>add "Enable Bell Urgency" to VT Options menu, removed
"Enable Margin Bell".</li>
<li>add <code>bellIsUrgent</code> resource to control whether
the Urgency hint is set/reset.</li>
<li>modify to set Urgency window manager hint on bell, reset it
on Focus-In event (patch by Emanuele Giaquinta).</li>
<li>add <code>--disable-setgid</code> configure option (request
by Miroslav Lichvar).</li>
<li>fix a possible infinite loop in last change to
<code>dabbrev-expand()</code> (patch by Emanuele
Giaquinta).</li>
<li>modify initialization to set the pty erase value if the
<code>erase</code> is set in the <code>ttyModes</code>
resource. This overrides the <code>ptyInitialErase</code>
setting (request by Lluís Batlle i Rossell).</li>
<li>add <code>initialFont</code> resource to xterm widget, like
tek-widget (Debian #299669).</li>
<li>amend change to <code>boldMode</code> from <a href=
"#xterm_223">patch #223</a> for Debian #347790. As noted in
Debian #412599, that made xterm no longer match the documented
behavior. Add new resource <code>alwaysBoldMode</code> to allow
overriding the comparison between normal/bold fonts when
deciding whether to use overstriking to simulate bold
fonts.</li>
<li>restore background color in ClearCurBackground(), omitted
in changes for <a href="#xterm_223">patch #223</a> (report by
Miroslav Lichvar).</li>
<li>correct logic for repainting double-width TrueType
characters (prompted by test-case for Novell #246573).</li>
<li>add a check to avoid trying to repeat a multibyte character
(report by Sami Farin).</li>
<li>modify parameter to <code>XftNameParse()</code> to select
wide face-name as needed, to make <code>-fd</code> option work
(patch by Mike Fabian, Novell #246573).</li>
<li>correct logic for mouse highlight tracking's abort
sequence, broken in a restructuring modification from <a href=
"#xterm_224">patch #224</a> (report by Thomas Wolff).</li>
<li>revert the simplification of blinking cursor, since that
broke the xor'ing introduced in <a href="#xterm_193">patch
#193</a> (report by Thomas Wolff).</li>
</ul>
<h1><a name="xterm_224" id="xterm_224">Patch #224 - 2007/2/11</a></h1>
<ul>
<li>simplify code for set/reset mode for blinking cursor (patch
by Emanuele Giaquinta).</li>
<li>modify <code>dabbrev-expand()</code> to restart after the
last match (patch by Emanuele Giaquinta).</li>
<li>add control sequences for enabling/disabling focus in/out
event reporting (request by Bram Moolenaar).</li>
<li>improve startup performance of menus by adding resource
setting <code>menuLocale</code> which can be set to override
X's lengthy initialization of fontsets - which are seldom used
for the <code>Xaw</code> popup menus (adapted from patch by
Dave Coffin).</li>
<li>modify <code>do_precomposition()</code> function and
<code>make-precompose.sh</code> to handle 21-bit codes vs the
16-bit codes those were written for, and fix a few mis-sorted
codes (patch by Thomas Wolff).</li>
<li>handle special case in <code>-cjk_width</code> which
unexpectedly caused a character's width to change when a
combining character (patch by Thomas Wolff)</li>
<li>fix build for GNU/KFreeBSD (Debian #40111).</li>
<li>consolidate GC creation/updating into a single module to
reduce GC manipulation (prompted by Debian #389476, though a
complete fix would involve optimizing the scrolling
behavior).</li>
<li>fix ifdef of xtermCellWidth(), which broke for a case
without TrueType and without wide-character support (report by
Martin Pirker).</li>
<li>undo a comparison in
<code>handle_translated_exposure</code> which did not work due
to X server optimization. That caused the inner border to be
repainted with unexpected colors when handling a repaint, e.g.,
after switching to/from another workspace (Debian #401726,
Redhat Bugzilla #223027).</li>
<li>allow <code>-cr</code> option to override cursor color when
<code>-ah</code> option is used (Debian #406502).</li>
<li>add a note in xterm's manpage explaining that the
<code>-bw</code> (or <code>-w</code>) option is only used by
the window manager, if at all (Debian #405043).</li>
<li>make <code>Selection</code> of <code>VT Fonts</code>
work with <code>selectToClipboard</code> resource.</li>
<li>correct length calculation for <code>Selection</code> entry
of <code>VT Fonts</code> menu, broken since it ignored the
actual selection length since X11R4.</li>
<li>fixes for fontsize changes with <code>-fa</code> option
(Redhat Bugzilla #222340).</li>
</ul>
<h1><a name="xterm_223" id="xterm_223">Patch #223 -
2006/11/30</a></h1>
<ul>
<li>add <code>--enable-rectangles</code> configure option
(request by Martin Pirker).</li>
<li>correct default value for <code>--with-symlink</code>
configure option.</li>
<li>fixes configure script macros that use
<code>$X_EXTRA_LIBS</code>.</li>
<li>modify configure script to provide support for pre-package
config versions of Xft aka "FreeType".</li>
<li>add the Xaw scrollbar translations resource to the xterm
manpage, add an example showing how to change the mouse button
assignments (Debian #382225).</li>
<li>amend a change from <a href="#xterm_216">patch #216</a>,
which omitted modifiers for control, meta, etc., if they were
mixed with any other modifiers. The intent of the change was to
avoid confusion with <code>XK_Mode_switch</code> and
<code>XK_ISO_Level3_Shift</code>; the check is now done
explicitly (report by Daniel Jacobowitz).</li>
<li>interpret a negative value for
<code>modifyCursorKeys</code> or
<code>modifyFunctionKeys</code> resources to disable the
respective features (prompted by Novell #220728).</li>
<li>amend cell-width computation for FreeType from <a href=
"#xterm_217">patch #217</a>, which did not work for VT100
line-drawing characters (Debian #399638, Gentoo #147111).</li>
<li>amend a change from <a href="#xterm_216">patch #216</a>,
which made alt-modifier on a cursor-key send a modifier
parameter (Novell #220728).</li>
<li>correct an off-by-one that made DECCRA not work
(report/patch by Martin Pirker).</li>
<li>revert an optimization in SGR_Foreground() and
SGR_Background from <a href="#xterm_209">patch #209</a> (Debian
#347722, analysis by Pierre Lombard).</li>
<li>fix for <code>boldMode</code> (Debian #347790, patch by Tim
Pope).</li>
<li>amend fix for <code>-iconic</code> in <a href=
"#xterm_208">patch #208</a>, which broke the positioning part
of <code>-geom</code> with toolbar configuration.</li>
<li>fix to prevent indexing error in regular expressions (patch
by Dennis Schneider).</li>
<li>fixes to make the <code>internalBorder</code> area not
change color due to reverseVideo and/or related exposure
events. The latter was a very old bug exposed in <a href=
"#xterm_196">patch #196</a> (report by Neil Hoggarth, also
Debian #397624).</li>
</ul>
<h1><a name="xterm_222" id="xterm_222">Patch #222 -
2006/10/17</a></h1>
<ul>
<li>minor optimization for recoloring cursor via dynamic
colors.</li>
<li>fix a bug caused by restructuring of tek4014 widget (report
by Paul Schenkeveld)</li>
</ul>
<h1><a name="xterm_221" id="xterm_221">Patch #221 - 2006/10/1</a></h1>
<ul>
<li>fix for regular expressions: the code which converted the
column offset within a line did not check properly for the end
of a line, and if allowed to match the whole line, would select
the beginning of the following line. If the following line were
empty, in turn it would select from the next, etc. (report by
Sean Reifschneider).</li>
<li>minor optimization of color allocation to avoid repainting
the screen if the corresponding color had not been
allocated.</li>
<li>fixes for vttests/256colors.pl (report by Egmont
Koblinger).</li>
<li>add terminfo building block entries for modifiers of the
6-key editing keypad.</li>
<li>fix for initialization of tek4014 which broke on QNX
6.1</li>
</ul>
<h1><a name="xterm_220" id="xterm_220">Patch #220 - 2006/9/10</a></h1>
<ul>
<li>make "xterm -t -iconic" work as expected, i.e., start in
tek4014 mode, but iconified.</li>
</ul>
<h1><a name="xterm_219" id="xterm_219">Patch #219 - 2006/9/4</a></h1>
<ul>
<li>some internal restructuring to separate data for vt100 and
tek4014 widgets.</li>
<li>fix a few cases where form-events would be seen by the
vt100 widget when built with the toolbar configuration.</li>
</ul>
<h1><a name="xterm_218" id="xterm_218">Patch #218 - 2006/8/27</a></h1>
<ul>
<li>change behavior when encountering an illegal character in a
title string. Rather than reject the string, translate illegal
characters into "?" and use the string (requested by Thomas
Wolff).</li>
<li>improve checks for nonprinting characters in title strings
(report by Samuel Thibault).</li>
<li>correct typo in menu labels, changing
<code>print-redirect</code> to <code>print-redir</code>, making
it follow the manpage and match the usage for the actions table
(report by Samuel Thibault).</li>
<li>correct a typo that prevents building with some older
systems such as Solaris 2.6 (report by Julian Bridle).</li>
</ul>
<h1><a name="xterm_217" id="xterm_217">Patch #217 - 2006/8/20</a></h1>
<ul>
<li>minor improvements to FreeType font layout and
drawing.</li>
<li>add a check in the ptyInitialErase logic to ensure that the
termcap was read (Redhat Bugzilla #201246).</li>
<li>limit changes for reverse-video from <a href=
"#xterm_216">patch #216</a> to cases where the reverse-video
command-line option is used (report by Zdenek Sekera).</li>
<li>correct bitmap-derived pointsizes for TrueType fonts; they
should be proportional to the square root of the area of the
bitmap fonts.</li>
<li>add resources to specify pointsize of TrueType fonts
(request by Reuben Thomas).</li>
<li>improve install of terminfo by filtering out harmless
messages related to extended capabilities. At the same time,
use ncurses tic to compile the extended capabilities if
possible (report by Zdenek Sekera).</li>
<li>update "xterm+pcfkeys" terminfo entry to correspond to
<a href="#xterm_216">patch #216</a>.</li>
</ul>
<h1><a name="xterm_216" id="xterm_216">Patch #216 - 2006/8/3</a></h1>
<ul>
<li>improve handling of <code>ConfigureNotify</code> events by
checking if there are further events in the queue which
obsolete the current one (adapted from rxvt 2.7.5). Only the
normal normal (non-toolbar) configuration is addressed in this
patch.</li>
<li>several changes to terminfo:
<ul>
<li>incorporate some minor changes from ncurses to help
keep these synchronized:
<dl>
<dt>2005-02-26</dt>
<dd>modify sgr/sgr0 in xterm-new to improve tgetent's
derived "me".</dd>
<dt>2006-02-18</dt>
<dd>remove ncv flag from xterm-16color</dd>
<dt>2006-06-24</dt>
<dd>improve xterm-256color by combining the 16-color
setaf/setab strings with SGR 48, and cancelling the
setf/setb strings.</dd>
</dl>
</li>
<li>use extended function-key definitions for xterm-sun,
xterm-sco entries.</li>
<li>add terminfo building-blocks corresponding to the
<code>modifyFunctionKeys</code> and
<code>modifyCursorKeys</code> resources.</li>
</ul>
</li>
<li>ifdef'd Sun function-key feature to make it optional, like
HP and SCO.</li>
<li>extend table for termcap-query feature through F63, and
updated tcapquery.pl to match.</li>
<li>modify logic for function-key input processing to allow
function key numbers which are constructed by control- and
shift-modifiers to extend beyond X's hardcoded limit of
35.</li>
<li>add control sequence to set or reset the
<code>eightBitInput</code> resource.</li>
<li>change default resource <code>modifyFunctionKeys</code> to
2 to avoid sending SS3 with parameters (report by Kalle Olavi
Niemitalo).</li>
<li>add control sequences for setting and resetting the values
of the <code>modifyCursorKeys</code>,
<code>modifyFunctionKeys</code> and
<code>modifyOtherKeys</code> resources.</li>
<li>add <code>modifyFunctionKeys</code> resource like
<code>modifyCursorKeys</code>. Setting this to zero allows one
to use the control- and shift-modifiers to construct function
key strings, for terminals using many function keys, e.g., for
<code>xterm-sun</code> or <code>xterm-sco</code>.</li>
<li>modify screen responses and function-key logic to reduce
the number of writes made, to make it less likely that an
application would read only part of a function-key in a read
operation (suggested by John E Urbanczyk).</li>
<li>add <code>combiningChars</code> resource, which allows the
user to specify the maximum number of combining characters that
xterm will store for each cell in wide-character mode (prompted
by request by Markus Kuhn to increase the limit from 2).</li>
<li>improve logic in <code>metaSendsEscape</code> in case the
Alt- and Meta-keys are mapped to different modifiers. That
allows one to use the Alt-key for shifting in the
<code>eightBitInput</code> and use a Meta-key modifier to
prefix the result with an <code><ESC></code>.</li>
<li>improve <code>modifyCursorKeys</code> logic to prevent it
from modifying codes where <code>eightBitInput</code> or
<code>metaSendsEscape</code> are set (request by Dan
Nicolaescu).</li>
<li>improve <code>modifyCursorKeys</code> logic to prevent it
from changing the user input when other modifiers such as AltGr
are used (report by Thomas Wolff).</li>
<li>extend <code>modifyCursorKeys</code> to include the numeric
keypad when in application mode.</li>
<li>improve <code>-reverse</code> (<code>-rv</code>) option
(patch by Jason Vas Dias, Redhat #189161).</li>
<li>workaround for color resources on Fedora-5 which made the
toolbar colors inconsistent.</li>
<li>corrected calls used for <code>--disable-setuid</code>
option, add debugging traces to help diagnose this area.</li>
<li>modify configure script to ensure that
<code>USE_UTMP_SETGID</code> is defined only if the check for
POSIX saved-ids succeeds, or corresponds to one of the BSD
systems known to have a workable <code>setegid</code>
function.</li>
<li>extend configure check for POSIX saved-ids to include BSD
systems</li>
<li>modify CF_SYSV configure macro to work with gcc on HPUX
10.20, whose broken <code><term.h></code> relies on
including <code><termios.h></code>.</li>
<li>change order of setuid/setgid ifdef checks in Imakefile to
make it simpler to produce a setgid install, allowing the
latter to override the former (prompted by an XFree86
commit).</li>
<li>adapt a fix for setgid support from subsequent XFree86
changes (patch by Emanuele Giaquinta).</li>
<li>further improve setgid support (patches by Emanuele
Giaquinta).</li>
</ul>
<h1><a name="xterm_215" id="xterm_215">Patch #215 - 2006/6/19 -
XFree86 4.6.99.2</a></h1>
<ul>
<li>improve setgid support by exploiting the saved-ids feature
on which it relies (patch by Emanuele Giaquinta).</li>
<li>make the <code>modifyOtherKeys</code> resource disabled by
default since the intermediate setting altered some common
bindings (report by Emanuele Giaquinta).</li>
</ul>
<h1><a name="xterm_214" id="xterm_214">Patch #214 - 2006/6/18 -
XFree86 4.6.99.2</a></h1>
<ul>
<li>modify makefile rule for ctlseqs.txt to strip
backspace/overstrikes, and add a copy of ctlseqs.txt to the
source tarballs (requests by Bram Moolenaar, Emanuele
Giaquinta).</li>
<li>add <code>modifyOtherKeys</code> resource, analogous to the
<code>modifyCursorKeys</code> resource. This applies to keys
that normally would transmit nothing when a given modifier is
applied (request by Dan Nicolaescu).</li>
<li>add <code>default</code> to the acceptable values for the
<code>keyboardType</code> resource, allowing the
<code>-kt</code> command-line option to override app-defaults
resource settings of <code>sunKeyboard</code>, etc.</li>
<li>correct ifdef's for <code>XkbBell()</code> which used the
header file but not the corresponding function in <a href=
"#xterm_175">patch #175</a> (report by Zach Beane).</li>
<li>add xterm manpage to the <code>--with-symlink</code>
logic.</li>
<li>regenerated configure script to omit some debugging
artifacts of the SIGWINCH test.</li>
<li>fix <code>install-man</code> rule in
<code>Makefile.in</code> to avoid including the
<code>$(DESTDIR)</code> value in substitutions made on the
manpages (patch by Emanuele Giaquinta).</li>
<li>improved fix for cursor deallocation (Redhat #186935, patch
by Jason Vas Dias).</li>
<li>improve checks for setuid/setgid operation to accommodate
limited resource management in some kernels (Gentoo
#193238).</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_213" id="xterm_213">Patch #213 - 2006/4/30 -
XFree86 4.5.99.905</a></h1>
<ul>
<li>minor optimization to cell layout; will use that to
simplify some logic and allow for more than two combining
characters in another patch.</li>
<li>add <code>utf8Latin1</code> resource to make optional the
feature from <a href="#xterm_209">patch #209</a> which allowed
ISO-8859-1 fonts to be used in cases where a wide font was
given. This would only work for the special case where the user
normally used Latin-1 and wanted some wide characters (report
by Rostislav Krasny).</li>
<li>add <code>utf8Title</code> resource to manpage (Novell
#52655).</li>
<li>fix typo in table entry for <code>utf8Title</code> resource
which made it treated as an integer rather than boolean (patch
by Mike Fabian, Novell #52655).</li>
</ul>
<h1><a name="xterm_212" id="xterm_212">Patch #212 - 2006/4/9 -
XFree86 4.5.99.904</a></h1>
<ul>
<li>improve description of <code>forceBoxChars</code> in
manpage (discussion with Joe Wells).</li>
<li>set checkmark for "Select To Clipboard" menu entry on
startup, from resource setting.</li>
<li>update manpage to note that
<code>*customization:color</code> is not needed, though it is
useful (Redhat #188034).</li>
<li>add underscore to sample pattern for URL in
<code>XTerm.ad</code> (Redhat #188037).</li>
<li>modify install rule for manpage to use the configured
app-defaults directory (Redhat #188031).</li>
<li>add checks in <code>releaseCursorGCs()</code> to ensure
GC's are distinct, needed since memory leak changes for
<a href="#xterm_208">patch #208</a> (Redhat #186935, patch by
Jason Vas Dias).</li>
<li>modify <code>Imakefile</code> definitions to allow
<code>imake</code> to set <code>InstallXtermSetGID</code>. Add
symbol <code>InstGidFlags</code>.</li>
<li>add configure script check to ensure that SIGWINCH if
defined even when headers undefine this as a side-effect of
<code>_POSIX_C_SOURCE</code>, etc.</li>
<li>resync with XFree86 CVS
<ul>
<li>ifdef-out chmod of terminal device for OS/2 (XFree86
#1663, Frank Giessler).</li>
<li>move new <code>Imakefile</code> chunk which defines
<code>$(CSGIDFLAGS)</code> before DEFINES, e.g., for IRIX64
(Marc La France).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_211" id="xterm_211">Patch #211 - 2006/3/19 -
XFree86 4.5.99.902</a></h1>
<ul>
<li>modify prefix/suffix transformation in makefile to make
<code>uxterm</code> install properly on Cygwin.</li>
<li>restore the sizeof-comparison for <code>struct
lastlog</code> added in <a href="#xterm_208">patch #208</a>,
rendered (mostly) obsolete in <a href="#xterm_210">patch
#210</a>, since an imake configuration can still turn that code
on (prompted by comment by David Dawes).</li>
<li>remove feature for <code>FreeBSDArchitecture</code> from
<code>Imakefile</code> which would install xterm using the
<code>utmp</code> group since a standard FreeBSD system has no
such group, though it would support this configuration. FreeBSD
packager uses the <code>configure</code> script, which can make
the appropriate check (prompted by comment by David
Dawes).</li>
<li>fixes for gcc redefinition warnings when built using imake
(reports by David Dawes, Marc La France).</li>
</ul>
<h1><a name="xterm_210" id="xterm_210">Patch #210 - 2006/3/12 -
XFree86 4.5.99.902</a></h1>
<ul>
<li>add configure check for workaround in <a href=
"#xterm_208">patch #208</a> for Solaris' inconsistent support
for struct lastlog to quiet compiler warnings (prompted by
David Dawes commit message for XFree86).</li>
<li>fixes for BASE64 selection manipulation, e.g., ensure that
the string terminator is written after cut-buffer data (report
by Joe Allen).</li>
<li>add vttests/paste64.pl script to test experimental option
for setting/getting selection data.</li>
<li>add some error-checking in fontutils.c (prompted by David
Dawes commit message for XFree86).</li>
<li>change xterm manpage to show the actual color resource
names <code>XtDefaultForeground</code> and
<code>XtDefaultBackground</code> rather than black and white
(prompted by discussion with Emanuele Giaquinta).</li>
<li>add <code>utf8Title</code> resource and menu entry,
allowing the user to control whether title strings are
interpreted as ISO-8859-1 or UTF-8 encoding (Novell #52655,
Novell #113206).</li>
<li>change order of ifdef's for utempter versus platforms in
<code>Imakefile</code> to ensure a proper value for
<code>InstallXtermSetGID</code> (prompted by Marc La France
commit message for XFree86).</li>
<li>update the cursor GCs when menu entry for reverse video is
toggled. (Redhat #183993).</li>
<li>a memory-leak fix for <code>set_cursor_gcs()</code> in
<a href="#xterm_208">patch #208</a> broke the <code>-cm</code>
option (Redhat #182382).</li>
</ul>
<h1><a name="xterm_209" id="xterm_209">Patch #209 - 2006/2/12 -
XFree86 4.5.99.22</a></h1>
<ul>
<li>remove <code>setf</code> and <code>setb</code> from
<code>xterm-256color</code> terminfo entry to avoid issues with
applications that ignore the ANSI strings (report by Emanuele
Giaquinta).</li>
<li>remove obsolete references to "Xorg" to avoid confusion
with "X.org" (prompted by David Dawes commit message for
XFree86).</li>
<li>improve initial layout performance for the toolbar
configuration by precalculating the height of the toolbar.</li>
<li>remove menu entry for "Enable Curses Emulation" (to make
room for "Select To Clipboard").</li>
<li>add resource <code>selectToClipboard</code>, action
<code>set-select</code> and a menu entry to allow users to
switch between PRIMARY and CLIPBOARD for select/paste.</li>
<li>allow cursor to have the same color as foreground (text),
since it is rendered as reverse (Debian #350664).</li>
<li>amend change for loading <code>utf8Fonts</code> resource
from <a href="#xterm_204">patch #204</a> to allow an ISO-8859-1
"normal" font to be combined with an ISO-10646 font if the
latter is given via the <code>-fw</code> option or its
corresponding resource value (prompted by comment in Novell
#49305).</li>
<li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for
<code>__GNU__</code> to set the controlling terminal (Debian
#348457).</li>
<li>add configure option <code>--disable-leaks</code>.</li>
<li>add a check in <code>Bell</code> to ensure that the VT100
widget is realized, since it may be called by
<code>xtermLoadFont</code> given an incorrect font resource
(Redhat #180450).</li>
<li>improve initialization of wide-bold font by not using the
derived value when it happens to have few glyphs (report by
Mboso Sampson).</li>
<li>improve dynamic colors by not repainting the screen if only
the cursor color changes (request by Bram Moolenaar).</li>
<li>fix menu initialization for tek4014 window broken in
<a href="#xterm_206">patch #206</a>.</li>
<li>typo in manpage (Debian #351425).</li>
<li>correct loop logic in <code>dotext</code> to prevent an
infinite loop if a wide character was just at the right margin
when wrapping was disabled (report by Serge van den Boom).</li>
<li>initialize the saved-cursor data so a restore-cursor
operation without a preceding save-cursor operation will not
modify the foreground color.</li>
<li>add a new selection feature: regular expressions, and new
resources which specify what happens on multiple mouse clicks:
<code>on2Clicks</code>, <code>on3Clicks</code>,
<code>on4Clicks</code> and <code>on5Clicks</code>.</li>
<li>revert the <code>XTerm.ad</code> change from <a href=
"#xterm_208">patch #208</a> (Debian #348384).</li>
<li>fixes for the print-window to make it handle combining
characters in UTF-8 mode.</li>
<li>add check to ensure that double-clicking to extend
selection will not extend it into the scrollback area. This
still allows users to scroll back and select text (Debian
#347415).</li>
<li>add configure option <code>--with-tty-group</code> to help
work around deficiencies in packager's build environment
(Debian #349142).</li>
<li>fix typo in configure script option
<code>--disable-narrowproto</code> (report by David
Martínez Moreno).</li>
<li>amend CF_X_FREETYPE changes for <code>pkg-config</code>
check to ensure that <code>Xft</code> is known to that tool
(report and patch by Emanuele Giaquinta).</li>
<li>add an ifdef to allow <code>./configure
--disable-active-icon</code> to work, broken by new code for
testing memory leaks in <a href="#xterm_208">patch #208</a>
(report by Brian Lindholm).</li>
</ul>
<h1><a name="xterm_208" id="xterm_208">Patch #208 - 2006/1/3 -
XFree86 4.5.99.19</a></h1>
<ul>
<li>add <code>charClass</code> resource to
<code>XTerm.ad</code> and <code>UXTerm.ad</code> which
simplifies selecting URLs (prompted by Kirill Ponomarew).</li>
<li>modify install rule for <code>uxterm</code> to account for
the <code>--program-prefix</code>, etc., options by invoking
the transformed name of xterm rather than simply "xterm".</li>
<li>modify configure <code>--with-app-defaults</code> option to
allow <code>--without-app-defaults</code>.</li>
<li>add configure <code>--with-symlink</code> option to make it
simpler to install successive versions of <code>xterm</code>
renamed using the <code>--program-prefix</code>, etc., options
with a symbolic link pointing to the most recent.</li>
<li>make <code>-iconic</code> option work with toolbar
configuration (Gentoo #113604).</li>
<li>suppress <code>lastlog</code> feature for 64-bit Solaris
configuration since that platform provides only a 32-bit
interface (report by Peter Bray).</li>
<li>fix memory reallocation for the "UTF-8" menu entry when
xterm is started using the <code>+u8</code> option (reported by
Jan Willem Stumpel).</li>
<li>add a configure check for the actual path of
<code>luit</code>, to work around broken <code>imake</code>
configurations.</li>
<li>add a configure check for <code>pkg-config</code> (Redhat
Bugzilla #173541).</li>
<li>modify install-rule for <code>uxterm</code> to omit
executable suffix, e.g., for Cygwin.</li>
<li>modify <code>sinstall.sh</code> to work around quirks in
Cygwin configuration.</li>
</ul>
<h1><a name="xterm_207" id="xterm_207">Patch #207 - 2005/11/13 -
XFree86 4.5.99.16</a></h1>
<ul>
<li>enable <code>lastlogx</code> support for NetBSD (was added,
but not enabled in <a href="#xterm_186">patch #186</a>).</li>
<li>work around broken <code>lastlog.h</code> in glibc 2.3.5,
which includes <code>utmp.h</code>.</li>
<li>revert part of recent XFree86 Imakefile change, restoring
the <code>-I.</code> needed for <code>xmkmf</code> builds of
xterm (XFree86 Bugzilla #1633, reports by Alexander Pohoyda,
Matthieu Herrb).</li>
<li>change compiled-in default for <code>printerCommand</code>
resource to an empty string. People who want to use the printer
should be able to read the manual (Debian #311490).</li>
<li>modify <code>Imakefile</code> to work around old problems
in <code>imake</code> configuration to allow test-builds using
<code>xmkmf</code> on Linux. (This was not noticed since
several releases had broken definitions relating to Xft which
were harder to work around).</li>
<li>link <code>resize</code> for SCO platforms (Kean
Johnston).</li>
</ul>
<h1><a name="xterm_206" id="xterm_206">Patch #206 - 2005/11/3 -
XFree86 4.5.99.15</a></h1>
<ul>
<li>add configure <code>--with-app-defaults</code> option to
allow app-defaults directory for install-rules to be
customized.</li>
<li>remove default translations for
<code>dabbrev-expand()</code> due to conflicts with existing
keyboard arrangements.</li>
<li>remove redundant check for <code>_NET_WM_PID</code> (report
by Emanuele Giaquinta).</li>
<li>set icon border width explicitly to work around fvwm
problem with active icon resizing (report by Steve Morris,
analysis by Dominik Vogt).</li>
<li>modify resource files to make the font-resources a little
more specific, e.g., changing "*VT100*" to "*VT100.", to make
the distinction between VT100.font and VT100.utf8Fonts.font
sharper, in case a packager modifies one of those.</li>
<li>expanded comments in <code>UXTerm.ad</code> regarding the
font resources (Debian #319179).</li>
<li>add <code>--enable-narrowproto</code> configure option to
accommodate X.org "modular" build (report by Stephan Hermann,
Gentoo #17220).</li>
<li>fix typo in xterm.man description of <code>+wf</code>
(patch by Tobias Stoeckmann).</li>
<li>add <code>scrollBarBorder</code> resource (request by Floyd
L Davidson).</li>
<li>modify <code>xterm-new</code> terminfo entry to use
capabilities for shifted scroll forward/reverse as shifted
cursor up/down.</li>
<li>correct updating of checkmark for toolbar entry in popup
menu (report by Emanuele Giaquinta).</li>
<li>fix ifdef's to allow compiling with toolbar and without
tek4014 (patch by Emanuele Giaquinta).</li>
<li>use <code>openpty()</code> for Darwin port (patch by
Emanuele Giaquinta).</li>
<li>fix Gentoo #90697 a different way, postponing the logic in
<code>SetupToolbar</code> until the toolbar is actually needed,
i.e., the <code>+tb</code> option is handled as expected.</li>
<li>revert fix made in <a href="#xterm_203">patch #203</a> for
Gentoo #90697. That introduced a problem with the control mouse
click-popups, while most of the performance problems can be
resolved by restricting the menu fonts (report by Emanuele
Giaquinta).</li>
<li>fix a file-descriptor leak when calling
<code>openpty()</code> (OpenBSD system/4561).</li>
<li>make a special case of resizing work like vt100: a hard
reset also resets the 132/80 mode. The code to support this was
present since X11R5, but not used because the corresponding
initial state of the <code>-132</code> option was not
saved.</li>
<li>restore window manager hints after
<code>XtMakeResizeRequest()</code> calls. One instance from
<a href="#xterm_205">patch #205</a> resulted in the window
manager displaying pixels rather than than characters after
selecting a different font size (FreeBSD ports/87424).</li>
<li>remove special case for Darwin in CF_XOPEN_SOURCE (Emanuele
Giaquinta).</li>
<li>modify parsing of control sequence <code>CSI T</code>
to allow scroll-down to be sent while mouse tracking is enabled
(request by D Hugh Redelmeier).</li>
<li>correct termcap "me" (mode-end) string so it does not
modify the alternate character set (report by Andrey
Chernov).</li>
<li>correct size-comparison in HandleInterpret() broken in
changes from <a href="#xterm_201">patch #201</a> to allocate
input buffer (Debian #334317).</li>
<li>amend adjustments for scrollbar layout from <a href=
"#xterm_204">patch #204</a> to make this apply only to the
toolbar configuration. In the non-toolbar configuration, the
resulting scrollbar was shifted by its borderwidth (report by
Matthieu Herrb).</li>
<li>add select-cursor-extend() action.</li>
<li>fix some broken href's in xterm.log.html, and typo in the
INSTALL file (report/patch by David Martínez
Moreno).</li>
<li>modify <code>Imakefile</code> to use setgid mode for
installing with Linux, OpenBSD and FreeBSD.</li>
<li>add configure --with-setuid and --with-reference options to
allow packagers more flexibility in customizing install
permissions.</li>
<li>generalize and make optional (configure --with-utmp-setgid)
the change made for XFree86 Bugzilla #878 in <a href=
"#xterm_205">patch #205</a> (FreeBSD bug report
#ports/86663).</li>
</ul>
<h1><a name="xterm_205" id="xterm_205">Patch #205 - 2005/9/18 -
XFree86 4.5.99.12</a></h1>
<ul>
<li>correct a typo in CF_FUNC_TGETENT introduced in <a href=
"#xterm_198">patch #198</a> fix for Gentoo #69926.</li>
<li>implement logic in termcap query to process multiple
parameters as documented in ctlseqs.ms</li>
<li>fix buffer size used for termcap query, which was not long
enough for the terminfo "colors" name (patch by Bradd W.
Szonye).</li>
<li>add configure option --enable-readline-mouse, which turns
on the experimental OPT_READLINE code (patch by Ilya
Zakharevich).</li>
<li>for FreeBSD, drop setuid privileges after startup (XFree86
Bugzilla #878, report/patch by Alexander Pohoyda)</li>
<li>add menu entry (alt-esc) and corresponding action
(alt-sends-esc) to toggle the <code>eightBitInput</code>
resource setting.</li>
<li>generate configure script with autoconf 2.52 (patched) to
use the feature therein which forces the script's locale to
POSIX (Gentoo Bugzilla #105369).</li>
<li>modify computation of rows/columns on resize to avoid
extending beyond the given limits, e.g., if resizing in
response to a "maximize" in Gnome or KDE which do not use the
window manager hints for this case (Debian #289123, Novell
#61153).</li>
<li>modifications to work with z/OS 1.4 (Paul Giordano).</li>
<li>improve error-reporting when chown/chmod of the
pseudo-terminal fails, e.g., if a copy of xterm which was
designed to work with old-style pseudo-terminals is not
installed setuid or setgid (report by Jeremy C. Reed).</li>
<li>patches from Emanuele Giaquinta:
<ul>
<li>ctlseqs.ms says that primary and secondary DA accept a
nonzero parameter, which is incorrect. Also modify code to
agree with this.</li>
<li>correct a comment in 88colres.pl</li>
<li>ctlseqs.ms says that the DEC Set/Reset control
sequences for the backarrow key make it send DEL/BS,
respectively, while it's the opposite.</li>
<li>update the menu entries for the metaSendsEscape,
deleteIsDEL and numLock resources when changing them with
the corresponding DEC Set/Reset control sequences.</li>
</ul>
</li>
<li>fixes for configure script:
<ul>
<li>add special case for QNX, defining _QNX_SOURCE.</li>
<li>check for preprocessors which do not perform -U and -D
options in the given order.</li>
<li>improve macro to determine gcc version</li>
<li>improve check for Intel compiler and related warning
options</li>
</ul>
</li>
<li>update config.guess, config.sub</li>
<li>improve fix from <a href="#xterm_198">patch #198</a> for
<code>Cleanup()</code> by ensuring it is not called from the
SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)).</li>
<li>eliminate a retry for a better-matching bold font, to work
around recent font server changes.</li>
<li>fixes for Novell #113277:
<ul>
<li>specify weight for wide font which may be derived from
normal fontname.</li>
<li>cache the derived wide- and widebolt-fontnames.</li>
</ul>
</li>
<li>workaround for Gentoo Bugzilla #100728.</li>
<li>add menubar's border width to layout computation. Normally
this is zero, but patterns such as
<code>XTerm*borderWidth:1</code> would give poor layout for the
toolbar configuration.</li>
</ul>
<h1><a name="xterm_204" id="xterm_204">Patch #204 - 2005/8/4 -
XFree86 4.5.99.9</a></h1>
<ul>
<li>work around quirk in shell which allowed user to "run"
uxterm script when there was no UTF-8 locale installed by
entering "sh -x uxterm". Also popup an xmessage to show the
problem for users who run this via a GUI (Debian #318513).</li>
<li>disallow changes to fonts, toolbar and scrollbar when the
vt100 window is iconified, to simplify management of the active
icon.</li>
<li>fixes to make <code>-geom</code> option work properly with
the toolbar configuration (Gentoo #90717, Gentoo #91967).</li>
<li>minor improvements to scrollbar layout: ensure that the
scrollbar border is zero if the vt100 border is zero.</li>
<li>improve initialization due to <code>utf8</code> resource by
loading the <code>utf8Fonts</code> resource in the case where
<code>locale</code> resource is false. Also in this case, do
not disable switching UTF-8 mode on/off.</li>
<li>minor optimization of TrueType font-loading, loads italic
font only when needed.</li>
<li>correct variable used to store temporary result from lookup
of bold font, when initializing the wide-bold-font data and no
immediate match is found by asking for a bold variant of the
wide-font. The result was to use overstriking rather than the
actual bold font (Debian #318162, patch by Eugene Konev).</li>
<li>add checks to ensure vt100 widget is realized when it might
be updated via actions handled from a tek4014-only
configuration.</li>
</ul>
<h1><a name="xterm_203" id="xterm_203">Patch #203 - 2005/7/6 -
XFree86 4.5.99.7</a></h1>
<ul>
<li>modify initialization of <code>allowSendEvents</code> and
<code>allowWindowOps</code> to prevent modification with the
editres protocol.</li>
<li>fix compiler warning for NetBSD by including util.h in
main.c (XFree86 Bugzilla #1596).</li>
<li>fix to build on Darwin 8.x, which no longer provides
<code>setpgrp()</code> (patch by Min Sik Kim).</li>
<li>adapted fixes for Legend (SCO) from diffs attached to
Freedesktop.Org Bugzilla #3180.</li>
<li>fix typo in xterm manpage description of <code>-ls</code>
option (Freedesktop.Org Bugzilla #3543).</li>
<li>add support for interpreting the underline attribute as an
italic font in Xft mode (patch by Chuck Blake).</li>
<li>improve initialization of toolbar so that individual
pulldown menus are initialized on demand, as they are in the
scenario where they are invoked as popup menus (Gentoo Bugzilla
#90697).</li>
<li>fix logic in <code>find_utmp</code>, which did not reset
result in <code>getutid()</code>, causing an infinite loop in
some conditions (report by Emil Mikulic).</li>
<li>set the <code>_NET_WM_PID</code> property (Gentoo Bugzilla
#91008).</li>
<li>modify ifdef's in ptyx.h and xterm_io.h to build with
DragonFly (patch by Jeroen Ruigrok).</li>
<li>change default values for <code>minBufSize</code> and
<code>maxBufSize</code> to 4096 and 32768 respectively so that
the initial read request will match the value from before
changes to use <code>sched_yield()</code>.</li>
<li>make paste of UTF-8 faster for Western character sets by
checking range of incoming data (patch by Joe Allen).</li>
<li>add experimental option to allow applications to get or set
the selection data as a BASE64 string (adapted from patch by
Joe Allen).</li>
<li>fix an off-by-one error parsing <code>-S/nn</code> option
(Debian #311438, report/fix by Peter Chubb).</li>
<li>fix an initialization bug from <a href="#xterm_201">patch
#201</a> that broke logging (report by Rodney Thayer).</li>
<li>amend change to command-line processing in <a href=
"#xterm_201">patch #201</a> to avoid conflict with
<code>-e</code> option (report by Servatius Brandt).</li>
<li>suppress configure check for <code>_XOPEN_SOURCE</code> on
darwin.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_202" id="xterm_202">Patch #202 - 2005/5/2 -
XFree86 4.5.99.3</a></h1>
<ul>
<li>add extended shift- and control-modifier cursor keys to
"xterm+pcfkeys" terminfo entry to correspond to ncurses
20050430 patch.</li>
<li>fix a rare case where text would be written with the wrong
colors because output of scrolled text would reset the colors
and the new text would be written with the same colors
(report/testcase by Thomas Glanzmann).</li>
<li>rename <code>$CMD</code> variable in <code>plink.sh</code>
because it is a reserved symbol in bash 3.00.16 (report by Ted
Taylor).</li>
<li>add environment variables <code>$XTERM_SHELL</code> and
<code>$XTERM_VERSION</code> (request by Zdenek Sekera).</li>
<li>corrected workaround for background color of menubar, which
gave a too-broad expression, coloring the background of the
VT100 widget unless overridden by another resource
setting.</li>
<li>correct an error in the logic which decides when
<code>sched_yield()</code> is run; it would occasionally hang
when contending with other pseudo-terminal applications such as
screen (report by Kirill Ponomarew).</li>
<li>modify initialization to decide whether to default to
built-in <code>wcwidth()</code> versus system's version based
on the starting locale and whether the system's version is poor
quality (suggested by Bram Moolenaar).</li>
<li>update table for <code>mk_width()</code> from UnicodeData
4.1.0 using Markus Kuhn's <code>uniset</code> script.</li>
</ul>
<h1><a name="xterm_201" id="xterm_201">Patch #201 - 2005/4/21 -
XFree86 4.5.99.2</a></h1>
<ul>
<li>improve resource files to show how the menubar and popup
menus can be colored (prompted by report by Joe Wells).</li>
<li>modify parsing of OSC (and SOS, etc), strings so their
contents are not interpreted as UTF-8. This allows non-ASCII
title strings to be set, provided that the window manager
complies (report by Thomas Wolff).</li>
<li>improved some of the built-in line-drawing glyphs.</li>
<li>correct color of "box" character drawn for line-drawing
glyph 1 (report by Nicolas George).</li>
<li>improve behavior when switching to UTF-8 mode after startup
so xterm will check if the current fonts are already wide
(ISO10646-1). If they are not, xterm will use the
<code>utf8Fonts</code> subresource to load appropriate fonts
(request by Bram Moolenaar).</li>
<li>modify logic for setting title-string so it applies to the
current widget rather than the vt100 widget.</li>
<li>modify initialization for wide-bold fontname, to search for
one if none is given (report by Michael Schroeder).</li>
<li>add resource <code>mkWidth</code> and command-line option
<code>-mk_width</code> to control whether xterm uses the
built-in version of wcwidth().</li>
<li>add resource settings for minimum/maximum input buffer
size, and call to <code>sched_yield</code> to improve
performance with newer Linux kernels (adapted from patch by
Nicolas George).</li>
<li>correct computation of width for wide characters with the
invisible attribute (report by Thomas Wolff).</li>
<li>modify interaction between <code>+u8</code> and
<code>locale</code> resource to allow the command-line option
to override the resource (requested by Thomas Wolff).</li>
<li>add a limit check for scrolling margins in a one-line
screen, overlooked in fixes for <a href="#xterm_198">patch
#198</a> (Debian #297430).</li>
<li>correct treatment of <code>iconBorderWidth</code> for
resizing an active-icon, and its description in manpage (Debian
#296592).</li>
<li>modify configure script <code>--disable-imake</code> to use
the script's definitions anyway if it cannot detect imake
(prompted by FreeBSD bug 77408).</li>
<li>ignore error in the I/O initialization that tries to set
the tty to 7-bit input for the case where
<code>eightBitInput</code> resource is false (Debian
#298551).</li>
<li>modify command-processing to accept an optional parameter
that tells xterm which shell program to use (request by Zdenek
Sekera).</li>
<li>add simpler resource <code>keyboardType</code> which, when
set, overrides the individual keyboard-type resources and
eliminates the possibility of conflict between them.</li>
<li>add initialization for <code>scoFunctionKeys</code>
resource (report by Rick K).</li>
<li>correct logic of <code>ReallocateBufOffsets()</code> which
did not copy the content of the old screen buffer to the proper
location, making a repaint clear after switching to
wide-character mode (report by Bram Moolenaar):</li>
<li>implement the remaining pieces to make xterm allocate cells
for wide-characters when the "UTF-8" menu entry is selected.
Also, load the UTF-8 font when that menu entry is selected, or
the escape sequence for UTF-8 mode is received (report by Bram
Moolenaar):</li>
<li>add command-line options (<code>-tb</code>,
<code>+tb</code>) and resource <code>toolBar</code> to allow
menu/toolbar to disabled or enabled at startup (prompted by
reports by Joe Wells).</li>
<li>correct typo in configure script's --enable-dec-locator
option (report by Bram Moolenaar).</li>
</ul>
<h1><a name="xterm_200" id="xterm_200">Patch #200 - 2005/2/6 -
XFree86 4.4.99.23</a></h1>
<ul>
<li>increase color pairs value for xterm-256color and
xterm-88color to match ncurses, which has an experimental
option to support this.</li>
<li>modify ifdef's to make AIX use termios rather than termio;
the struct sizes for the two were not the same.</li>
<li>improve CF_WITH_IMAKE_CFLAGS configure macro script for
OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and
AIX.</li>
<li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch
by Min Sik Kim).</li>
<li>modify find_utmp() to initialize the whole utmpx struct
(except ut_id), since that is needed for OSF1 4.0D to prevent
an infinite loop on exit.</li>
<li>add configure check before adding -D_POSIX_SOURCE since
some platforms predefine it, e.g., cygwin.</li>
<li>add simplified sed expressions in CF_IMAKE_CFLAGS configure
script macro to ensure value for PROJECTROOT is quoted on
Solaris, i.e., when nested <code>\(</code> and <code>\)</code>
are not interpreted correctly.</li>
<li>correct DEC rectangle operations to reset state after
completing the operations.</li>
<li>modify CASE_ST handling in charproc.c to ensure that the
parse state is reset even if xterm is not currently processing
an OSC or other string (patch by Johnny Billquist forwarded by
Matthias Scheler, NetBSD xsrc/29003).</li>
<li>fix OS/2 build for innotek_libc (patch by David Yeo).</li>
<li>fix a regression from <a href="#xterm_197">patch #197</a>
fix for Debian #277832 which disowned the selection if it was
scrolled, e.g., by the user pressing return at the bottom of
the screen (Debian #291787).</li>
<li>move the warning/exit for missing $DISPLAY into the error
handler in case <code>-display</code> is given, and the connect
fails for some other reason.</li>
</ul>
<h1><a name="xterm_199" id="xterm_199">Patch #199 - 2005/1/17 -
XFree86 4.4.99.22</a></h1>
<ul>
<li>instead of setting <code>$DISPLAY</code>, check for the
unset variable and warn/exit on this condition (comments by H
Merijn Brand and Bernhard R Link).</li>
<li>fix a typo in Imakefile from <a href="#xterm_198">patch
#198</a> (reports/patches by Stefan Dirsch, Mike Castle).</li>
</ul>
<h1><a name="xterm_198" id="xterm_198">Patch #198 - 2005/1/13 -
XFree86 4.4.99.21</a></h1>
<ul>
<li>set <code>$DISPLAY</code> to ":0" if it is not set.</li>
<li>add <code>utmpDisplayId</code> resource to allow users to
control whether the display identifier (display number and
screen number) are retained in the connection information
recorded in utmp (discussion with Edoardo Tirtarahardja).</li>
<li>add <code>bellOnReset</code> resource to allow users to
disable bell which sounds on hard reset since <a href=
"#xterm_183">patch #183</a> changes to DECSCL (discussion with
Danek Duvall).</li>
<li>improve <code>$WINDOWID</code> for configuration with
toolbar by making it refer to the top-level shell rather than
the parent of the current window. For that case, the parent is
a form widget, which does not have a name, which made the
<code>$WINDOWID</code> not very useful as a parameter for
<code>xwininfo</code> (suggested by Dave Bodenstab).</li>
<li>fix a typo in WhichVFont() macro from <a href=
"#xterm_197">patch #197</a> changes which broke the
--disable-active-icon configuration (report by Ralf S.
Engelschall).</li>
<li>improve some limit checks (Gentoo Bugzilla #75604).</li>
<li>add --disable-setuid option to configure script (Gentoo
Bugzilla #76543).</li>
<li>add --disable-full-tgetent option to configure script,
allowing one to ignore a termcap library in favor of
ncurses/curses (Gentoo Bugzilla #69926).</li>
<li>modify configure script to choose useful warning options
for Intel version 8.0 compiler.</li>
<li>update config.guess, config.sub</li>
<li>make active-icon work properly when TrueType fonts are used
(Debian #286068).</li>
<li>correct change from <a href="#xterm_157">patch #157</a>
which uses getlogin() to check for an alias; the storage used
for the related getpwuid() call was overwritten by the data
used for comparison (patch by Per Hedeland).</li>
<li>correct case of SCS for character set 0 (line-drawing) to
allow it to be selected into GR.</li>
<li>fix a file-descriptor leak (Redhat Bugzilla #139597).</li>
<li>modify <code>creat_as()</code> to only fork if xterm is
actually running as setuid and/or setgid. This works around a
Cygwin bug which hangs when logging is enabled and makes xterm
a little faster for systems using interfaces such as utempter
(report by Al Goodman).</li>
<li>modify <code>Cleanup()</code> to avoid operations such as X
calls that might use unsafe functions when it is called by a
signal handler (report by Michiel Boland).</li>
<li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM
changes from <a href="#xterm_197">patch #197</a> that broke
DECSET 38: switch to Tek4014 emulation (report by Dave
Bodenstab).</li>
<li>fix for manpage escapes (Marc La France).</li>
<li>improve on IRIX-specific change for Imakefile in XFree86
CVS versus resize linking against termcap library to reflect
definitions for USE_TERMCAP in resize.c</li>
</ul>
<h1><a name="xterm_197" id="xterm_197">Patch #197 - 2004/11/30 -
XFree86 4.4.99.19</a></h1>
<ul>
<li>modify configure script to remove empty "-DPROJECTROOT="
definition which resulted unusable values for luit's default
path.</li>
<li>update precompose.c based on Unicode 4.0.1</li>
<li>several minor fixes based on Intel compiler warnings.</li>
<li>change default translations so a <code>BtnDown</code> which
is not recognized is simply ignored rather than emitting a
bell. That makes it less obtrusive when the user tries to use a
mouse which provides more capabilities than the X mouse driver
supports, e.g., one with a horizontal scroll wheel (Debian
#265133).</li>
<li>note in xterm's manpage that <code>translations</code> is
not specific to xterm (Debian #278897).</li>
<li>modify uxterm script to use locale program to verify if the
derived locale is installed (Debian #246398).</li>
<li>correct font handling for active icon when in UTF-8 mode
(report by Paolo Liberatore).</li>
<li>make active-icon and toolbar configurations work
together.</li>
<li>modify the criteria for disowning primary selection.
Previously, this happened anytime the cursor was moved before
the end of the selection. That would ensure that any
insert/delete of char or line, as well as scrolling, would
disown the selection. The new criteria change this to checking
if the operations would modify the data which is highlighted
(Debian #277832).</li>
<li>reimplement <code>DECALN</code> with functions for vt420
rectangles, fixes selection for this case.</li>
<li>implement vt420 rectangle operations.</li>
<li>add parsing, for debug/test of vt220 soft-fonts.</li>
<li>add menu entry, actions and escape sequence to allow
enabling/disabling toolbars at runtime.</li>
<li>improve rendering for Xft, allow it to draw non-linedrawing
characters such as "pi", which were drawn from internal tables
with <a href="#xterm_180">patch #180</a> (Freedesktop.org
Bugzilla #1260).</li>
<li>add configure option <code>--enable-mini-luit</code>,
ifdef'd the mini-luit feature with
<code>OPT_MINI_LUIT</code>.</li>
<li>add mini-luit feature, which supports Latin9 directly
rather than via luit, provided that Unicode fonts are used
(Freedesktop.org Bugzilla #1571, request by Stefan Dirsch,
patch by Michael Schroeder).</li>
<li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x
kernels, set the corresponding flag for the slave pty, to
enable UTF-8 interpretation of backspace in cooked mode
(Freedesktop.org Bugzilla #1578, request by Stefan
Dirsch).</li>
<li>modify <code>faceSize</code> resource to use a
floating-point internal value (adapted from patch by Sam
Stephenson).</li>
<li>correct handling selection of tabs over cleared space in
UTF-8 mode. In this special case, xterm represents the
whitespace with a null rather than a space character (Debian
#276447).</li>
<li>amend fix for infinite loop from <a href="#xterm_192">patch
#192</a> to check if there is wrapped text to output in a
following iteration (Debian #273202).</li>
<li>fixes ifdef'd with <code>__INTERIX</code> to allow building
with Interix (Windows Services for UNIX) 3.5 using the xlibs
libraries from freedesktop.org (patch by Min Sik Kim).</li>
<li>amend solution for Debian #252873, Debian #260471 from
<a href="#xterm_194">patch #194</a> by making the cursor not
explicitly colored if only the foreground color is set, and the
cursor is on a blank space (Debian #275473).</li>
<li>correct logic for send/receive mode (SRM) with regard to
control characters.</li>
<li>fix masking of invisible text in wide-character mode, which
did not work for line-drawing characters.</li>
<li>incorporate CF_XOPEN_SOURCE into configure script,
replacing CF_GNU_SOURCE.</li>
</ul>
<h1><a name="xterm_196" id="xterm_196">Patch #196 - 2004/8/15 -
XFree86 4.4.99.12</a></h1>
<ul>
<li>add a special case to configure script to ignore NetBSD's
<code>grantpt()</code> which was recently added (but not part
of a release), until someone is able to ensure that xterm can
use it (report by Min Sik Kim).</li>
<li>clear the buffer returned by getutid(). This fixes an
infinite loop on some platforms introduced in <a href=
"#xterm_193">patch #193</a> by Debian #256468 fix (report by
David Ellement).</li>
</ul>
<h1><a name="xterm_195" id="xterm_195">Patch #195 - 2004/8/8 -
XFree86 4.4.99.11</a></h1>
<ul>
<li>correct length used for blinking text, make the last column
blink (patch by Alexander V Lukyanov).</li>
<li>start changes to make doublesize characters work with
TrueType fonts (see <a href="#xterm_44">patch #44</a>).</li>
<li>trim leading/trailing blanks from color resources as done
for other strings in <a href="#xterm_167">patch #167</a>.</li>
<li>fixes for <code>showBlinkAsBold</code> resource (report by
Christoph Berg).</li>
</ul>
<h1><a name="xterm_194" id="xterm_194">Patch #194 - 2004/7/27 -
XFree86 4.4.99.11</a></h1>
<ul>
<li>change clearing operations so foreground color attribute is
not set. Usually this is benign, but in some cases when the
cursor color is not set explicitly, the cursor would show this
color (Debian #252873, Debian #260471).</li>
<li>add extra state (cursor-moved) to guard against deciding
that the cursor did not require repainting after an indexing
operation that leaves the cursor in the same location on the
screen.</li>
<li>fix a case where a full-screen indexing operation would not
restore the cursor-busy state.</li>
<li>fix a repainting bug introduced in <a href=
"#xterm_180">patch #180</a>: when using a font lacking
line-drawing characters, a repaint of the screen could skip
horizontally an extra amount after filling in the missing
character (reports by Nicolas George, Hans de Goede, Redhat
Bugzilla #128341).</li>
<li>rename terminfo fragment "xterm-pc-fkeys" to
"xterm+pcfkeys" for consistency with ncurses.</li>
</ul>
<h1><a name="xterm_193" id="xterm_193">Patch #193 - 2004/7/19 -
XFree86 4.4.99.10</a></h1>
<ul>
<li>fix for wide-character selection from OpenBSD CVS
(report/patch by Matthieu Herrb).</li>
<li>modify initialization and cleanup of utmp data to also
compare the <code>ut_line</code> member (Debian #256468).</li>
<li>modify check on focus-change to ignore
<code>FocusOut</code> events generated by
<code>XGrabKeyboard</code>. This fixes a case where the text
cursor would act as if focus were lost when selecting the
"Secure Keyboard" menu option.</li>
<li>add <code>gen-pc-fkeys.pl</code> script, use that to
generate terminfo fragment corresponding to the pc-style
function keys.</li>
<li>fix a case where the checkmark by the "VT220 Keyboard" menu
entry was not set on startup.</li>
<li>separated two methods for making the cursor blink (menu and
escape sequence) by using the menu as the primary method and
XOR'ing the state of the escape sequence against that.</li>
<li>modify logic for enabling blinking cursor via escape
sequence as well as the related save/restore operations so this
is only available if the <code>cursorBlink</code> resource was
set on startup.</li>
</ul>
<h1><a name="xterm_192" id="xterm_192">Patch #192 - 2004/7/12 -
XFree86 4.4.99.9</a></h1>
<ul>
<li>change resource settings for color4 and color12, add some
discussion in <code>XTerm-col.ad</code> (Debian #241717).</li>
<li>add a note in xterm manpage discussing the difference
between alt- and meta-keys, and the way the latter is used in
the <code>eightBitInput</code> resource.</li>
<li>add a note in xterm manpage regarding possible conflict
between resource settings for <code>xterm.vt100.font</code> and
<code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).</li>
<li>add compile-time customization of
<code>backarrowKeyIsErase</code> and
<code>ptyInitialErase</code> default resource values (adapted
from OpenBSD CVS).</li>
<li>change parameter of <code>FIONREAD</code>
<code>ioctl()</code> call from long to int (discussion on
tech-x11@netbsd.org regarding LP64 by John Heasley and Matthias
Scheler).</li>
<li>modify configure script options for Athena widgets to work
as expected for "--without-Xaw3d", etc., (Gentoo Bugzilla
#53455).</li>
<li>add case to uxterm to accommodate locales ending with
"@euro", e.g., fr_FR.UTF-8@euro (Debian #255197,
report/analysis by Matthieu Lagouge).</li>
<li>add special case for VT100 graphic's "box" character
(discussion with Ben Armstrong).</li>
<li>add missing initialization for bitmap-font sizes needed to
make fonts menu work with TrueType fonts (report by Ben
Armstrong).</li>
<li>save the fontnames for bold fonts that are derived from
normal fonts, or from the <code>boldFont</code> resource, so
the same value is restored when switching with the VT Fonts
menu (Debian #256086).</li>
<li>fix manpage preprocessing (Marc La France).</li>
<li>fix typo in manpage's description of character classes
(Debian #257073).</li>
<li>modify terminfo to accommodate luit, which relies on G1
being used via an ISO-2022 escape sequence (Debian #254316,
analysis by Juliusz Chroboczek).</li>
<li>modify Makefile.in rule for ctlseqs.txt to work around
groff SGR misfeature.</li>
<li>modify <code>XTerm.ad</code> to set <code>saveLines</code>
default to 1024 (Redhat Bugzilla #127132).</li>
<li>add a limit-check in <code>dotext()</code> to prevent
infinite loop in a corner case of UTF-8 configuration.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_191" id="xterm_191">Patch #191 - 2004/6/6 -
XFree86 4.4.99.7</a></h1>
<ul>
<li>correct options parsing for <code>-into</code> option so it
can be combined with <code>-e</code> (Redhat Bugzilla #124518,
report/patch by James Armstrong).</li>
<li>fix ifdef's for <code>OPT_COLOR_RES2</code> so that the
fake resource table introduced in <a href="#xterm_188">patch
#188</a> is not compiled if it is empty. This happened to work
with gcc (report by Joel Konkle-Parker).</li>
<li>reorganize ptydata.c to use one input buffer shared between
the VTxxx and tek4014 emulators. In the new scheme, UTF-8
decoding is performed on characters as they are needed by the
state machine rather than on buffers as they are read.</li>
<li>work around change in quoting of PROJECTROOT symbol when
using configure script, from changes made in <a href=
"#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS (Gentoo
Bugzilla #50982).</li>
</ul>
<h1><a name="xterm_190" id="xterm_190">Patch #190 - 2004/5/25 -
XFree86 4.4.99.6</a></h1>
<ul>
<li>correct state for values in the range 128-159 after
translating from UTF-8: this should be ignored unless the user
overrides it with the <code>allowC1Printable</code> resource
(reported by Simon Strandgaard).</li>
<li>add configure-script check for nl_langinfo(CODESET), use
this to replace check of environment variables for UTF-8.</li>
<li>change Makefile.in rules for 256colres.h and 88colres.h so
they are only made if they do not exist. The maintainer-clean
rule will remove these files; they require perl to be
made.</li>
<li>remove check in configure script --enable-toolbar that
suppressed this option when building with Xaw7.</li>
<li>apply fixes to Tektronix widget used for VT100 widget to
make toolbar work with Xaw7 (XFree86 4.x).</li>
</ul>
<h1><a name="xterm_189" id="xterm_189">Patch #189 - 2004/5/16 -
XFree86 4.4.99.6</a></h1>
<ul>
<li>do not call xim_real_init() if <code>openIm</code> resource
is false (Debian #249025).</li>
<li>minor improvements to built-in line-drawing.</li>
<li>fix a few portability issues with dynamic abbreviation
support, i.e., did not compile on Tru64.</li>
<li>modify constraints in form used to layout toolbar, to work
with newer Xaw in XFree86 4.x.</li>
</ul>
<h1><a name="xterm_188" id="xterm_188">Patch #188 - 2004/5/12 -
XFree86 4.4.99.6</a></h1>
<ul>
<li>correct table entry for DEL in the ground state, which
marked it as a printable character from <a href=
"#xterm_171">patch #171</a> (report by D Hugh Redelmeier).</li>
<li>improve fix in <a href="#xterm_186">patch #186</a> for
failure in xim_real_init() by adding a sleep.</li>
<li>fix a typo in os2main.c (XFree86 Bugzilla #1358,
report/patch by Frank Giessler).</li>
<li>make escape sequence reporting dynamic colors consistent
with the logic that sets it; choosing the opposite color when
reverse video is set (XFree86 Bugzilla #1361, reported by Bradd
W Szonye).</li>
<li>modify initialization of 256- and 88-colors so that colors
beyond 16 are normally not X resources. This works around a
hard-coded limit in Xt which breaks xterm when 256-colors and
luit are both configured (report by Noah Friedman).</li>
<li>remove <code>ncv</code> from <code>xterm-256color</code>
terminfo entry since it is no longer needed (report by Eli
Zaretskii).</li>
<li>add "erase2" and "eol2" keywords to <code>ttyModes</code>
resource, for recent/current FreeBSD.</li>
<li>improve ifdef's for utempter library to omit direct calls
to <code>setutent()</code> or <code>getutent()</code> (adapted
from patch by Christian Biere).</li>
<li>add dynamic abbreviation support like Emacs (patch by
Tomasz Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>,
and enabled via the configure script
<code>--enable-dabbrev</code> option.</li>
<li>fix problem responding to session management events, e.g.,
which would make logging out very slow (patch by Eddy De Greef,
Debian #233883).</li>
<li>work around a newer bug in toolbar with XFree86 by forcing
menus to be fully initialized at startup. In older versions of
XFree86 and X11R6, it was possible to delay initialization of
the menu contents until it was popped up. (The longstanding bug
with XFree86 4.x layout for toolbar still exists, though).</li>
<li>modify <code>xtermAddInput</code> to work around core dump
on IRIX64 when initializing scrollbar translations if toolbar
is compiled-in.</li>
<li>fix some minor conflicts in the 2-character entry names in
the termcap file.</li>
</ul>
<h1><a name="xterm_187" id="xterm_187">Patch #187 - 2004/4/27 -
XFree86 4.4.99.4</a></h1>
<ul>
<li>change xterm version string to use
<code>__vendorversion__</code> where that is available, and
"XTerm" otherwise.</li>
<li>improve description of <code>utf8</code> resource in
manpage (Debian #179407).</li>
<li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS
to handle <code>-D</code> options that define string values,
e.g., for <code>XVENDORNAME</code>.</li>
<li>modify configure macro CF_IMAKE_CFLAGS to allow (if
<code>$PATH</code> is set accordingly) to use the
<code>xmkmf</code> script within an X build tree.</li>
<li>add missing <code>#undef OPT_SESSION_MGT</code> to
xtermcfg.hin to make the configure script's
--disable-session-mgt option work.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_186" id="xterm_186">Patch #186 - 2004/4/18 -
XFree86 4.4.99.4</a></h1>
<ul>
<li>change reset on <code>DECSCL</code> to a soft-reset
(appears some DEC manuals have errors).</li>
<li>add a section to ctlseqs.ms elaborating on normal/alternate
screens.</li>
<li>modify initialization of Acolors[] so that any
XtDefaultForeground or XtDefaultBackground values are
translated as in the Tcolors[], to use the window's
foreground/background colors. This affects the
<code>colorBD</code> and similar resources which normally have
no explicit color assigned.</li>
<li>modify initialization of Tektronix window so that control
sequences setting its color before the window is popped up will
apply to its initial colors.</li>
<li>add control sequence to set Tektronix window's
text-cursor.</li>
<li>modify initialization of terminal colors, e.g., mouse
pointer and text cursor, to treat
<code>XtDefaultForeground</code> and
<code>XtDefaultBackground</code> values as the actual
foreground and background colors of the terminal rather than
white and black (Debian #241717).</li>
<li>remove an incorrect comparison against
<code>PTYCHARLEN</code> in parsing the <code>-S</code> option
(report by Michael B Taylor).</li>
<li>minor restructuring of terminfo/termcap files, having noted
some packager's customizations which caused the structure to be
confused.</li>
<li>eliminate an isolated use of MIN/MAX in charproc.c</li>
<li>replace <code>XtExtdefaultfont</code> and
<code>XtExtdefaultbackground</code> by their more familiar
equivalents <code>XtDefaultFont</code> and
<code>XtDefaultBackground</code>.</li>
<li>replace ifdef's using <code>SCO</code>, <code>sco</code>
and <code>SCO325</code> with <code>__SCO__</code> (XFree86
Bugzilla #1301, Kean Johnston). But ensure that it still builds
on platforms where this symbol is not defined.</li>
<li>add <code>scoFunctionKeys</code> resource, to match
manpage.</li>
<li>update manpage discussion of menus and related
resources.</li>
<li>enable utmpx support for NetBSD 1.6C and newer (patch by
Matthias Scheler).</li>
<li>add a note in the manpage discussing xterm's treatment of
open file-descriptors (request by Dan Shearer).</li>
<li>modify <code>Help()</code> to make "xterm -h" write to
standard output rather than standard error (patch by Bram
Moolenaar).</li>
<li>check for type of failure in xim_real_init() to avoid
looping when the problem is an unsupported input method rather
than a failure to connect to the XIM server. Problem was
introduced in <a href="#xterm_175">patch #175</a> (XFree86
Bugzilla #1306).</li>
<li>modify <code>Imakefile</code> to remove dependency of
"install" target on the <code>xterm</code> executable to make
installs from tree without attempting to rebuild anything
(commit by David Dawes, report/patch from Lee Olsen).</li>
<li>remove call to <code>ShowCursor</code> from
<code>SetCursorBlink()</code> since that is redundant, and can
cause display glitches if the cursor is already blinking
(XFree86 Bugzilla #1158, patch/report by Andreas Schwab).</li>
</ul>
<h1><a name="xterm_185" id="xterm_185">Patch #185 - 2004/3/3 -
XFree86 4.4</a></h1>
<ul>
<li>fix tcap-query logic for the backspace key (XFree86
Bugzilla #1233, report/patch by Anton Kovalenko).</li>
<li>add test-scripts resize.pl and tcapquery.pl</li>
<li>add translation to ASCII of commonly-used characters that
groff translates to Unicode, when the font in use does not
provide the corresponding glyphs (Debian #219551).</li>
<li>modify RequestMaximize(), which performs maximize/restore
via control sequences, to account for window-frame (patch by
Jess Thrysoee).</li>
<li>improve pattern used in <code>uxterm</code> to check for
UTF-8 locale, e.g., for HPUX (patch by H Merijn Brand).</li>
<li>add <code>-fd</code> option and resource
<code>faceNameDoublesize</code> to specify double-wide fonts
with Xft (adapted from patch by Zarick Lau).</li>
<li>change a couple of resource classes from "Boolean" to
specific values: <code>freeBoldBox</code>,
<code>forceBoxChars</code>.</li>
<li>add resource <code>showMissingGlyphs</code> to outline
places on the screen where a font lacks the corresponding
glyph.</li>
<li>add resource <code>showBlinkAsBold</code> to control
whether blinking text should be shown as bold or actual
blinking text.</li>
<li>improve logic in ShowCursor() to avoid repainting the
cursor when it is already visible, e.g., in response to the
DECTCEM escape sequence. This also addresses XFree86 Bugzilla
#1158.</li>
<li>implement blinking text, using the timer for blinking
cursor.</li>
<li>modify FreeType support to allow resizing the font, in the
same ways the window can be resized if fixed fonts are used.
The relative font sizes are derived from the fixed font
sizes.</li>
<li>add menu items and corresponding actions for switching
on/off the UTF-8 mode and Xft (TrueType) support.</li>
<li>add logic to handle switching UTF-8 mode on/off. It worked
if the escape sequences were flushed, but if data was mixed in
with the same write, some were not handled properly (report by
Nicolas George).</li>
<li>modify to allow turning UTF-8 mode on/off via escape
sequence even if <code>-wc</code> option was not given at
startup (patch by Peter Berg Larsen).</li>
<li>amend fix for XFree86 Bugzilla #981, adjusting for
savedlines value (report by Tim Adye).</li>
<li>fix a typo in computing relative font size (Jess
Thrysoee).</li>
</ul>
<h1><a name="xterm_184" id="xterm_184">Patch #184 - 2003/12/31 -
XFree86 4.3.99.903</a></h1>
<ul>
<li>improve configure-script checks for FreeType and related
libraries, using <code>xft-config</code> or
<code>freetype-config</code> scripts when available.</li>
<li>fix configure-script check for <code>SYSV</code> definition
by ensuring whether <code>sys_errlist[]</code> is declared, and
by modifying the test program to include
<code>X11/Intrinsic.h</code> to check that <code>wchar_t</code>
is declared consistently (report by H Merijn Brand).</li>
</ul>
<h1><a name="xterm_183" id="xterm_183">Patch #183 - 2003/12/26 -
XFree86 4.3.99.903</a></h1>
<ul>
<li>correct logic for configurations that may attempt to open
both old/new-style pseudoterminals. In this case, the old-style
are preferred. Logic was broken in <a href="#xterm_145">patch
#145</a> (XFree86 Bugzilla #997, report/patch by Kean
Johnston).</li>
<li>modify handling of <code>eightBitInput</code> resource in
UTF-8 mode to translate the value into UTF-8. Otherwise an
illegal UTF-8 code is sent to the application (report by Bram
Moolenaar).</li>
<li>modify <code>uxterm</code> script to interpret help and
version options so xterm does not always create a window when
the user requests this information (Debian #223926).</li>
<li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla
#981).</li>
<li>modify DECSCL to perform a hard reset (RIS) as per DEC
manuals. Extended DECSCL to accept parameters for vt4XX and
vt5xx terminals.</li>
<li>correct logic for ANSI conformance level escape sequences,
which were confused with DEC conformance level escape
sequences.</li>
<li>correct state for vt52 shift-in/shift-out, which was not
reset properly after <a href="#xterm_171">patch #171</a>.</li>
<li>correct handling of graphics characters for vt52 mode,
which did not display line-drawing characters after G1 fix from
<a href="#xterm_182">patch #182</a>.</li>
<li>fixes for configure script to work with current Cygwin
headers and libraries.</li>
<li>modify <code>Imakefile</code> to put the current directory
at the beginning of the include searchpath (patch by David
Dawes).</li>
</ul>
<h1><a name="xterm_182" id="xterm_182">Patch #182 - 2003/12/2 -
XFree86 4.3.99.901</a></h1>
<ul>
<li>correct logic for <code>metaSendsEscape</code> resource to
allow for the meta-right key to be tested. Improve check for
meta/alt modifiers by dropping the assumption that a keysym is
associated with only one modifier, and by ignoring NoSymbol
entries in the xmodmap data (XFree86 Bugzilla #924, patch by
David Dawes).</li>
<li>correct wrapping logic for line-drawing characters written
in non-UTF-8 mode of xterm build for wide-characters (XFree86
Bugzilla #918, report/patch by Jürgen Keil).</li>
<li>improve manpage description of resources, in particular the
<code>utf8Fonts</code> class (XFree86 Bugzilla #905).</li>
<li>add definitions to compile with glibc-based GNU/Hurd,
GNU/KFreeBSD and GNU/KNetBSD (XFree86 Bugzilla #893).</li>
<li>compiler-warning fixes (patch by Christian Biere).</li>
<li>add README.i18n (Tomohiro Kubota).</li>
<li>correct initialization of G1 character set mapping, which
used line-drawing set as a result of confusion between "DEC
Supplemental Graphic" and "DEC Special Graphic" character sets
(see <a href="#xterm_34">patch #34</a> regarding DECSTR).</li>
<li>correct ifdef in main.c for variable utret (patch by
Bernhard Rosenkraenzer).</li>
<li>document in xterm's manpage how to use XFree86 ":unscaled"
keyword to suppress scaling of bold fonts.</li>
<li>when deriving bold fontname from normal fontname, use the
normal font's average width to avoid for example selecting
7x13bold from an 8x13 normal font (Debian #107769).</li>
</ul>
<h1><a name="xterm_181" id="xterm_181">Patch #181 - 2003/10/26 -
XFree86 4.3.99.15</a></h1>
<ul>
<li>implement <code>boldMode</code> for wide-character logic in
<code>drawXtermText()</code> (report by Michael
Schroeder).</li>
<li>modify <code>UXTerm.ad</code> resource file to include
"XTerm-color" rather than "XTerm", in case the latter file
contains no color resource definitions, e.g., after <a href=
"#xterm_180">patch #180</a>.</li>
<li>add action <code>load-vt-fonts()</code> and configure
option <code>--enable-load-vt-fonts</code> which allows users
to define additional sets of VT-fonts which can be loaded at
runtime.</li>
<li>add logic to wide-character support which attempts to load
fonts specified by <code>utf8Fonts</code> subresources at
startup. The subresources have the same names as the fonts
which they replace, e.g., <code>font</code>,
<code>font1</code>, etc., so that the ISO-10646-1 fonts can be
specified in the <code>XTerm</code> app-defaults file (adapted
from patch by Tomohiro Kubota).</li>
<li>improve Set Font escape string handling by making the
relative settings apply to the size of the font, as in shift
keypad plus/minus rather than the menu index.</li>
<li>simplify parameter passing for the <code>set-vt-font</code>
action and related code.</li>
<li>cleanup some include-ordering, moving some recently-added
hardcoded stuff into xterm.h where it will not interfere with
the configure script.</li>
<li>modify <code>xtermAddInput()</code> (see note on
augmentation in <a href="#xterm_158">patch #158</a>) to use the
complete set of default keyboard translations so that one can
use shifted pageup, wheel mouse, etc., while the mouse pointer
is over the scrollbar. (Debian #178812).</li>
<li>make save/restore mode controls apply to show/blink cursor
states.</li>
<li>add escape sequence to start/stop blinking cursor, which
allows implementing <code>cvvis</code> terminfo capability
(request by Nate Bargmann).</li>
<li>add <code>indp</code> and <code>rin</code> to terminfo
entry.</li>
<li>fix an out-of-bounds array reference in ScrnRefresh() for
wide characters (report by Dan Harnett, patch by Todd Miller).
This bug dates from <a href="#xterm_141">patch #141</a>.</li>
</ul>
<h1><a name="xterm_180" id="xterm_180">Patch #180 - 2003/10/12 -
XFree86 4.3.99.15</a></h1>
<ul>
<li>several fixes for rendering using Xft via option
<code>-fa</code>:
<ul>
<li>translate Unicode values, i.e,. from UTF-8 output to
xterm, for line-drawing to xterm's internal code, etc.,
since TrueType fonts generally do not have either set of
line-drawing glyphs. xterm can draw these directly (report
by Abigail Brady).</li>
<li>pass 16-bit values rather than 8-bit values to
xtermXftDrawString() to allow for wide-characters.</li>
<li>remove spurious check for <code>colorBDMode</code>
resource in logic that does bold fonts.</li>
<li>implement underlining.</li>
</ul>
</li>
<li>patches by Ilya Zakharevich:
<ul>
<li>improve drawXtermText() by making the recursive calls
communicate through arguments, and not through
saving/restoring global variables.</li>
<li>make double-width characters work with <code>-u8</code>
option.</li>
<li>modify lookup of double-sized fonts by checking for a
match ignoring x/y resolution if the first check
fails.</li>
</ul>
</li>
<li>make height of TrueType fonts match ascent+descent (patch
by Keith Packard).</li>
<li>correct configure-script check for imake $CFLAGS, which did
not check properly if imake was not available.</li>
<li>correct install rule in Makefile.in for
<code>uxterm</code>, which was attempting to strip the script
(newsgroup posting by Fernan Aguero).</li>
<li>correct AF/AB strings in termcap for xterm-256color and
xterm-88color entries (report by Josh Howard).</li>
<li>update wcwidth.c to incorporate changes from Markus Kuhn's
2003-05-20 (Unicode 4.0) version of that file.</li>
<li>modify <code>scroll-back</code> and
<code>scroll-forw</code> actions to accept an adjustment value,
e.g.,
<pre>
<code>scroll-back(1, page-2)</code>
</pre>to scroll back by 2 lines less than a page (patch by Greg
Klanderman).
</li>
<li>use color resource setting from Debian package for xterm
VT100 widget, since the choice of blues provides better
contrast.</li>
<li>remove color resources from <code>XTerm.ad</code>, leaving
them only in <code>XTerm-col.ad</code> (prompted by Debian
package for xterm).</li>
<li>correct configure script option --enable-pty-handshake
(report by Paul Gilmartin).</li>
<li>add <code>visualBellDelay</code> resource to modify the
length of time used for visual bell, for very slow displays or
very fast computers (reports by Ingo van Lil and Doug
Toppin).</li>
<li>correct logic for initializing dynamic highlight color
(patch by Jess Thrysoee).</li>
<li>add a check for non-zero size in call to
<code>XCopyArea()</code> to accommodate a Solaris bug.</li>
<li>correct typo in example for character classes in xterm
manpage (Debian #198910).</li>
<li>link xterm with bind_on_load option on Darwin to work
around a deadlock in the dynamic loader when a signal is
received while the dynamic loader is looking up symbols
(patches by Rob Braun, Torrey Lyons).</li>
<li>modify configure script to avoid using "head -1".</li>
<li>update config.guess, config.sub</li>
<li>modify ifdef's to work around inclusion of types FcChar32
and XftCharSpec with FreeType 2.0 (see <a href=
"#xterm_175">patch #175</a>).</li>
<li>modify the predictable version of the generated logfile
name (see <a href="#xterm_171">patch #171</a>) to append the
process-id rather than a random value.</li>
<li>resync with XFree86 CVS
<ul>
<li>Enable SCO function keys in xterm</li>
<li>Make Delete key send DEL by default on SCO in
xterm</li>
</ul>
</li>
</ul>
<h1><a name="xterm_179" id="xterm_179">Patch #179 - 2003/5/21 -
XFree86 4.3.99.5</a></h1>
<ul>
<li>modify ifdef's for WTMPX_FILE to allow building on cygwin
again.</li>
<li>change the default of pty-handshaking configure option (and
related default for imake) to assume this feature is
needed.</li>
<li>add ifdef's so configure option for XawPlus library works
(patch by Pavel Roskin).</li>
<li>add <code>$(MAIN_DEFINES)</code> to the variables checked
by the configure script that may contain information set by
imake. This allows xterm to build/run properly using the
configure script on IRIX64.</li>
<li>add configure check for ".exe" suffix on cygwin.</li>
</ul>
<h1><a name="xterm_178" id="xterm_178">Patch #178 - 2003/5/18 -
XFree86 4.3.99.5</a></h1>
<ul>
<li>modify default for configure
<code>--enable-pty-handshake</code> option to enable it for
Solaris (report by Nelson Beebe).</li>
<li>modify <code>in_put()</code> function to call
<code>PreeditPosition()</code> only when the cursor's position
has changed. This addresses report by Stefan Baums of high CPU
usage while xterm with chinput are running in the background
(patch by Yong Li).</li>
<li>improved explanation of <code>-ls</code> conflict with
<code>-e</code> option in xterm manpage (adapted from comments
by Henning Makholm).</li>
<li>correct comment in terminfo file regarding modifier used
for <code>kDC</code> (Debian #189764, report by Henning
Makholm).</li>
<li>correct/extend some of the keypad description in ctlseqs.ms
(report by Henning Makholm).</li>
<li>correct keypad-mapping table in input.c so
<code>XK_KP_Equal</code> works (report by Henning
Makholm).</li>
<li>modified to work with CJK double-width (bi-width/monospace)
fonts. They're similar to Roman Czbora and David Starner's
gnuunifonts in that Latin letters and numbers have all the same
width which is exactly the half of the width of East Asian
characters. (patch by Jungshik Shin
<jshin@mailaps.org>).</li>
<li>add configure option <code>--enable-broken-osc</code> and
resource <code>brokenLinuxOSC</code> to accommodate scripts
which do not distinguish between running in the Linux console
and running in X. Linux console recognizes malformed control
strings which start with an <code>OSC</code>, but are
fixed-length, with no terminator.</li>
<li>add configure option <code>--enable-broken-st</code> and
resource <code>brokenStringTerm</code> to allow user to revert
one part of the parsing table corrections from <a href=
"#xterm_171">patch #171</a>. (reports by Matthias Scheler and
Kirill Ponomarew indicate that someone's network firmware sends
an <code><escape>X</code>).</li>
<li>modify configure <code>--disable-imake</code> to provide
values for <code>OSMAJORVERSION</code>,
<code>OSMINORVERSION</code>, <code>FUNCPROTO</code> and
<code>NARROWPROTO</code> (report by Heiko Schlichting).</li>
<li>correct <code>vttests/16colors.sh</code>, which omitted the
<code>$SUF</code> variable in output strings (patch by Paul
Gilmartin).</li>
<li>modify shell scripts in <code>vttests</code> directory to
attempt to use named signals in the <code>trap</code>
statement, making this portable to OS/390 (report by Paul
Gilmartin). Tested on SunOS 4.1.4, which implements only
numbers.</li>
</ul>
<h1><a name="xterm_177" id="xterm_177">Patch #177 - 2003/3/23 -
XFree86 4.3.0</a></h1>
<ul>
<li>fix definition of <code>USE_HANDSHAKE</code>, must be
numeric (reported by Jens Schleusener).</li>
</ul>
<h1><a name="xterm_176" id="xterm_176">Patch #176 - 2003/3/22 -
XFree86 4.3.0</a></h1>
<ul>
<li>add configure option <code>--enable-pty-handshake</code> to
allow one to compile-in support for the pty handshaking logic,
and resource <code>ptyHandshake</code> to enable or disable it
(suggested by Ian Collier).</li>
<li>restore <code>USE_HANDSHAKE</code> ifdef removed in
<a href="#xterm_159">patch #159</a> to address Debian
#39964.</li>
<li>move ifdef's for ttysize/winsize into xterm_io.h</li>
<li>simplify loop on <code>tgetent</code>, check if the
successive entries in the lookup table are the same. That makes
xterm do one less lookup if there is no "xterm" entry in the
termcap file (report by Derek Martin).</li>
<li>correct manpage discussion of <code>$TERM</code> and
<code>$TERMCAP</code> variables, which omitted the Tektronix
emulation and a note of the final "dumb" fallback.</li>
<li>broaden ifdef for
<code>XRegisterIMInstantiateCallback()</code> from <a href=
"#xterm_175">patch #175</a> (XIM fix) to exclude non-XFree86
(report by Nelson Beebe indicates this breaks for Solaris, IRIX
and OSF/1).</li>
<li>correct resource-size for <code>iconFont</code> (this was
added by X11R6.3).</li>
<li>improve configure check for XKB bell extension, to work
around inconsistent implementation of this feature (reports by
Nelson Beebe, Kriston Rehberg and David Ellement).</li>
<li>modify configure-check for <code>tty</code> group to be
less strict in batch mode (report by Nelson Beebe).</li>
<li>modify to allow building with g++, to use its compiler
warnings (suggested by Nelson Beebe).</li>
<li>modify <code>dec2ucs[]</code> table to reflect newer codes
available for scanlines 1, 3, 7, 9 (report by Michael
Schroeder).</li>
<li>add configure option for XawPlus library.</li>
</ul>
<h1><a name="xterm_175" id="xterm_175">Patch #175 - 2003/3/9 -
XFree86 4.3.0</a></h1>
<ul>
<li>fix a SIGSEGV which could occur if xterm is connecting to
XIM server, and the XIM server is destroyed (patch by Nam
SungHyun).</li>
<li>modify to use built-in line-drawing characters for Xft
fonts (patch by Andrew Tipton).</li>
<li>make menu reflect the state of the <code>tekInhibit</code>
resource.</li>
<li>make <code>signalInhibit</code> resource work, i.e.,
disable the menu entries that would send signals to, or exit
xterm. This was probably broken in X11R5 when logging was
disabled (report by Sven Mascheck).</li>
<li>changed classes of <code>colorBDMode</code> and similar
resources that override colors when a video attribute is set to
<code>ColorAttrMode</code>, to make them distinct from
<code>ColorMode</code>. This avoids an unexpected rendering of
reverse video, for example (report by Paul Fox).</li>
<li>changed class of <code>veryBoldColors</code> to
<code>VeryBoldColors</code>, since <code>ColorMode</code> is
associated with boolean resources.</li>
<li>add option <code>-k8</code> and resource
<code>allowC1Printable</code> to allow users of non-VTxxx
character sets such as KOI-8 to treat the C1 control area
(character codes 128-159) as printable rather than control
characters.</li>
<li>add a null-pointer check for return-value of
<code>ptsname()</code> in HPUX-specific code (report by David
Ellement).</li>
<li>revise the ifdef's used for <code>XKB</code> bell support.
The code was using a nonstandard call
<code>XkbStdBell()</code>. Changed to use
<code>XkbBell()</code> (based on patch by
<derek@signalmarketing.com>).</li>
<li>add a null-pointer check in <code>xtermLoadFont()</code> in
case there is no wide-bold font (Nam SungHyun).</li>
<li>change <code>Makefile.in</code> to use autoconf's
<code>bindir</code>, <code>libdir</code> and
<code>mandir</code> variables (report by Nam SungHyun).</li>
<li>add <code>le</code> to termcap <code>xterm-basic</code>
entry. Though missing from older termcaps for xterm, some
applications check for it (report by Matthias Buelow).</li>
<li>modify <code>uxterm</code> script to strip modifiers such
as "@euro" from the locale setting before adding ".UTF-8"
(Debian #179929).</li>
<li>modify the remaining places where tek4014 emulation uses
<code>XDefineCursor()</code>, to make it work as originally
implemented, e.g., when switching back to alpha mode. Added
test-screen in vttest to test this feature properly.</li>
</ul>
<h1><a name="xterm_174" id="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>
<li>add a resource setting <code>allowWindowOps</code> 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.</li>
</ul>
<h1><a name="xterm_173" id="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>
<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>
<li>check for illegal character in DECUDK string, quit if
detected.</li>
</ul>
<h1><a name="xterm_172" id="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>
<li>fix check in <code>ScrnRefresh</code>, which was
comparing background colors only if the ANSI foreground
colors also were set.</li>
</ul>
</li>
<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>
<li>simplify logic used to open a debug logfile as the standard
error.</li>
<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 -c</code>.</li>
<li>modify parsing of DECUDK string parameter to allow a comma
between pairs of hexadecimal digits (Ray Neuman
<raymond@one.com.au> reports that "real" terminals accept
this; perhaps they simply ignore unexpected characters).</li>
<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>
<li>escape exclamation marks, used in xterm's reset
string.</li>
<li>translate literal <code>\177\</code> to "^?".</li>
</ul>
</li>
<li>improve configure check for <code>tgetent()</code> to work
when <code>$TERMCAP</code> has been set to a specific
entry.</li>
<li>modify <code>minstall.sh</code> to use "%" rather than "@",
to avoid problems with AFS (report by Zdenek Sekera).</li>
<li>list fatal error codes from <code>error.h</code> in the
manpage, remove unused codes in <code>error.h</code>.</li>
<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>
<li>minor fix to description of 1003 mouse mode in ctlseqs.ms
(Larry Riedel).</li>
</ul>
<h1><a name="xterm_171" id="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>
<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>
<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>
<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 <semenu@FreeBSD.org>).</li>
<li>remove unused mode-params from <code>open()</code> calls
that do not create a file.</li>
<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>
<li>update config.guess, config.sub</li>
<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>
<li>initialise ProgramName in xterm's main before
referencing it (XFree86 #5473, Peter Valchev).</li>
<li>some cleanup of Imakefile ifdef's (Marc La
France).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_170" id="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>
<li>modify configure script to check for Xpm library, on which
XFree86 Xaw library depends.</li>
<li>update config.guess, config.sub</li>
</ul>
<h1><a name="xterm_169" id="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>
<li>sort options list which is displayed in help- and
syntax-messages at runtime to simplify maintenance.</li>
<li>remove support for Amoeba and Minix (Juliusz Chroboczek
noted it was removed from XFree86 server; there have been no
users since 1996).</li>
<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>
<li>ifdef'd the session-management changes with
<code>OPT_SESSION_MGT</code>, to accommodate X11R5 which
predates the related definitions.</li>
<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>
<li>fix an option-parsing conflict between <code>-class</code>
and <code>-cjk_width</code> (Nam SungHyun)</li>
<li>add a missing null in <code>XtVaSetValues()</code> call
used in <code>Cleanup()</code> (Nam SungHyun)</li>
</ul>
<h1><a name="xterm_168" id="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
<jess@thrysoee.dk>).</li>
<li>add <code>-cjk_width</code> and corresponding resource
<code>cjkWidth</code> (patch by Jungshik Shin
<jshin@mailaps.org>).</li>
<li>add <code>-into</code> option, for embedding xterm in a
Tcl/Tk application (patch by George Peter Staplin
<georgeps@xmission.com>).</li>
<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>
<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>
<li>fix for inconsistent use of <code>struct utmp</code> versus
<code>struct utmpx</code> introduced in <a href=
"#xterm_167">patch #167</a> (patches by Paul Gilmartin, Marc La
France).</li>
<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 (discussion of
eightBitInput with H.J.Lu). Note however that Vincent
Lefèvre reported this in January).</li>
<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>
<li>correct logic of <code>ChangeAnsiColorRequest()</code>,
which would do a screen repaint after replying to a request for
information.</li>
<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>
<li>add vttests/acolors.sh to demonstrate OSC 4, which queries
or sets ANSI colors.</li>
<li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).</li>
<li>typos in xterm manpage (Jens Schweikhardt)</li>
<li>remove a redundant GCC_UNUSED from InitPopup() (Nam
SungHyun)</li>
</ul>
<h1><a name="xterm_167" id="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>
<li>fix several places in ctlseqs.ms which had no boxes around
the literal text (report by Ilya Zakharevich).</li>
<li>extend mouse support for readline, ifdef'd with
OPT_READLINE (integrated patch from Ilya Zakharevich).</li>
<li>modify terminfo description to match default for
<code>modifyCursorKeys</code> resource.</li>
<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 (newsgroup
discussion with Stephen J Turnbull, Jeffrey Altman).</li>
<li>correct missing initializations for
<code>appdefaultCursor</code> and <code>appdefaultKeypad</code>
resources.</li>
<li>add configure option <code>--enable-luit</code> and ifdef'd
the luit-related code with OPT_LUIT_PROG.</li>
<li>modify xterm to invoke luit (integrated patch by Tomohiro
Kubota)</li>
<li>update wcwidth.c to match Markus Kuhn's 2002-05-18
version.</li>
<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>
<li>correct manpage description of <code>tiXtraScroll</code>
resource (reported by Tony Finch).</li>
<li>changes from OpenBSD:
<ul>
<li>Make xterm setgid utmp to be able to update utmp even
with root privileges revoked.</li>
<li>If not updating utmp, revoke group privileges totally
too.</li>
</ul>
</li>
<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: <user> <tty> <pty>"
errors.</li>
<li>Use openpty() to deal with new pty naming scheme.</li>
</ul>
</li>
<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>
<li>check if <code>printerCommand</code> resource string is
empty, use this to allow user to disable printer function.</li>
<li>trim trailing blanks from resource strings.</li>
<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>
<li>modify OS/2 version to use <code>__UNIXOS2__</code>
definition rather than <code>__EMX__</code>, related cleanup
(patch by Holger Veit).</li>
<li>used modified indent 2.0 (patch <a href=
"ftp://ftp.invisible-island.net/gnu-patches/">20020428</a>) to
reformat most of the C source files, to simplify
maintenance.</li>
<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>
<li>add imake variable (TraceXTerm) to allow building debug
version (Egbert Eich).</li>
</ul>
<h1><a name="xterm_166" id="xterm_166">Patch #166 - 2002/3/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 Lefèvre <vincent@vinc17.org>).</li>
<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
<jrh@vicor-nb.com>).</li>
<li>define escape sequences for function keys F21-F35 (patch by
Stephen P Wall).</li>
<li>change the colors for the 256-color model, making them less
skewed toward black (patch by Stephen P Wall).</li>
<li>add <code>vt100Graphics</code> resource (see <a href=
"#xterm_115">patch #115</a>, based on discussion with Glenn
Maynard).</li>
<li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid
potential incompatibilities between these flavors of Athena
widgets.</li>
<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>
<li>updates to configure script from vile and lynx to allow
configure.in to be compiled with autoconf 2.5x</li>
<li>add a check for null pointer return by
<code>ptsname()</code> (newsgroup posting from Mike Silva
<mikesilva@lucent.com>).</li>
<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 <lyosha@lyosha.2y.net>).</li>
<li>remove duplicate install rules that make directories, e.g.,
so installing manpage will not create app-defaults
directory.</li>
<li>add comment in in <code>do_osc()</code>, reserving cases 30
and 31 for for Konsole (request by Stephan Binner
<Stephan.Binner@gmx.de>).</li>
<li>fixes for ctlseqs.ms and xterm.man (patch by Werner Lemberg
<wl@gnu.org>).</li>
<li>add check for monochrome display, disabling colorMode in
that case (fixes Debian #134130).</li>
<li>resync with XFree86 CVS
<ul>
<li>Fix some xterm build warnings on *BSD (patch by David
Dawes).</li>
<li>Only use SA_RESTART in xterm when it's available (patch
by Frank Liu).</li>
<li>Fix incorrect code in signal handlers in most of the
clients, xterm and xdm not done yet (patch by Matthieu
Herrb).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_165" id="xterm_165">Patch #165 - 2002/1/5 -
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>
<li>add an assignment statement in VTInitialize() to make
<code>awaitInput</code> resource work.</li>
<li>use new macros init_Bres(), etc., in VTInitialize() to add
trace of the initialization of resources.</li>
<li>modify checks for $LC_ALL, related environment variables to
ensure the resulting strings are nonempty (report by Markus
Kuhn).</li>
<li>add an ifdef in charproc.c for num_ptrs variable in case
all configure options are disabled.</li>
<li>modify definition of getXtermBackground() to avoid negative
array index warning on Tru64 (report by Jeremie Petit).</li>
<li>improve fix from patch #165 (still Debian #117184, report
by Matt Zimmerman <mdz@debian.org>)</li>
<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>
<li>documented ANSI.SYS-style cursor save/restore escape
sequences in ctlseqs.ms, which are in xterm since X11R5.</li>
<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
<bevand_m@epita.fr>).</li>
<li>fix a couple of typos in comments in the app-defaults files
(David Krause <xfree86@davidkrause.com>).</li>
<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>
<li>save/restore <code>errno</code> in signal catcher
(patch by Matthieu Herrb).</li>
<li>modify UXTerm.ad's font5 resource so that xterm can
display double width characters using a font distributed
with XFree86 (Tomohiro Kubota).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_164" id="xterm_164">Patch #164 - 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)</li>
</ul>
<h1><a name="xterm_163" id="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
<a href="#xterm_140">patch #140</a> (report/patch by Frank Liu
<fliu@mail.vipstage.com>).</li>
<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>
<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>
<li>modify xterm manual page and minstall.sh to allow imake
rules to define location of app-defaults directory (Debian
#87611).</li>
<li>review/update list of conflicting preprocessor 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).</li>
</ul>
<h1><a name="xterm_162" id="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>
<li>improve options-decoding to allow <code>-version</code> and
<code>-help</code> options to be combined (Debian
#110226).</li>
<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>
<li>prefix final program execution in <code>uxterm</code> with
"exec" to avoid a useless shell hanging around (Christian
Weisgerber).</li>
</ul>
<h1><a name="xterm_161" id="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 <davis@space.mit.edu> and
Alan W Irwin <irwin@beluga.phys.uvic.ca>).</li>
<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>
<li>correct Imakefile install-rule for <code>uxname</code>
script (reported by Nam SungHyun <namsh@lge.com>).</li>
<li>resync with XFree86 CVS – correct typo in
<code><ncurses/term.h></code> ifdef.</li>
</ul>
<h1><a name="xterm_160" id="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 <borsboom@westbrabant.net>
in May, but I overlooked it when reviewing bug reports.</li>
<li>add configure check for <code><ncurses/term.h></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><ncurses/term.h></code> does not hurt anything,
since there are some correct installations that are set up
that way.</p>
</li>
<li>add a sample <code>uxterm</code> script, which uses the
<code>UXTerm</code> application defaults for UTF-8
environments.</li>
<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>
<li>resync with XFree86 CVS
<ul>
<li>Modified xterm app default to use LFD fontnames instead
of old type (Michael Schroeder).</li>
<li>Fix xterm when XIM is disabled - caused a segfault
(Tomohiro Kubota).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_159" id="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>
<li>correct treatment of empty parameter list for some OSC
strings (report by Sami Farin <sfarin@ratol.fi>).</li>
</ul>
<h1><a name="xterm_158" id="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
<pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov
<D.Yu.Bolkhovityanov@inp.nsk.su>).</li>
<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
<tron@zhadum.de>).</li>
<li>modify xterm to obtain the closest matching color if an
exact color is not available, e.g., on 8-bit displays (patch by
Stephen P Wall)</li>
<li>implement "OverTheSpot" preedit type of XIM input (patch by
Tomohiro Kubota):
<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>
<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>
<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>
<li>A tiny XIM bugfix is also included. By calling
XSetLocaleModifiers() with parameter of "", it can consider
XMODIFIERS environmental variable which is a standard way
for users to specify XIM server to be used.</li>
</ul>
</li>
<li>adjust configure script to accommodate repackaging of
keysym2ucs.c as include-file for xutf8.c (patch by Tomohiro
Kubota).</li>
<li>add the <code>UXTerm</code> app-defaults file to makefile
install rules (request by Juliusz Chroboczek).</li>
<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>
<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>
<li>resync with XFree86 CVS
<ul>
<li>remove ifdef's for X_NOT_STDC_ENV (patch by David
Dawes).</li>
<li>add Cygwin to special errno handling case in ptydata.c
(Alan Hourihane)</li>
<li>set screen size earlier in initialization, to address a
race with window manager resizing its clients (Keith
Packard).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_157" id="xterm_157">Patch #157 - 2001/6/18 -
XFree86 4.1.0</a></h1>
<ul>
<li>clean up button.c and input.c (patch by Juliusz
Chroboczek). 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 will 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>
<li>Xutf8TextPropertyToTextList fully handles STRING and
UTF8_STRING. It systematically fails for
COMPOUND_TEXT.</li>
<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.</li>
</ul>
</li>
<li>add an ifdef for <code>SunXK_F36</code>, used in
<code>xtermcapKeycode()</code> (patch by Mark Waggoner
<waggoner@ichips.intel.com>).</li>
<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>
<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
<fletcher@catsreach.org>).</li>
<li>two patches by Denis Zaitsev <zzz@cd-club.ru>:
<ul>
<li>added <code>forceBoxChars</code> resource to control
the "line-drawing characters" option.</li>
<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.</li>
</ul>
</li>
<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>
<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
<sven.mascheck@student.uni-ulm.de>).</li>
<li>correct some inconsistent checks for
<code>XtReleaseGC()</code> calls in
<code>xtermLoadFont()</code> (patch by Nam SungHyun
<namsh@lge.com>).</li>
<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>
<li>correction to change from <a href="#xterm_90">patch
#90</a>, 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>
<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>
<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
<vojta@math.berkeley.edu>).</li>
<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>
<li>Install xterm.termcap and xterm.terminfo when
installing xterm (Torrey T. Lyons).</li>
<li>Fix some build issues on Cygwin/XFree86 (Suhaib
Siddiqi).</li>
<li>Define CBAUD, when it's missing in xterm, on LynxOS
(Stuart Lissaman).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_156" id="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>
<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>
<li>if configure script finds freetype libraries, but imake
definitions do not have the XRENDERFONT definition, define it
anyway.</li>
<li>modify configure script check for freetype libraries to
include <code><Xlib.h></code>, since an older version of
the related headers relies on this (patch by Adam
Sulmicki).</li>
</ul>
<h1><a name="xterm_155" id="xterm_155">Patch #155 - 2001/4/20 -
XFree86 4.0.3</a></h1>
<ul>
<li>correct return type of in_put() from <a href=
"#xterm_155">patch #153</a> changes, which left it not wide
enough for UTF-8 (patch by Bruno Haible).</li>
</ul>
<h1><a name="xterm_154" id="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>
<li>correct length in ScreenWrite, when rendering invisible
text (patch by Sven Verdoolaege <skimo@kotnet.org>).</li>
<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>
<li>split-out the non-ICCM aspect of the
<code>i18nSelection</code> resource as a new resource,
<code>brokenSelections</code>.</li>
</ul>
</li>
<li>add configure check for <code><time.h></code> and
<code><sys/time.h></code>, to allow for Unixware 7,
which requires both. If the configure script is not used, only
<code><time.h></code> will be included as before (report
by Thanh Ma).</li>
<li>fix redefinition of <code>dup2</code>,
<code>getutent</code>, <code>getutid</code>,
<code>getutline</code> and <code>sleep</code> functions on
Unixware 7 (report by Thanh Ma
<Thanh.Ma@casi-rusco.com>)</li>
<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>
<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>
<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>
<li>correct escape sequences shown in terminfo for shifted
editing keys. The modifier code was for the control key rather
than the shift key.</li>
</ul>
<h1><a name="xterm_153" id="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>
<li>correct an misplaced brace in
<code>SelectionReceived()</code> (patch by Bruno Haible).</li>
<li>correct an assignment dropped in
<code>SelectionReceived()</code> which made it not compile for
wide-characters combined with debug traces.</li>
<li>correct typo, clarify description of 88- and 256-color
controls (report by Bram Moolenaar).</li>
<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).</li>
</ul>
<h1><a name="xterm_152" id="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>
<li>remove spurious "%|" from terminfo sgr capabilities
(report/analysis by Adam M Costello, Debian #89222).</li>
<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>
<li>fix a few compiler warnings reported by the 20010305 gcc
snapshot.</li>
</ul>
<h1><a name="xterm_151" id="xterm_151">Patch #151 - 2001/3/10 -
XFree86 4.0.2</a></h1>
<ul>
<li>alter the behaviour of selections in XTerm (patch by
Juliusz Chroboczek). 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.</p>
</li>
<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>
<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.)</li>
</ul>
</li>
<li>improved error checking/reporting in VTInitI18N(), ensuring
that lack of input method styles is treated distinctly from a
mismatch.</li>
<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
<amc@cs.berkeley.edu>, Debian #76404, Debian
#77575).</li>
<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 (reports by Christian
Weisgerber, Debian #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).</p>
</li>
<li>fix a redefinition warning for resize.c on OpenBSD (patch
by Christian Weisgerber).</li>
<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>
<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>
<li>add configure check for freetype libraries and configure
option --disable-freetype to override this feature.</li>
<li>modify some configure script macros to avoid using
changequote(), which has been rendered useless in the latest
autoconf alpha 2.49c</li>
<li>update config.guess, config.sub to 2001-2-13</li>
<li>remove redundant/contradictory __CYGWIN__ definitions from
resize.c</li>
<li>correct manpage typo introduced by X11R6.5 resync.</li>
</ul>
<p>Changes from XFree86 4.0.2:</p>
<ul>
<li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris
to make this compile with <code>gcc -ansi -pedantic</code>
(report by <mark@zang.com>.</li>
</ul>
<h1><a name="xterm_150" id="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
<mgedmin@puni.osf.lt>).</li>
<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 <alison@mirrabooka.com>).</li>
<li>fixes for wide/combining characters (Robert Brady):
<ul>
<li>fix a scrolling / combining characters display
anomaly</li>
<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 <yzhang@sharemedia.com>).</li>
<li>fix special case of null byte for key handling in UTF-8
locales.</li>
</ul>
</li>
<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 <alan@mticket.com>,
who says that something in patches <a href=
"#xterm_146">#146</a> to <a href="#xterm_148">#148</a> made
xterm more likely to overstrike bold fonts, and indirectly
Debian bug report #76404, which reports the opposite).</li>
<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 <china@thewrittenword.com<).</li>
<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
<celacunza@netscape.net></li>
<li>correct a logic in UTF-8 mode for selecting double-width
characters; a combining character was omitted (patch by Markus
Kuhn).</li>
<li>add feature to pop (raise) window when a bell is received
(patch by Gael Roualland
<gael.roualland@dial.oleane.com>).</li>
<li>add __NetBSD__ and __OpenBSD__ to special-case in
xterm_io.h for USE_POSIX_TERMIOS definition (patch by Christian
Weisgerber).</li>
<li>move special-case HPUX include for <sys/bsdtty.h> to
xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for
HPUX 10.20 (report by Bruno Betro).</li>
</ul>
<h1><a name="xterm_149" id="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>
<li>improve usability of double-width fonts by allowing normal
fonts to be given as double-width (from a patch by Fabrice
Bellard <bellard@email.enst.fr>).</li>
<li>correct a few compiler warnings in TRACE() macros for
signed/unsigned variable differences (reported by Clint
Olsen).</li>
<li>make configure script use $CFLAGS and $CPPFLAGS more
consistently, i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC
macro.</li>
<li>expanded description of environment variables in
manual-page.</li>
<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>
<li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so
the corresponding configure options work (patch by Bram
Moolenaar).</li>
<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).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_148" id="xterm_148">Patch #148 - 2000/10/31 -
XFree86 4.0.1d</a></h1>
<ul>
<li>document logfile options in man-page.</li>
<li>correct spelling of <code>-samename</code> option in help
message.</li>
<li>add configure script option
<code>--enable-tcap-query</code> (request by Bram
Moolenaar).</li>
<li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature
(patch by Bram Moolenaar).</li>
<li>patch by Kiyokazu Suto <suto@ks-and-ks.ne.jp>:
<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>
<li>correct underlining of double width character string,
which was drawn only half width.</li>
<li>correct binary search of precomposed character table,
which may return wrong result when <code>int</code> is just
32 bits.</li>
</ul>
</li>
<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>
<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>
<li>make a few entries explicitly inherit from
xterm-xfree86 rather than xterm: xterm-rep, xterm-xmc,
xterm-nrc</li>
</ul>
</li>
<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>
<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>.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_147" id="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
<naddy@mips.inka.de>).</li>
<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
<rch@richard.eu.org>).</li>
<li>modify sample scripts to check for printf before print,
since the latter is not as well standardized (e.g., on
Linux).</li>
<li>updated config.sub, config.guess to reflect changes on
subversions.gnu.org</li>
</ul>
<h1><a name="xterm_146" id="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
<tv@debian.org>).</li>
<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).</li>
</ul>
<h1><a name="xterm_145" id="xterm_145">Patch #145 - 2000/9/11 -
XFree86 4.0.1c</a></h1>
<ul>
<li>changes for UTF-8 configuration (Robert Brady):
<ul>
<li>doublewide characters don't lose their accents when the
cursor moves onto or from them (a visual bug)</li>
<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>
<li>modify logic for cut-buffers so UTF-8 data is first
converted to Latin1.</li>
<li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.</li>
<li>modify to allow xterm to to show combining characters
attached to doublewidth characters.</li>
<li>correct bug in linewrap with -u8 option (reported by
Andreas Koenig <andreas.koenig@anima.de>).</li>
</ul>
</li>
<li>several changes to PTY logic (based on request by Tim Ryan
<timryan@nortelnetworks.com>).
<ul>
<li>modify treatment of <code>-S</code> option to to make
it work with Unix98 PTY's.</li>
<li>restore sense of IsPts flag in <code>get_pty()</code>,
which was lost in Unix98 changes.</li>
<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>
<li>simplify <code>get_pty()</code> function, making it
have a single return point so its inputs/outputs can be
identified.</li>
</ul>
</li>
<li>update config.guess and config.sub and scripts to my
20000819 patch, adding cases for OS/2 EMX.</li>
<li>add special case for os390 compiler options to configure
script (patch by Paul Gilmartin)</li>
<li>fix some unused-variable compiler warnings (reported by
Zdenek Sekera).</li>
<li>split-out some string functions into xstrings.c, to use
them more consistently among main.c, os2main.c and
resize.c</li>
<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>
<li>add terminfo entry for xterm-sco (SCO function keys).</li>
<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
<enbeo@enbeo.resnet.bris.ac.uk>)</li>
<li>correct preprocessor line for OPT_WIDE_CHARS in
drawXtermText() from patch #141 which resulted in overstriking
for bold fonts not working.</li>
<li>correct Imakefile from 4.0.1c resync so UTF-8 modules are
in UTF8SRC, UTF8OBJ lists, allowing build without UTF-8
support.</li>
</ul>
<h1><a name="xterm_144" id="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
<alan@mticket.com>).</li>
</ul>
<h1><a name="xterm_143" id="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 <aab@aab.cc.purdue.edu>).</li>
</ul>
<h1><a name="xterm_142" id="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
<robert@susu.org.uk>).</li>
<li>correct macro ClassSelects() in button.c, used to hide
ifdef's for OPT_WIDE_CHARS in patch #141 (reported by Andreas
Paul <paula@informatik.tu-muenchen.de>).</li>
<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>
<li>newer config.sub and config.guess, from lynx
2.8.4dev.7</li>
</ul>
<h1><a name="xterm_141" id="xterm_141">Patch #141 - 2000/8/14 -
XFree86 4.0.1b</a></h1>
<ul>
<li>changes for doublewidth and combining characters, from
http://www.ecs.soton.ac.uk/~rwb197/xterm/ (integrated patch by
Robert Brady). In this context, doublewidth refers to 16-bit
character sets which may have glyphs occupying two cells.</li>
<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>
<li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram
Moolenaar, Stephen P Wall).</li>
</ul>
<h1><a name="xterm_140" id="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>
<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>
<li>add /usr/local to search path in CF_X_ATHENA configure
macro to build with Xaw3d on OpenBSD (patch by Christian
Weisgerber).</li>
<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 <Alain.Filbois@loria.fr>).</li>
<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
<enf@pobox.com>).</li>
<li>update config.guess and config.sub, from tin and lynx.</li>
</ul>
<h1><a name="xterm_139" id="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).</li>
</ul>
<h1><a name="xterm_138" id="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>
<li>restore first line of 256colres.pl, omitted in 4.0c
diffs.</li>
</ul>
<h1><a name="xterm_137" id="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>
<li>limit numeric parameters of control sequences to 65535 to
simplify checks for numeric overflow.</li>
<li>change index into UDK list to unsigned to guard against
numeric overflow making the index negative (Taneli Huuskonen
<huuskone@cc.helsinki.fi>).</li>
<li>change <code>sun 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 keyboard</code> to
<code>sunKeyboard</code> (Stephen P Wall).</li>
<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>
<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>
<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>
<li>updates to config.sub and config.guess Kevin Buettner
<kev@primenet.com> for elf64_ia64 Bernd Kuemmerlen
<bkuemmer@mevis.de> and MacOS X.</li>
<li>for os390, add check for errno set to ENODEV on failure to
open /dev/tty when there is no controlling terminal (patch by
Paul Gilmartin).</li>
<li>fixes for building on Digital Unix 4.0 and AIX 4.2 (patch
from H Merijn Brand <h.m.brand@hccnet.nl>).</li>
<li>modify DECRQSS reply for DECSCL to additionally report if
the terminal is set for 8-bit controls.</li>
</ul>
<h1><a name="xterm_136" id="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>
<li>ignore out-of-bounds resize requests, i.e., where
sign-extension or truncation of the parameters would
occur.</li>
</ul>
<h1><a name="xterm_135" id="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>
<li>minor correction to format of updated $TERMCAP when adding
<code>kb</code> capability for <code>ptyInitialErase</code>
logic.</li>
<li>improved test for SVR4 definition.</li>
</ul>
<h1><a name="xterm_134" id="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>
<li>correct missing quotes in CF_TTY_GROUP configure script
macro in case the script is run in batch mode.</li>
<li>modify ownership-check of log file to ignore the group
ownership. Otherwise xterm cannot create logfiles in
directories with set-gid permissions.</li>
<li>simplify the logic that reads termcap data.</li>
<li>add fallback definition for B9600 in case line speed
definition for 38400 is missing (report by Jack J Woehr
<jwoehr@ibm.net>, for OpenBSD 2.6).</li>
<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
<ross@soi.city.ac.uk>).</li>
<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>
<li>patches from Stephen P 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 <X11/Sunkeysym.h>
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>
<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>
<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.</li>
</ul>
</li>
<li>fixes for os390 (Paul Gilmartin):
<ul>
<li>regularize the definition of CONTROL() and remove an
acknowledged "trial and error" table.</li>
<li>translate "^?" into A2E(0177) which is the EBCDIC "DEL"
rather than plain 0177 which is the EBCDIC quotation
mark.</li>
<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>
<li>make debugging traces (configure --enable-trace) work
properly with EBCDIC.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_133" id="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>
<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 <neil.bird@rdel.co.uk>).</li>
<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>
<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>
<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 <adi@lcse.umn.edu>).</li>
<li>remove unused configure script check for VDISABLE.</li>
</ul>
<h1><a name="xterm_132" id="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>
<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 <jmknoble@pobox.com>).</li>
<li>correct ifdef'ing for conflict between definitions in AIX's
<sys/select.h> and <X11/Xpoll.h> (reported by Clint
Olsen).</li>
<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 <psz@maths.usyd.edu.au>)</li>
<li>modify resize.c to build and work on os390 (uses EBCDIC)
(adapted from patch by Phil Sidler
<Phil.Sidler@airborne.com>)</li>
<li>use Ires(), Bres() and Sres() macros to simplify resource
list in charproc.c</li>
<li>resync with XFree86 4.0a:
<ul>
<li>correct a typo in os2main.c (Holger Veit, from
4.0a).</li>
</ul>
</li>
</ul>
<h1><a name="xterm_131" id="xterm_131">Patch #131 - 2000/3/3 -
XFree86 3.9.18b</a></h1>
<ul>
<li>improve logfile security (integrated patch by Branden
Robinson)
<ul>
<li>make the <code>creat_as()</code> function more strict
by using O_EXCL rather than O_APPEND.</li>
<li>fixes to make DEBUG ifdef's compile/run, including
making the debug logfile more unique by appending a
timestamp to its name.</li>
<li>include <term.h> in resize.c, to fix a
missing-prototype warning.</li>
</ul>
</li>
<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 <a href=
"#xterm_130">patch #130</a> ensures is owned by the effective
user) is not writable by other users.</li>
<li>use <code>creat_as()</code> logic to make tek4014
screen-copy more secure (noted by Branden Robinson).</li>
<li>ifdef'd some of Branden's changes to build/work on older
machines.</li>
<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>
<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><ESC>[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).</li>
</ul>
<h1><a name="xterm_130" id="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>
<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
<bruno@iami.mi.cnr.it>).</li>
<li>add a check in <code>creat_as()</code> to ensure that the
user really owns the logfile that has been opened.</li>
<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>
<li>add configure script option --enable-sco-fkeys, minor
related fixes (patch by Dr Werner Fink).</li>
<li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)</li>
<li>fix typo in sinstall.sh default for $TST_PROG (reported by
Paul Gilmartin <pg@sweng.stortek.com>)</li>
</ul>
<h1><a name="xterm_129" id="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>
<li>remove ifdef that prevented colorBD/colorUL/colorBL
resources from working when 256-color configuration was built
(reported by Todd Larason).</li>
<li>fix some minor inconsistencies in terminfo (Debian
#58530).</li>
</ul>
<h1><a name="xterm_128" id="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>
<li>correct ifdef for meta-sends-escap so configure
--disable-num-lock builds.</li>
</ul>
<h1><a name="xterm_127" id="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>
<li>remove logic for metaSendsEscape that would allow xterm to
send <code><ESC>[3~</code> before a function key that
would begin with <code><ESC>[3~</code> (request by
Christian Weisgerber).</li>
<li>add missing action and documentation for
meta-sends-escape.</li>
<li>correct a few typos in ctlseqs.ms (incorrect code for Cyan
color)</li>
</ul>
<h1><a name="xterm_126" id="xterm_126">Patch #126 - 2000/2/8 -
XFree86 3.9.17c</a></h1>
<ul>
<li>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 (patch by Markus Kuhn).
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>
<li>add old function-keys control sequences and popup menu
entry, for compatibility with legacy X11R6 xterm.</li>
<li>revert translation of editing keypad "Delete" key to legacy
\177.</li>
<li>simplify the color-resource data expressions with macro
COLOR_RES, for later use in restructuring color
initialization.</li>
<li>change encoding of wheel mouse (buttons 4 and 5) to avoid
conflict with legacy mouse modifiers (suggested by Bram
Moolenaar).</li>
</ul>
<h1><a name="xterm_125" id="xterm_125">Patch #125 - 2000/1/31 -
XFree86 3.9.17c</a></h1>
<ul>
<li>make this work on OpenVMS (integrated patch by David
Mathog).</li>
<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>
<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>
<li>change TRACE macro so semicolon is not within definition,
making <em>indent</em> and similar programs work better.</li>
<li>add <code>depend</code> rule to Makefile.in</li>
<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>
<li>revise logic that handles menus and input translation for
keyboard type so only one can be selected at a time.</li>
<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>
<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
<amadeus@yk.rim.or.jp>).</li>
</ul>
<h1><a name="xterm_124" id="xterm_124">Patch #124 - 2000/1/27 -
XFree86 3.9.17b</a></h1>
<ul>
<li>change coding of editing keypad's "Delete" key to
<escape>[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
<escape>[3~, even if it happens to be the stty erase
character.</li>
<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>
<li>add encoding for kcbt to <escape>[Z (fixes Debian
#54840).</li>
<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>
<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>
<li>change manpage to make it clearer what codes are sent by
the backarrow key.</li>
</ul>
<h1><a name="xterm_123" id="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 Mayoff <mayoff@dqd.com>).</li>
<li>correct a missing backslash in xterm-vt220 termcap.</li>
<li>cleanup remaining quoted includes, preferring bracketed
form.</li>
<li>minor configure-script macro updates from tin and
vile.</li>
<li>add configure-script option for using utempter library,
adapted from Redhat 6.1 patch for XFree86 3.3.5</li>
<li>resync with XFree86 3.9.17a:
<ul>
<li>correction to QNX support (Frank Guangxin Liu)</li>
<li>some cosmetic changes that did not correct any reported
problems.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_122" id="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>
<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>
<li>correct potential indexing with negative subscript in
udk_lookup(), (reported by Ian Collier
<Ian.Collier@comlab.ox.ac.uk>).</li>
<li>modify configure script that sets TERMINFO_DIR to use
${prefix} rather than /usr if the --prefix option was specified
(request by Zdenek Sekera <zs@sgi.com>).</li>
<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>
<li>change several functions to macros to improve speed</li>
<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>
<li>add brackets so wide-character logic does not
fall-through into the overstriking logic (reported by Marc
Feeley <feeley@IRO.UMontreal.CA>)</li>
</ul>
</li>
<li>add several entries to termcap file to make it have the
same set of aliases as the terminfo file.</li>
<li>scale the color values used for xterm-256color terminfo
entry to 0..1000, as expected by ncurses.</li>
<li>change xterm-r6 terminfo definitions for F1-F4 to match
program.</li>
<li>Add QNX/Neutrino support (Frank Guangxin Liu
<frank@ctcqnx4.ctc.cummins.com>)</li>
</ul>
<h1><a name="xterm_121" id="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>
<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>
<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>
<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).</p>
</li>
<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>
<li>modify terminfo entry for <code>xterm-xfree86</code> to
reflect modifiers for shift and control (from a patch by
Alexander V Lukyanov).</li>
<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>
<li>modify treatment of XK_Delete keysym so it transmits
parameterized VT220-style <code><ESC>[3~</code> if
modifiers (shift, control alt) are given (request by Alexander
V Lukyanov).</li>
<li>corrected misspelled resource name in command-line option
for HP function keys.</li>
</ul>
<h1><a name="xterm_120" id="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 <walker@pobox.com>).</li>
<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
<brad@linuxcanada.com>).</li>
<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>
<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
<werner@suse.de>).</li>
<li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration
(patch by Michael Rohleder).</li>
<li>improve configure script's utmp tests (based on reports by
Greg Smith for os390, and David Ellement for HPUX).</li>
<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>
<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
<david.madore@ens.fr>).</li>
</ul>
<h1><a name="xterm_119" id="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>
<li>add coding for ANSI color to DA response</li>
<li>implement UTF-8 translation for Media Copy (print)
operations.</li>
<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>
<li>correct error in _GNU_SOURCE configure test, which left it
always defined.</li>
<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 <Jeremie.Petit@digital.com>).</li>
<li>add workaround for conflict between <X11/Xpoll.h> and
<sys/select.h> on AIX 4.3 (Richard Griswold
<griswold@acm.org>).</li>
<li>add configure script test to resolve conflict between
between <X11/Xpoll.h> and <sys/select.h></li>
<li>modify translation of UTF-8 sequences to reject "overly
long" variations (patch by Markus Kuhn).</li>
<li>remove <code>utf8controls</code> resource, since Markus'
change removes the corresponding logic.</li>
<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
<Stephane_Chazelas@Raytheon.com>).</li>
</ul>
<h1><a name="xterm_118" id="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>
<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>
<li>add configure test for defining
<code>_GNU_SOURCE</code></li>
<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>
<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 <adam@cfar.umd.edu>).</li>
<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>
<li>fix some typography in ctlseqs.ms description of DEC
locator events (reported by Stephen P Wall).</li>
</ul>
<h1><a name="xterm_117" id="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 <liinu@uta.fi> and Patrik Hagglund
<patha@ida.liu.se>).</li>
<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>
<li>remove a spurious comma in an #undef (reported by David
Green <greendjf@cvhp152.marconicomms.com> and David
Ellement <ellement@sdd.hp.com> both on HP-UX, whose
compiler does care about syntax).</li>
<li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported
by Suhaib M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is
told that the next Cygnus release will drop that symbol in
their next release).</li>
<li>minor cleanup of ifdef's for makeColorPair (patch by
Stephen P Wall).</li>
<li>work around problem observed in XFree86 3.3.5 (patch by
Alexander V Lukyanov, Redhat #5419). From the problem report:
<blockquote>
<p>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>
<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.</p>
</blockquote>
</li>
</ul>
<h1><a name="xterm_116" id="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>
<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>
<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>
<li>implement configure script tests for utmp, tty group.</li>
<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
<plaettner@aem.umn.edu> in comp.unix.programmer, that the
IRIX winterm provides this option).</li>
<li>add support for DEC Locator control sequences for xterm
(integrated patch by Stephen P Wall):
<pre>
DECEFR, "Enable Filter Rectangle"
DECELR, "Enable Locator Reports"
DECSLE, "Select Locator Events"
DECRQLP, "Request Locator Position"
</pre>
<p>This allows the xterm mouse to be used with applications
that use the DEC Locator sequences, such as VAX Tpu, or SMG$
based applications.</p>
</li>
<li>improve print action (patch by Matthias Baake). From his
notes,
<ul>
<li>Bug 1<br>
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>
<li>Bug 2<br>
The check for the last non-empty column (while (last >
0) ... in print.c/printLine) omits the rightmost column of
the screen, the loop must start with last =
screen->max_col+1 instead of last =
screen->max_col.</li>
<li>Bug 3<br>
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 & SGR_MASK.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_115" id="xterm_115">Patch #115 - 1999/9/18 -
XFree86 3.9.16a</a></h1>
<ul>
<li>integrated changes by Stephen P Wall to implement an
88-color model for systems where 256-colors cannot be
allocated.</li>
<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 Stephen P Wall).</li>
<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>
<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).</li>
</ul>
<h1><a name="xterm_114" id="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 <djn@csc.liv.ac.uk> Aryeh
Koenigsberg <aryeh.koenigsberg@telrad.co.il> Johannes
Mähner <johanm@camline.com> Andrew Gaylard
<andrew.gaylard@bsw.co.za>).</li>
<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 <bosse@ing.umu.se>).</li>
<li>rewrote logic that removes data from termcap entry, e.g.,
for titeInhibit, to make it less likely to remove the wrong
data.</li>
<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>
<li>change termcap capability which is used as input or output
of ptyInitialErase logic from <em>kD</em> to <em>kb</em>.
Christian Weisgerber <naddy@mips.rhein-neckar.de> 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>
<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>
<li>add xterm-noapp terminfo entry to illustate a nominally
bash-compatible terminal description.</li>
</ul>
<h1><a name="xterm_113" id="xterm_113">Patch #113 - 1999/8/15 -
XFree86 3.9.15b</a></h1>
<p>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.</p>
<ul>
<li>correct error in input conversion for NRC mode (reported by
Stefan Traby <stefan@sime.com>).</li>
<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>
<li>correct a missing return-value in get_pty(), for SCO</li>
<li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br>
#define VAL_INITIAL_ERASE A2E(127)</li>
<li>correct foreground color within cursor outline when the
window is unfocused (reported by Stephane Chazelas).</li>
<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.</p>
</li>
<li>integrate changes by Jean-Claude Michot for QNX from
XFree86 3.3.4c</li>
<li>add resources menuBar/MenuBar, menuHeight/MenuHeight for
later use in toolbar geometry.</li>
<li>add configure option --enable-toolbar</li>
<li>add missing definition to make ziconbeep logic not
compile-in when configure script disables it.</li>
<li>add configure-check for input-method support in X
libraries</li>
</ul>
<h1><a name="xterm_112" id="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>
<li>remove "ISO" case for SD, which was due to a typographical
error in ECMA-48 (reported by Paul Williams
<paul@celigne.co.uk> for vttest).</li>
<li>add "FILES" section to manpage.</li>
<li>generate header file to initialize default resources for
colors 16-255.</li>
<li>fixes for os390 (Greg Smith):
<ul>
<li>add README.os390</li>
<li>use the pty_search() function to find an available
pty/tty pair.</li>
<li>move E2A() call out of getXtermCell() to SaveText()
function so it will be available in all
configurations.</li>
</ul>
</li>
<li>patches by Todd Larason:
<ul>
<li>enable SGR 48 5 in ISO color mode, not just 256 color
mode</li>
<li>change configure's --disable-256-color option to
--enable-256-color, to match its effect</li>
<li>fix OSC 4 xx ? (report ansi color) to report a string
which can actually be used to set the color back</li>
<li>fix OSC 4 xx yy (change ansi color) to not allow
setting colors > 15 in 16 color mode</li>
<li>simplify the COLOR_ settings a bit in ptyx.h, along
with setting NUM_ANSI_COLORS needed for #1 and #4
above</li>
<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>
<li>Allow multiple color #;name pairs in OSC 4, and
document changes to match.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_111" id="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 <jtl@molehill.org>). I made the default
configuration to 16-colors, because xterm uses the default
color map (which has only 256 colors).</li>
<li>correct an error in DCS $ q m reporting for colors 8-15
(Todd Larason).</li>
<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>
<li>increased cache size for double size fonts to 8, to allow
for both normal and bold fonts (discussion with Aryeh
Koenigsberg <aryeh.koenigsberg@telrad.co.il>).</li>
<li>add fixes for port to OS390 aka MVS (integrated patch from
Greg Smith <rys@epaibm.rtpnc.epa.gov>). OS390 uses EBCDIC
rather than ASCII.</li>
<li>correct an off-by-one in binary search limits in
keysym2ucs.c (Markus Kuhn).</li>
<li>implement logging for UTF-8 mode. The output is written in
UTF-8 form.</li>
</ul>
<h1><a name="xterm_110" id="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>
<li>added new OSC 3 ; PROPNAME=VALUE 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 <gjb@cs.washington.edu>).</li>
<li>change internal flag used for <em>utf8controls</em>
resource so we allow 31-bit range of characters (suggested by
Thomas Wolff).</li>
<li>add check for 16-bit characters in OSC strings, change them
to '?' (reported by Thomas Wolff).</li>
<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).</li>
</ul>
<h1><a name="xterm_109" id="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 <T.J.Adye@rl.ac.uk>)</li>
<li>correct "no available ptys" problem with Cygwin B20.1
(patch by Tim Adye).</li>
<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
<zs@sgi.com>).</li>
<li>added install-full rule to Makefile.in</li>
<li>resync mkdirs.sh and install.sh scripts against current
autoconf</li>
<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
<cat@zip.com.au>).</li>
<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>
<li>correct a typo from patch #107, incorrect array name, in
the filterUTF8 function (patch by Bruno Haible
<haible@ilog.fr>)</li>
<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>
<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).</li>
</ul>
<h1><a name="xterm_108" id="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 <Stephane_Chazelas@Raytheon.com>).</li>
<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
<willday@rom.oit.gatech.edu>).</li>
<li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few
bugs in the UTF-8 selection (patch by Juliusz Chroboczek).</li>
<li>correct logic of binary-search in keysym2ucs.c (patch by
Markus Kuhn).</li>
<li>add special interpretation of keysym codes above 0x1000000
as the corresponding UCS value plus 0x1000000 (patch by Markus
Kuhn).</li>
</ul>
<h1><a name="xterm_107" id="xterm_107">Patch #107 - 1999/6/12 -
XFree86 3.9Pq</a></h1>
<ul>
<li>Two changes from Stephen P Wall. From his description:
<blockquote>
<p>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>
<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.</p>
</blockquote>
</li>
<li>improve selection (integrated patch by Juliusz Chroboczek).
From his description:
<blockquote>
<p>With this patch, selection conversion works
properly:</p>
<pre>
ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING);
ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING);
UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING);
UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8).
</pre>
<p>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.</p>
</blockquote>
</li>
</ul>
<h1><a name="xterm_106" id="xterm_106">Patch #106 - 1999/6/9 -
XFree86 3.9Pq</a></h1>
<ul>
<li>remove duplicate fix for OpenBSD in resize.c</li>
<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>
<li>provide limited support for input of UTF-8 16-bit data by a
lookup table (integrated patch by Markus Kuhn).</li>
<li>correct check in non_blank_line to ensure we're in
wide-character mode before looking at the high bytes, for
InsertChar.</li>
</ul>
<h1><a name="xterm_105" id="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 <edphk@uib.no>,
Jeremy <jeremy@exit109.com> and (Michael Fuller
<msf@mds.rmit.edu.au>).</li>
<li>include term.h in resize for OpenBSD (patch by Matthieu
Herrb).</li>
<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 <Thomas.Wolff@icn.siemens.de>).</li>
</ul>
<h1><a name="xterm_104" id="xterm_104">Patch #104 - 1999/5/30 -
XFree86 3.9Pn</a></h1>
<p>This is a resync patch against XFree86 3.9Pn, reflecting
changes which were submitted by Branden Robinson, who worked with
Wichert Akkerman <wichert@cs.leidenuniv.nl> 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>
<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).</p>
<h1><a name="xterm_103" id="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 <a href="#xterm_101">patch #101</a>. Also fixed a similar
problem for selecting double size characters from the
scrollback buffer (first was reported by D Roland Walker
<walker@pobox.com>).</li>
<li>improved support for Unix98 PTY's, using patch in Debian
bug report #35650, by J.H.M. Dassen
<jdassen@wi.leidenuniv.nl>. 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>
<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.</li>
</ul>
</blockquote>
</li>
<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
<peterw@dascom.com>).</li>
</ul>
<h1><a name="xterm_102" id="xterm_102">Patch #102 - 1999/5/12 -
XFree86 3.9Pm</a></h1>
<ul>
<li>revert change to openpty call in <a href="#xterm_101">patch
#101</a>; this causes xterm to fail on DEC-Alpha OSF/1 4.0B
(reported by H Merijn Brand).</li>
<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).</li>
</ul>
<h1><a name="xterm_101" id="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
<Jens.Schleusener@dlr.de>)</li>
<li>added "Meta <Btn2Down>:clear-saved-lines()" default
translation (patch by H Merijn Brand)</li>
<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
<PROCURA_BV@CompuServe.com>)</li>
<li>add more parentheses in ifdef's (patch by Bob
Maynard).</li>
<li>eliminate conflicting definitions for USE_TERMINFO in
resize.c (reported by Jeremy Buhler).</li>
<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>
<li>update description in xterm manpage for character class
table, which said it handles only 7-bit codes.</li>
<li>correct a typo in ScrnDeleteChar() which made it not clear
the high byte of wide-character data.</li>
<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>
<li>correct right-limit check when selecting double-width
characters.</li>
<li>change default answerback response to an empty string.</li>
</ul>
<h1><a name="xterm_100" id="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>
<li>improve configure script's test if the installed xterm is
setuid, in case that is a symbolic link.</li>
<li>correct "install-ti" rule in Makefile.in, by not setting a
blank $TERMINFO value. That is interpreted as "." by ncurses'
tic.</li>
</ul>
<h1><a name="xterm_99" id="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>
<li>correct argument type for sigsetjmp, incidental change in
patch #96's Unix88 PTY patch (reported by Bram Moolenaar).</li>
<li>correct description of secondary DA in ctlseqs.ms (reported
by Bram Moolenaar).</li>
<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>
<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>
<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).</li>
</ul>
<h1><a name="xterm_98" id="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>
<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>
<li>add a missing null-pointer check in ScrnRefresh, for the
wide-characters configuration.</li>
</ul>
<h1><a name="xterm_97" id="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"
<m.lorentz@w12.link-goe.de>).</li>
<li>completely parenthesize ifdef expressions for Glibc
(suggested by Bob Maynard).</li>
<li>add initial-erase options (-ie, +ie) to help message
(reported by Vikas Agnihotri).</li>
<li>remove duplicate definition of USE_USG_PTYS (reported by
Jeremy Buhler).</li>
<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
<jgangemi@ccf.rutgers.edu>, this caused emacs to not
process the DEL properly, combining it with succeeding
characters.</li>
<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.</li>
</ul>
</li>
<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 <Markus.Kuhn@cl.cam.ac.uk>. 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.</p>
</li>
<li>cut/paste only copies 8-bit characters.</li>
<li>logging is disabled in the wide-character
configuration</li>
<li>printing only writes 8-bit characters.</li>
<li>input only does 8-bit characters. This is the area that
I know least about.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_96" id="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
<jbuhler@cs.washington.edu>)</li>
<li>add checks for 'echo -n' equivalent for 8colors.sh and
16colors.sh scripts (reported by Vikas Agnihotri).</li>
<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
<harmsen@erv.ericsson.se>).</li>
<li>correct horizontal spacing of double width line-drawing
characters that xterm simulates.</li>
<li>improve support for Unix98 PTY's, using patch in Debian bug
report #35650, by Topi Miettinen
<Topi.Miettinen@medialab.sonera.fi>. Andreas Jaeger says
this also corrects a permissions problem reported by
cat@zip.net.au</li>
<li>modify initial-erase logic to ensure that
<code>ttyModes</code> resource overrides it.</li>
</ul>
<h1><a name="xterm_95" id="xterm_95">Patch #95 - 1999/4/5 -
XFree86 3.9Ph</a></h1>
<ul>
<li>modify primary DA response to allow a '1' parameter.</li>
<li>add printer and national replacement character sets to
VT220 primary DA response.</li>
<li>document primary and secondary DA responses in
ctlseqs.ms</li>
<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>
<li>make xterm respond to secondary DA when the decTerminalID
is set for VT100.</li>
<li>limit user-defined keys (DECUDK) to VT220-style keyboard
when sunKeyBoard resource is true.</li>
<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 Andreas Jaeger
<aj@arthur.rhein-neckar.de>)</li>
<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
<hohndel@suse.de>)</li>
<li>improve scripts in vttests to work with newer shells that
do not use 'echo -n'.</li>
<li>add fonts.sh example script</li>
<li>correct inequality in handling of "#1" font
specification.</li>
<li>correct call to XGetWMNormalHints() used for computing
maximum screen size; the size hints may not have been set.</li>
<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.</li>
</ul>
<h1><a name="xterm_94" id="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>
<li>change default (with sunKeyboard resource false) behavior
of the editing keypad "Delete" to send a 127, like xterm-r6.
The VT220-style <code><ESC>[3~</code> is sent when
sunKeyboard is true (reported by Tomas Vanhala).</li>
<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
<jaltman@watsun.cc.columbia.edu>.</li>
<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>
<li>implement DECSET/DECRST numeric keypad (DECNKM) mode.</li>
<li>modify terminfo and termcap to use recommended "X Window"
or "X11" names rather than "X Windows" (reported by Tomas
Vanhala).</li>
<li>suppress translation of shifted keypad "+" when sunKeyboard
is true.</li>
<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>
<li>modify ScrollBarReverseVideo() to keep scrollbar border
visible when reverse video is toggled.</li>
<li>correct missing case for parameter 17 (set highlight color)
in dynamic colors control sequences.</li>
<li>extend dynamic colors control sequences to allow users to
determine the colors and font which are currently active.</li>
<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><ESC>backslash</code> very well.</li>
<li>separate menu settings for reverse video from that done
under program control.</li>
<li>corrected ifdef's for menus, which did not allow tek4014 to
be suppressed properly (reported by Clint Olsen).</li>
<li>changes for Linux-2.2.x with GLibc-2.1 and /dev/ptmx
support (integrated patch from Pavel Roskin):
<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>
<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>
<li>define CNUL if not already defined like other
variables.</li>
<li>/dev/tty does exist in Linux, but it doesn't mean, it
should be used. Therefore EACCES is now an acceptable
result.</li>
<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).</li>
</ul>
</li>
<li>initialize second "ltc" variable in main.c (reported by
David Dawes).</li>
<li>provide definition for USE_USG_PTYS in screen.c</li>
<li>add resource-files to install rule in standalone
Makefile.in</li>
<li>add sample scripts to illustrate titlebar controls,
resizing and colors.</li>
</ul>
<h1><a name="xterm_93" id="xterm_93">Patch #93 - 1999/3/14 -
XFree86 3.9Pd</a></h1>
<p>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.</p>
<ul>
<li>remove kfnd/kll/kslt strings from terminfo, because curses
applications do not necessarily return khome/kend pairs
(reported by Vikas Agnihotri).</li>
<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>
<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>
<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>
<li>add description of function keys, keypad and cursor keys to
ctlseqs.ms</li>
<li>add terminfo entries for xterm-vt52, xterm-sun and
xterm-hp</li>
<li>correct typo (missing case value) for DECSET 35,
enable/disable shifted keypad action and a few compiler
warnings (reported by Zdenek Sekera <zs@sgi.com>).</li>
<li>correct reporting of color values 8-15 in DECRQSS (reported
by Vikas Agnihotri).</li>
<li>modify parsing of ttyModes resource to recognize "^-" as
"undef" (requested by Tomas Vanhala).</li>
<li>integrate/extend changes to add iconify/maximize actions
(from Edward S. Arthur <eda@ultranet.com>).</li>
<li>add control sequences for maximizing/restoring window, and
for reporting maximum screen size.</li>
<li>add 'interpret' action, to support local function-key
interpretation. Used properly, this makes most of the
specialized actions of xterm redundant.</li>
<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>
<li>add configure option --disable-maximize</li>
<li>add configure option --disable-num-lcok</li>
<li>extend descriptions of configure script options in
INSTALL.</li>
</ul>
<h1><a name="xterm_92" id="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>
<li>change update_menu_item() to a function, to simplify
debugging. This also reduces the executable by 4Kb.</li>
<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>
<li>add control sequence for DECSET 35, which enables/disables
the shifted keypad functions.</li>
<li>add support for switching font sizes, by stepping through
the font menu using shifted keypad plus and minus.</li>
<li>correct missing initialization of tekInhibit and tekSmall
resources.</li>
<li>correct ifdef's in charproc.c for XtNgeometry and
XtCGeometry (reported by Bram Moolenaar).</li>
</ul>
<h1><a name="xterm_91" id="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>
<li>Resync configure scripts with my patches to autoconf
2.13</li>
<li>Change order of -lXmu and -lXext to accommodate cygwin32
(reported by Vikas Agnihotri).</li>
<li>Add "-ti" option to set terminal emulation level from
command line rather than via resource.</li>
<li>Simplify some of the preprocessor logic using #elif.</li>
</ul>
<h1><a name="xterm_90" id="xterm_90">Patch #90 - 1998/12/13 -
XFree86 3.9Nq</a></h1>
<p>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.</p>
<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>
<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>
<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>
<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.</p>
</li>
<li>Changed the termcap and terminfo for xterm-xfree86 and
xterm-8bit to use the new 1049 private mode.</li>
<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).</p>
</li>
<li>Add popup menu entry for toggling the titeInhibit
resource.</li>
<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
<rv@fore.com>).</li>
<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>
<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 <sales@oeko.net>).</li>
<li>Add configure script option --disable-boxchars to disable
the fallback support for line drawing characters.</li>
<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>
<li>Update config.guess and config.sub, from Lynx.</li>
</ul>
<h1><a name="xterm_89" id="xterm_89">Patch #89 - 1998/11/20 -
XFree86 3.9Nm</a></h1>
<p>This patch completes the implementation of double-sized
character support for the VT100 emulation, and fixes a few minor
bugs:</p>
<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>
<li>ensure that the current line is repainted when switching
between single and double width characters.</li>
<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>
<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c,
which address details of glibc and powerpc.</li>
<li>moved definition of DECL_ERRNO in xterm.h to match XFree86
3.3.3</li>
<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.</li>
</ul>
<p>I tested the double-sized characters using vttest and the
xfsft patch. These fonts worked reasonably well:</p>
<pre>
-bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
9x15
</pre>
<p>The iso8859 font does not include box characters, of course,
but looks good.</p>
<h1><a name="xterm_88" id="xterm_88">Patch #88 - 1998/10/31 -
XFree86 3.9Nk and 3.3.2h</a></h1>
<p>This refines my <a href="#xterm_85">patch #85</a> 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.</p>
<h1><a name="xterm_87" id="xterm_87">Patch #87 - 1998/10/21 -
XFree86 3.9Nj and 3.3.2f</a></h1>
<p>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>
<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>.</p>
<h1><a name="xterm_86" id="xterm_86">Patch #86 - 1998/10/14 -
XFree86 3.9Nj and 3.3.2e</a></h1>
<p>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.</p>
<h1><a name="xterm_85" id="xterm_85">Patch #85 - 1998/10/12 -
XFree86 3.9Nj and 3.3.2e</a></h1>
<p>Some cleanup (I noticed the pixel droppings a few months ago
after getting a new 17" monitor):</p>
<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>
<li>modified by renaming variables and adding casts to permit
compile with g++.</li>
<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>
<li>renamed xtermm terminfo entry to xterm-mono, to avoid
conflict with Solaris entry now in ncurses.</li>
</ul>
<h1><a name="xterm_84" id="xterm_84">Patch #84 - 1998/10/9 -
XFree86 3.9Ni and 3.3.2e</a></h1>
<p>Several small fixes and enhancements, including a patch from
Bjorn Helgaas:</p>
<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>
<li>remove the LINEWRAPPED attribute from lines as they are
cleared. Previously, the attribute was set but never
cleared.</li>
<li>make word and line selections work even when lines are
wrapped by xterm. Previously, selections were limited to one
screen line.</li>
</ul>
<p>as well as</p>
<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>
<li>add kll/kH capabilities to xterm-xfree86 entries in termcap
and terminfo (request by Michael Schroeder).</li>
<li>shorten descriptions in termcap to make resolved entries
all shorter than 1023 character limit.</li>
<li>use DECSTR control sequence to shorten initialization and
reset strings in xterm-xfree86 termcap and terminfo.</li>
<li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match
termcap.</li>
<li>correct typos in initialization and reset strings in
xterm-r5 termcap and terminfo.</li>
<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 <harlan@pointofchoice.com> in
linux.debian.user newsgroup).</li>
</ul>
<h1><a name="sync_83" id="sync_83">Resync #83 - 1998/10/7 -
XFree86 3.3.2e</a></h1>
<p>Merge changes through <a href="#xterm_83">patch #83</a> with
the 3.3.2e version.</p>
<p>This follows a change from XFree86 CVS which adds checks for
non-null return from malloc (patch by Matthieu Herrb).</p>
<h1><a name="xterm_83" id="xterm_83">Patch #83 - 1998/8/25 -
XFree86 3.9Nb</a></h1>
<p>Several small fixes and enhancements:</p>
<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>
<li>implement quasi-continuous mouse reporting (integrated
patch by Jason Bacon).</li>
<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>
<li>modify handling of backarrow key so that the control
modifier toggles the backspace/delete interpretation set by the
backarrowKey resource.</li>
<li>limit the row and column values used to report mouse
position.</li>
</ul>
<p>From resync with XFree86 3.9Nb:</p>
<ul>
<li>add support for the VSTATUS control character (patch by
Robert Earl <rearl@teleport.com>).</li>
</ul>
<h1><a name="xterm_82" id="xterm_82">Patch #82 - 1998/7/15 -
XFree86 3.9Aj</a></h1>
<p>Bug fix for <a href="#xterm_81">patch #81</a>:</p>
<ul>
<li>remove an #undef for NBBY, which caused compile problem on
FreeBSD (reported by David Dawes).</li>
</ul>
<h1><a name="xterm_81" id="xterm_81">Patch #81 - 1998/7/14 -
XFree86 3.9Aj</a></h1>
<p>More bug fixes:</p>
<ul>
<li>fix conflicting ifdef's for TIOCSLTC when building with
Linux on AXP aka DEC Alpha (reported by Robin Cutshaw).</li>
<li>correction to patch #79, move assignment for
*utptr->ut_user = 0; back into non-SVR4 ifdef in main.c,
since this clobbers username on Solaris 2.5.1 (analysis by Will
Day <willday@rom.oit.gatech.edu>).</li>
<li>corrected khome/kend in xterm-8bit terminfo
description.</li>
<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>
<li>minor fixes for compiler warnings, including a syntax error
in the AMOEBA ifdef's.</li>
</ul>
<p>From resync with XFree86 3.9Aj:</p>
<ul>
<li>correction to patch #73, supply missing #else for fallback
definitions of size_t, time_t (Robin Cutshaw
<robin@intercore.com>).</li>
</ul>
<h1><a name="xterm_80" id="xterm_80">Patch #80 - 1998/6/29 -
XFree86 3.9Ai</a></h1>
<p>This fixes a couple of items leftover or introduced by patch
79:</p>
<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>
<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>
<li>checked termcap file against terminfo, fix several places
where it was inconsistent.</li>
</ul>
<h1><a name="xterm_79" id="xterm_79">Patch #79 - 1998/6/28 -
XFree86 3.9Ai</a></h1>
<p>This patch fixes several small bugs:</p>
<ul>
<li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas
Vanhala).</li>
<li>add new resource 'oldXtermFKeys' which provides backward
compatibility for F1-F4 control sequences with TOG's
xterm.</li>
<li>determine the server's default foreground/background Pixel
values, needed if the -flipPixels X server option is used
(reported by David Dawes).</li>
<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. <ronjohn@communique.net>).</li>
<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>
<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>
<li>use return-value from getuid() rather than the parameter,
to work on systems which do not update the latter (patch by
Kevin Buhr <buhr@mozart.stat.wisc.edu>)</li>
<li>correct scrollbar border color when toggling to/from secure
keyboard mode (patch by Jeff Uphoff
<juphoff@tarsier.cv.nrao.edu>)</li>
<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>
<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>
<li>add user-strings u6, u7, u8, u9 to entries to make them
work with Daniel Weaver's "tack" program.</li>
<li>modify xterm-24, xterm-bold, xterm-boldso entries to
disentangle them from explicit dependency upon
xterm-xfree86.</li>
<li>add generic 'xterm-color' entry.</li>
<li>minor corrections to xterm-xfree86, xterm-8bit,
xterm-r5 and xterm-r6 entries.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_78" id="xterm_78">Patch #78 - 1998/6/3 -
XFree86 3.9Ah and 3.3.2</a></h1>
<p>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&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.</p>
<h1><a name="xterm_77" id="xterm_77">Patch #77 - 1998/5/26 -
XFree86 3.9Ah and 3.3.2</a></h1>
<p>Most of the bulk of this patch is to convert the extended C
(K&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>
<p>The rest of the patch fixes several minor bugs, and adds a few
features:</p>
<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>
<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.</p>
</li>
<li>modify ChangeGroup to not suppress a null-resource, but
treat it as an empty string (recommended by Stefan
Dalibor).</li>
<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>
<li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N
(but adapt XtStackAlloc/XtStackFree for clarity, as well as
fixing memory leak).</li>
<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>
<li>correct some places where insert/delete did not _move_ the
color attributes, using memmove (patch by Alexander V Lukyanov
<lav@long.yar.ru>)</li>
<li>add ifdef's for __CYGWIN32__, for port to cygnus version
B19.1 (patch by Andrew Sumner
<andrew_sumner@hotmail.com>).</li>
<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>
<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
<ben@wiliki.eng.hawaii.edu>).</li>
<li>correct length of underlining, reducing it by one pixel to
avoid leaving a dot when the application does not clear the
whole screen 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. (patch by
Sergei Laskavy <Laskavy@cs.msu.su>).</li>
<li>add include for Xos.h to xterm.h, to ensure proper
definitions (reported by Holger Veit).</li>
<li>update config.guess to recognize Unixware 2.1 and 7 (patch
by Mike Hopkirk <hops@sco.com>).</li>
</ul>
<h1><a name="xterm_76" id="xterm_76">Patch #76 - 1998/5/8 -
XFree86 3.9Ah and 3.3.2</a></h1>
<p>A fix for the print-window function, and some minor
cleanup:</p>
<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>
<li>correct name of $(EXTRA_LOAD_FLAGS) imake variable
(reported by Stefan Dalibor).</li>
<li>guard logic in ChangeGroup() function against null pointer
(reported by Stefan Dalibor).</li>
<li>ensure that menu entry for toggling sunKeyboard resource is
initialized (reported by Branden Robinson
<branden@purdue.edu>).</li>
<li>gcc unused-variable warnings (reported by Bernd Ernesti
<bernd@arresum.inka.de>)</li>
<li>rename global variable 'buffer' to 'VTbuffer'</li>
</ul>
<h1><a name="xterm_75" id="xterm_75">Patch #75 - 1998/5/7 -
XFree86 3.9Ah and 3.3.2</a></h1>
<p>This incorporates fixes from several people, as well as some
improvements that I made based on feedback from users:</p>
<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 & feedback from Tor Lillqvist
<tml@hemuli.tte.vtt.fi>)</li>
<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>
<li>define USE_SYSV_ENVVARS for HP-UX, curses does not use
$TERMCAP (patch by Tor Lillqvist).</li>
<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>
<li>modify configure script to obtain the $(EXTRA_LOADFLAGS)
value from imake, needed for compiling under DEC OSF/1
(reported by Stefan Dalibor)</li>
<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>
<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>
<li>correct typo in xterm.man, for the default value of
printAttribute (reported by Stefan Dalibor).</li>
<li>correct printing code so that the alternate character set
is printed, like other attributes, with escape sequences.</li>
<li>correct termcap description, removing spurious 'm'
character from the 'op' capability (reported by Greg Woods
<woods@weird.com>).</li>
<li>correct trace code so that the initial timestamp is
set.</li>
<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
<wen1@cec.wustl.edu>).</li>
</ul>
<h1><a name="xterm_74" id="xterm_74">Patch #74 - 1998/4/27 -
XFree86 3.9Ag and 3.3.2</a></h1>
<p>This corrects a couple of recent bugs and adds a new
resource:</p>
<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 <VikasA@att.com> and Stefan
Dalibor).</li>
<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>
<li>add a new resource, "printAttributes", which controls
whether color attributes (or any attributes) are sent to the
printer.</li>
</ul>
<h1><a name="xterm_73" id="xterm_73">Patch #73 - 1998/4/25 -
XFree86 3.9Ag and 3.3.2</a></h1>
<p>This patch does the following:</p>
<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).</p>
</li>
<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>
<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.</p>
</li>
<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</p>
</li>
<li>updated configure test for ANSI compiler options to handle
a special case for HP-UX 10.x (reported by Clint Olsen).</li>
</ul>
<h1><a name="xterm_72" id="xterm_72">Patch #72 - 1998/4/17 -
XFree86 3.9Ag and 3.3.2</a></h1>
<p>This is a patch from Chris Siebenmann
<cks@hawkwind.utcs.toronto.edu>, which I have cleaned up a
little, and integrated into the configure script.</p>
<p>From his description:</p>
<blockquote>
<p>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.</p>
</blockquote>
<h1><a name="xterm_71" id="xterm_71">Patch #71 - 1998/4/12 -
XFree86 3.9Ag and 3.3.2</a></h1>
<p>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).</p>
<h1><a name="xterm_70" id="xterm_70">Patch #70 - 1998/3/29 -
XFree86 3.9Af and 3.3.2</a></h1>
<p>This patch corrects some minor bugs in xterm, and fills in
some more details in the VT220 emulation:</p>
<ul>
<li>modify Imakefile to use SpecialCObjectRule for menu and
data modules, making xterm build properly if logging is enabled
(patch by Scott Sewall <scott@iprg.nokia.com>).</li>
<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>
<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>
<li>correct abbreviation-test for -version and -help options,
making command-line option -vb work (reported by Stefan
Dalibor).</li>
<li>correct a dependency between ifdef's for OPT_I18N_SUPPORT
and OPT_INPUT_METHOD (reported by Stefan Dalibor).</li>
<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
<zkrr01@mailbox.neosoft.com>).</li>
<li>correct a missing increment, which made SS2 and SS3
controls repeat the shifted character.</li>
<li>add xterm-nrc to terminfo to illustrate the VT220 national
replacement character sets.</li>
<li>reformat terminfo using new ncurses tic option "-f", which
makes if/then/else/endif expressions easier to read.</li>
</ul>
<h1><a name="xterm_69" id="xterm_69">Patch #69 - 1998/3/16 -
XFree86 3.9Ad and 3.3.2</a></h1>
<p>This corrects the problem in xterm with utmp, reported by
Olivier Calle <olivier@tc.fluke.com> as well as some other
people after the XFree86 3.3.2 release.</p>
<p>The error was introduced by my <a href="#xterm_53">patch
#53</a> in XFree86 3.9r (October 1997).</p>
<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>
<p>I also added tests in the standalone configure script to check
for the existence of waitpid().</p>
<h1><a name="xterm_68" id="xterm_68">Patch #68 - 1998/3/4 -
XFree86 3.9Ad and 3.3.1z</a></h1>
<p>This corrects another problem with the logic for
highlightColor resource. As reported by David Dawes:</p>
<blockquote>
<p>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.</p>
</blockquote>
<p>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.</p>
<h1><a name="xterm_67" id="xterm_67">Patch #67 - 1998/2/23 -
XFree86 3.9Ad and 3.3.1e</a></h1>
<p>This patch does the following:</p>
<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
<Stefan.Dalibor@informatik.uni-erlangen.de>.
<p>I could not reproduce this until I noticed that the -rev
option exposed it nicely.</p>
</li>
<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>
<li>restore 1-pixel overlap of scrollbar border with left edge
of window (reported by Jim Burmeister
<jimb@metrolink.com>).</li>
<li>add a configure option, --enable-logfile-exec, which allows
the user to specify a pipe for logfile. This defines
ALLOWLOGFILEEXEC.</li>
<li>makes the ALLOWLOGFILEEXEC code compile & run, if
configured.</li>
<li>minor documentation nits.</li>
</ul>
<h1><a name="xterm_66" id="xterm_66">Patch #66 - 1998/2/16 -
XFree86 3.9Ad and 3.3.1d</a></h1>
<p>This fixes the problem reported with failure to build the
<em>resize</em> program (BSDI, OSF/1) due to not having
<termcap.h>, 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
<termcap.h> 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.</p>
<h1><a name="xterm_65" id="xterm_65">Patch #65 - 1998/2/14 -
XFree86 3.9Ad and 3.3.1c</a></h1>
<p>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.</p>
<h1><a name="xterm_64" id="xterm_64">Patch #64 - 1998/2/8 -
XFree86 3.9Ad</a></h1>
<p>This fixes the following problems with xterm:</p>
<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
<jb@chromatic.com>).
<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.</p>
</li>
<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>
<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>
<li>corrects a length in checking command-line options, which
caused the "-help" message to not work when X was not
running.</li>
<li>add some detail to the man-page (requested by Jason Bacon
<acadix@execpc.com>)</li>
<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).</li>
</ul>
<h1><a name="xterm_63" id="xterm_63">Patch #63 - 1998/2/5 -
XFree86 3.9Ad</a></h1>
<p>This is another patch from Bjorn Helgaas
<helgaas@rsn.hp.com>, which I've reviewed (and learned
some). Following are his notes:</p>
<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:</p>
<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>
<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>
<li>configure.in: Added temporary setting of CPPFLAGS before
AC_CHECK_HEADERS for X11 files. Previously
<X11/DECkeysym.h> and <X11/Xpoll.h> 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.</li>
</ul>
<p>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.</p>
<h1><a name="xterm_62" id="xterm_62">Patch #62 - 1998/1/23 -
XFree86 3.9Ac</a></h1>
<p>This is a patch mostly by Bjorn Helgaas
<helgaas@dhc.net> (I added the os2main.c change, and a
little of the documentation). From Bjorn's description:</p>
<ul>
<li>If you use the "-hc <color>" 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>
<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).</li>
</ul>
<h1><a name="xterm_61" id="xterm_61">Patch #61 - 1998/1/17 -
XFree86 3.9Ac</a></h1>
<p>This patch modifies the reset behavior of xterm slightly:</p>
<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>
<li>modifies the treatment of hard reset by the xterm program
to reset the saved lines.</li>
<li>corrects hard reset by also resetting user-defined keys,
i.e., DECUDK.</li>
</ul>
<h1><a name="xterm_60" id="xterm_60">Patch #60 - 1998/1/10 -
XFree86 3.9Ab</a></h1>
<p>This fixes some minor bugs and adds new functionality:</p>
<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>
<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>
<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.</li>
</ul>
</li>
<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>
<li>flush the output of the transparent printing after each
line Reported by Tomas Vanhala
<vanhala@ling.helsinki.fi>.</li>
<li>correct the modes that are affected by save/restore cursor
by adding WRAPAROUND and PROTECTED.</li>
<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>
<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).</li>
</ul>
<h1><a name="xterm_59" id="xterm_59">Patch #59 - 1998/1/5 -
XFree86 3.9Ab</a></h1>
<p>My last patch has an off-by-one error in the comparison for
argc. Douglas Kosovic <douglask@dstc.edu.au> 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).</p>
<h1><a name="xterm_58" id="xterm_58">Patch #58 - 1998/1/3 -
XFree86 3.9Ab</a></h1>
<p>This patch does the following:</p>
<ul>
<li>implement logic to permit xterm to work with proportional
fonts.
<ul>
<li>Thomas Wolff <Thomas.Wolff@sietec.de> requested
this (but it isn't exactly what he's asking for - that's a
more involved task).</li>
<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>
<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.</li>
</ul>
</li>
<li>added a version number to the program (several people have
requested this).</li>
<li>make the -version and -help options interpreted before the
program attempts to open the display.</li>
<li>minor reorganization of the man-page (ordered the options,
resources and translations alphabetically - and eliminated some
duplication).</li>
<li>corrected a misspelled filename in Makefile.in, and added a
lint rule.</li>
<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>
<li>regenerated the configure script with a newer patch to
autoconf that fixes a problem with environment space vs the
configure --help message.</li>
</ul>
<h1><a name="xterm_57" id="xterm_57">Patch #57 - 1997/12/26 -
XFree86 3.9Aa</a></h1>
<p>This patch is mostly concerned with the standalone configure
script; a few minor corrections are added:</p>
<ul>
<li>add configure option --disable-tek4014, to allow xterm to
be built without the tek4014 emulation.</li>
<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
<stephen@memex.com>.</li>
<li>fix a typo in the configure --help message -- reported by
Darren Hiebert <darren@hmi.com>.</li>
<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>
<li>add missing quotes in memmove/bcopy configure test</li>
</ul>
<h1><a name="xterm_56" id="xterm_56">Patch #56 - 1997/11/28 -
XFree86 3.9x</a></h1>
<p>This patch is based on analysis by Arfst Ludwig
<arfst@luxor.IN-Berlin.DE>, who reported:</p>
<blockquote>
<p>Setting the following resources xterm (all current versions)
receives a segmentation fault on <Btn2Up> after
scrolling:</p>
<pre>
*XTerm*VT100*translations: #override \
~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\
Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\
~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\
Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1)
</pre>
<p>(The above resources intention is to be able to paste the
latest selection even if the xterm was cleared.)</p>
<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.</p>
</blockquote>
<p>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.</p>
<h1><a name="xterm_55" id="xterm_55">Patch #55 - 1997/11/25 -
XFree86 3.9x</a></h1>
<p>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>
<p>The bug is simple to test if you set titeInhibit false.</p>
<h1><a name="xterm_54" id="xterm_54">Patch #54 - 1997/10/17 -
XFree86 3.9s</a></h1>
<p>This patch does the following:</p>
<ul>
<li>correct a minor placement problem with the right
scrollbar.</li>
<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>
<li>implement the alternate-screen menu entry</li>
</ul>
<h1><a name="xterm_53" id="xterm_53">Patch #53 - 1997/10/12 -
XFree86 3.9r</a></h1>
<p>This patch adds a fix and implements a new feature (as well as
some minor typos):</p>
<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>
<li>improve Rohleder's changes by renaming the command-line
options and reducing the number of ifdef's.</li>
<li>implement right-scrollbars for xterm (patch by Michael
Rohleder <michael.rohleder@stadt-frankfurt.de>).</li>
</ul>
<h1><a name="xterm_52" id="xterm_52">Patch #52 - 1997/9/29 -
XFree86 3.9q</a></h1>
<p>This patch addresses bugs and requests reported by</p>
<ul>
<li>Bob Maynard <rmaynard@montana.com>,</li>
<li>Clint Olsen <olsenc@ichips.intel.com>,</li>
<li>JCHANDRA@Inf.COM (JCHANDRA),</li>
<li>Michael Schroeder
<Michael.Schroeder@informatik.uni-erlangen.de>,</li>
<li>Pablo Ariel Kohan <pablo@memco.co.il></li>
</ul>
<p>Some of the changes are interrelated (it was an unusually busy
week).</p>
<ul>
<li>change the default resource value for colorMode to true,
matching the Xterm.ad file.</li>
<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>
<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>
<li>add resource colorAttrMode to specify whether colorULMode
and colorBDMode can override the ANSI colors (report by Clint
Olsen).</li>
<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 (<a href="#xterm_35">patch #35</a> in Jan
1997).</li>
<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>
<li>add configure script options for building with the Xaw3d
and neXtaw libraries.</li>
<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>
<li>various minor updates to configure-script macros.</li>
</ul>
<h1><a name="xterm_51" id="xterm_51">Patch #51 - 1997/9/15 -
XFree86 3.9p</a></h1>
<p>Most of this patch is related to the standalone configure
script, though there are fixes/enhancements as well:</p>
<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>
<li>correct a reversed foreground/background test in the
control sequence that replies with the current SGR
settings.</li>
<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>
<li>restructured autoconf macros (I made a library of all of
the macros across the complicated configure scripts I'm working
on).</li>
<li>use the autoconf config.guess and config.sub scripts to
better identify the host-os.</li>
<li>improve the configure script that uses 'imake' as a
fallback for definitions.</li>
<li>correct several instances of unsigned/signed mixed
expressions.</li>
</ul>
<p>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).</p>
<h1><a name="xterm_50" id="xterm_50">Patch #50 - 1997/8/22 -
XFree86 3.9m</a></h1>
<p>This is a collection of small fixes, and a couple of minor
enhancements:</p>
<ul>
<li>plug a security hole in the implementation of Media Copy
(print) by invoking setuid just before the main loop.</li>
<li>add an ifdef'd include for <sys/termio.h> for HP-UX,
which allows the program to process SIGWINCH events (this is a
bug in X11R6.3)</li>
<li>add state-table entries for VT52 emulation to enter/exit
keypad application mode.</li>
<li>disable the popup-menu entry for 8-bit controls when the
terminal-id is less than 200 (e.g., VT52 or VT100).</li>
<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>
<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>
<li>implement VTxxx KAM (ISO AM), which allows a keyboard to be
locked (i.e., the terminal discards input).</li>
<li>implement VTxxx SRM, which is used to control local echoing
of input on the terminal.</li>
<li>add terminfo and termcap entries for xterm-8bit, a
variation of the xterm description that uses 8-bit control
characters.</li>
<li>add fallback definitions for Imakefile to allow it to work
on some X11R5 systems that have no SpecialCObjectRule or
ProgramTargetName macros.</li>
<li>add .c.o and .c.i rules to standalone Makefile.in</li>
<li>correct order of -lXmu and -lXext in standalone configure
script.</li>
<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>
<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>
<li>correct minor compile errors in the configuration where
active-icon is not used.</li>
<li>add configure option to suppress echoing of long compiler
commands</li>
<li>correct spelling of decTerminalID in configure script help
message</li>
<li>use gcc __attribute__((unused)) to quiet warnings about
unused parameters when compiling with -W (to make it simpler to
find the real problems).</li>
</ul>
<h1><a name="xterm_49" id="xterm_49">Patch #49 - 1997/8/10 -
XFree86 3.9k</a></h1>
<p>This patch implements the VT100/VT220 Media Copy (i.e.,
print-screen) control sequences.</p>
<h1><a name="xterm_48" id="xterm_48">Patch #48 - 1997/7/26 -
XFree86 3.9j</a></h1>
<p>This patch does the following (all but the first affect only
the standalone configure script):</p>
<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.</p>
</li>
<li>adds more special-case tokens to the standalone configure
script's imake-option filter (e.g., "&&", since a "make
-n main.o" on my IRIX system uses that shell construct).</li>
<li>adds a '--enable-logging' option for the standalone
configure script.</li>
<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).</li>
</ul>
<h1><a name="xterm_47" id="xterm_47">Patch #47 - 1997/7/13 -
XFree86 3.9i</a></h1>
<p>This patch does the following</p>
<ul>
<li>corrects an indexing error in the doublesize character
logic (button.c) that caused core dump (this was reported by J.
Wunsch).</li>
<li>corrects the logic of ShowCursor when it is painting in a
doublesize cell (charproc.c).</li>
<li>corrects, according to vttest, the behavior when switching
to doublesize characters and back again (doublechr.c).</li>
<li>adds cbt (back_tab) to the terminfo description (this was
something that I'd overlooked as applicable to curses
optimization last summer).</li>
<li>corrects, for the standalone xmc test, the logic for
disabling xmc.</li>
</ul>
<h1><a name="xterm_46" id="xterm_46">Patch #46 - 1997/7/4 -
XFree86 3.9h</a></h1>
<p>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.</p>
<h1><a name="xterm_45" id="xterm_45">Patch #45 - 1997/7/2 -
XFree86 3.9h</a></h1>
<p>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.</p>
<h1><a name="xterm_44" id="xterm_44">Patch #44 - 1997/6/22 -
XFree86 3.9g</a></h1>
<p>This implements the first part of the VT100 doublesize
characters for xterm, as well as fixing a handful of bugs:</p>
<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>
<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>
<li>corrected 'memmove()' logic, for standalone builds (it
referenced a malloc wrapper from my development library).</li>
<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).</li>
</ul>
<h1><a name="xterm_43" id="xterm_43">Patch #43 - 1997/6/10 -
XFree86 3.9d</a></h1>
<p>Here's a fix for two problems:</p>
<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>
<li>a nit in the configure script (log extra information to
help diagnose which case of the test-compile of tgetent was
used).</li>
</ul>
<h1><a name="xterm_42" id="xterm_42">Patch #42 - 1997/6/8 -
XFree86 3.2Xl</a></h1>
<p>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.</p>
<h1><a name="xterm_41" id="xterm_41">Patch #41 - 1997/5/28 -
XFree86 3.2Xl</a></h1>
<p>Some nits found by Darren Hiebert (missing part of
install-rule, incorrect assignment for --enable-color-mode
option).</p>
<h1><a name="xterm_40" id="xterm_40">Patch #40 - 1997/5/26 -
XFree86 3.2Xl</a></h1>
<p>Patch for the configure script's logic for obtaining imake
predefined symbols.</p>
<h1><a name="xterm_39" id="xterm_39">Patch #39 - 1997/5/24 -
XFree86 3.2Xl</a></h1>
<p>This patch does the following:</p>
<ul>
<li>integrate the 16-color change for 'xterm'</li>
<li>minor fixes/clarification of tgetent in terminfo vs termcap
to 'resize'</li>
</ul>
<p>(both changes also modify the configure script)</p>
<h1><a name="xterm_38" id="xterm_38">Patch #38 - 1997/5/22 -
XFree86 3.2Xh</a></h1>
<p>This implements a simple configuration script with autoconf
(to which I'll add more options later). It does the
following:</p>
<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>
<li>enables/disables the configuration ifdef's for ANSI color
and VT52 emulation.</li>
</ul>
<p>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).</p>
<h1><a name="xterm_37" id="xterm_37">Patch #37 - 1997/5/7 -
XFree86 3.9a</a></h1>
<p>This corrects a minor, but annoying error in the vt220
emulation: the DECUDK is only supposed to be interpreted for
_shifted_ function keys.</p>
<h1><a name="xterm_36" id="xterm_36">Patch #36 - 1997/1/16 -
XFree86 3.2r</a></h1>
<p>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.</p>
<h1><a name="xterm_35" id="xterm_35">Patch #35 - 1997/1/7 -
XFree86 3.2o</a></h1>
<p>This patch does the following:</p>
<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>
<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>
<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).</li>
</ul>
<h1><a name="xterm_34" id="xterm_34">Patch #34 - 1997/1/5 -
XFree86 3.2o</a></h1>
<p>This patch does the following:</p>
<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>
<li>some minor tidying up (e.g., signed/unsigned use bitcpy,
MODE_DECCKM, resetColor, resetCharsets). More is done in
<a href="#xterm_35">patch #35</a>.</li>
</ul>
<p>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.</p>
<h1><a name="xterm_33" id="xterm_33">Patch #33 - 1996/11/24 -
XFree86 3.2</a></h1>
<p>This adds to the reset-fix by Matthieu Herrb
<Mathieu.Herrb@mipnet.fr> 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.</p>
<h1><a name="xterm_32" id="xterm_32">Patch #32 - 1996/11/21 -
XFree86 3.2</a></h1>
<p>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").</p>
<h1><a name="xterm_31" id="xterm_31">Patch #31 - 1996/11/16 -
XFree86 3.2</a></h1>
<p>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.</p>
<h1><a name="xterm_30" id="xterm_30">Patch #30 - 1996/11/16 -
XFree86 3.2</a></h1>
<p>From bug-report by <auroux@clipper.ens.fr> (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).</p>
<h1><a name="xterm_29" id="xterm_29">Patch #29 - 1996/9/15 -
XFree86 3.1.2Gb</a></h1>
<p>This patch does the following:</p>
<ul>
<li>corrects the restoration of color for bold/underline color
mode</li>
<li>adds a resource 'decTerminalID' to control the reporting
level of xterm (e.g., VT100, VT220).</li>
<li>uses the new resource to implement/correct the DA1, DA2 and
DECRPTUI reports.</li>
<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).</li>
</ul>
<p>All of these changes are based on vttest 2.6</p>
<p>(Most of the volume in the patch is to add 2 more state tables
for parsing the 2nd/3rd device-attribute controls).</p>
<h1><a name="xterm_28" id="xterm_28">Patch #28 - 1996/8/31 -
XFree86 3.1.2F</a></h1>
<p>This patch corrects the following reported by Roland Rosenfeld
<roland@spinnaker.rhein.de>:</p>
<ul>
<li>handle SGR 22, 24 and 25 in combination with colorUL and
colorBD resources. Also noted & fixed reset of colored
underline/bold with SGR 0.</li>
<li>a typo in the termcap (missing '['), from 3.1.2Dj (my
error)</li>
</ul>
<p>Roland also complained that he couldn't use box characters
with</p>
<pre>
-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
</pre>
<p>but that's a known xterm limitation (the box characters must
be part of the font, in the first 32 locations).</p>
<h1><a name="xterm_27" id="xterm_27">Patch #27 - 1996/8/21 -
XFree86 3.1.2Ek</a></h1>
<p>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).</p>
<h1><a name="xterm_26" id="xterm_26">Patch #26 - 1996/8/20 -
XFree86 3.1.2Ei</a></h1>
<p>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).</p>
<h1><a name="xterm_25" id="xterm_25">Patch #25 - 1996/8/18 -
XFree86 3.1.2Ei</a></h1>
<p>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:</p>
<ul>
<li>make the second alternate font the same as the first
(that's what vt420 and dtterm do)</li>
<li>corrected DECSCL report when DECSCL hasn't been set (i.e.,
don't return a '60').</li>
</ul>
<h1><a name="xterm_24" id="xterm_24">Patch #24 - 1996/8/11 -
XFree86 3.1.2Ee</a></h1>
<p>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>
<p>It does NOT do:</p>
<ul>
<li>soft fonts</li>
<li>rigel or sixel graphics</li>
</ul>
<p>Anyway, I:</p>
<ul>
<li>added ECH, CPL, CNL, SU, SD, CBT, CHT controls</li>
<li>added popup-menu for switching between DEC and Sun function
keys. (corrected alignment err wrt logging entry at that
point).</li>
<li>make xterm recognize both 8-bit and 7-bit controls
(including popup menu for switching modes).</li>
<li>add user-definable function keys (aka DECUDK)</li>
<li>support concealed text</li>
<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>
<li>implement DECSCL.</li>
</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)..</p>
<h1><a name="xterm_23" id="xterm_23">Patch #23 - 1996/7/31 -
XFree86 3.1.2Ec</a></h1>
<p>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).</p>
<h1><a name="xterm_22" id="xterm_22">Patch #22 - 1996/7/26 -
XFree86 3.1.2Ec</a></h1>
<p>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>
<p>Also:</p>
<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>
<li>implemented blinking cursor (default is <em>off</em>)</li>
</ul>
<h1><a name="xterm_21" id="xterm_21">Patch #21 - 1996/7/24 -
XFree86 3.1.2Ec</a></h1>
<p>This patch does the following:</p>
<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>
<li>adjusts the shell's background color in ReverseVideo so
that flicker in resizing is reduced</li>
<li>adds an ifdef OPT_ISO_COLORS to allow configuring xterm
without the ISO color support (saves a lot of memory)</li>
<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).</p>
</li>
</ul>
<h1><a name="xterm_20" id="xterm_20">Patch #20 - 1996/7/24 -
XFree86 3.1.2Ec</a></h1>
<p>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.</p>
<h1><a name="xterm_19" id="xterm_19">Patch #19 - 1996/7/21 -
XFree86 3.1.2Ec</a></h1>
<p>This patch does the following:</p>
<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...)</p>
</li>
<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>
<li>change some memmove calls to memcpy for slightly better
performance. also, a couple of memset calls to bzero, since
Quantify says bzero runs 20% faster, I assume because there's
one less argument.</li>
<li>interpret character sets 1 and 2 (so that vttest gives a
reasonable result) Both rxvt and dtterm do something
equivalent.</li>
<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).</li>
</ul>
<h1><a name="xterm_18" id="xterm_18">Patch #18 - 1996/7/18 -
XFree86 3.1.2Ec</a></h1>
<p>This implements the following:</p>
<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>
<li>minor tweak to the screen-repainting when resizing (I still
cannot entirely get rid of flicker).</li>
<li>still more fixes to terminfo & termcap (I corrected my
error for the hpa code and added some other stuff by comparing
to ncurses' description and rxvt's).</li>
<li>a tweak to the changes by Michael Rohleder for the color
translation</li>
<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).</li>
</ul>
<h1><a name="xterm_17" id="xterm_17">Patch #17 - 1996/7/2 -
XFree86 3.1.2Eb</a></h1>
<p>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...)</p>
<h1><a name="xterm_16" id="xterm_16">Patch #16 - 1996/6/25 -
XFree86 3.1.2Ea</a></h1>
<p>Adam Tla/lka <atlka@pg.gda.pl> 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 ;-)</p>
<h1><a name="xterm_15" id="xterm_15">Patch #15 - 1996/5/29 -
XFree86 3.1.2E</a></h1>
<p>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).</p>
<h1><a name="xterm_14" id="xterm_14">Patch #14 - 1996/5/12 -
XFree86 3.1.2Dj</a></h1>
<p>This patch brings the termcap and terminfo descriptions for
xterm up to date. I made the following changes:</p>
<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>
<li>omitted obsolete features in termcap to save a little space
(bs, pt)</li>
<li>added color capabilities to termcap (ut, Co, NC, op, AB,
AF)</li>
<li>corrected some capabilities (vi, ve)</li>
<li>added 'st' (set tab)</li>
<li>reduced function keys in termcap for 'xterm' to 12 because
color capabilities makes that description larger than 1023
characters.</li>
<li>created new termcap name 'xtermm' (monochrome) to match the
terminfo list, and make that description have 20 function
keys.</li>
<li>added corresponding color capabilities to terminfo (bce,
colors, pairs, op, ncv, setab, setaf)</li>
<li>corrected corresponding capabilities in terminfo (civis,
cnorm, rmcup, smcup)</li>
<li>added capabilities (el1, hts)</li>
<li>in both, corrected home/end keys to match the code
correction made by Thomas Mueller in 3.1.2Bk
<p>=> (I'm still considering modifying the code &
description to match the rxvt program).</p>
</li>
</ul>
<h1><a name="xterm_13" id="xterm_13">Patch #13 - 1996/4/23 -
XFree86 3.1.2Df</a></h1>
<p>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.</p>
<h1><a name="xterm_12" id="xterm_12">Patch #12 - 1996/3/16 -
XFree86 3.1.2Dc</a></h1>
<p>This corrects a memory leak in xterm that happens whenever one
switches fonts.</p>
<h1><a name="xterm_11" id="xterm_11">Patch #11 - 1996/3/5 -
XFree86 3.1.2Db</a></h1>
<p>This patch corrects the behavior of the ANSI colors in xterm
when reverse video is used, as well as some other lesser
sins:</p>
<ul>
<li>button.c
<ul>
<li>(compiler warnings: shadowing of 'time', redundant
cast)</li>
</ul>
</li>
<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>
<li>moved logic of SGR_Save() into VTInitialize, getting
rid of local private variables original_fg and
original_bg.</li>
<li>moved some logic into getXtermForeground and
getXtermBackground from SGR_Foreground, SGR_Background,
etc.</li>
<li>corrected misleading 'row' to 'col' in case for CUF,
CUB sequences.</li>
</ul>
</li>
<li>ctlseqs.ms</li>
<li>xterm.man
<ul>
<li>(correct a misconception which I'd added that the
color0 through color6 resource values apply to non-ANSI
colors)</li>
</ul>
</li>
<li>ptyx.h
<ul>
<li>added original_fg, original_bg to TScreen
structure.</li>
</ul>
</li>
<li>scrollbar.c
<ul>
<li>(compiler warnings: redundant cast)</li>
</ul>
</li>
<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>
<li>in ReverseVideo, swap the SGR foreground and background
colors also.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_10" id="xterm_10">Patch #10 - 1996/2/14 -
XFree86 3.1.2Cd</a></h1>
<p>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>
<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).</p>
<h1><a name="xterm_09" id="xterm_09">Patch #9 - 1996/2/10 -
XFree86 3.1.2Cb</a></h1>
<p>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.</p>
<ul>
<li>corrected ifdef's that suppress the input-method code
(doesn't exist in my x11r5, and xterm works adequately without
it).</li>
<li>corrected fallback definition for 'Select()' macro (oops:
I'd copied the wrong text...)</li>
<li>moved the declarations for the fd_set variables to
data.[ch]</li>
<li>corrected an ifdef in resize.c (sunos 4.x doesn't have
termcap.h)</li>
<li>corrected (in main.c) some unused/orphaned variables.</li>
</ul>
<h1><a name="xterm_08" id="xterm_08">Patch #8 - 1996/2/9 -
XFree86 3.1.2Cb</a></h1>
<p>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>
<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.</p>
<h1><a name="xterm_07" id="xterm_07">Patch #7 - 1996/1/28 -
XFree86 3.1.2n</a></h1>
<p>I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've
got an S3 card.</p>
<p>This fixes the following in the 3.1.2n xterm:</p>
<ul>
<li>initialize cur_foreground, cur_background in charproc.c
(Purify told me they weren't initialized).</li>
<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>
<li>shadowing of 'time' in menu.c</li>
<li>'Cardinal' vs 'int' in scrollbar.c</li>
<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).</li>
</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>
<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).</p>
<h1><a name="xterm_06" id="xterm_06">Patch #6 - 1996/1/8</a></h1>
<p>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.</p>
<ul>
<li>charproc.c:
<ul>
<li>add/use new macros GET_FG, GET_BG - n/c.</li>
<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>=> 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.</p>
</li>
<li>set GC's in LoadNewFont() according to whether the SGR
fg/bg colors are active.
<p>=> This fixes some glitches in the accompanying
resize, that leaves parts of the window in the original
background color.</p>
</li>
</ul>
</li>
<li>screen.c:
<ul>
<li>modified ClearBufRows() to use the SGR fg/bg colors if
they're set.</li>
<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>=> Otherwise, selection after an index or reverse
index will paint the wrong colors.</p>
</li>
<li>modified ScrnDeleteChar() and ScrnInsertChar() to use
SGR fg/bg colors.</li>
</ul>
</li>
<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>
<li>modified ClearLeft to use SGR fg/bg colors.</li>
</ul>
</li>
</ul>
<h1><a name="xterm_05" id="xterm_05">Patch #5 - 1996/1/7</a></h1>
<p>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>
<p>Anyway, the revised code generates a smaller object...</p>
<ul>
<li>charproc.c:
<ul>
<li>recode index expressions in ShowCursor() and
HideCursor() using SCRN_BUF_xxxxS macros - changes
object.</li>
<li>replace constant '4' by MAX_PTRS - n/c.</li>
</ul>
</li>
<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.</li>
</ul>
</li>
<li>screen.c:
<ul>
<li>recode index expressions in ScreenWrite() using
SCRN_BUF_xxxxS macros - changes object.</li>
<li>replace constant '4' by MAX_PTRS - n/c.</li>
<li>use macros BUF_CHARS, BUF_ATTRS - n/c.</li>
<li>cast calloc to 'Char *' to fix compiler warning on IRIX
- n/c</li>
</ul>
</li>
<li>scrollbar.c:
<ul>
<li>replace constant '4' by MAX_PTRS - n/c.</li>
<li>cast calloc to 'Char *' to fix compiler warning on IRIX
- n/c</li>
</ul>
</li>
</ul>
<h1><a name="xterm_04" id="xterm_04">Patch #4 - 1996/1/7</a></h1>
<p>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).</p>
<ul>
<li>button.c:
<ul>
<li>use SCRN_BUF_xxxxS macros - n/c</li>
</ul>
</li>
<li>charproc.c:
<ul>
<li>use SCRN_BUF_xxxxS macros - n/c</li>
</ul>
</li>
<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->buf.</li>
</ul>
</li>
<li>screen.c:
<ul>
<li>use SCRN_BUF_xxxxS macros - n/c</li>
</ul>
</li>
<li>util.c:
<ul>
<li>use SCRN_BUF_xxxxS macros - n/c</li>
</ul>
</li>
</ul>
<h1><a name="xterm_03" id="xterm_03">Patch #3 - 1996/1/7</a></h1>
<p>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>
<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>
<p>The next patches will address the functional changes...</p>
<ul>
<li>Tekproc.c:
<ul>
<li>changed several functions to 'static' that aren't used
outside this module -- changes object</li>
</ul>
</li>
<li>charproc.c:
<ul>
<li>changed several functions to 'static' that aren't used
outside this module -- changes object</li>
<li>deleted unused function unparsefputs -- changes
object.</li>
</ul>
</li>
<li>main.c:
<ul>
<li>changed several functions to 'static' that aren't used
outside this module -- changes object</li>
<li>ifdef'd out unused function 'consolepr()' -- changes
object</li>
<li>removed unused variable 'dummy_tio' -- changes
object</li>
<li>moved variable 'discipline' to quiet unused-warning --
changes object</li>
</ul>
</li>
<li>main.h:
<ul>
<li>deleted unused definition of DEFBORDERWIDTH - n/c</li>
</ul>
</li>
<li>misc.c:
<ul>
<li>changed several functions to 'static' that aren't used
outside this module -- changes object</li>
<li>provide dummy return statements for xerror and xioerror
to quiet compiler warnings -- changes object</li>
</ul>
</li>
<li>ptyx.h:
<ul>
<li>change sbuf_address and abuf_address to 'Char *' -
n/c</li>
</ul>
</li>
<li>resize.c:
<ul>
<li>changed several functions to 'static' that aren't used
outside this module -- changes object</li>
</ul>
</li>
<li>screen.c:
<ul>
<li>remove unnecessary 'Char **' casts - n/c</li>
</ul>
</li>
<li>util.c:
<ul>
<li>changed several functions to 'static' that aren't used
outside this module -- changes object</li>
</ul>
</li>
</ul>
<h1><a name="xterm_02" id="xterm_02">Patch #2 - 1996/1/7</a></h1>
<p>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>
<p>At this point, I'm compiling (fairly) clean with gcc
options</p>
<pre>
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs
</pre>
<p>(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>
<p>The changes:</p>
<ul>
<li>Tekproc.c:
<ul>
<li>parenthesized expression to avoid gcc warning --
n/c.</li>
<li>corrected nested-extern declaration for Bool
waiting_for_initial_map; ourTopLevelShellArgs, and
number_ourTopLevelShellArgs - n/c</li>
</ul>
</li>
<li>charproc.c:
<ul>
<li>corrected potentially-unintialized variables 'scstype',
'xim', and 'input_style' -- changes object.</li>
<li>adjusted logic of VTparse so that gcc won't warn about
setjmp clobbering parsestate -- changes object.</li>
<li>corrected initialization of 'scstype', which could have
been clobbered by setjmp/longjmp - changes object.</li>
<li>corrected nested-extern declaration of 'term',
'ProgramName' - n/c</li>
</ul>
</li>
<li>cursor.c:
<ul>
<li>corrected nested-extern declaration of 'term' --
n/c</li>
<li>renamed 'term' parameters to avoid gcc -Wshadow warning
- n/c</li>
</ul>
</li>
<li>input.c:
<ul>
<li>change interface of StringInput to assume size_t (i.e.,
unsigned) nbytes -- changes object.</li>
<li>change interface of funcvalue, and sunfuncvalue to use
'KeySym' type instead of 'int' - changes object.</li>
</ul>
</li>
<li>main.c:
<ul>
<li>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h
- n/c</li>
<li>corrected missing params of 'do_hangup()' -- changes
object (note: the missing params were not used).</li>
<li>corrected missing param of 'Error()' -- changes
object</li>
<li>corrected nested-extern 'environ' - n/c</li>
<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>
<li>use Size_t type - n/c.</li>
</ul>
</li>
<li>menu.c:
<ul>
<li>removed redundant prototype for 'do_hangup()' --
n/c.</li>
<li>renamed 'time' parameters to avoid gcc -Wshadow warning
- n/c</li>
</ul>
</li>
<li>menu.h:
<ul>
<li>renamed 'time' parameters to avoid gcc -Wshadow warning
- n/c</li>
</ul>
</li>
<li>misc.c:
<ul>
<li>corrected definition of 'HandleFocusChange()' --
changes object</li>
<li>cast parameters in call to 'TekExpose()' -- n/c</li>
<li>corrected nested-extern declarations of 'term',
'toplevel', ProgramName, and 'environ' -- n/c.</li>
<li>use Size_t type - n/c.</li>
</ul>
</li>
<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>
<li>added definition 'Size_t' to use as corrected type for
strncpy, malloc sizes - n/c.</li>
</ul>
</li>
<li>resize.c:
<ul>
<li>moved SIGNAL_T definition to proto.h -- n/c.</li>
<li>use Size_t type - n/c.</li>
</ul>
</li>
<li>screen.c:
<ul>
<li>use Size_t type - n/c.</li>
</ul>
</li>
<li>tabs.c:
<ul>
<li>corrected nested-extern declaration of 'term' --
n/c</li>
</ul>
</li>
<li>util.c:
<ul>
<li>corrected/supplied parameters to 'TekExpose()' --
changes object (note: 'TekExpose()' doesn't use its
parameters).</li>
<li>corrected nested-extern declaration of
'waiting_for_initial_map' -- n/c.</li>
<li>renamed 'term' parameters to avoid gcc -Wshadow warning
- n/c</li>
</ul>
</li>
<li>xterm.h:
<ul>
<li>prototype 'do_hangup()', 'HandleFocusChange()',
'TekExpose()', 'Error()', 'Exit()' - forces changes in
various places.</li>
<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>
<li>renamed 'term' parameters to avoid gcc -Wshadow warning
- n/c</li>
</ul>
</li>
</ul>
<h1><a name="xterm_01" id="xterm_01">Patch #1 - 1996/1/6</a></h1>
<p>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>
<p>Briefly, this patch adds (and uses) two header files in the
xterm directory:</p>
<pre>
proto.h
xterm.h
</pre>
<p>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.</p>
</body>
</html>
|