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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> Linux Gazette Table of Contents LG #44</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000" >
<center>
<A HREF="http://www.linuxgazette.com/">
<H1><IMG SRC="../gx/newlogo.jpg" ALT="Linux Gazette" border="0"></H1></A>
<H4>August 1999, Issue 44 Published by <I>Linux Journal</I></H4>
</center>
<!--=================================================================-->
<table>
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="indent" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
<tr><td>
<table>
<tr>
<td><H1><font color="#BB0000">Visit Our Sponsors:</font></H1></td></tr>
<tr>
<td><A HREF="http://www.linuxjournal.com/"><img src=../gx/ljtop.gif alt="Linux Journal" border=0></A></td></tr>
<tr>
<td><A HREF="http://www.infomagic.com/"><img src=../gx/infologo.gif alt="InfoMagic" border=0></A></td></tr>
<tr> <td>
<A HREF="http://www.suse.com/"><img vspace="10" src=../gx/suse.jpg alt="SuSE" border=0></A></td></tr>
<tr> <td>
<A HREF="http://www.redhat.com/"><img vspace="10" src=../gx/redhat.gif alt="Red Hat" border=0></A></td></tr>
<tr>
<td><A HREF="http://www.LinuxMall.com/"><img vspace="10" src=../gx/linuxmall.gif alt="LinuxMall" border=0></A></td></tr>
<tr>
<td><A HREF="http://www.cyclades.com/"><img vspace="10" src=../gx/cyclades.gif alt="cyclades" border=0></A></td> </tr>
</tr>
</table>
</td>
<!--==================================================================-->
<TD ROWSPAN="3" WIDTH="2" BGCOLOR="#000000" NOSAVE><IMG
SRC="../gx/hammel/cleardot.gif" ALT="indent" HSPACE=1 HEIGHT=1 WIDTH=1></TD>
<td>
<H1><font color="#BB0000">Table of Contents:</font></H1>
<UL>
<LI><A HREF="../lg_frontpage.html">The Front Page</A>
<LI><A HREF="lg_mail44.html">The MailBag</A>
<ul>
<li><a HREF="lg_mail44.html#help">Help Wanted & Article Ideas</a>
<li><a HREF="lg_mail44.html#gen">General Mail</a>
</ul>
<LI><A HREF="lg_bytes44.html">News Bytes</A>
<ul>
<li><a HREF="lg_bytes44.html#general">News in General</a>
<li><a HREF="lg_bytes44.html#software">Software Announcements</a>
</ul>
<LI><A HREF="lg_answer44.html">The Answer Guy</A>, by James T. Dennis
<LI><A HREF="lg_tips44.html">More 2 Cent Tips</A>
<LI>New Release Reviews, by Larry Ayers
<ul>
<li><A HREF="ayers.html">Ted, a Rich Text Word Processor</a>
</ul>
<LI><A HREF="gm/gm.html">Graphics Muse</a>, by Michael J. Hammel
<LI><A HREF="jacobowitz.html">Cosource.com Enters Live Beta!</a>, by Norman M. Jacobowitz
<LI><A HREF="macevoy/macevoy.html">perlpp: cpp on Steroids</a>, by Dr. Warren MacEvoy
<LI><A HREF="nielsen.html">How to use a Ramdisk for Linux</a>, by Mark Nielsen
<LI><A HREF="oneill.html">Finding All Filenames with Identical I-Node Numbers</a>, by Steve O'Neill
<LI><A HREF="pollman/dns.html">DNS for the Home Network</a>, by JC Pollman and
Bill Mote<BR>
<STRONG>new series <FONT COLOR=RED>"The Linux Home
System Administrator"</FONT> !</STRONG>
<LI><A HREF="severinghaus.html">Other ways to join and contribute to the Open Source community</a>,
by Erik Severinghaus
<LI><A HREF="silva.html">Linux Tips and Tricks</a>, by Anderson Silva
<LI><A HREF="stumpel.html">Pine and Exim: a bug</a>, by Jan Stumpel
<LI><A HREF="lg_backpage44.html">The Back Page</A>
<ul>
<li><a HREF="lg_backpage44.html#authors">About This Month's Authors</a>
<li><a HREF="lg_backpage44.html#notlinux">Not Linux</a>
</UL>
</UL>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
</td>
</tr>
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="indent" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
</table>
<!--=============================================================-->
<P>
<table>
<tr><td>
<A HREF="./issue44.txt.gz">TWDT 1 (gzipped text file)</A><BR>
<A HREF="./issue44.html">TWDT 2 (HTML file)</A><BR>
are files containing the entire issue: one in text format, one in HTML.
They are provided
strictly as a way to save the contents as one file for later printing in
the format of your choice;
there is no guarantee of working links in the HTML version.
</td></tr>
<!--==================================================================-->
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="indent" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
<tr><td>
<center>
<I>Linux Gazette</I><img src="../gx/tm.gif">, <A HREF="http://www.linuxgazette.com/">http://www.linuxgazette.com/</A><BR>
This page maintained by the Editor of <I>Linux Gazette</I>,
<A HREF="mailto: gazette@ssc.com"> gazette@ssc.com</A>
<P>
<H5>Copyright © 1996-99 Specialized Systems Consultants, Inc.</H5>
</center>
</td></tr>
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="indent" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
</table>
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<HR>
<center>
<table width="100%" cellpadding=7><tr><td>
<H2><a NAME="mail"><IMG SRC="../gx/mailbox.gif" ALIGN=MIDDLE ALT=" ">
The Mailbag!</a> </H2>
Write the Gazette at <A HREF="mailto:gazette@ssc.com"> gazette@ssc.com</A>
</td><td>
<H3>Contents:</H3>
<ul>
<li><a HREF="#help">Help Wanted -- Article Ideas</a>
<li><a HREF="#gen">General Mail</a>
</ul>
</td></tr></table>
</center>
<a name="help"></a>
<p><hr><p>
<!-- =================================================================== -->
<center><H3><font color="maroon">Help Wanted -- Article Ideas</font></H3></center>
<P>
Answers to these questions should be sent directly to the e-mail address of
the inquirer with or without a copy to gazette@ssc.com. Answers that are
copied to <I>LG</I> will be printed in the next issue in the Tips column.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 23 Jul 1999 14:21:44 -0700
<BR>From: jason@anemone.tenhand.com
<BR>Subject: You to can be a secret agent
<P> I need help in setting up web kiosks for a free-net I'll be
setting up in rural Nicaragua this September. When I took on
the job, I didn't have a day job at a startup company. Now I
do, and I haven't had any time to actually do the programming.
What I need is help writing 2-3 system and mail admin programs
with a cgi front end. The tools should be in PHP3 & or perl,
and be set up so they can easily be localized. I'm willing to pay for the
work, and the final web kiosk distribution will be released under
a combination GPL/artistic license.
<P> An example of what I need done is to have a cgi for sneakernet delivery of
mail. The CGI should scan a list of
qmail maildirs, figure out which ones have mail & provide a
list to the user. The user can then click on a link, and the maildir will be
re-delivered to a new maildir on floppy disk. The script needs to be able to
handle checking for floppy/ formatting floppy/ spanning the maildir
accross multiple floppies.
<P> I can be reached at myles@tenhand.com, or at +1 (206) 399-9668.<BR>
myles
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 02 Jul 1999 11:06:14 -0700
<BR>From: Victor Richardson <darkmoebius@earthlink.net>
<BR>Subject: Linux server, Mac & Win clients
<P> Recently, I acquired the job(pro bono) of consolodating a small(12
clients) non-profit's networks. Currently, they have two seperate
networks, one using Appletalk with 7 Macs sharing a printer and the
other NT 4.0 w/ 4 PC's and 2 Powermacs doing file and printer sharing.
All the CLients have seperate dial-up internet accounts except one PC
which has a cable modem(don't ask me why they don't all use it). I
suspect the former tech pushed them into NT w/o informing them of the
need and cost for Microsoft Outlook and Exchange.
<P> I would like to consolodate them onto a single linux server doing
email/file/printer sharing and connect theough a shared DSL line. I
purchased Red Hat 6.0 for the task. Unfortunately, I have never used
Linux before so when it scomes to altering config files I get lost. I
have read alot of How-to's on setting up Samba and Netatalk seperately,
but never have come accross an article about setting them up together.
Is ther fine tuning invovled to get them to work together? Is there a
simple answer to this with walk through help? Also, they all currently
use Netscape browser, what software should I use to transfer email
internally and externally?
<P>Any help would be greatly appreciated.<BR>
Victor
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 2 Jul 1999 19:31:07 -0700
<BR>From: "Todd & Missy" <tmjenn@earthlink.net>
<BR>Subject:
<P> I have used and installed windows for years and decided to try Redhat
because I hear good things about it but i can't get it to install. I
can't get the harddrive right to get it to install I have tried
everything but I just can't get the partition right so it will let me
install it. I am about to give up but I will give it one more shot if I
can please get some help. You can e-mail me at goodtogo45@hotmail.com
I run windows98 have a amd300 and a 3 gig harddrive thanks Todd
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 03 Jul 1999 17:44:38 +0800
<BR>From: wei <cyberwei@ms12.url.com.tw>
<BR>Subject: search for some software !
<P> Dear sir :<BR>
Sorry to bother you ! I am a rookie in linux system and now I have
a project to do .
<P> It need a software to plot gray-scale plot of geographic data to present
the 3-D data!
<P> I have tried pgplot 5.2 etc., but I can't compile it correctly ! Could
you introduce me a appropriate software to do this ? Thanks a lot !
Cheers !
<P> Wei
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 03 Jul 1999 17:55:42 +0000
<BR>From: Wolfrider <wolfrdr@famvid.com>
<BR>Subject: Request for Ethernet on Linux instructions
<P> Currently I have two computers; one I would like to set up to use as a
squid proxy server connected to Internet via modem.
<P> I have tried using direct-connect twisted pair as well as a cheap 5-port hub
and can't get telnet or ping to work, although both devices now ' ifconfig '
Ok.
<P> I couldn't find anything in LG related to Ethernet / TCP/IP setup; could
someone write a step-by-step on this or point me to something I've missed?
(I've checked some of the HOWTOs.) Thanks in advance
<P>--<BR>
==WolfriderV6, VROC #59(R)
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sun, 04 Jul 1999 23:48:12 -0500
<BR>From: vwbuggy@viagrafix.net (Steve Hatheway)
<BR>Subject: Linux
<P> Hi my name is Steve from Tulsa Ok.
<P> Iam sick of windows 95, 98 and Gates, and the way he has control of every
thing makes me sick. If he had a good product I might feel different. At
first I could not under stand how he has control of the market with a piece
of junk, but now I know why. I know, and alot of other people know that
UNIX is a very good system. Not every body knows that Linux is a newer
Versions of UNIX made for PC's. And with more investigation you find out
there is about twenty different brands of Linux all looking like they are
better than each other.
<P> Which one is the best, who is biggest, who has
been around longest, who has the most support, who is the most stable, I
think REDHAT is maybe? Then every brand has several Versions out there ,
with in a small time frame ,to many too choose from, why some many
versions. That tells me that the early Versions must be bad to have to make
a new one so quick. Then you find alot of patches for different brands, and
versions ? (I don't mean to sound bad, but which one do I use.) I think
every body would like a stable and fast system with the least amount of
overhead that has alot of support and programs will run on then bye bye
windows95,98,??. It seems like to me that all the Linux people are after
each other instead of windows95,98,?? Then there is Freebsd that says they
are best because they dont have all the bugs.
<P> I am so confused that maybe I should stay with windows 95,98,?? and install
and time delay relay to cycle the power to it every hour, so it can reboot like
it wants to. Please tell me more about Linux like. Who has the most support,
whos is most stable, bottom line the best one?
<P> Thanks for your time. Steve
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Mon, 5 Jul 1999 19:17:16 +0100
<BR>From: "Edward Andrews" <EAndrews@aldreth.free-online.co.uk>
<BR>Subject: Setting up mouse
<P> I've just installed Red Hat 6.0 Linux and cannot configure my mouse.
Mouseconfig cannot find my mouse when probing for a mouse and trying to
set it up as a generic or a microsoft compatible mouse does not work
either. The mouse works under Windows as a standard serial mouse using
COM1, but does not work as a Microsoft compatible mouse using dev/ttyS0.
The setserial command reports that the dev/ttyS0 port uses the same IRQ
and addresses as COM1 uses under windows.
<P> Any ideas?
<P> Edward Andrews EAndrews@aldreth.free-online.co.uk
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Thu, 08 Jul 1999 08:35:11 +0200
<BR>From: jan johnsen <janjohnsen@get2net.dk>
<BR>Subject: gcc will not work !!
<P> With my red hat 6.0 , just installed, I can not get the gcc to work.
When I have downloaded a program, and what to run ./configure the test
goes allrigt just until it gets to gcc - it finds gcc but the it writes
something lig ' gcc not working - can not make exec."...
<P> I have installed both gcc, egcs, egcs++ and egcs......
<P> Anyone know if its a problem with red hat 6.0 or is it the programs
<P> Jan Johnsen<BR>
Denmark
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 9 Jul 1999 18:01:12 +1000
<BR>From: "Jeremy OHara" <Jeremy.OHara@petos.com.au>
<BR>Subject: Need as much info on how to Setup a dial-in server
<P> Hi all
<P> I was wonder if anyone could have me? I was wonder if anyone could give me
as much info on how to setup a dial-in server? I'm planing to setup a
Dial-in server An ISP.
<P> Thanking you<BR>
Jeremy OHara
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sun, 11 Jul 1999 12:23:55 +0200
<BR>From: "F. Biondi" <biondif@creso.off-on.it>
<BR>Subject: E-mail receiving question
<P> Hello. When I try to receive an e-mail via POP3 server by Netscape
Communicator, it doesn't show any error message but it doesn't find
anything and tells that there are no messagges on the server.
However, when I try using Windows98 (by OutLook), all the messages are
found.
<P> Obviusly, out going e-mails work fine.
Can you help me?
<P> (I am using Linux Red Hat 6.0, with kernel version 2.2.5)
<P> Filippo Biondi (Italy)<BR>
biondif@creso.off-on.it
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Mon, 12 Jul 1999 02:40:45 -0000
<BR>From: "denver" <revned@gis.net>
<BR>Subject: Installing a linux workstation onto a Windows based LAN that uses DCHP
<P> I am having problems adding a linux workstation onto a LAN that is all
windows based and uses a Windows NT server as the DCHP Server. Every
time I boot up the machine, the linux workstation gives me this error
saying that eth0 was unable to find it's address or basicly it cannot
connect to the network. It would be nice if someone can either tell me
step by step on how to setup the linux workstation or give me a link(s)
to documents that can help me solve this problem.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sun, 11 Jul 1999 23:24:04 -0700
<BR>From: cc246 <cc246@gateway.net>
<BR>Subject: How to access and download printer software
<P> I need help with my HP 882C, I can not print MSDOS work.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 13 Jul 1999 10:32:51 +1000
<BR>From: Andrew H Edmonds <40009722@snetbr.cpg.com.au>
<BR>Subject: Linux on Notebook.
<P>I hope someone has some advice...<BR>
I am looking to buy a Pent 90 or higher, Notebook that has an internal
CD-Rom drive, so that I can load OpenLinux Caldera 2.2,
which I have just instaled on my desktop.
<P> I am a student in Brisbane Australia, learning Basic Microcomputing.
<P> Can anyone recomend a brand or model of notebook, I have been to the
Linux on Laptop page 'Texas site' but none look any more appealing or
stable than the others.
<P>Thanks,<BR>
Andrew H Edmonds
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 13 Jul 1999 05:13:13 -0700 (PDT)
<BR>From: Markus Laumann <basikx@yahoo.com>
<BR>Subject: windows inside linux
<P> Dear Whoeveryouare,
<P> I'm trying to find someone who knows how to run
windows 98 inside linux. I've seen it before, but I
can't seem to find it when I want to. If you could
point me in a direction and kick, I would be very
thankful.
<P> Markus
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 13 Jul 1999 12:32:32 -0400
<BR>From: "Michael A. Lurie" <the_one@mindspring.com>
<BR>Subject: ppp connection
<P> I have an internesting problem. I have configured ezppp, kppp, and
gnome-ppp to connect to my mindspring account, and all three seem to be
doing so just fine. However, when I startup netscape or any other
internet application, I can't access the internet. It just sits there
trying to lookup the host. No error message. No nothing. I am
completely stumped. Any help would be appreciated.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 13 Jul 1999 12:32:32 -0400
<BR>From: "Michael A. Lurie" <the_one@mindspring.com>
<BR>Subject: ppp connection
<P>I have an interesting problem. I have configured ezppp, kppp, and gnome-ppp
to connect to my mindspring account, and all three seem to be doing so just
fine. However, when I startup netscape or any other internet application, I
can't access the internet. It just sits there trying to lookup the host. No
error message. No nothing. I am completely stumped. Any help would be
appreciated.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 16 Jul 1999 07:13:15 -0500
<BR>From: "Brian B." <ixnay@warp9.lagnet.hb>
<BR>Subject: setting up mail for a home network.
<P> Ok either there is an error in this article or Im a complete dolt
<P> I went step for step through tis article but my outgoing mail is not
getting my return address changed from my local domain to my isp email account.
<P> I keep getting a sender domain non-existent error from my isps mailserver.
<P> any help would be appreciated<BR>
Brian B.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 23 Jul 1999 12:43:35 -0700
<BR>From: Helen Carley <HelenC@shoretel.com>
<BR>Subject: Archives
<P> How do I get to them? I'm looking for the original article on
multi-threading. Thanks!
<BLOCKQUOTE><EM>
[<A HREF=http://www.linuxgazette.com>http://www.linuxgazette.com</A>
contains links to all the back issues. A link to the search engine
is near the middle of the page.
<P> There is also a page containing the table of contents for all
issues at <A HREF=../lg_index.html>
http://www.linuxgazette.com/lg_index.html</A>. Here you can use your
browser's Find dialog to search for titles or authors.
<P> The article "Thoughts on multi-threading" was in issue #15
(March 1997). -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 17 Jul 1999 15:36:09 +1000
<BR>From: "Danny Ross" <dross@netspace.net.au>
<BR>Subject: Missing Mouse
<P> I've just installed Linux (6.0) and during the installation I specified
a PS2 mouse type.
However, the first time (and every time since) I logged into the system
and received my Login box, the mouse doesn't move. I have a dual boot
system (Win 98) and the mouse works fine in everything but Linux.
I have searched through the FAQs and tried booting with bmouse=3D3 at
the LILO prompt but to no avail. I think I know which file I need to
edit to configure the mouse, but how do I get to the Linux files without
a mouse?
<P> Anybody got any ideas?<BR>
Danny Ross
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 17 Jul 1999 22:05:41 +0700
<BR>From: Ruangvith Tantibhaedhyangkul <ruangvith@linuxfan.com>
<BR>Subject: It's all in a Linux's works.
<P> Dear Linuxinans,
<P> I'm having a couple of problems using Linux. My system is now Mandrake
6.0, which is claimed to be 99% compatible with RedHat 6.0.
<OL>
<LI> How should I edit my /etc/fstab so that regular users, including
mysef in a non-root role, can read and 'write' a dos partition? My current
setting is '/dev/hda2 /dos vfat user,suid,rw,exec,dev 0 0' . It apparently
doesn't work.
<LI> I got a 'drive shift' phenomenon. First, I installed Linux in a
Windows 98 system, a single hard drive system. It contains 2 partitions for the
fat c: for the Windows itself, and d: for data files. When I use other 2
partitions for Linux, one for / and the other for swap, it went well. No
matter what distro it was. Then I wanted to try separated partitions for /,
/usr and /home. Of course, it intruded the 'no more than 4 partitions' rule.
So I had to use an extended partition and a number of logical partitions. When
it came to Linux, it worked fine. The system recognized all /dev/hdax well.
But when I boot it into Windows, my drives go crazy. The c: is still in place,
but the d: turn out to be an 'invalid media', with an e: containg the same data
as the old d: instead. The worst thing is that I have to press 'a' to abort
the d: reading every boot time. How can I get rid of this drive shifting?
</OL>
<P> Thanks for your help.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 20 Jul 1999 12:00:00 +0100
<BR>From: "Andrew Mott" <andrew.mott@geharris.co.uk>
<BR>Subject: setting up a dial-in box
<P> I'm looking to set up a dial-in box for use at work and I was wondering if
anyone would be able to answer a couple of my questions.
<OL>
<LI> Do either of Red Hat 6.0 or S.u.S.E. supply utilities allowing you
to modify the partitioning of your disk after installation?
<LI> Can you easily integrate a linux system with an existing file
system?
<LI> Do any of the distributions mentioned above have any known
security issues when using PPP.
<LI> And finally, which distribution currently has the largest market
share (just interested for future reference).
</OL>
<P> If anyone can help I'd be very grateful.<BR>
Cheers,<BR>
Andrew Mott
<BLOCKQUOTE><EM>
[Yes, all distributions allow you to repartition your disk after
installation. However, you can't delete a partition without losing the
data in it (except maybe with third-party "resize-in-place" utilities).
Linux requires a separate partition except in the case of the
now-obscure UMSDOS filesystem. I have not heard of any problems with
PPP security.
<STRONG>Market share</STRONG> changes quickly, but people's
perceptions of it don't change quite so fast. So whatever anybody
tells you now will change in six months.
<P> Red Hat has for years been consideredthe biggest by far . However,
SuSE now claims to be roughly the same size as RH, both in terms of
sales and employees. Caldera has traditionally been much smaller, but
have been very successful with their current 2.2 release, in part
because RH raised its price and so for the first time, Caldera is
actually <STRONG>cheaper</STRONG> than Red Hat.
<P> After years of there being only three major distributions (RH,
Debian and Slackware), suddenly distros are exploding from the seams.
SuSE made it big in the US last year. Caldera and TurboLinux this year
are now seen by many as "major" distributions. (Especially since
TurboLinux
<A HREF=htttp://www.linuxjournal.com/articles/currents/001.html>
is outselling Win98 and MacOS in Japan</A> right now.) I'm still not
sure what to think about Linux-Mandrake: we'll see whether it gathers
long-term momentum.
<P> Distributions keep moving up and down the latter, and they will
continue to do so.
<P> Delving into more ancient history, Slackware was the biggest distro
before Red Hat, and SLS before Slackware. Each became the biggest
because it was perceived as easier to install, more bug-free, and
better supported than the previous standard.
<P> Disclaimers: I haven't listed non-Intel platforms (MkLinux) because
I don't know enough about them. These opinions are solely my own and
what I remember from news stories. If anybody has hard-and-fast
numbers about the relative market share of several distributions, and
how they've evolved send them in and let us </EM>Gazette<EM> readers
know. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Wed, 21 Jul 1999 22:59:37 -0400
<BR>From: "MK" <mkrygier@softhome.net>
<BR>Subject: I have an Interesting Network problem...an NT SERVER!!!
<P> Dear Linux Geniuses!
<P> I was wondering if you could help me and my school solve out linux/Nt
networking headache.
<P> The school is running a NT4.0 server that has four network cards that are
connected to hubs that are located in the school. its IP is 10.15.16.1 and
the other cards IP's are 10.15.64.1, 10.15.48.1, 10.15.32.1, etc. The Nt
server acts as a gateway for traffic from these subnets. We are all using
DHCP assigned addresses but I reserved one for the linux box 10.15.64.7.
What I can ping is 10.15.16.1 the Server and the computers on the subnets
because I passed this route command "route add default gw 10.15.16.1" and
the it goes! The Ntserver is connected to another server running WinProxy
and it has 2 network cards, this computer handles the internet. I cannot
ping It! It's address is 10.15.0.1 the windowz boxes on the subnets can but
I cant! (dont worry my DNSes are set and everything) this Proxybox is a
router to the net it's other Ethernet card is connected to the net (complex
100mbit stuff, not important) it's IP is 10.15.88.1. I need to figure out
how to set my route in linux to be able to ping the ProxyBox and then travel
to the internet. Can you offer any advice? Also the Proxybox is running
WinProxy for web and ftp transfers...do I have to worry about it? any thing
that I am required to set?
<P> I am using RedHat 5.2 with kernel 2.0.36 and an eepro100 network card on a
pentium pro.
<P> Thank-you in advance!<BR>
Michael Krygier<BR>
Jr. Unix network admin wannabe
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Thu, 22 Jul 1999 10:20:10 +0200
<BR>From: Laurent Mulot <Laurent.Mulot@anp.lip6.fr>
<BR>Subject: Could you solve my problem, too?
<P> This is not a suggestion, nor a comment so I don't know if you'll answer
me. Let's try anyway.
<P> I'd like to truncate a 3MB file so that I can put it on floppy disks.
The file is already compressed. Is there a Linux instruction or a
software that can do such a thing ?
<P> I can also present it that way : I suggest you could explain how to
truncate a file (just kidding)
<P> thanks in advance<BR>
Laurent
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Thu, 22 Jul 1999 06:07:21 -0400 (EDT)
<BR>From: sandeep kohli <fuhrer6mill@yahoo.com>
<BR>Subject: VERY BIG PROBLEM with Video Card
<P> Hello there,
<P> i am sandeep from india and i have recently Bought a azza MainBoard with
Built in Sound Card (Avance Logic 120) and Video Card (SiS-530(but chip is
SiS-5595 (AGP with shared Ram ))) there is a very big problem Linux couldnot
recognise the VRAM on the shared Sdram MOdule originally allocated by Award
Bios.
<P> The sound card also was not recognised by the new Linux 6.0 version but by
5.2v ver of Red Hat it was recognised as Sound Blaster not as my original card
as u guys have bveen doing great work i thought that u would be able to
<P> solve my problem or direct me to those who can<BR>
thankiing u guys. u r really doing a great work!<BR>
bye<BR>
My email address is fuhrer6mill@yahoo.com<BR>
(i am calling from a cafe so please do not reply to any other e mail
address than given above(fuhrer6mill@yahoo.com)
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Thu, 22 Jul 1999 18:17:16 CST
<BR>From: Jim Bradley <jbradley@msc.net>
<BR>Subject: DNS on the fly???
<P> I have my laptop configured to plug into the network of my employer. At
home, I plug my laptop into my home network, and dial out from another machine
setup for dial on demand. Unfortunately, if it takes forever waiting for the
two timeouts when trying to connect to the employer's DNS servers from home,
and if I change the DNS order, it takes just as long for the timeout error when
attempting to connect to my ISP's DNS from my employer's network. Is there an
easy way to change the DNS servers when needed? It's easy enough to change IP
addresses with the ifconfig command, is there a similar means for changing the
DNS? Or, should I just bite the bullet and setup BIND on the laptop?
<P> Jim Bradley -- Maryville, MO USA (jbradley@msc.net)
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: 22 Jul 1999 21:40:02 -0700
<BR>From: <murad@123india.com>
<BR>Subject: Re : Problem installing StarOffice
<P> Hi, I am really sorry if this mail has reached the wrong plcae, but I
desparately need help. I have installed Red Hat Linux 6.0 ( Kernel 2.2.5-15 ).
I am unable to install StarOffice 5 Personal Edition. I have followed all the
steps given for StarOffice installation. I have a file named 'libc.so.6' in my
'/lib' directory which is a link to 'libc-2.1.1.so' in the same directory.
When I run the ./setup for the StarOffice installation it gives an error saying
that the installation requires glibc2.0.7 ( which is available on the CD ). So
I copy this lot of library files in to the '/lib' directory. After that when
./setup is run, it accesses the CDROM for around 5 seconds, then the hard disk
for 10 seconds and then it just comes back to the prompt, without ANY error
message. I am really frustrated with this. Be my saviour and answer my query. I
f you are not the right person to answer the query, atleast guide me by
pointing me to the right person.
<P> Thanx & Regards,<BR>
Murad Wagh
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 24 Jul 1999 10:15:01 -0500
<BR>From: "Tom Trucco" <ttrucco@orchardpro.com>
<BR>Subject: help
<P> I recently installed RedHat 6.0 on an Intel box so I could inexpensively
test Apple's QuickTime Streaming Server. The installation of RedHat went
smoothly and seems to be working quite well on the box (a consumer Compaq
Presario). I downloaded QTSS, configured it and proceeded to run it. It
worked immediately. I am having a problem that I would like to know if any
others have had. I can directly access a streaming movie using its true
file name but I can't get it if I use the name of the reference movie.
I should be able to access the reference movie and have the server and the
QuickTime plug-in on the client machine negotiate the correct version of the
movie to serve based on the client's QT plug-in's "Connection Speed"
setting. Based on the setting, the server chooses the appropriate movie for
the bandwidth and serves it up.
<P> That is how it is supposed to work.
When I attempt to connect using the reference movie the client connects and
then reports "415 - Unsupported Media Type". Does anyone have a clue what
is happening?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 24 Jul 1999 17:29:34 +0200
<BR>From: "werner duplessis" <wdplessis@yebo.co.za>
<BR>Subject: newbie userMIME-Version: 1.0
<P> i am trying to configure my video card need a driver thats compatible for
a sis 5598 or i need to download it from somewhere? please help
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 24 Jul 1999 12:59:40 EDT
<BR>From: TLA9904@aol.com
<BR>Subject: trying to load hp 722c into windows 98..
<P> I had a friend install my new copy of windows 98 after he cleaned off
everything and started with a clean hard drive..... it took everything but
the printer setup... it keeps saying I have problem 10.... I am not even good
at any of this.... what can I do... or dooing wrong....
<BLOCKQUOTE><EM>
[Since this is a Linux ezine, we usually don't publish questions about
other operating systems. I'm running this one because the number of
non-Linux questions coming in has not been enough to warrant concern.
But please, find appropriate forums for your questions. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Mon, 26 Jul 1999 15:54:37 -0500
<BR>From: Randy Copeland <ccu@ipa.net>
<BR>Subject: Websites with free downloads!
<P> I am running Windows 95 on my good computer which is a Pentium 100. But
I have an old 486 DX4 in another bedroom that nobody uses and I ask my
dad if I could run Linux on it. I have searched for a couple of days
and still can not find a website that I can get a free download from.
The computer tech guy at my dads store thinks that I might have to start
with UNIX and then go to Linux if I can't find a site that has a free
download. I would greatly appreciate it if you would e-mail me back
with a couple of websites if you know of any! E-mail it to me at
mhs-trainer@excite.com.
<P> Thanks for the help.<BR>
Richard
<BLOCKQUOTE><EM>
[Debian is a totally free version of Linux made by volunteers. It is
available via FTP, and more importantly, the installation program
supports FTP-via-PPP modem installs. See
<A HREF=http://www.debian.org>www.debian.org</A>, "Installation
Instructions" and "Download FTP". Choose the "stable" version;
"unstable" is a pre-release.
<P> HOWEVER, if you've never used Linux or Unix before, $50 spent for
the distribution of your choice with a good reference manual and tech
support is well worth it, especially if you have a newer PC to run it
on, because it will be much easier to install and you'll be able to
take full advantage of Linux's capabilities.
<P> On the other hand, if the 486 is the only computer available and it
has no CD-ROM, FTP'ing a distribution may be your only choice. Install
a small number of packages at first, and then gradually add more. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 27 Jul 1999 21:08:47 +0800
<BR>From: kaoc@ever.com.tw
<BR>Subject: Booting problem (can't mount root fs)
<P> There's two situation:
One: If click <enter> when LILO shows up....
My Redhat 6.0 can boot correctly without trouble at all.......
<P> The other: If I clicked nothing when LILO showed up, and let LILO select Linux
to boot automatically by default...
My Redhat always goes dead while it is trying to mount root fs.
The problem message is as following:
VFS: Cannot open root device 00:30
Kernel panic: VFS: Unable to mount root fs on 00:30
<P> Does anybody have the same trouble as I ? and Pls, help me to solve the
problem.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 27 Jul 1999 10:09:30 -0400
<BR>From: Mark Cohen <mcohen@androiddomestix.com>
<BR>Subject: ASCII to Speech?
<P> I am looking for voice recognition software for a LINUX slackware
system. Also software and hardware for a video camera.
<P> Thank You,<BR>
Mark Cohen
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Tue, 27 Jul 1999 17:09:14 +0200
<BR>From: "jac" <jac@speedcom.es>
<BR>Subject: Problems with my compiler
<P> Hello, my question is about the g++ compiler.I want to know if is able
to link files that use templates and then aren't included in the main
program (they are in different files, and only the header files are in
the main program). I have try as:
<PRE>
gcc main.cxx libro.cxx
* main: #incude "libro.h"...
* libro.cxx: #include "libro.h"...=20
</PRE>
but the compiler of Red Hat 6.0 gives me an error. Could you help me?
Thanks.
<P> Juan J.Alejandro (jac@speedcom.es) Girona (Spain)
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Wed, 28 Jul 1999 15:30:38 -0500 (CDT)
<BR>From: jwang@CS.UH.EDU (John I-Chung Wang)
<BR>Subject: Redhat 6.0 on a Sharp Widenote
<P> I've recently installed Redhat 6.0 on a Sharp Widenote after swapping
the factory 1 GB drive for a more suitable 6.4 GB drive purchased over
the web.
<BLOCKQUOTE><EM>
[Part of this letter was a self-answered question regarding video
modes, so I put it in the 2 Cent Tips section. -Ed]
</EM></BLOCKQUOTE>
<P> ... Now if I can just get my ppp to my MCI ISP account (which was sold to
Cable and Wireless and is now being sold to Prodigy) working. They appear
to do some sort of Challenge Response Authentication in addition to
the usual CHAP ie.: there's a prompt of "(IH08011)" (number changes session
to session) which seems to be a combined login identity request and
password challenge which is then followed by the prompt "password"
which presumably requests the password transformed by the number in
the first prompt. If I set the pap-secrets or chap-secrets file then
pppd expects to have established a ppp connection in which to encapsulate
the authentication protocols but I seem to get this challenge in a
prompt before ppp starts up so I suspect it's not just the regular CHAP.
Note a generic MSDUN has no problems with the prompt, but of course M$
doesn't have any useful documentation about what they are doing. Any
ideas? I'll probably solve the problem by switching ISP's but if anyone
has the answer, I'd like to hear it.
<P> Regards,<BR>
John
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 3 Jul 1999 21:40:11 +1200 (NZST)
<BR>From: Eric Gillespie <viking@flying-brick.caverock.net.nz>
<BR>Subject: Ghostscript 5.10
<P> Hi. I am having problems with my current installation of ghostscript.
<P> I have a 9-pin dot-matrix Epson FX800 which worked fine under ghostscript
3.33 but now refuses to work under 5.10. I also have an Olivetti JP170
monochrome inkjet in the same position. I have checked the versions of files
installed, and everything seems correct, but I cannot understand how the
ghostscript writers have added my printer into the uniprint driver.
<P> All the help files I have come across describe help for a 3.33-based
installation, and I haven't found much specifically for 5.10. Even some of
the files supplied with 5.10 still refer to files that were around in 3.33!
These files aren't around any more (at least I can't find them).
<P> If you have any ghostscript experience, could you please help with a
walk-through on how to print a page on my dot-matrix printer under ghostscript
5.10? I would be very appreciative.
<P> Also, thanks to the AnswerGuy for explaining in issue 42/43 about library
conflicts - it explained some possible conflicts I had in my system, and I
have repaired some (but not all) of my problems as a result.
<P> By the way, to Heather and the team, thanks for continuing to put out a
great e-zine. It's well worth the download 8-).
<BLOCKQUOTE><EM>
[Jim and Heather put in countless volunteer hours into The Answer Guy
column and certainly deserve a round of applause. Send them an
email of thanks at <A HREF=mailto:answerguy@ssc.com>
answerguy@ssc.com</A>. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 30 Jul 1999 09:23:32 +0900
<BR>From: Info <info@duri.net>
<BR>Subject: Re: Help me!
<P> Hi, Gazette:
<P> I am installing frontpage98 extentions on my Linux Server(Redhat5.2a).
Installing root web was successful, but the problem occurred when I install
virtual web. When I use the previous version of Linux(Redhat5.1), there was no
problem. The list of virtual webs appeared, and I could select one of them. But
now, the list shows infinitely like following.
<PRE>
...
11014) virtwebs11014
11015) virtwebs11015
11016) virtwebs11016
11017) virtwebs11017
11018) virtwebs11018
11019) virtwebs11019
11020) virtwebs11020...
</PRE>
<P> Please help me. Can you tell me what the problem is?<BR>
Thank you.
<a name="gen"></a>
<P> <hr> <P>
<!-- =================================================================== -->
<center><H3><font color="maroon">General Mail</font></H3></center>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sun, 25 Jul 1999 20:38:39 +0000
<BR>From: Benjamin Smith <bens@saber.net>
<BR>Subject: Suggestion for a column
<P> It seems that most of the mail you get seems to be somebody with some
kind of problem. while I guess it's to be expected, it sure makes for
boring reading.
<P> Anyway, I think it might be a good idea to pick an application field,
say, Word Processing, or perhaps communication clients, (ICQ clones,
perhaps) or stuff like that.
<P> Review products with a fairly standard configuration, and rate the
applications on useability, stability, features, easy of installation,
etc. Perhaps even go so far as to have an editors choice?
<P> It would certainly get my rapt attention, and it's something you'll find
in just about every computer magazine worth any salt.
<P>-Benjamin Smith
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">Fri, 30 Jul 1999 09:59:10 -0400
<BR>From: "Michael Z." <michaelz@alphasoftware.com>
<BR>Subject: Retro Computing: User Friendly BBS
<P> UserFriendly is a nice little site devoted to an online comic strip
documenting some of the nuerotic characteristics of the Unix community.
<P> While they have their own site
<A HREF=http://www.userfriendly.org>www.userfriendly.org</A> with all of the
usual amenities, someone there has decided to do some "retro computing".
<P> Someone found BBS software that runs under Linux, and has setup an old
style BBS that you log onto via telnet. (T1 line, 64 lines max) Text or ansi
interface, game doors (Trade Wars, for example [!]), etc., with lots of new
stuff Coming Real Soon Now (tm).
<P> Apparently this has struck some sort of chord, because they have had
hundreds of new users on the first day, with lots of people mentioning how much
they miss this stuff, etc. People who ran one line or two line BBSs in the old
days two or three or four years ago. Looks like this is going to be very
popular once the word gets out....
<P> [NOTE, they have just sailed past 1000 users signed up after a day and a
half, and still cruising strong]
<P> For a quick link, check out <A HREF=http://bbs.ufies.org/>bbs.ufies.org</A>.
You have to have a telnet client to actually log onto the BBS at
telnet://bbs.ufies.org
<P> compared to the old neighborhood BBSs I knew just a few years back, this is
mind bogling....
<P> There are so many people there who seem to miss the old style BBSs...
<P> i'm amazed....<BR>
Michael Zawistowski<BR>
<FONT SIZE=-1>If builders built buildings the way programmers write
programs, then the first woodpecker that came along would have destroyed
civilization.</FONT>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
<BR>From: webmaster@taclug.org
<P> My name is Berry Sizemore and I am a member of Tacoma Linux Users Group
(TACLUG). Our organization is going to participate in the international Linux
Demo Day Project. <EM>["Tacoma" is Tacoma, Washington, USA. -Ed.]</EM>
<P> "The purpose of the Linux Demo Day project is to provide a concurrent
worldwide demonstration of the Linux Operation System to the "average" consumer
who may only have heard of Linux but has never seen it, and to those that are
not even aware that there is an alternative to running a Microsoft operating
system."
<P> We are reaching out to our community partners and businesses that may have
an interest in sponsoring the event. For general information about the event,
please point your browser to
<A HREF=http://www.linuxdemo.org/>http://www.linuxdemo.org/</A> . We are
currently seeking a location for our event and exposure by the local press. We
are eager to promote Linux friendly businesses and organizations in exchange
for promotion of our organization and events. The likely location for our
demonstration will be in a high profile mall, local community center or school.
<P> We plan a Linux installation workshop, a chess competition, a Quake
competition and a tour of the XWindows interface. We are also going to answer
the community's questions about the operating system and promote our
organization as a resource for budding Linux professionals and hobbyists.
<P> If your company can in some way help us raise the awareness of Linux
Demo Day, find
or offer a location for, or promote the event please contact me at:
webmaster@taclug.org
<P> Thank you!<BR>
Berry Sizemore<BR>
Webmaster of TACLUG<BR>
webmaster@taclug.org
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Fri, 2 Jul 1999 17:32:46 -0500
<BR>From: "bob hamilton" <mail@bobh.to>
<BR>Subject: Linux
<P> I have tried all three available versions of LINUX and can get none of
them installed.
REDHAT will recognize the mouse but not the video (SIS6326 AGP);
SUSE won't even start; I cannot figure out what it wants in the way of
disk-formatting;
Caldera just will not boot.
I have a Pentium III 450 mH; 128 Meg RAM; and 8.4 gig disk...
LINUX ain't something "Slick Willie" GATES is going to lose any sleep
over...
<P> Bob Hamilton; Mail@bobh.to www.bobh.to
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 03 Jul 1999 15:24:44 +0000
<BR>From: Moritz Bunkus <m.bunkus@tu-bs.de>
<BR>Subject: X-Anim etc.
<P> Hello. Quite good article about playing video files. Just one remark.
<P> You said you weren't able to find videos which xanim wasn't able to
play. Unfortunately one rather popular movie, the second Star Wars -
Episode 1 trailer, comes in Quicktime format and uses a Sorensen codec
which is not supported by xanim.
<P>--<BR>
Moritz Bunkus
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sun, 4 Jul 1999 17:43:07 +0200
<BR>From: Ian Carr-de Avelon <ian@emit.pl>
<BR>Subject: Bench marks
<P> in lg 43 Jim Dennis writes:
<BLOCKQUOTE>
Interestingly the term benchmark probably stems from physical
"marks" (scratches or grooves), in work benches used by
woodworkers and other craftsmen to provide handy measurements for
their productions.
</BLOCKQUOTE>
<P> I don't think so. To me the Bench Mark is the "Broad Arrow" stamp used as
the symbol of the British Courts ("Queen's Bench") and the crown. This is most
familiar in old British films where convicts are shown in clothing with bench
marks on the cloth. The bench mark is also found on many buildings in the
British Isles (and probably the commonwealth?). These bench marks have a line
above them and are miade by Ordenance Survey (now a company, but previousl part
of the Army).
<P> The height of the line above sea level is known to an acuracy of less than
1mm. They are points from which measurements are made during map making and
building works, and would have had a role similar to GPS in the modern
millitery has Britain been invaded after the Ordenance Survey was started at
the begining of the Napoleonic Wars.
<P>Yours<BR>
Ian
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Mon, 05 Jul 1999 00:43:04 +0200
<BR>From: Thomas H <thomas@snt.nu>
<BR>Subject: Your question in LinuxGazette
<P> Hi Ian!<BR>
These are my personal experiences with Linux - and how easy/hard it is
to learn using it.
<P> If I compare Linux to OS/2 or Windows, it's much more command-based.
This can make it a bit harder to use in the beginning.
<P> Especially to _configure_ different things in Linux can be difficult.
So my conclusion is that you'll have to have some patience when learning
Linux. I have heard that Caldera should be the easiest Linux
distribution to install (I'm using SuSE so I haven't tried it myself.
<P> However, I think that when more and more "normal" (i e non-technical
people) start using Linux we'll see a shift towards a more user-friendly
Linux. And there seems to be a really friendly atmosphere on the
Internet where you can get high-quality Linux help
<P>Yours,<BR>
Thomas H?jemo, Sweden
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Mon, 05 Jul 1999 07:34:58 -0400
<BR>From: "P. Garrison" <pgarris1@twcny.rr.com>
<BR>Subject: Moving to Linux
<P> Good day.
<P> One thing I know that's been a bit of a barrier to people moving to
Linux are applications that they're using written in a Microsoft
development package and threfore, of course, using all Windows-relevant
functions, calls, etc. If Linux is to move off the server and on to the
desktop, in my opinion, functional development apps that can start with
Microsoft based code, translate it to an XWindows GUI,
and then run the programs under Linux. A tall order, I admit, but
necessary to move the small ISV's and the people who use their programs
over to the Linux camp. Otherwise it's going to be stuck like OS/2 was -
sometimes the same software, but versions that were always feature-poor
compared to their Win 'cousins.'
<P> Something to think about.
<P> Best,<BR>
P. Garrison
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Date: Sat, 17 Jul 1999 19:14:46 -0600 (MDT)
<BR>From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
<BR>Subject: Kickstart Examples
<P>Mark,<BR>
two aside comments to your article "Mark's Kickstart Examples"
from issue 43 of Linux Gazette.
<P> You write:
<BLOCKQUOTE>
It would be nice if someone were to help make it so you can create a
script which would automate the commands for fdisk. Perhaps there is
and I just don't know about it.
</BLOCKQUOTE>
<P> There is really no need for that as for years there exists 'sfdisk'
(probably short for "scriptable fdisk" :-). It is a part of util-linux
package although Red Hat apparently only recently started to include
binaries in their rpm archives. Sources were there "for always".
<P> It has somewhat spartan user interface, although in some situations is
very capable and I used it interactively without any problems. It is
also very simple to script, to embed that into "disk cloning" scripts,
and unbeatable in that. Its documentation includes examples of such
usage. I have seen once in Linux Journal somebody bragging that they
fed fdisk commands from stdin (doable but scary :-) to automate mass disk
partitioning and I was always scratching my head why they work so hard.
A reluctance to peek into docs, I guess.
<P> I have no idea how to shoehorn that into kickstart operations
without modifying the installation program itself. The later is
always possible as Red Hat supplies all sources for installation
utilities on their CDs.
<P> I also have an impression that your Perl script at the bottom
of the article tries hard, but not entirely correct, to emulate
the following command:
<PRE>
rpm --queryformat '%{NAME}\n' -qp /home/ftp/RedHat60/RedHat/RPMS/*.rpm
</PRE>
<P> Beside this list which you are after is basically ready in
RedHat/base/comps on CD.
<P> If you wonder what tags you can use in a format try to type
'rpm --querytags'; even 'rpm --help' says so. :-)
<P>Regards,<BR>
Michal
<P> <hr> <P>
<!--================================================================-->
<center>Published in <i>Linux Gazette</i> Issue 44, August 1999</center>
<!--====================================================================-->
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<HR>
<center>
<table cellpadding=7><tr><td>
<IMG SRC="../gx/bytes.gif" border=1 ALT="News Bytes">
</td><td>
<H3>Contents:</H3>
<ul>
<li><a HREF="#general">News in General</a>
<li><a HREF="#software">Software Announcements</a>
</ul>
</td></tr></table>
</center>
<a name="general"></a>
<p><hr><p>
<!-- =================================================================== -->
<center><H3><font color="green">News in General</font></H3></center>
<P> <hr> <P>
<!-- =================================================================== -->
<center><IMG ALT=" " SRC="gx/cover65.jpg"></center>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">
September 1999 <I>Linux Journal</I>
</font>
</H3>
<P>
The September issue of <A HREF="http://www.linuxjournal.com/"><I>Linux
Journal</I></A> will be hitting the newsstands in mid-August.
This issue focuses on "cooking with Linux": fun things we can do with Linux,
or how we can achieve our computing goals while still having a good time.
<P> <I>Linux Journal</I> now has articles that appear "Strictly On-Line".
Check out the Table of Contents at
<A HREF="http://www.linuxjournal.com/issue65/index.html">
http://www.linuxjournal.com/issue65/index.html</A> for articles in this
issue as well as links to the on-line articles.
<P> To subscribe to <I>Linux Journal</I>, go to <A
HREF="http://www.linuxjournal.com/subscribeljsubsorder.html">
http://www.linuxjournal.com/subscribe/ljsubsorder.html</A>.
<P>
<font color="green">
For Subcribers Only</font>: <I>Linux Journal</I> archives are now available
on-line at <A
HREF="http://interactive.linuxjournal.com">http://interactive.linuxjournal.com/</A>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Volunteer bike ride to promote Linux
</font>
</H3>
<P>
<P> My name is Karl Pena <A HREF=mailto:jackal@raptor.slc.edu>
jackal@raptor.slc.edu</A>.
<P> I am an athlete. I've been addicted to linux for two years or more now.
<P> I want to invite you to share in my project. I just graduated Sarah
Lawrence College (where my colleagues and I learned linux to set up a
student-run server:
<A HREF=http://raptor.slc.edu>http://raptor.slc.edu</A>). I am deeply involved
in the non-profit ideals, and have coordinated major special events for various
different organizations.
<P> Linux Demo Day is coming up in September. This is a very exciting time
for me and for linux, and I am going to give something back to the
community.
<P> I am planning a special journey, on bike, to spread the word on the beauty
of Linux.
<P> I would love to post something on your site, or advertise a paragraph in
your magazine. I am low on cash, so I can't pay you right now.
I just need a few sentences to invite any riders/hackers who want to be
part of my epic journey, to come along. I can use donations, team-members,
PR volunteers, co-grant writers, and sponsors.
<BLOCKQUOTE><EM>
[I sent him e-mail and it bounced. I hope he reads this and sends in a
contact address, and that he finds the support and sponsorship he
needs. Good luck, Karl. -Ed.
</EM></BLOCKQUOTE>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Amiga to use Linux kernel, rumors of Transmeta connection
</font>
</H3>
<P>
Amiga's CEO announced that the next generation of the Amiga Operating
Environment (OE) will be based on the Linux kernel. In other words, the Amiga
is about to become a Linux box. But it will have special drivers for the
Amiga's multimedia hardware.<BR>
<A HREF=http://www.amiga.com/diary/executive/tech_brief1st.html>
http://www.amiga.com/diary/executive/tech_brief1st.html</A>
<P> Soon afterwards, the Transmeta logo was spotted at an Amiga conference.
Rumors are flying about a possible Linux kernel-on-a-chip (allowing e.g., the
entire kernel memory in cache). Of course, Transmeta continues to keep mum
about what its plans are.<BR>
<A HREF=http://www.metamiga.com>http://www.metamiga.com</A><BR>
<A HREF=http://63.193.115.27/amiga/>http://63.193.115.27/amiga/</A>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">TurboLinux outsells Win98 and MacOS in Japan
</font>
</H3>
<P> "TOKYO, July 27-In a mark of the rising open source-code
movement, TurboLinux has outsold the upgraded version
of Microsoft's Windows 98 operating system and the Mac
OS in Japan for the past three weeks, according to a
market research company..."
<P> Read the entire story at
<A HREF=http://www.cnn.com/TECH/computing/9907/27/linux/index.html>
http://www.cnn.com/TECH/computing/9907/27/linux/index.htm</A>
<P> The rest is from a TurboLinux press release:
<P> SAN FRANCISCO, Calif. - July 26, 1999 -TurboLinux, the leader in
high-performance Linux, today announced that its newly released TurboLinux
Workstation J 4.0 product was the best selling operating system in Japan,
beating Microsoft Windows 98 and all other Linux operating systems in retail
sales. In results released by Business Computer News, a market research
company that analyzed sales at over 200 major computer stores throughout Japan,
TurboLinux J 4.0 outsold every other individual OS product in the Japanese
retail channel in its first week, including Windows 98 and other commercial
Linux packages.
<P>TurboLinux continues to consolidate its dominant position in the Pacific ic
Rim, and the success of our TurboLinux J 4.0 product is indicative of our
commitment to being a leading provider of high-quality Linux solutions,=94 said
Cliff Miller, president and CEO of TurboLinux. The new TurboLinux J 4.0,
launched the first week of July, gathered an impressive 24.09% market share,
outstripping Windows 98 (9.15%), Macintosh OS 8.5 J (10.23%) as well as other
commercial Linux distributions by a resounding margin, according to Business
Computer News. In addition to the impressive sales totals for its first week,
TurboLinux J 4.0 recently received a rare five-star rating in a review from PC
Computi ng Japan, the publication's highest possible "extremely outstanding"
rating. While the combined sales of all Windows 98 products including upgrades
ee below) topped TurboLinux J 4.0 sales, the numbers clearly highlight
TurboLinux's impressive presence and acceptance rates in the Japanese OS
market.
<P> Results from Business Computer News are as follows:
<P>
<TABLE ALIGN=CENTER BORDER=1>
<TR><TH>Product</TH> <TH ALIGN=right>Marketshare</TH></TR>
<TR><TD>TurboLinux J 4.0</TD> <TD ALIGN=right>24.09%</TD></TR>
<TR><TD>MS Windows 98 Upgrade</TD> <TD ALIGN=right>13.25%</TD></TR>
<TR><TD>MAC OS 8.5 J</TD> <TD ALIGN=right>10.23%</TD></TR>
<TR><TD>MS Windows 98</TD> <TD ALIGN=right>9.15%</TD></TR>
<TR><TD>Virtual PC 2.1 (PCDOS)</TD> <TD ALIGN=right>6.84%</TD></TR>
<TR><TD>MS Windows 98 Academic</TD> <TD ALIGN=right>3.87%</TD></TR>
<TR><TD>MS Windows 98 Academic Upgrade</TD>
<TD ALIGN=right>3.63%</TD></TR>
<TR><TD>RedHat J 5.2</TD> <TD ALIGN=right>2.64%</TD></TR>
<TR><TD>Vine Linux 1.0 J</TD> <TD ALIGN=right>2.03%</TD></TR>
<TR><TD>Virtual PC 2.1 (Win)</TD> <TD ALIGN=right>1.93%</TD></TR>
</TABLE>
<P> TurboLinux is currently ramping up its U.S operations at its San Francisco
headquarters and has, in recent months, forged key alliances with IBM and
Computer Associates in a bid to extend its reach beyond the Pacific Rim
into
the North American Linux market.
<P> English web site:
<A HREF=http://www.turbolinux.com>http://www.turbolinux.com</A><BR>
Japanese web site: <A HREF=http://www.pht.co.jp>http://www.pht.co.jp</A>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Penguin Quad Xeon Linux systems -- 550 MHz
</font>
</H3>
<P> SAN FRANCISCO, July 1 -- Penguin Computing announced today that it has
become the first company to offer Quad Xeon systems utilizing Intel 550 Mhz
Processors. The Quad Xeons, like all Penguin Computers, run only Linux and are
now the fastest Quad Xeon systems available.
<P> <A HREF=http://www.penguincomputing.com>http://www.penguincomputing.com</A>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">
Benchmark specialist invites Microsoft and Red Hat to a rematch
</font>
</H3>
<P> Chicago, IL -(June 1999) - Neal Nelson, benchmark guru and founder of the
world's largest independent client/server testing facility, has extended an
invitation to Microsoft and Red Hat to participate in an open, public
performance comparison between hot operating system rivals Windows NT and
Linux.
<P> Nelson issued the invitation as a result of a recently published study
sponsored by Microsoft.* One of the conclusions of the study is that
"Microsoft Windows NT Server 4.0 is 2.5 times faster than Linux as a File
Server and 3.7 times faster as a Web Server."
<P><FONT SIZE=-1>*Study conducted by Mindcraft, Inc., a software testing
company based in Los Gatos, CA.</FONT>
<P> Many have questioned the test results because different tuning levels were
used for NT than those used with Linux. For example, NT was tested with NT
tuning, benchmarking and technical support from Microsoft, as well as
Internet Information Server 4.0 tuning information from the Standard
Performance Evaluation Corp.
<P> Linux however, received almost no additional tuning, support or involvement
from Linux-based technical sources. The testing lab cited difficulty in
obtaining tuning information from Linux knowledge bases, and a query with
Red Hat ended up going through the wrong channels.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">The Pia: a $199 Linux-based personal Internet appliance
</font>
</H3>
<P>
<P>(From a story by Stephen Shanklan, CNET News.com, July 6, 1999)
<P> Ebiz Enterprises and its Linux Store unit have released what they call the
Pia, a $199 device that will be marketed through Internet service providers.
Prodigy, one of the Internet's oldest service providers, has already signed up
to promote the Pia, which stands for Personal Internet Appliance.
<P> The online service sees Linux, a rebel open-source operating system, as a
good way to power either cheap Internet appliances or servers at the center of
high-speed home computer networks, Prodigy chief technology officer Bill
Kirkner said today. "This provides a very effective, low-cost alternative,"
Kirkner said....
<P> In the longer term, Ebiz is planning to sell its Pia device bundled with
Internet access for about $20 a month for two years, Rassas said. Prodigy
wouldn't comment on whether it was pursuing such a deal with Ebiz, but a
spokesman said the company is "working on expanding the relationship."...
<P> The article also says sources have reported that America Online is
evaluating a cheap Linux computer.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Keynote speakers for the Open Source Software Convention
</font>
</H3>
<P> Sebastopol, CA--O'Reilly & Associates announces the keynote speakers
for the Open Source Software Convention, to be held in Monterey, CA, August
21-24. Keynoters are:
<PRE>
Guy Kawasaki, CEO and Chairman, Garage.com
"Rules For Revolutionaries--Some Practical Advice for the Open-Source
Movement"
Monday, August 23rd, 9am
Guy is the former chief evangelist of Apple Computer. He is a columnist
at Forbes Magazine and author of seven books.
Bill Joy, Chief Scientist, Sun Microsystems, Inc.
"From BSD to Jini: Adventures in Technology, Openness, and Community"
Tuesday, August 24th, 9 am
Bill is a co-founder of Sun and a member of the Executive Committee.
He was the principal designer of Berkeley UNIX (BSD).
</PRE>
<P> "The Open Source movement is clearly at a turning point. The question
is which way will it turn--toward mass acceptance or toward a more
limited impact. Our convention keynoters are in unique positions to
comment on this turning point, offering insights on where Open Source
has been and where it needs to go," said Joseph McIntyre, O'Reilly's
Director of Conferences.
<P> The Open Source Software Convention is a landmark gathering of the open
source community. It features six concurrent technical conferences,
covered under one registration fee. Participants may stay within a
single conference to get maximum exposure to a technology, or they may
attend any combination of presentations throughout all six conferences.
The conferences include:
<UL>
<LI> The Perl Conference 3.0
<LI> The Linux Conference
<LI> The Apache Conference
<LI> The Python Conference
<LI> The sendmail Conference
<LI> The Tcl/Tk Conference
</UL>
<P> The Open Source Software Convention features over 120 presentations and
40 tutorials spanning four days, led by luminaries of the Open Source
community such as Larry Wall, Guido van Rossum, John Ousterhout, Eric
Allman, Eric Raymond, Kalle Dalheimer, Matt Welsh, Michael Tiemann, Tom
Christensen, Randal Schwartz, Lincoln Stein, Doug MacEachern, David
Ascher, Dick Hardt, Nancy Walsh, and Simson Garfinkel.
<P> Further information and registration is at
<A HREF=http://conferences.oreilly.com>http://conferences.oreilly.com</A> or
1-888-844-7024. For exhibition opportunities, contact John Dockery at
john@oreilly.com.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Red Hat Announces Nationwide Training
</font>
</H3>
<P>
<P> Durham, N.C.--July 13, 1999--Red Hat, Inc., a leading developer and
provider of Linux-based operating system (OS) solutions, today announced that
Global Knowledge, the world92s largest independent IT training company, will
provide Red Hat92s hands-on, real-world training and certification nationwide
for Red Hat Linux, including the Red Hat Certified Engineer (RHCE) program.
<P> Taught by RHCEs with considerable internetworking experience, Red Hat92s
certification program offers more than traditional, multiple-choice written
exams and paper certifications.94 RHCE Certification requires success on
performance-based practical exams, in which users actually demonstrate the
ability to: install and configure Red Hat Linux, set up common network (IP)
services, perform essential administration, diagnostic tests and
troubleshooting, among other internetworking and systems administration tasks.
Red Hat courses are available for the entire RHCE certification track, at
levels appropriate for both beginners and networking professionals looking to
migrate to open source solutions and build or expand their experience with
Linux-based operating systems.
<P> Under the partnership, Global Knowledge will begin offering Red Hat Linux
courses in 15 cities nationwide. The first courses will be available
starting in September 1999. Information on these courses, which are the
same highly successful offerings currently taught at Red Hat92s North
Carolina headquarters, is posted at
<A HREF=http://www.redhat.com/corp/products_training.html>
http://www.redhat.com/corp/products_training.html</A> and
<A HREF=http://www.am.globalknowledge.com>http://www.am.globalknowledge.com</A>.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Press release from Eklektix - those Linux Educators in the
Rockies
</font>
</H3>
<P>
<P> Boulder, Colorado USA July 13, 1999 -- Eklektix has announced their
September 93Linux Training for Professional s94 public class schedule.
Building on successful classes since 1998 and a sell out public class in June
Eklektix delivers Linux training for professions taught by engineers with real
operating experience.
<P> Eklektix92s first "Linux System Administration for Unix Administrators"
classes will be taught in Boulder, Colorado USA September 20-21, 1999 and
Septemb er 22-23, 1999. By assuming familiarity with the basic material, this
course is able to delve deeply into the issues that are truly Linux-specific in
just two intense days.
<P> Eklektix92s weeklong "Linux System Administration" class is offered Sept
ember 13-17 in Boulder, Colorado USA. This hands-on course covers all aspects o
f the management of Linux systems, with an emphasis on the integration of Linux
systems into larger, heterogeneous networks.
<P> Full information for Eklektix92s public and on site classes including de
tailed class outlines, prices, faculty biographies and more are available
through <A HREF=http://training.eklektix.com>http://training.eklektix.com</A>.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Rebel.com unveils the NetWinder Office Server
</font>
</H3>
<P> COMDEX, Toronto, ON - July 14, 1999 - Rebel.com Inc., a leading supplier of
Linux, UNIX and Windows NT enterprise solutions, today unveiled the
NetWinder(tm) Office Server, the newest addition to their suite of NetWinder
Internet server appliances.
<P> "The NetWinder Office Server is an office-in-a-box for small and
medium-sized companies requiring secure Internet and in-house network
services such as Web site hosting, Web access, file sharing, printer sharing
and e-mail," said Michael Mansfield, president, Rebel.com. "With its
straightforward set-up and ease of use, the Office Server provides all the
tools required to ensure effective communications throughout an
organization, in one affordable and high-performing package."
<P> The NetWinder Office Server provides a full suite of Internet and intranet
network services, including:
<PRE>
* Flexible Internet connection via an external dialup, cable or DSL modem,
or by a serial ISDN terminal adaptor. Web caching speeds up Internet access.
* IP Masquerading and Proxy Server features, which reduce ISP costs and
improve security, and Dynamic Host Configuration Protocol makes
administration easier to facilitate.
* Web authoring, hosting and publishing, with integrated support for
HTTP/1.1, Common Gateway Interface (CGI) and Perl Scripting.
* E-mail services supporting POP3 and IMAP4 mail protocols, including
automatic forwarding of messages and mail filter creation.
* Network Address Translation firewall, Port Forwarding and Virtual Private
Networking features as well as remote access via the Internet with optional
client software.
* Cross-platform file sharing and transfer between the NetWinder Office
Server and users of Linux, Unix, Windows and Apple platforms.
* Document indexing and searching capabilities enable users to organize
documents into categories and assign searchable properties, such as
keywords, to facilitate information access.
* Public and private threaded discussion, allowing workgroup communication
and collaboration.
* Print serving capabilities through the use of an attached printer that can
be used as shared network printer. Several hundred printer types are
supported.
* Detailed technical reporting quickly provides administrators with
statistics about uptime, memory total/used, swap total/used, load averages,
number of TCP connections, number of UDP connections, log files and Web
throughput.
</PRE>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">HELIOS supports dual processing on Linux
</font>
</H3>
<P> July 14, 1999 Garbsen, Germany HELIOS Software GmbH announces its
network and prepress server software now fully supports multiple processors
running the Linux operating system on Pentium-based computers.
<P> HELIOS already supports single-processor computing with its currently
shipping CD014. This version contains a bootable Linux runtime based on
RedHat 5.2 using the Linux Kernel 2.0.36 to support the HELIOS software
applications as well the Linux TCP/IP, NFS, FTP and Web services to
serve Macintosh, Windows, UNIX and Internet clients.
<P> For U.S.-based sales information, contact: European Mikrograf
Corporation, HELIOS Software GmbH.'s U.S. distributor, located at 269
Mt. Hermon Road, Suite 100, Scotts Valley, CA 95066; 831-461-6061
(voice); 831-461-6056 (fax); Internet: info@ugraf.com,
<A HREF=http://www.ugraf.com>http://www.ugraf.com</A>.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Applix announces SmartBeak.com (a Linux support site)
</font>
</H3>
<P> Westboro, MA, July 15, 1999 -- Applix, Inc. (NASDAQ:APLX), a leader in
applications for Linux and UNIX markets, announced today that the company
has launched a new web site,
<A HREF=http://www.SmartBeak.com>http://www.SmartBeak.com</A>, to bring
together the support and collaboration needs of Open Source Software developers
and users.
<P> "We created the SmartBeak.com website to address the need in the Linux and
Open Source Software community for a more structured approach to providing
knowledge and managing support issues," said Jit Saxena, Chairman and CEO of
Applix. "We are seeking to position SmartBeak.com as the website that brings
users and developers together in one place and helps them to work together
in a collaborative fashion. Futhermore, we believe that usage of this
website will help foster the development of Open Source Software
applications."
<P> SmartBeak.com users are able to search a knowledge base for documents
containing information for solving their issues. The information is made up
of How To, Frequently Asked Questions, HTML, and support database texts
which SmartBeak.com automatically updates and indexes.
<P> According to Michael Prince, Chief Information Officer, Burlington Coat
Factory, "We are preparing to roll out a distributed network of Linux
workstations and this project provides us with the challenge of obtaining
support for certain components of our solution." He continued,
"SmartBeak.com will be a valuable resource for us and our vendors to use as
a knowledge base, support and collaboration mechanism."
<P> LinuxPPC, Inc., the leading provider of the Linux operating system for the
Macintosh platform, will be the site's first signed software partner. Jason
Haas, Webmaster and technical support supervisor at LinuxPPC said,
"SmartBeak.com represents an opportunity for us to manage our users'
questions and problems, and gives us the ability to route and escalate
issues to the developers in the community, many of which are geographically
dispersed. In short, we expect that by using SmartBeak.com we'll be
significantly improving the support and development of our Linux
distribution."
<P> Unlike many other web-based support sites for Open Source Software products,
SmartBeak.com provides a problem report entry and tracking system to enable
users to post questions or log issues and track their progress. Developers
worldwide, responsible for products represented on the SmartBeak.com site
are able to access these items, assign or escalate their priority and using
SmartBeak.com's workflow engine, assign issues to the appropriate developers
within their communities.
<P> For each posted question or problem report that a user creates, a message
board system allows other users and developers to collaborate on the
resolution of the issues. A user customizable section of the site, called
my.SmartBeak.com provides an instant update of the progress of their own
issues.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Debian Available Preinstalled on Laptops
</font>
</H3>
<P>
<P> [note: This announcement was written by Linux Laptops Ltd.]
<P> San Jose, CA, June 30, 1999 -- The Debian Project has claimed another
hardware vendor commitment, this time from Linux Laptops Ltd.
<P> Linux Laptops is the only hardware vendor devoted exclusively to
delivering portable computers with Linux software installed and
ready to use.
<P> Linux Laptops Ltd. is the Debian Project's second public "win".
The first was Corel Corporation's choice in April of the Debian
GNU/Linux distribution as the basis of their Corel Linux Desktop.
<P> "We chose the Debian distribution both for its great reliability
and for the huge number of application packages the project
maintains," says Nathan Myers, Linux Laptops Ltd.'s president.
"Our customers leave installing to us, and a graphical installation
tool would just get in our way. The Debian Project has concentrated
its efforts on reliable operation and easy, safe upgrades, because
you only install once, but you live with the software for years after."
<P> Laptops with Debian GNU/Linux pre-installed can be ordered via the
company's web site, <A HREF=http://linuxlaptops.com/></A>.
32BitsOnline.com today announced that it has renamed recently acquired
Bleeding Edge Magazine to 0x20.com. Press Release to follow:
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Bleeding Edge magazine renamed to 0x20.com
</font>
</H3>
<P> Vancouver, BC July 27, 1999 - Medullas Publishing Company, parent company
of 32BitsOnline Magazine (www.32bitsonline.com), Linux Applications
(www.linuxapps.com) and Linux Talks (www.linuxtalks.com) today announced that
it has renamed recently acquired Bleeding Edge Magazine to 0x20.com.
<P> ""32BitsOnline Magazine needed a developer site", said Ronny Ko,
Editor-in-Chief for 32BitsOnline Magazine, ""and 0x20 fit the
requirements well." 0x20.com will serve as not only the Linux
community's centre for information exchange but follow 32BitsOnline's
vision, 0x20.com will also provide information about programming on
other operating systems such as BeOS, OS/2 and all the Unices, added
Ko.
<P> ""While focused on furthering development of Linux, 0x20.com's main
goal is to further the development of Open Source software and cross
pollination of freely available source code across all platforms to the
BeOS and visa-versa", "said Derek Barber, site administrator for
0x20.com.
<P> 0x20.com will be launched early this Fall along with LinuxTalks.com.
0x20.com welcomes developers to contribute. Interested persons should
contact Ronny Ko at ronnyk@medullas.com.
<P> Medullas Publishing is the parent company for 32BitsOnline Magazine
(http://www.32bitsonline.com/) and Linux Applications
(http://www.linuxapps.com/).
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Linux is #1 in Antarctica
</font>
</H3>
<P> Framingham, MA, July 1999 - Antarctica IT, Inc. announces the first
consulting company in New England dedicated to service and support for the
Linux operating system and related Open Source software.
<P> "Linux is already in use in many organizations", says Scott Shaw,
CEO of Antarctica IT, Inc. "Now IT managers are looking for
professional support. We are there to help these businesses with
on-site service and with the skills needed to develop custom solutions
on the Linux platform."
<P> To learn more about what Linux means to your business,
call Antarctica IT at 1-877-DO-LINUX,
or visit their web site at www.antarcticait.com.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Morton Bay to discuss embedded Linux platforms at LinuxWorld
</font>
</H3>
<P> Pacific Grove, CA - July 26, 1999--Moreton's chief software wizard, Greg
Ungerer is presenting a technical paper at the Linux World Conference in San
Jose CA on August 11th 1999. In Greg's paper, Building low cost embedded
network appliances with Linux, he presents Linux as the new standard for
embedding in internet appliances and internet devices.
<P> The embedded market includes all intelligent electronic appliances that
use a microcontroller or microprocessor. There are already ten times
more embedded appliances than desktop personal computers in use today,
and this number is projected to grow substantially. According to IDC,
the global market for information appliances will grow at a 76% compound
annual growth rate from 1998-2002.
<P> After the Linux World Conference, Greg will return to Australia to
present his Embedded Linux experiences to local linux community at Open
Source - AUUG'99 in Melbourne on September 9th 1999.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Linux links
</font>
</H3>
<P> Linux and GNU certification exams by Sair Linux and GNU and Sylvan
Prometric:
<A HREF=http://www.linuxcertification.com>http://www.linuxcertification.com</A>
<P> Bay area recruiter looking for somebody to develop a 2-3 day Linux
training course outline:<BR>
Woody Garrett, Technical Recruiter, Bryson Myers Co., 2083 Old Middlefield Way
Suite 206, Mountain View, CA 94043 USA, 650-964-7600 x325, 650-964-7655 Fax,
888-774-3721 Pgr, wgarrett@hooked.net
<P> Ziatech Corporation is offering the source code for its multiprocessing
drivers:
<A HREF=http://www.compactnet.com/>http://www.compactnet.com/</A>
(Ziatech will showcase the New CompactPCI Linux(tm) Development Platform at
LinuxWorld Expo in San Jose (August 1999).
<P> IBM DeveloperWorks new Linux Zone for developers:
<A HREF=http://www.ibm.com/developerWorks>http://www.ibm.com/developerWorks</A>
<P> Debian now available on Indybox hardware:
<A HREF=http://www.indybox.com/>http://www.indybox.com/</A>
<P> LinuxPR contains case studies of how Linux is penetrating into the
business community:
<A HREF=http://linuxpr.com/releases/118.html>
http://linuxpr.com/releases/118.html</A>
<P> <A HREF=http://linuxtoday.com/stories/7450.html>
Linux screensaver for Windows</A>
<P>
<A HREF=http://www.news.com/News/Item/0,4,0-36913,00.html>News.com article</A>
about how Microsoft is evaluating Linux the way it evaluates other competitors
<P> <A HREF=http://www.henge.com/~alanr/ha/>High-Availability Linux</A>
<P> O'Reilley: new edition of the "Webmaster in a Nutshell" book
<A HREF=http://www.oreilly.com/catalog/webmaster2/>
http://www.oreilly.com/catalog/webmaster2/</A>
<P> Software and hardware reviews (including games) for alternative OSes.
The site is looking for reviewers.
<A HREF=http://www.reviews-r-us.com/>http://www.reviews-r-us.com/</A>
<a name="software"></a>
<P> <hr> <P>
<!-- =================================================================== -->
<center><H3><font color="green">Software Announcements</font></H3></center>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Stormix: an easy to use, Debian-based Linux distribution
</font>
</H3>
<P> Vancouver, Canada - July 6, 1999: Stormix Technologies announces the
alpha version of a new Linux distribution called Storm Linux. Based on the
Debian GNU/Linux distribution, Storm Linux is designed to be easy to use and
simple to install. Its target market is both the server and the desktop market.
<P> The Debian distribution is already stable and secure, says Kevin Lindsay,
project leader and developer for Stormix. By using Debian as our starting
point, we can bring Linux to new levels of excellence and user accessibility.
<P> All development for Storm Linux will be Open Source. We believe that
the Open Source model is a strong one, Lindsay says. We will be using
the GPL or a related license for all of our products.
<P> For administrators, a key feature of Storm Linux is the Storm
Administration System (SAS). Designed for local and secure remote
administration, SAS features a single code base for all administration
modules, which reduces the number of bugs. By separating the
application from the client interface, SAS also improves remote
connectivity and allows the quick creation of graphical and text
interfaces.
<P> For end-users, Storm Linux includes a choice of:
<UL>
<LI> text-based or graphical X Windows install
<LI> automatic or custom partitioning
<LI> KDE or GNOME desktops
<LI> recent versions of text and X Windows programs, including X Free
86 3.3.3.1, enlightenment 0.15.5, apt 3.7, and Netscape 4.6
</UL>
<P> Depending on the install choices, a new user can be running Storm
Linux in as little as fifteen minutes.
<P> The final release of Storm Linux is expected for the fourth quarter of
1999.
<P> Stormix Technologies was founded in February 1999 with the goal of
providing the tools and applications that Linux needs to enter new
markets. Initial investors include David Talmor, NetNation
Communications Chairman and CEO, and Joseph Kabul, NetNation
Communications COO.
<P> After using the Linux operating system to build a world class web site
hosting service, we were convinced that Linux has huge potential, Mr.
Talmor says. As a result, we decided to establish a new company that
focused specifically on the creation of a powerful and user-friendly
distribution of the operating system. That distribution is Storm
Linux.
<P> Stormix Technologies is an independent company, and not directly
affiliated with NetNation Communications.
<P> Copies of the alpha version of Storm Linux are available via FTP at
<A HREF=ftp://download.www.stormix.com>ftp://download.www.stormix.com</A>
or from the company web site at
<A HREF=http://www.stormix.com>http://www.stormix.com</A>.
<P> We welcome detailed feedback from alpha testers, Lindsay says. We're
looking for users with the enthusiasm and commitment to take part in
an exciting new direction for Linux.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">TurboLinux Workstation 3.6
</font>
</H3>
<P> SAN FRANCISCO, Calif. - June 29, 1999 - TurboLinux, the leader in
high-performance Linux, today announced it is shipping its newest English
language offering, TurboLinux Workstation 3.6.
Based on the 2.2.9 Linux kernel, TurboLinux Workstation 3.6 retails for
$49.95 and is currently available from the company's web site at
www.turbolinux.com. It will be available in North America through retail
outlets and resellers later this summer.
<P> "TurboLinux is best known as the Linux leader in the Pacific Rim through our
Japanese and Chinese language products," said Cliff Miller, president and
CEO of TurboLinux. "TurboLinux Workstation 3.6 is the first of a series of
forthcoming Linux offerings that are designed to meet the needs of high
performance Linux users in North America and illustrate our ongoing
commitment to this market. On TurboLinux Workstation 3.6 we've also improved
the installer that Forbes Online and other reviewers described as the best
in the market."
<P> TurboLinux, formerly called Pacific HiTech, is quickly emerging as a
dominant, global player in the Linux industry with offices in the U.S, Japan,
China and Australia. It recently announced major alliances with IBM, Computer
Associates and Hewlett-Packard. The company has shipped more than two million
units of its Linux products in the past 18 months. After TurboLinux 3.0's
December 1998 introduction in Asia, it rapidly outsold Microsoft's Windows NT
(2000) at Japanese retail point of sale outlets, according to the Asia-Pacific
high technology analyst firm, Computer News. Further, the product was voted
"Editor's Choice Best Software Product for 1998" by Byte Magazine in Japan.
<BLOCKQUOTE><EM>
[Different-language editions of TurboLinux have different version
numbers. The current English edition is 3.6. The current Japanese
edition is 3.0. The Chinese edition is 3.0.2. There is also a
TurboLinux Server 1.0 Japanese. -Ed.]
</EM></BLOCKQUOTE>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Active Tools Clustor 2.0 for Beowulf
</font>
</H3>
<P> Active Tools is pleased to announce that beta version of Clustor 2.0 for
Linux Beowulf clusters is available for download from
<A HREF=http://www.activetools.com>http://www.activetools.com</A>
<P> With Clustor, existing applications can be rapidly adapted for
execution on a Beowulf type computing clusters. Clustor can
also be used to utilize idle computing power of other networked
computers.
<P> Clustor provides an easy and intuitive environment to build
distributed compute intensive applications, which offers significant
time and money savings. Unlike other tools for development of
distributed and parallel programs, no reprogramming of existing
applications is required.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Caitoo 0.6.4 - Internet download manager for KDE
</font>
</H3>
<P>
<P> Caitoo ( formerly known as KGet ) is a download manager similar to
Go!zilla(tm) or GetRight Download(tm).
It keeps all your downloads in one dialog and you can add and remove
transfers. Transfers can be paused, resumed, queued or scheduled.
Dialogs display info about status of transfers - progress, size, speed
and remaining time.
Program supports drag & drop from KDE applications and Netscape.
<PRE>
Title: Caitoo
Version: 0.6.4
Entered-date: 7 July 1999
Description: Internet download manager
Keywords: KDE, QT, ftp, download, resume, queueing, kget, caitoo
Author: koss@napri.sk (Matt Koss)
Maintained-by: koss@napri.sk (Matt Koss)
Primary-site: http://tux.kawo2.rwth-aachen.de/~caitoo
Alternate-site: ftp://ftp.kde.org/pub/kde/unstable/apps/network
Original-site: http://tux.kawo2.rwth-aachen.de/~caitoo
Platforms: Linux, Qt 1.42, KDE 1.1
Copying-policy: GPL
</PRE>
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Magic Software news
</font>
</H3>
<P>
<P> Magic Software has formed an Australian subsidiary for the e-commerce
market in the Asia-Pacific region.
<P> Magic also offers Magic 8.20 for
developers deploying enterprise database applications (traditional or
web-based). The current Linux product supports only Oracle and Informix
databases, but others are supported on their other platforms and are
expected to be ported to Linux in the future.<BR>
<A HREF=http://www.magic-sw.com>http://www.magic-sw.com</A>
<P> COME MEET MEL, Magic Software's LIVE Magic for Linux Really Cool PENGUIN at
the LinuxWorld Expo. MeL, along with Jack Dunietz (Chief Executive Officer
of Magic) and MAD DOG HALL (a founder of the Linux movement), will host a
PRESS CONFERENCE on TUESDAY, AUGUST 10, 1999, at 9:00a.m. in Meeting Room K
at the San Jose Convention Center to introduce eMerchant for Linux, Magic's
new b2b e-commerce solution for the Linux patform. In addition, MeL will
introduce Magic's new president of U.S. operations, Rephael Inbar., while
Mad Dog will discuss new developments regarding Linux.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Linux Games Coming to the PowerPC (Loki and Terra Soft)
</font>
</H3>
<P> Loveland, CO, July 14, 1999 Terra Soft Solutions and Loki
Entertainment Software announce a strategic alliance to bring best-selling PC
games to Linux on PowerPC computers -- in some cases before those same games
are available for the MacOS.
<P> Loki Entertainment Software has become a strong force in the gaming
industry, licensing MacOS and Windows games and porting them to the Linux
operating system. Terra Soft Solutions has quickly established itself as
a leader in the Linux for PowerPC arena. Through the partnership, Loki
and Terra Soft will combine their efforts to bring Linux games to PowerPC
computers.
<P> In addition to working with Loki to bring Linux games to the PowerPC,
Terra Soft will soon offer game bundles with its Yellow Dog Linux Gone
Home distribution. Retail versions of Loki's games, which will include
both the i386 and PPC versions, will be available as stand alone products
for sale directly from Loki, Terra Soft and other software retailers.
<P> Loki plans to bring a wide variety of games to Linux, including the most
popular action, adventure, and educational titles. Loki's current product
line includes Civilization: Call to Power, Myth II: Soulblighter,
Railroad Tycoon II Gold Edition, and Eric's Ultimate Solitaire. A total
of 8 titles are planned for release in 1999.
<A HREF=http://www.lokigames.com>http://www.lokigames.com</A>.
<A> Based in Loveland, CO, Terra Soft is the developer of Yellow Dog Linux
for Apple Macintosh G3 and PPC computers. Champion Server, their flagship
product, is a highly professional distribution geared toward a wide range
of network applications such as ISPs, corporate intra/extranets, web and
network servers. Terra Soft recently introduced Black Lab Linux, a
parallel computing system for research and development facilities. For
more information about Terra Soft Solutions, visit their website at
www.terrasoft solutions.com.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">SourceGear (AbiWord) acquires Cyclic Software (CVS)
</font>
</H3>
<P> SourceGear Corporation announced today that it has acquired Cyclic
Software. We are looking forward to the opportunity to be involved in the
support and development of CVS, and we hope to carry on with Cyclic Software
now that its previous proprietor, Jim Kingdon, has moved on to another
position.
<P> SourceGear is a new identity for an existing company, and I'd like to
take this opportunity to tell you who we are.
<P> First of all, SourceGear is the founder and sponsor of the AbiWord
project. (AbiWord is a cross-platform word processor being developed
by individuals here at SourceGear as well as many others in the
broader community. It is distributed under the GNU GPL, the same
license as CVS.) We are active participants in the free software
world. Our experience in leading the development of AbiWord has
taught us a great deal about community-developed projects. We intend
to serve the community as active maintainers of CVS and provide
leadership in the ongoing development of this important tool.
<P> SourceGear also sells a line of developer tools for users of Microsoft
Visual SourceSafe (Microsoft's version control tool). Our products,
including SourceOffSite and SourceSurf, are used by thousands of
customers all over the world. Our experience in the development and
support of these products, including version control technology and
customer support, gives us great confidence in our ability to service
the needs of Cyclic's existing customers.
<P> We are very pleased to be involved with the support and development of
the most popular version control tool in the Open Source world. We
ourselves are active users of CVS, and it is important to us that it
continue to grow and be maintained proactively.
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">SuSE Linux 6.2 debuts August 9
</font>
</H3>
<P> Oakland, CA -- July 21, 1999 -- On August 9th, SuSE Linux 6.2 for x86 will
be released worldwide, and, like its predecessors, boasts a host of new and
interesting packages. The new release will make its public debut at Linux
World Expo in San Jose, CA, when SuSE demonstrates its features at their booth,
August 10 - 12 at the San Jose Convention Center. Highlights include:
<PRE>
- Over 1300 applications and utilities on six CD-ROMs -- even more
software at the same price as the previous version
- Kernel 2.2.10 -- the latest Linux kernel
- Completely glibc 2.1-based (with continued support for libc5 programs)
- VMware (time-limited) -- run DOS-, FreeBSD-, Windows 3.x, 9x and NT
4.0-applications easily under Linux
- XFree86 (TM) 3.3.4
- Hardware accellerated OpenGL drivers for all 3D fx-based graphics
cards
- User authentification with PAM
</PRE>
<P> SuSE Linux 6.2 includes the latest Linux kernel, 2.2.10, with
markedly improved performance under high loads.
<P> The 1300 applications in the distribution include updates of applications
previously released on SuSE Linux, such as StarOffice 5.1, KDE 1.1.1,
Apache 1.3.6, GIMP 1.1.4 and sendmail 8.9.3. There are also many "firsts"
such as VMware and RealPlayer 5.0.
<P> According to SuSE Inc. President, Marc Torres, "This distribution
includes many features that will be of interest to IT professionals.
System administrators benefit from the state-of-the-art drivers in 6.2,
such as for SCSI controllers by Adaptec and Tekram as well as for Megaraid
controllers from AMI. Administrators of heterogeneous networks will
appreciate the support for NIS, NIS+ (with Secure RPC) and smb, as these
facilitate user administration on the network."
<P><HR><P>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Macmillan: UK release of Linux-Mandrake and Quake 1 & 2
</font>
</H3>
<P>
Macmillan Computer Publishing announced
the UK release of two LINUX products in July featuring Linux-Mandrake:
"The Complete Linux Operating System 6.0" and "The Complete Linux( Deluxe
Operating System 6.0". Both are based on Red Hat 6.0 with enhancements from
Mandrake. The enhancements include:
<BLOCKQUOTE>
Optimised for Pentium( class or compatible processors (AMD Kx, Cyrix,
Pentium) for faster running, this Mandrake version of Red Hat 6.0 is
built on the more recent kernel 2.2.9 (as opposed to 2.2.5) providing
better drivers and easier installation. The pre-configured K Desktop
Environment [KDE] is the latest version 1.1.1, and can be launched
under the Gnome interface and vice-versa for even more flexibility.
Several window managers are provided for maximum customisation to suit
the way you work. True desktop productivity allows you to drag'n'drop
files and access devices directly from the desktop.
Included is a range of desktop applications for graphics editing, word
processing, personal information and financial management. Special
versions of PartitionMagic and BootMagic are included for easy
install of Windows for dual boot options.
</BLOCKQUOTE>
The deluxe version also includes:
<BLOCKQUOTE>
... `StarOffice 5.1 Personal Edition', a complete office productivity
suite that can act as a fully integrated desktop. Includes word
processing, spreadsheet, graphic design, presentations, database
access, HTML editor, mail/news reader, event planner, and formula
editor. StarOffice features a very familiar and intuitive user
interface that allows experienced office users to be productive almost
immediately.
</BLOCKQUOTE>
<P> Macmillan also announced the forthcoming UK release of <STRONG> Quake The
Offering</STRONG> and <STRONG>Quake II Colossus</STRONG> for the Linux
operating system, the first in a range of `classic' games due for release on
Linux from Macmillan Digital Publishing this year.
<P> <A HREF=http://www.macmillansoftware.com>Macmillan Digital Publishing</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">Other software
</font>
</H3>
<P> Digital Image Professional 3.0 by Power Quest Corporation: clone another
computer, remote configuration, backups for several OSes including Linux.
<A HREF=http://www.os2.co.za/software>http://www.os2.co.za/software</A>
<P> PHP4 version 4 beta 1 has been released. PHP is a
server-side web scripting language, much like MS ASP.
<A HREF=http://www.php.net/version4/>http://www.php.net/version4/</A>
Stalker announced the LinuxPPC Version of its CommuniGate Pro mail server.
A free trial version available at
<A HREF=http://www.stalker.com/CommuniGatePro/>
http://www.stalker.com/CommuniGatePro/</A>.
<P> Open source disk partitioner from Linux-Mandrake:
<A HREF=http://www.linux-mandrake.com/diskdrake/>
http://www.linux-mandrake.com/diskdrake/</A>
<P> Cygnus to deliver GNUpro software for Solaris. This provides a common
development environment for Solaris and Linux across SPARC and Intel platforms:
<A HREF=http://www.cygnus.com/gnupro.html>http://www.cygnus.com/gnupro.html</A>
<P> Giganet extends cLAN interconnects to Linux platform. The company also
announced a commitment to the Open Source movement and will make cLAN for
Linux software available to all Linux designers and developers.
<A HREF=http://www.giganet.com/>http://www.giganet.com/</A>
<P> Loki Games new web site:
<A HREF=http://www.lokigames.com>http://www.lokigames.com</A>
<P> <hr> <P>
<!--================================================================-->
<center>Published in <i>Linux Gazette</i> Issue 44, July 1999</center>
<P> <HR> <P>
<!-- =================================================================== -->
<H3>Contents:</H3>
<p><a href="#tag/greeting"
><img src="./../gx/dennis/bbub.gif" alt="(!)" border="0"
align="middle"><strong>Greetings From Jim Dennis</strong></A></p>
<DL>
<!-- index_text begins -->
<dt><A HREF="#tag/1"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Linux and Windows 95 --or--
<dd><A HREF="#tag/1"
><strong>Running Win '95 Apps under Linux</strong></a>
<dt><A HREF="#tag/4"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>PPP disconnect --or--
<dd><A HREF="#tag/4"
><strong>PPP + minicom Disconnects</strong></a>
<br>WvDial Success
<dt><A HREF="#tag/7"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Linux Partition conflicting with Win98 --or--
<dd><A HREF="#tag/7"
><strong>Makes Windows Explorer Choke</strong></a>
<br>More complex than that, really.
<dt><A HREF="#tag/9"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>ftpacess and the Incoming Conundrum</strong></a>
<dt><A HREF="#tag/11"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>IP forwarding and Linux</strong></a>
<dd>Turning it off.
<dt><A HREF="#tag/12"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>IP forward --or--
<dd><A HREF="#tag/12"
><strong>TCP/IP Port Relaying</strong></a>
<dt><A HREF="#tag/14"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>This month's "paltry" offerings --or--
<dd><A HREF="#tag/14"
><strong>Typos</strong></a>
<dt><A HREF="#tag/17"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>can't help it --or--
<dd><A HREF="#tag/17"
><strong>
Spellcheck Award!
</strong></a>
<dt><A HREF="#tag/18"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>ppp & voicemail</strong></a>
<dt><A HREF="#tag/19"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Unsupported Floppy Formats: 'dd' Maybe</strong></a>
<dt><A HREF="#tag/20"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>minicom --or--
<dd><A HREF="#tag/20"
><strong>Minicom Calling a Procomm Host</strong></a>
<dt><A HREF="#tag/21"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>AHA 2940 SCSI timeout errors --or--
<dd><A HREF="#tag/21"
><strong>Plug and Pray SCAM</strong></a>
<dt><A HREF="#tag/24"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Desqview/Linux --or--
<dd><A HREF="#tag/24"
><strong>
Assembly Language Programming for an old DESQview User
</strong></a>
<dt><A HREF="#tag/25"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>DESQView 386 --or--
<dd><A HREF="#tag/25"
><strong>
DESQview/386 Die Hards into the Next Millennia
</strong></a>
<dt><A HREF="#tag/26"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>cdr's --or--
<dd><A HREF="#tag/26"
><strong>CDR Media: Silver and Gold and Blue, Oh my!</strong></a>
<dt><A HREF="#tag/28"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>get to know --or--
<dd><A HREF="#tag/28"
><strong>Downloading a copy of Linux</strong></a>
<dt><A HREF="#tag/29"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>quick swap Q --or--
<dd><A HREF="#tag/29"
><strong>
And from Radioland....
</strong></a>
<dt><A HREF="#tag/30"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>video timings needed --or--
<dd><A HREF="#tag/30"
><strong>
Video Timings: Configuration Curse
</strong></a>
<dt><A HREF="#tag/31"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Help ! --or--
<dd><A HREF="#tag/31"
><strong>
Accessing Private Net Addresses from the Public Internet
</strong></a>
<dt><A HREF="#tag/32"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Linux gazette article, July 1999</strong></a>
<dt><A HREF="#tag/33"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Dao --or--
<dd><A HREF="#tag/33"
><strong>
Helpless
</strong></a>
<dt><A HREF="#tag/34"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>linux memory --or--
<dd><A HREF="#tag/34"
><strong>
Free Memory vs. Buffers
</strong></a>
<dt><A HREF="#tag/35"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Copying boot partitiion</strong></a>
<dt><A HREF="#tag/36"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>I am a begining Linux user, PLEASE Help! --or--
<dd><A HREF="#tag/36"
><strong>
SiS 6326 and XFree86
</strong></a>
<dt><A HREF="#tag/37"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>ide-cd module --or--
<dd><A HREF="#tag/37"
><strong>
Reading CD Discs on an IDE CDR Drive
</strong></a>
<dt><A HREF="#tag/38"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a> LILO problem.. again --or--
<dd><A HREF="#tag/38"
><strong>Persistent LILO: Won't Start! Won't Go Away!</strong></a>
<dt><A HREF="#tag/39"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Question --or--
<dd><A HREF="#tag/39"
><strong>
The Lost Art of Helper Apps
</strong></a>
<dt><A HREF="#tag/40"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>finding Changelogs --or--
<dd><A HREF="#tag/40"
><strong>
Kernel Patches and Change Logs
</strong></a>
<dt><A HREF="#tag/41"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Installing Win NT 4.0 Workstation and Dual booting Win NT 4.0 Workstation and Win 95 B</strong></a>
<dt><A HREF="#tag/42"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>pc-mos --or--
<dd><A HREF="#tag/42"
><strong>
5 1/4" Floppies: Truly Dead
</strong></a>
<dt><A HREF="#tag/43"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Hdd track 0 bad. --or--
<dd><A HREF="#tag/43"
><strong>
How to Use a Disk with a Bad Track 0
</strong></a>
<dt><A HREF="#tag/44"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Benchmarks</strong></a>
<dt><A HREF="#tag/45"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>DosLinux --or--
<dd><A HREF="#tag/45"
><strong>
What part of "Win Modem" Didn't you Understand?
</strong></a>
<dt><A HREF="#tag/46"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>128M Ram question --or--
<dd><A HREF="#tag/46"
><strong>
Seeing only 13M of RAM
</strong></a>
<dt><A HREF="#tag/47"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>A Fair price for CD duplication --or--
<dd><A HREF="#tag/47"
><strong>
CD Duplication Services: Spam?
</strong></a>
<dt><A HREF="#tag/48"
><img src="./../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Proxy server --or--
<dd><A HREF="#tag/48"
><strong>
Proxy Program?
</strong></a>
<!-- index_text ends -->
</DL>
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/greeting"><HR WIDTH="75%" ALIGN="center"></A>
<H3 align="left"><img src="./../gx/dennis/bbubble.gif"
height="50" width="60" alt="(!) " border="0"
>Greetings from Jim Dennis</H3>
<!-- begin greeting -->
<p>
Well, the book is done at last. It's off to the publishers and
beyond our control. Naturally M and I are are already thinking
about things to improve for the second edition.
</p>
<p>
Meanwhile in "Answer Guy" land I was a bit surprised by the
reaction to my comment on Bernie's "parenting" from last month. I
expected a few flames, and maybe one or two notes of agreement.
Naturally I hesitated to even respond to the question at all.
</p>
<p>
I figured someone would toss the old "what do you know about being
a parent?" bomb at me. Of course, I don't know anything about
"being a parent;" not first hand, so far. However, that's not the
reaction I got. I had several people drop me notes and come to me
in person to say how much they agreed with me. At least one was a
grandparent.
</p>
<p>
However, I did neglect to add one thing to my flame. Normally when
I "flame" someone (in my column or in e-mail/netnews) I also answer
their question. In this case the answer to Bernie's question came
within a couple of weeks after I wrote my response to him.
</p>
<blockquote><dl>
<dt>Back Orifice 2000.
<dd><a href="http://www.bo2k.com/"
>http://www.bo2k.com/</a>
</dl></blockquote>
<p>
This package, a freeware (and open source) product of the cDc (Cult
of the Dead Cow) offers just the features that Bernie was looking
for. Using it you can perform keystroke logging, take screen shots
of your victim's work (or play), redirect their TCP/IP traffic so
that it all goes through your system, play with their filesystem
(almost undetectably) and (of course) surreptisiously install any
other software you like.
</p>
<p>
The BO2K server runs on NT, Win '95 and Win '98 (and on the most
recent betas of Win 2000, from what I hear). There are clients for
Win32 (of course), and command line clients for Linux and other
forms of UNIX. Since BO2K is open source it can probably be ported
to as many other UNIX-like operating systems as you like.
</p>
<p>
It might be interesting to see what happens when some programmers
start combining features of BO2K with VNC (Virtual Network
Computing) a package which provides GUI remote access to Win32
and MacOS platforms. VNC clients are available for Linux, Win32,
and Java (among others).
</p>
<p>
Both VNC and BO2K are released under the GPL, so they should be
license compatible. We don't run into the sort of problem one
would face when trying to mix BSD and GPL code (for example).
</p>
<p>
Of course BO2K was released <em>after</em> my message to Bernie. However
it is an upgrade (a complete re-write, from what I've read) to the
original BO. BO was released last August. The fact is that I
didn't know much about BO. I'd heard about it, of course.
However, I don't administer any Windows systems and I have no
interest in using trojan horses. So I simply filed it away as
evidence of vulnerabilities in "that legacy operating system from
Redmond."
</p>
<p>
UNIX and Linux are riddled with vulnerabilities. We find new
buffer overflows and race conditions every week. Most are simple
programming errors that are fixed as quickly as they are found.
Occasionally we find exploitable flaws in the kernel (like the LDT,
local descriptor table, bug that Linus found a couple of years
ago). Those are also fixed quickly.
</p>
<p>
This suggests that the design of UNIX is relatively sound with
respect to security, since the bugs are at an implementation level.
They are easily fixed.
</p>
<p>
It also suggests that the design is limited. It is very difficult
to write "secure" code for Linux and UNIX. In particular it seems
that the standard C libraries are a poor base for writing robust
applications code. The most straightforward ways to accomplish
many operations in C through the standard libraries (<tt>scanf()</tt>,
<tt>printf()</tt>, <tt>system()</tt>, <tt>popen()</tt>) are simply
inappropriate for working with untrusted data or being run in any
security context other than that of the user who is executing it.
In other words, SUID and SGID programs, and daemons should eschew
many of the standard library functions. The programming expertise
required to distinguish between the "safe" practices and those that are
exploitable provides us with a severe limitation to the security of
our systems.
</p>
<p>
I asked a programmer and design engineer (the major force behind
the design of the Corel Netwinder) about the sorts of bugs that are
exploited by BO2K to gain full control of NT and W2K systems.
Basically I asked if the released version of W2K could fix these
holes to prevent BO2K from being used as a trojan. He said that
the nature of these bugs is far too pervasive to be fixed by
Microsoft in the remaining time before their final release. The
APIs used by BO2K are apparently also used by many other products
and parts of the OS.
</p>
<p>
I'm not a programmer. However, that does sound like a design level
problem. It suggests that no amount of implementation effort will
"fix" the problem. This is consistent with other things I've heard
and read about NT since before version 3.0 (the first release).
</p>
<p>
So, I'm glad I invested the time to learn UNIX and Linux rather
then spending the time in the rat's wheel to learn the guts of NT.
The important things that I learn about Linux are applicable to
other forms of UNIX, and will be around for as long as these
operating systems exist. The few things I learn about NT and
other MS operating systems are going to be obsolete within one
or two future releases of the system.
</p>
<p>
The whole issue of BO2K as a "trojan horse" is interesting.
Naturally Microsoft would like everyone to focus on the "hacker"
(cracker, actually) image of the cDc. They characterize BO2K as
purely malicious. The cDc makes this easy with their irreverant
attitude and provacative "marketing." I personally don't like
the name of the group or their product. However, it would be
shooting to messengers to discount the value of the package based
solely their name.
</p>
<p>
BO2K is just a tool. It has no ethics. It has legitimate uses.
It can be put to unethical uses. The exploitable flaws that allow
it to be used perniciously should be fixed.
</p>
<p>
A Melissa or WinExplorer.zip style delivery of a BO2K derived
trojan is a major security risk for all organizations that rely on
Win32 based systems (NT, '9x, and W2K).
</p>
<p>
We can be thankful to the cDc that they chose to publish these, so
that everyone including Microsoft has a chance to address the real
problem --- and we can only wonder how long these bugs have been
secretly exploited by more clandestine groups and individuals.
</p>
<p>
In last month's blurb I talked about the Linux reaction to an
"offensive" messenger (Mindcraft). My point was that the Linux and
Apache developers didn't ignore the message while discrediting the
messenger. We'll see if Microsoft can learn from that example.
</p>
<p>
Meanwhile, Bernie, if you're reading this, feel free to
use BO2K. I'll let you wrestle with your own conscience and come
to your own conclusions about the ethical implications and
practical repurcussions of *how* you use it.
</p>
<p>
In the past I've occassionally tried to honor a "tech of the
month." Unfortunately I haven't had the time to maintain that as a
tradition. This month, for variety, I'll point to a "link of the
month:"
</p>
<blockquote><dl>
<dt>Linux Games - Even Penguins Like To Have Fun
<dd><a href="http://www.linuxgames.com/"
>http://www.linuxgames.com/</a>
</dl></blockquote>
<p>
Meanwhile, if you haven't had enough of my writing for one month,
look to the <a href="http://www.linuxcare.com/">Linuxcare Inc. web site</a>
in coming weeks. I may be writing to a more "corporate" audience there
on a regular basis.
</p>
<!-- end greeting -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/1"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 3 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Running Win '95 Apps under Linux</H3>
<p><strong>From Jason Holbrook on Mon, 19 Jul 1999
</strong></p>
<!-- ::
Running Win '95 Apps under Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hello Jim,
</STRONG></P>
<P><STRONG>
I like the look of your web site. Very unique. Well to the
point. I know you guys make money on consulting so, I will ask
you to help me later when I get ready to setup. But for now, I am
curious about the Windows 95 programs and the operating system
Linux (preferbly RedHat Linux 5.1) I was wondering if it was
possible with a emulator or to edit the kernel to run some Windows
95 programs in Linux or to run Windows 95 as a shell? Any
references or books you could refer me to, I would appreciate it.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'm guessing that you've come across my website at
<A HREF="http://www.starshine.org"
>http://www.starshine.org</A>. Actually I do very little work on
that these days. I spend far more time providing content to
the Linux Gazette (<A HREF="http://www.linuxgazette.com"
>http://www.linuxgazette.com</A>) where I
do the "Answer Guy" column. (No, I didn't pick the name.
Yes, your question and my answer are being posted there).
</BLOCKQUOTE>
<p><em>[ I'm the one who did the new styling for the starshine.org
site. This seems very appropriate since it's the home site for my
consulting business. It's my belief that every company should have
something that's a little unique about their site. Everyone's welcome
to come take a look at mine <img src="./../gx/dennis/smily.gif" alt=":)">
-- <a href="mailto:star@starshine.org">Heather</a> ]</em></p>
<BLOCKQUOTE>
I answer general technical support questions (such as this
one) via e-mail and netnews. Some of them I cross-post to
my editors at LG, who gather them up, run them through a
custom mail2HTML filter (written by my wife, Heather), and
with a few manual touchups, post them to the web where
they can get indexed by Alta-vista, Yahoo!, Deja News, and
all the rest. LG is also widely mirrored and seems to get
translated into a few other languages (since I occasionally
see parts of my own writing popping up in various languages
that I don't speak).
</BLOCKQUOTE>
<p><em>[ Translations listed on the mirror sites page:
French, Chinese, Italian, Russian. I seem to remember something
about Hungarian too, but I could be mistaken. -- Mike Orr ]</em></p>
<BLOCKQUOTE>
Officially the Linux Gazette is part of the Linux
Documentation Project (LDP: <A HREF="http://sunsite.unc.edu/LDP"
>http://sunsite.unc.edu/LDP</A>) and
is released under a variant of the GPL (the GNU Public
License) --- in basically the same was as the Linux Kernel
and all of the GNU software which is used to build it and
the GNU software which runs under it.
</BLOCKQUOTE>
<BLOCKQUOTE>
In answer to your question:
</BLOCKQUOTE>
<BLOCKQUOTE>
In my past columns I've answered similar questions several
times. All of the back issues are available online so you
could check out:
</BLOCKQUOTE>
<BLOCKQUOTE><DL>
<DT>Issue #17
<DD><A HREF="http://www.ssc.com/lg/issue17/answer.html"
>http://www.ssc.com/lg/issue17/answer.html</A>
<br>Brief mention of <A HREF="http://www.winehq.com/">WINE</A> and
suggestion to just access your Unix/Linux systems from a "real Windows"
system over telnet. Back then I didn't know about MI/X
(<A HREF="http://www.microimages.com/freestuf/mix/index.htm"
>http://www.microimages.com/freestuf/mix/index.htm</A>)
a free X server for Windows and Mac platforms from
Microimages; and I didn't feel like mentioning the
multitude of commercial X servers for Windows.
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL>
<DT>Issue #24
<DD><A HREF="http://www.ssc.com/lg/issue24/lg_answer24.html"
>http://www.ssc.com/lg/issue24/lg_answer24.html</A>
<BR>Clarified and allayed someones concerns about
running WABI on Linux distributions other than
<A HREF="http://www.caldera.com/">Caldera</A>; mentioned WINE,
<A HREF="http://www.dosemu.org/">DOSEMU</A> and others.
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL>
<DT>Issue #29
<DD><A HREF="http://www.ssc.com/lg/issue29/tag_msmail.html"
>http://www.ssc.com/lg/issue29/tag_msmail.html</A>
<BR>List of five alternatives for access MS mail from Linux).
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL>
<DT>Issue #32
<DD><A HREF="http://www.ssc.com/lg/issue29/tag_msmail.html"
>http://www.ssc.com/lg/issue29/tag_msmail.html</A>
<BR>Open letter to Insignia Solutions suggesting
that they port SoftWindows to Linux, written to
them when they sent me a postcard touting their
ports to various non-x86 Unix platforms. With
their response and a link to a "survey" and
(potential) customer comment form.
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
However, there are better sources of information on the
web, written by people who are actually involved in some of
these efforts. So far the best collection of links that
I've seen that related to running Windows software under
Linux and other forms of Unix is at the WINE Headquarters
(<A HREF="http://www.winehq.com"
>http://www.winehq.com</A>) under their listing of "Other
Related Projects" (<A HREF="http://www.winehq.com/others.html"
>http://www.winehq.com/others.html</A>).
</BLOCKQUOTE>
<BLOCKQUOTE>
A particularly promising package which was only released
fairly recently is VMWare. This seems to reliably run
Win '9x, NT and even Linux from within a virtual machine.
More info at: <A HREF="http://www.vmware.com"
>http://www.vmware.com</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
In issue 30 and again in 32 (above) mentioned the Microsoft
WISE offering (<A HREF="http://www.microsoft.com/win32dev/base/wise.htm"
>http://www.microsoft.com/win32dev/base/wise.htm</A>).
</BLOCKQUOTE>
<BLOCKQUOTE>
WISE is a cross-licensing deal to allow vendors to port
Windows programs to RISC (non-x86) platforms. This is also
noted, by name, on the WineHQ page.
</BLOCKQUOTE>
<BLOCKQUOTE>
The purpose of this is obvious. Legitimize the use of
Windows products on "non-competing" versions of Unix (those
for non PC hardware platforms) in an effort to curtail the
groundswell of support for the PC Unix variants, particular
the free Linux and Unix systems. Microsoft also seems to be
releasing "Unix" versions of some of their products --- on
a few *non-PC* platforms (particularly ironic since they
still own a stake in SCO and they steadfastly refuse to
support ports of their own products to that platform).
</BLOCKQUOTE>
<BLOCKQUOTE>
It's impossibly to address this situation from a purely
technical point of view. The problems are political,
and have very little to do with technology or even
the finances of any particular product. Microsoft would
make plenty of money if they sold MS Office for Linux.
It would be far more profitable than any sales for AIX,
HP-UX, or Solaris, simply because the size of the Linux
market exceeds all of those combined (and we, as a whole
aren't the cheapskates that many in the press like to
portray). So, most of my thoughts on this subject are
unabashedly political.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Jason Holbrook
<BR>Holbrook Computer Systems (just started it
<IMG SRC="./../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="top">)
<br>Elgin IL
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Good luck on the new venture. Are you considering offering
pre-installed Linux systems through your business? Do you
have a URL, yet? (If so, I'd suggest putting it in your
.sig). I grew up in Chicago. However, I now live in the
Silicon Valley (the computer nerd's "Mecca").
</BLOCKQUOTE>
<p><em>[ Drop me a line at <a href="mailto:consulting@starshine.org"
>consulting@starshine.org</a> when you're ready to spin up
your website, whatever your products happen to be.
-- Heather ]</em></p>
<!-- sig -->
<!-- end 3 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/4"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 6 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>PPP disconnect</H3>
<p><strong>From Timmy Douglas on Sun, 18 Jul 1999
</strong></p>
<P><STRONG>
I have a question that has been bugging me. I have read your PPP disconnect
page but I am just using minicom to try to establish a connection and I am
disconnecting right after it starts PPP.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
When you exit minicom are you using [Ctrl]+[A], [X] or
[Ctrl]+[A], [Q]? When you use the latter of these, minicom
should ask you to confirm that you really want to "quit
without resetting the modem." Are you getting that? You
should be, otherwise minicom is resetting the modem as it
exits ([Ctrl]+[A], [X]) which disconnects the phone,
naturally enough.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Here is what the capture file (<tt>MINICOM.CAP</tt>) says:
</STRONG></P>
<Pre><STRONG>
Annex Command Line Interpreter * Copyright (C) 1988, 1998 Bay Networks
Checking authorization, Please wait...
Username:my_name
Password:
</STRONG></Pre>
<Pre><STRONG><BlockQuote>
Switching to PPP.
</BlockQuote></STRONG></Pre>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This phrase should be the last "expect" string in your
chat script. (PPP should be sufficient). That will
clear the buffer so that pppd will see the other
"stuff" (LCP, link control protocol traffic).
</BLOCKQUOTE>
<BLOCKQUOTE>
... [BINARY DATA ELLIDED] ...
</BLOCKQUOTE>
<BLOCKQUOTE>
(note: Please do NOT send binary data through e-mail
unless your correspondent has specifically requested
it).
</BLOCKQUOTE>
<BLOCKQUOTE>
When sending a bit of binary data in a mostly textual
message it's recommended that you use the MIME
"quoted-printable" encoding. This leaves most printable
characters unmodified and encodes any non-printable
characters into short sequences like =2A etc.
</BLOCKQUOTE>
<Pre><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>NO CARRIER
</STRONG></Pre>
<P><STRONG>
do you know how I can get rid of the no carrier thing? You said you had a
similiar experience so I thought you might be able to help. Thanks!
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Convince your ISP to stop hanging up the phone on you.
</BLOCKQUOTE>
<BLOCKQUOTE>
(NO CARRIER is a message reported by your modem when
the line is disconnected --- when either of the modems
has hung up on the other or when the intervening phone
systems have broken the connection).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
---
Timmy
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Play with your chat script more. Make sure that pppd
works when you use the "quit without reset" from minicom.
</BLOCKQUOTE>
<BLOCKQUOTE>
In any future questions that you post to me, or to
the various support mailing lists and newsgroups, you
should:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
Include any syslog messages that correlate to your
attempts to establish PPP sessions
(<tt>tail -f /var/log/messages</tt>).
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
Include the settings in your <TT>/etc/ppp/options</TT>
file and the command line which you are using
to invoke pppd.
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
Look for any of the other settings files that
pppd is accessing during your efforts. For
example it will try to read <TT>/etc/ppp/options.ttyS*</TT>
to correspond to your modem device node, and/or
<tt>~/.ppprc</tt> of the user under which it is running,
and it will look for and execute <TT>/etc/ppp/ip-up</TT>
(as described in the man page).
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
The fact that the required chat script differs based on
which modem and ISP your using is a major source of the
confusion for setting up new PPP accounts.
</BLOCKQUOTE>
<BLOCKQUOTE>
The fact that the Linux pppd looks to so many sources
of options (its command line, the <TT>/etc/ppp/options.*</TT>
files, the <tt>~/.ppprc</tt>, etc) and that it has other "moving
parts" (like the <TT>/etc/ppp/ip-up</TT> and various chap-secrets
and pap-secrets files) is another.
</BLOCKQUOTE>
<BLOCKQUOTE>
Sometimes when troubleshooting these sorts of things I
run <tt>pppd</tt> under the <tt>strace</tt> command. This will give you
a "blow-by-blow" account of every system call made by
the process that you are tracing (and optionally by any
of its children).
</BLOCKQUOTE>
<BLOCKQUOTE>
Most of the output from <tt>strace</tt> doesn't mean much to me.
However I have learned to pay attention to <tt>open()</tt>, <tt>stat()</tt>,
and <tt>lstat()</tt> calls --- and to interpret many of the errors
returned by them. Try it! It's not that hard.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 6 -->
<hr width="40%" align="center">
<!-- begin 5 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>More on PPP + minicom Disconnects</H3>
<p><strong>From Timmy Douglas on Mon, 19 Jul 1999
</strong></p>
<!-- ::
More on PPP + minicom Disconnects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Thank you for all the info. I guess I will have to learn how to mess with
those scripts and that pppd thing. Originally I tried to stay away from them
because the seemed a pain to mess with.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It's possible that you could use KPPP or wvDial
(free packages, you can look for them on your distribution
CD, or download them. One place to look for Linux PPP
files, programs and scripts is at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Metalab: Index of <TT>/pub/Linux/system/network/serial/ppp</TT>
<DD><A HREF="http://metalab.unc.edu/pub/Linux/system/network/serial/ppp"
>http://metalab.unc.edu/pub/Linux/system/network/serial/ppp</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
... Metalab is the canonical archive of Linux software.
</BLOCKQUOTE>
<BLOCKQUOTE>
Another place to look (somewhat easier to use, especially
for the novice) is Freshmeat: <A HREF="http://www.freshmeat.net"
>http://www.freshmeat.net</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
Freshmeat's "quickfind" feature spits up wvDial at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
[fm] WvDial
<DD><A HREF="http://www.freshmeat.net/appindex/1998/08/26/904189535.html"
>http://www.freshmeat.net/appindex/1998/08/26/904189535.html</A>
</DL></BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
"Try it! It's not that hard"....well, I wish I knew as much as you.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
How do you think I got to know any of this?
</BLOCKQUOTE>
<!-- sig -->
<!-- end 5 -->
<hr width="40%" align="center">
<!-- begin 4 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>WvDial Success</H3>
<p><strong>From Timmy Douglas on Mon, 19 Jul 1999
</strong></p>
<!-- ::
WvDial Success
~~~~~~~~~~~~~~
(Was: PPP ???)
:: -->
<P><STRONG>
Thanks you sooooo much!!! I GOT CONNECTED WITH VWDIAL!!!!!!!!!! The first
time I was so happy i didn't edit the <tt>resolv.conf</tt> file so it had like
"<tt><setup here></tt>" or soemthing in it. Then I connected with my
windows computer to find the dns server stuff with <tt>winipcfg.exe</tt>.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I think you mean wvdial. I've never heard of a VWDial
(though it might combine fine German engineering with a mod
retro '60's styling
<IMG SRC="./../gx/dennis/smily.gif" ALT=";)"
height="24" width="20" align="top"> ).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The only thing left is I hate pressing the modem - off - on to get
disconnected and vwdial sort of leaves the xterm hanging with no prompt. So
now I just have to figure out how to get disconnected. Maybe I could try
figuring out by myself.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Try hitting [Ctrl]-[C] to kill wvdial process in your xterm
(or VC) when you down. If that doesn't work then look for
a file named <TT>/var/run/pppd.pid</TT> (or something like that).
When you see that file it should contain the process ID
of the running pppd program. You can then use
something like:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
kill `cat <TT>/var/run/ppp0.pid`</TT>
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... as appropriate to your installation.
</BLOCKQUOTE>
<BLOCKQUOTE>
Naturally you can embody this into a script, possibly a
PERL script. If it is a perl script and you have SUID PERL
installed you can use SUID permission on it to imbue normal
users (possibly limited to some specific group) with the
power to launch and shoot down your connections. You can
also install and configure the <tt>sudo</tt> package to allow normal
shell scripts to be run by "unprivileged" users.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Thanks again,
Timmy
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
As you can see the basic answer is: "kill the pppd process."
However the details on how you do that come with the
universal UNIX operations qualifier: "it depends."
</BLOCKQUOTE>
<!-- sig -->
<!-- end 4 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/7"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 8 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Makes Windows Explorer Choke</H3>
<h4 align="center">More complex than that, really.</h4>
<p><strong>From Luckyshot on Mon, 19 Jul 1999
</strong></p>
<!-- ::
<A HREF="http://www.caldera.com/">Caldera</A> Makes Windows Explorer Choke
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I recently decided it was time to try out Linux. I bought Caldera's Open
Linux 2.2 because ZDnet bragged on the ease of installation and set up.
I've got a new computer and knew I would be putting Linux on it, so I
formatted the 10 gig drive into 2 partitions (big mistake).
</STRONG></P>
<P><STRONG>
I got Open Linux and then discovered that the version of Partition
Magic that comes with it assumes you only have one partition. It
ignored my empty 5 gig drive, so I aborted. Caldera support sent
me a couple of useless one line answers, but luckily their
customer service people are knowlegable in Linux. One told me to
use the bootdisk and the "Expert" option (the one that threatens
to eat newbies when you click on it) when it came time to
partition. The expert level was a bit intimidating, but I got
Linux installed without touching my Win98 partition (applause!).
</STRONG></P>
<p><em>[ Even if the Answer Guy turns out to be wrong he usually has
good details in his rambles. No one-liners here. -- Heather ]</em></p>
<P><STRONG>
I thought everything was dandy.
</STRONG></P>
<P><STRONG>
Then I tried to open Windows Explorer the next time I was in
Win98. System freezes up. I reboot. I then discovered that any
program that tries to look at the entire contents of my physical
drive now does this. Small programs like WinZip or Notepad can be
exited with ctrl+alt+del, but large ones like WE and "My Computer"
make a reboot necessary everytime. I've got shortcuts on my
desktop fr the C: drive and other files (like Dial-Up Networking),
but that's only a temp solution. Caldera Support has been
laughable thus far. Can you help?
</STRONG></P>
<P><STRONG>
Chris Jones
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds much more like an MS Windows problem
than anything to do with Linux.
</BLOCKQUOTE>
<BLOCKQUOTE>
Are you sure that this was working before your Linux
installation? Did you change your CMOS settings (referring
to the geometry or type of drive)? Did you change the other
partition on some way?
</BLOCKQUOTE>
<BLOCKQUOTE>
Has Caldera's support looked at your partition tables
(before and after shots would be ideal). You can
fetch a partition table dump using the following Linux
command:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
fdisk -l
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
Try completely re-installing MS-Windows (on one or
more 2Gb or less partitions). Then try running your
Explorer and other programs.
</BLOCKQUOTE>
<BLOCKQUOTE>
Once you have that working, try the Caldera installation
again. Be sure to take "before" and "after" snapshots.
Redirect them to a file using commands like:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
fdisk -l > <TT>/tmp/before</TT>
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
.... etc. A command prompt should be started on one of
your virtual consoles during your installation (ask the
Caldera support team for details over the phone, and/or
try hitting [Alt]+[Fx] for the [F2] through [F6] function
keys to find it). I'll leave the details of getting that
<TT>/tmp/</TT> file off your installation boot RAM disk and unto
a disk or diskette as an exercise for the reader.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 8 -->
<p><em>[ You might also try having the Linux side of your system mount
your DOS filesystems, with a command like:
<br><tt>mount -t vfat /dev/hda1 /mnt</tt>
<br>Even if it isn't completely successful, its error message might be
worth something. (For example, "Bad FAT, remounting read-only.")
By all means do NOT write to the damaged filesystems from Linux while
they're in this odd state -- just use whichever methods work best to
back up all your stuff.</em></p>
<p><em>If you do end up reinstalling Windows, it'll probably
take out the multiboot loader, so you'll want to follow Caldera's
instructions for making a rescue disk, so that you can boot into your
unharmed copy of Linux afterwards. -- Heather ]</em></p>
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/9"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 10 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>ftpacess and the Incoming Conundrum</H3>
<p><strong>From Ron McKown on Mon, 19 Jul 1999
</strong></p>
<!-- ::
ftpacess and the Incoming Conundrum
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
greetings james!
</STRONG></P>
<P><STRONG>
i have a question for you, and this question has been everywhere.
no one seems to be able to answer it.... let me explain what i am
trying to do:
</STRONG></P>
<P><STRONG><BlockQuote>
i would like anonymous ftp users to upload files and make
directories with specific ownership and file permissions. sounds
easy, right?
</BlockQuote></STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Nope. It doesn't. Of course we'd need to know
the specific desired ownership and permissions; but
there is no generalized support for this in the
WU ftpd nor in the old Berkeley daemon.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
i've been banging my head against the wall for weeks
now over this. i've read the ftpaccess man page 20 times. i
understand <EM>everything</EM> that <TT>/etc/ftpaccess</TT> is capable of doing.
the 'upload' feature of ftpaccess looks like my ticket, but it
doesn't seem to work no matter what i do.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
If you understand <EM>everything</EM> about ftpaccess then you
are much smarter than I am. I've read it at least
50 times and I still find some elements confusing. I've
learned a bit about it from many experiments --- which
have shed light on some of the man page details.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
i would very much like to send you a copy of my ftpaccess file but
first i would like to see if you can help me otherwise.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I probably can't help with ftpaccess.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
i think i'm missing a setting or i'm missing a concept.. maybe i
need to look at group settings some more or maybe a group setting
isn't configured correctly.
</STRONG></P>
<P><STRONG>
is this a umask issue?? if so, what should i set my defumask to
in my <TT>/etc/ftpaccess?</TT>
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Read on.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
please reply by email if you are able to help. i've a client
breathing down my neck about this (i'm sure you know the feeling).
</STRONG></P>
<P><STRONG>
thanks james,
</STRONG></P>
<P><STRONG>
Ron McKown
<br>GM Consulting
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Unfortunately I think you're trying to drive a screw with
a hammer.
</BLOCKQUOTE>
<BLOCKQUOTE>
The wu-ftpd mechanisms for controlling access to the
incoming directory are very limited. You can use the
flag nodirs to disable the ability to make directories
thereunder, you can allow or restrict the chmod command,
and you can set the umask (among other things).
</BLOCKQUOTE>
<BLOCKQUOTE>
However, I don't know of any combination of these that would
match your needs. umask settings only apply to newly
created FILES not to DIRECTORIES.
</BLOCKQUOTE>
<BLOCKQUOTE>
The frustrating thing is that it seems that you can "almost"
get what you want with the right combination of ftpaccess
settings and underlying (OS) permissions, ownership and
account settings (<TT>/etc/passwd</TT>, and <TT>/etc/group</TT>).
</BLOCKQUOTE>
<BLOCKQUOTE>
I've been there. It was a bad place.
</BLOCKQUOTE>
<BLOCKQUOTE>
You might be able to cook up a statically linked binary
program that you put in the ftp/chroot <TT>/bin</TT> directory and
allow the users to call with a site/quote command. That
could create a directory and set the permission. However,
I've never written such a command, and it might be very
difficult to write one that was sufficiently robust that you
could trust it.
</BLOCKQUOTE>
<BLOCKQUOTE>
In addition it is difficult for users to use site/quote
commands through many FTP clients (and some GUI clients will
make it impossible).
</BLOCKQUOTE>
<BLOCKQUOTE>
You'd probably be far better off using ProFTPd
(<A HREF="http://www.proftpd.org"
>http://www.proftpd.org</A>). This is a GPL'd FTP daemon
package with a configuration file that's deliberately
similar in structure and syntax to the (now) ubiquitous
<A HREF="http://www.apache.org/">Apache</A>/NCSA .conf files.
</BLOCKQUOTE>
<BLOCKQUOTE>
In their discussion of their UMASK directive they mention
that umask modifies the permissions on directorie and files
--- but they refer one to the OS documentation for details
(ProFTPd runs on many UNIX platforms other than Linux).
That suggests that they aren't currently doing anything
beyond the current Linux UMASK semantics.
</BLOCKQUOTE>
<BLOCKQUOTE>
I've heard discussion of a DMASK setting, but I believe it
was purely hypothetical and never implemented in Linux. (I
don't know anything about such a setting in other OS').
</BLOCKQUOTE>
<BLOCKQUOTE>
However, I've copied the proftpd developers list on this
response in the hopes that they can shed some light on this
subject for us. (Any fruits from this discussion will be
summarized, credited and posted to the Linux Gazette Answer
Guy's column <A HREF="http://www.linuxgazette.com"
>http://www.linuxgazette.com</A>).
</BLOCKQUOTE>
<BLOCKQUOTE>
You don't mention your specific needs. What are the desired
constraints on the created subdirectory's ownership and
permissions? Let's say you created a group 'strange' and
set the mode of the incoming directory to something like
3772 (sticky, SGID, world writable, executable and readable
to owner and group).
</BLOCKQUOTE>
<BLOCKQUOTE>
It might allow one to force all directories created below
that point to be group-owned by 'strange' and set to the
same permissions as the parents. (That's the normal affect
of an SGID directory (mode +2000) under Linux).
</BLOCKQUOTE>
<BLOCKQUOTE>
Only the owner of a file would be able to remove them
(that's the normal affect of the sticky bit, mode +1000).
</BLOCKQUOTE>
<BLOCKQUOTE>
Having considered the OS level affects we then ask what
ProFTPd directives would model your requirements. I can't
even speculate, since I don't know them.
</BLOCKQUOTE>
<BLOCKQUOTE>
Even if you need to hack in some custom code (into the
daemon) I would think that ProFTPd would be a cleaner code
base to work from than wuftpd. ProFTPd is under GPL
so you're licensed to modify it, and to distribute modified
versions (so long as you make your patches available to the
public under GPL if you exercise both of those rights).
</BLOCKQUOTE>
<BLOCKQUOTE>
There are a number of other FTP daemons available.
</BLOCKQUOTE>
<BLOCKQUOTE>
ncFTPd (by Mike Gleason) is shareware. You can freely use
it for personal systems (up to 3 concurrent connectios) and
some non-profit/educational institutions (read his license
at <A HREF="http://www.ncftp.com"
>http://www.ncftp.com</A> for details). However it doesn't
appear to exactly what you're looking for.
</BLOCKQUOTE>
<BLOCKQUOTE>
I do see (in ncftpd's documentation pages) a rather
interesting discussion about "eventd" --- a deamon to
process actions based on FTP deamon events (such as file and
directory creations!). That looks rather interesting....
There's also a upload-event processor option in Mike's
general.cf file that might be easier than writing a daemon
(at the expense of greater server load since a new processes
would be spawned for each such event, rather than a
lightweight message from one daemon to another).
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(as a side note, I see that the latest
ncftpd version 2.5.0 adds support for the
<tt>sendfile()</tt> system call under Linux, and
apparently under <A HREF="http://www.freebsd.org/">FreeBSD</A>, too).
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
Yet another FTP daemon package is BeroFTPd by Bernhard
Rosenkraenzer. Unfortunately he doesn't seem to maintain a
web-based copy of his documentation (or even a web site for
that matter), and I don't have the time to download that and
read through the tar file. You can find BeroFTPd using a
quick Freshmeat search. (<A HREF="http://www.freshmeat.net"
>http://www.freshmeat.net</A>).
</BLOCKQUOTE>
<BLOCKQUOTE>
You'll probably find what you need in one of these packages,
or perhaps with a bit of coding and patching to one of them.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 10 -->
<hr width="40%" align="center">
<!-- begin 9 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>ftpacess and the Incoming Conundrum</H3>
<p><strong>From Ron McKown on Tue, 20 Jul 1999
</strong></p>
<!-- ::<BlockQuote>
ftpacess and the Incoming Conundrum
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</BlockQuote>:: -->
<P><STRONG>
howdy!
<br>thank you so much for your quick response to my problem. i didn't
realize that doing something like this would be so difficult!
it looks like i will have to go with another ftp server afterall.
</STRONG></P>
<P><STRONG>
again, thanks for the excellent reply!
</STRONG></P>
<P><STRONG>
Ron McKown
<br>GM Consulting
</STRONG></P>
<!-- end 9 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/11"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 11 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>IP forwarding and Linux</H3>
<h4 align="center">Turning it off</h4>
<p><strong>From Hal Pomeranz on Mon, 26 Jul 1999
</strong></p>
<P><STRONG>
Jim--
</STRONG></P>
<P><STRONG>
I admit that I'm being lazy and not searching for the answer in a FAQ,
but could you tell me the right incantation under Linux to disable IP
forwarding on multi-homed machines. Thanks muchly in advance!
</STRONG></P>
<P><STRONG>
--Hal
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It's already the default setting for most Linux kernels.
However, you can force it with:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><code>
echo 0 > /proc/sys/net/ipv4/ip_forward
</code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
(you can 'cat' the contents of that node to view the
current setting). It's more commonly necessary to use:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><code>
echo 1 > /proc/sys/net/ipv4/ip_forward
</code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... to ENABLE the forwarding.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course this assumes that you have <TT>/proc</TT> enabled
in your Linux kernel (also the default and STRONGLY
recommended). I believe there's also a <tt>sysctl()</tt>
interface to this, in case you've stubbornly built
your system without <TT>/proc</TT> support (and replaced the
entire procps suite of utilities including your 'ps'
command).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 11 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/12"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 13 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>TCP/IP Port Relaying</H3>
<p><strong>From Lawrence Tung on Sun, 04 Jul 1999
</strong></p>
<!-- ::
TCP/IP Port Relaying
~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Hi, Jim:
</STRONG></P>
<P><STRONG>
I have only one registered IP address (let say 24.1.2.3) and I have a server
that run as a firewall and use IP masquerade to serve a couple of other
workstations (by using private 192.168.x.x).
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You're using IP masquerading to allow some of your
client systems access to another network (presumably
the Internet).
</BLOCKQUOTE>
<BLOCKQUOTE>
The phrase "serve a couple of other workstations" is
confusing. You normally can't access a server on
a private net through a masquerading router.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Now, I want to use net2phone to connect to my workstations but the
workstation is using 192.168.x.x address. Is there a way (or any package)
that can accept listen to the server machine for a particular port and
forward the request to a particular port on the workstations.
</STRONG></P>
<P><STRONG>
Let say:
</STRONG></P>
<Pre><STRONG>
listen to: 24.1.2.3:2000 forward to: 192.168.0.1:2000
listen to: 24.1.2.3:2001 forward to: 192.168.0.2:2000
</STRONG></Pre>
<P><STRONG>
I've tried to use ipfwadm but it doesn't work. Any idea? Or maybe I must
have typed the ipfwadm command incorrectly.
</STRONG></P>
<P><STRONG>
Thanks.
Lawrence
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I've never heard of net2phone.
</BLOCKQUOTE>
<BLOCKQUOTE>
I guess you were thinking about using ipfwadm's -r
(relay) option. However you can't do it quite as
you expected. What this allows you to do is to relay
packets that match a given packet pattern to a socket on
the localhost.
</BLOCKQUOTE>
<BLOCKQUOTE>
So you might be able to use a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
ipfwadm -I -a acc -r 12345 -D 24.1.2.3 2000
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... with another command like '<tt>redir</tt>' (Freshmeat URL:
<A HREF="http://www.freshmeat.net/appindex/1999/03/14/921462694.html"
>http://www.freshmeat.net/appindex/1999/03/14/921462694.html</A>)
like:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
redir --lport=12345 --caddr=192.168.0.1 --cport=2000
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
The first command (issued on your Linux router/gateway ---
the one doing the IP Masquerading) will accept traffic
on port 2000 of your "real address" and redirect it to
12345 (any arbitrary port you've chosen). The other
command (also executed on the same system as the first)
will listen on localhost port 12345 and make a
relay connection to 192.168.0.1 on port 2000. It will
also automatically relay back any responses.
</BLOCKQUOTE>
<BLOCKQUOTE>
This is basically what programs like the TIS FWTK plug-gw
(Firewall Toolkit, originally by TIS --- Trusted Information
System Inc, now owned by NAI, Network Associates, Inc) and
other proxy tools do.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course you don't actually need to use the ipfwadm
command in your case. You could just use:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><code>
redir --lport=2000 --caddr=192.168.0.1 --cport=2000
<br>redir --lport=2001 --caddr=192.168.0.2 --cport=2001
</code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
In fact there are several free utilities that do
this. Another is simply called 'proxy' (Freshmeat URL:
<A HREF="http://www.freshmeat.net/appindex/1999/04/21/924706079.html"
>http://www.freshmeat.net/appindex/1999/04/21/924706079.html</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
Of the two I just grabbed redir to write this answer
(though I'd been planning on playing with this sort of
thing for awhile anyway). I'm not particular found
of redir's command line style, but it does support
the TCP Wrappers library and it allows the option of
being launched through inetd and to set it's TCP
Wrappers name when its running standalone.
</BLOCKQUOTE>
<BLOCKQUOTE>
The '<tt>proxy</tt>' command includes its own filtering
parser (which doesn't seem to be as sophisticated as
the TCP Wrappers package and surely hasn't been
tested as extensively by as many netizens.
</BLOCKQUOTE>
<BLOCKQUOTE>
The cases where you might might want to do this
ipfwadm redirection would be to "funnel" a bunch
of different destination addresses to one process.
</BLOCKQUOTE>
<BLOCKQUOTE>
For example, you might want to force all of your
local systems to transparent get redirected to a
Squid web proxy any time they were access any
port 80 on any address out on the Internet.
</BLOCKQUOTE>
<BLOCKQUOTE><blockquote><code>
ipfwadm -I -a acc -r 3128 -D 0.0.0.0/0 80
</code></blockquote></BLOCKQUOTE>
<BLOCKQUOTE>
... this will "catch" all traffic destined for
port 80 of anywhere and redirect it to your
router's port 3128. For a more detailed
discussion of this sort of usage look at the
SQUID FAQ: Transparent Caching/Proxying (section
17: <A HREF="http://squid.nlanr.net/Squid/FAQ/FAQ-17.html#ss17.2"
>http://squid.nlanr.net/Squid/FAQ/FAQ-17.html#ss17.2</A>).
</BLOCKQUOTE>
<BLOCKQUOTE>
There are obviously other ways you could use this.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 13 -->
<hr width="40%" align="center">
<!-- begin 12 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>more on: TCP/IP Port Relaying</H3>
<p><strong>From Lawrence Tung on Thu, 22 Jul 1999
</strong></p>
<!-- ::
more on: TCP/IP Port Relaying
~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Hi, Jim:
</STRONG></P>
<P><STRONG>
Thanks for your help. The "redir" works pretty good but I guess it only
support TCP but not UDP. Do you know any package that support UDP too?
</STRONG></P>
<P><STRONG>
Lawrence
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Look for udprelay at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Metalab: Index of <TT>/pub/Linux/system/network/misc</TT>
<DD><A HREF="http://metalab.unc.edu/pub/Linux/system/network/misc"
>http://metalab.unc.edu/pub/Linux/system/network/misc</A>
</DL></BLOCKQUOTE>
<!-- sig -->
<!-- end 12 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/14"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 16 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>This month's "paltry" offerings</H3>
<p><strong>From denis miller on Thu, 08 Jul 1999
</strong></p>
<P><STRONG>
Even a "altry" month from you is better than 10 full offerings from the
mainstream big budget computer mags.
</STRONG></P>
<P><STRONG>
Keep up the excellent work.
Denis Miller
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Thanks. Did I typo on that one?
</BLOCKQUOTE>
<BLOCKQUOTE>
Well the good news is that I finished the printing
chapter. Now all have left is some touch up on the
two appendices (Glossary and "Emergency")
</BLOCKQUOTE>
<p><em>[ At press time for the Gazette, all the edits for LSA are supposed
to be in. So, whatever typos have made it past the professional proofreader,
all 3 authors, me, and whatever other technical editors stuck it out to the
end, well, they're stuck like flies in amber now. Some of you out there may
find these two portions to be worth the price of the entire book. And, in
case anyone's coming to this late, thinking "what book?" -- that's Linux
System Administration, due out very soon from Macmillan
(<a href="http://www.mcp.com/">www.mcp.com</a>) -- Heather ]</em></p>
<BLOCKQUOTE>
Now all I have to do one final proof over it
and there I'm not allowed to add new material that
would change the layout --- just minor corrections
allowed.
</BLOCKQUOTE>
<BLOCKQUOTE>
With luck the book will finally be out by September.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 16 -->
<hr width="40%" align="center">
<!-- begin 15 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Typos</H3>
<p><strong>From denis miller on Fri, 09 Jul 1999
</strong></p>
<!-- ::
Typos
~~~~~
:: -->
<P><STRONG><FONT COLOR="#000099"><EM>
Even a "altry" month from you is better than 10 full offerings from the
mainstream big budget computer mags.
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000099"><EM>
Keep up the excellent work.
<BR>Denis Miller
</EM></FONT></STRONG></P>
<blockquote><FONT COLOR="#000066"><EM><IMG
SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>Thanks. Did I typo on that one?
</EM></FONT></blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
No you didn't change the english language. It is why I will never
be hired for my typing skills or beautiful legs!
</STRONG></P>
<BLOCKQUOTE><IMG
SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>I only ask because you quoted it --- and I've been
known to let quite a few typos out. It's the
disadvantage of writing for an all-volunteer
venue like Linux Gazette. We just can't proofread
it <EM>and</EM> write as much as we'd like. (Heather
will catch some of them --- but she already spends
about a full working day every month on TAG; and
usually gets squeezed into a sleepless night or
two).
</BLOCKQUOTE>
<p><em>[ That's about 6 hours on improving the preparser each month
(which I've named lgazmail), then whatever it takes to lace the threads
together. Really tricky ones I may push to the next month, and then I
complete them after the pub deadline. I do tend to sleep some.</em></p>
<p><em>I already caught a few typos this time around. -- Heather ]</em></p>
<BLOCKQUOTE>
No one's expressed much interest in my legs either.
Heather's, on the other hand ....
</BLOCKQUOTE>
<p><em>[ I need a pink smily so it can blush?
<img src="./../gx/dennis/smily.gif" alt=";)"> -- Heather ]</em></p>
<!-- sig -->
<!-- end 15 -->
<hr width="40%" align="center">
<!-- begin 14 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Typos</H3>
<p><strong>From denis miller on Sun, 11 Jul 1999
</strong></p>
<!-- ::
More on: Typos
~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
If you need a volunteer to proofread and check grammar I offer
myself as a sacrificial lamb. My mother tongue is English and I
can swear at my computer in five languages.
</STRONG></P>
<P><STRONG>
Denis
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It's an interesting thought. On the one hand
I could Bcc: you on every TAG reply I send out
during the month. You could then proof them and
comment on them.
</BLOCKQUOTE>
<BLOCKQUOTE>
I've been thinking of making TAG a mailing list
(probably a manually operated one) for some time
but hadn't given much thought to the mechanisms to
use for it.
</BLOCKQUOTE>
<BLOCKQUOTE>
What I'd envision is changing it from "The Answer Guy"
to "The Answer Gang" --- mail comes it to a small
private mailing list, answers are batted around by
comittee and, when consensus is reached on a response
that is forwarded back to the original person.
</BLOCKQUOTE>
<p><em>[ I would definitely need to update the wizard graphic.
-- Heather ]</em></p>
<BLOCKQUOTE>
Of course it would take away some of the "personal
touch." A committee is unlikely to reach consensus
on a "rant" (I might not agree with some of my own
rants ten minutes after I send them).
</BLOCKQUOTE>
<BLOCKQUOTE>
So I'm not sure. Perhaps we should come up with
a hybrid. One model would be: Questions come it,
I respond with my usual "stream of consciousness"
ranting (often supplemented by URLs from marginally
relevant searches on Yahoo! and other engines),
and I copy "the gang" --- then they can send
comments, corrections, flames and suggestions which
can then make it into the same issue as the original
question and answer.
</BLOCKQUOTE>
<p><em>[ How about, the querent's mail arrives, one of the Gang
fields it, everyone else polishes and tweaks afterwards, for
instance with extra URLs, or a clarification. We already have
a very minimal form of this, when you copy a maintainer on a
reply; this might just formalize some extra eyes that should
always see it. It should, however, be a limited crew. I'm kinda
thinking it would be good to come up with different bubbles for
everyone, and I don't want too many of them.
-- Heather ]</em></p>
<BLOCKQUOTE>
I'm open to other suggestions.
</BLOCKQUOTE>
<p><em>[ Any non-PC Linux experts out there want to join? Curmudgeonly
nature a plus <img src="./../gx/dennis/smily.gif" alt=":)">
-- Heather ]</em></p>
<!-- sig -->
<!-- end 14 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/17"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 17 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Spellcheck Award!</H3>
<p><strong>From Jeff Jourard on Thu, 01 Jul 1999
</strong></p>
<!-- ::
Spellcheck Award!
~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Forgive me for being an inveterate speller and maybe even a bit of
a Felix Ungar (the fussy Odd Couple guy), but when you wrote,
"hoard of cheap servers" isn't it "horde" of cheap servers? Isn't
"hoard" when you stash away a supply of things in case there is a
shortage? As in toilet paper or coffee?
</STRONG></P>
<P><STRONG>
Sorry, can't help it,
</STRONG></P>
<P><STRONG>
Jeff
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You are absolutely correct. I meant "horde" not "hoard."
</BLOCKQUOTE>
<BLOCKQUOTE>
I don't get much editing between my responses to questions
(often stream of consciousness under sleep deprivation
circumstances) and the final HTML cut that y'all see.
</BLOCKQUOTE>
<BLOCKQUOTE>
Over the years I've noticed that a large number of my typos
result in properly spelled words which are homonyms of the
intended term. I suspect that I have a couple of layers of
mental processing that work on different levels as I type.
When I see typos I fix them into some properly spelled word
--- which sometimes is not the word I intended. Thus
my mistakes of this sort are due to carelessness rather than
ignorance. (Not that I'm not ignorant --- just that this
particular error isn't a result of that).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course I do know sysadmins to keep a hoard of computers
(hidden in a storage closet or stashed in a corner of the
server room) which they use to service and replenish their
horde of production systems. But that's not what I'd meant
in the article you were reading.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 17 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/18"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 18 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>ppp & voicemail</H3>
<p><strong>From Eric H. Matlis on Wed, 14 Jul 1999
</strong></p>
<P><STRONG>
Hi jim- I'm having a problem with my ppp/modem connections. I've recently
added a voicemail service to the phone I use for ppp. When a new message
is left of the system, the phone "beeps" several times when it is picked
up. This beeping is interfering with my ppp scripts. I would like to
know if there is a workaround for this- either to make pppd ignore the
beeps, or to institute a time delay before dialing out, or something like
that.
</STRONG></P>
<P><STRONG>
Thanks for you help
<br>eric
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
If the little beeps only occur when you first pick of the
phone then modify your chat script to start with a few \d's
(delays).
</BLOCKQUOTE>
<BLOCKQUOTE>
For example here is a simple chat script:
</BLOCKQUOTE>
<blockquote><pre>ABORT "NO CARRIER" ABORT BUSY
"" ATZ
"" \dATE1V1L0M0&C1&D2S7=45S0=0
OK-\dATE1V1L0M0&C1&D2S7=45S0=0-OK
ATDT374-5847
CONNECT ""
ogin: ppp
ssword: \qYouWish!\q
</pre></blockquote>
<BLOCKQUOTE>
Change it to something like:
</BLOCKQUOTE>
<blockquote><pre>ABORT "NO CARRIER" ABORT BUSY
"" \d\d\d\d\d\d\d
"" ATZ
"" \dATE1V1L0M0&C1&D2S7=45S0=0
OK-\dATE1V1L0M0&C1&D2S7=45S0=0-OK
ATDT374-5847
CONNECT ""
ogin: ppp
ssword: \qYouWish!\q
</pre></blockquote>
<BLOCKQUOTE>
... Read the chat man page for details.
</BLOCKQUOTE>
<BLOCKQUOTE>
pppd invokes chat scripts via directives in its
options file(s) and on it's command line. The
connect directive might look something like:
</BLOCKQUOTE>
<blockquote><pre>connect "/usr/sbin/chat -f /etc/ppp/chat.example"
</pre></blockquote>
<BLOCKQUOTE>
You can add the <tt>-v</tt> option before the <tt>-f</tt> to make chat
be "verbose" (then you can issue a <tt>tail -f</tt> command,
in another window or on a different virtual console,
to view the progress of the chat script as it occurs).
</BLOCKQUOTE>
<BLOCKQUOTE>
Hope that helps!
</BLOCKQUOTE>
<!-- sig -->
<!-- end 18 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/19"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 19 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Unsupported Floppy Formats: 'dd' Maybe</H3>
<p><strong>From WELLSCARGO on Wed, 14 Jul 1999
</strong></p>
<!-- ::
Unsupported Floppy Formats: 'dd' Maybe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Jim,
</STRONG></P>
<P><STRONG>
Thanks for info on the minicom switching to the VC did the trick,
all the hascii characters look just fine. I have one more for you
if you have time. I have a customer that sends me gerber data for
pwb designs on a 3.5" diskette.
</STRONG></P>
<P><STRONG>
The diskette labels say UNIX BAR FORMAT. They are unreadable on a
DOS machine and I thought maybe they could be mounted with
linux.
</STRONG></P>
<P><STRONG>
I tried <tt>mount -t auto</tt> and the path, but would not mount. Normally
I have to to use a program from sydex called anadisk to do a
sector dump and separate each file with a word processor. These
files are nothing but ascii text, vector data. Was wanting to know
if you have ever run across this type of format, others say they
have heard of "TAR'" format but not BAR. Would like to send you a
diskette to look at if you have time. If so please let me know
where to send it.
</STRONG></P>
<P><STRONG>
Thanks a Bunch,
Don Wells
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I supposed you could send me a diskette. However
it might make more sense to try a few tricks on your own.
</BLOCKQUOTE>
<BLOCKQUOTE>
Clearly there is not MS-DOS filesystem on these diskettes.
Probably there is not filesystem on them at all. (It's
possible to dump raw data unto diskettes under UNIX and
Linux, to treat a diskettes as a simple linear sequence of
bits (almost like a virtual tape device).
</BLOCKQUOTE>
<BLOCKQUOTE>
First I'd try a command like:
</BLOCKQUOTE>
<blockquote><pre>dd if=/dev/fd0H1440 | file -
</pre></blockquote>
<BLOCKQUOTE>
... this will dump/extract data off of your floppy
(a 1.44 Mb diskette in "drive A:" in this example,
change the if= parameter to suit your situation) and
feed it to the 'file' command which will attempt to
identify the file format based on "Magic numbers"
(format signatures or characterist patterns).
</BLOCKQUOTE>
<BLOCKQUOTE>
Note: you'll probably see an error message about a "broken
pipe" --- ignore that; it's to be expected from this type of
command. 'dd' would feed the 'file' command the whole
diskette through our pipe, but the 'file' command will close
it's end of the pipe after a few hundred bytes. 'file'
doesn't need to see more than that.
</BLOCKQUOTE>
<BLOCKQUOTE>
It could be that "BAR" is actually just an alternative
'tar' format (for example).
</BLOCKQUOTE>
<BLOCKQUOTE>
The next trick would be to try '<TT>tar tf /dev/fd0</TT>'
to see if GNU tar can read a "table of contents" from
the device.
</BLOCKQUOTE>
<BLOCKQUOTE>
In any event, if you've been pulling the raw data off of
these diskettes using something like AnaDisk then you can
perform a similar operation under Linux using the 'dd'
command. Simply try:
</BLOCKQUOTE>
<blockquote><pre>dd if=/dev/fd0 of=/tmp/mydata bs=18k
</pre></blockquote>
<BLOCKQUOTE>
... then edit the <TT>/tmp/mydata</TT> file with any text
editor. You can even run the 'strings' command
on <TT>/tmp/mydata</TT> like so:
</BLOCKQUOTE>
<blockquote><pre>strings /tmp/mydata > /tmp/mytext
</pre></blockquote>
<BLOCKQUOTE>
... and then edit <EM>that</EM>.
</BLOCKQUOTE>
<BLOCKQUOTE>
This might work.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note that AnaDisk has support for all sorts of bizarre
diskette formats (such as formats entailing the use of
varying numbers of sectors on different tracks). The
Linux floppy device driver is probably not going to tolerate
those sorts of shenanigans (they were used for things like
copy-protection under MS-DOS). Thus the 'dd' command might
complain if that was the case. I presume you've already
determined (through AnaDisk) what the specific formatting
quirks on these floppies might be.
</BLOCKQUOTE>
<BLOCKQUOTE>
(It would be interesting to contact the author of AnaDisk
and ask for a Linux port for those really unusual formats).
</BLOCKQUOTE>
<BLOCKQUOTE>
Another approach might be to install
<A HREF="http://www.dosemu.org/">DOSEMU</A> (and tweak its
configuration to give sufficient floppy disk drive access).
</BLOCKQUOTE>
<BLOCKQUOTE>
Then you might be able to run AnaDisk under Linux, under
emulation.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 19 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/20"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 20 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Minicom Calling a Procomm Host</H3>
<p><strong>From WELLSCARGO on Mon, 12 Jul 1999
</strong></p>
<!-- ::
Minicom Calling a Procomm Host
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
James,
</STRONG></P>
<P><STRONG>
I am new to linux but very familiar with dos and windows. I use
procomm quite a bit for BBS conections. I am running a procomm
host at work (ansi) that displays extended ascii characters on the
front page (972-641-8069). When I log on with procomm everything
looks ok but when I log on with minicom the characters are messed
up. I have everything set correctly as far as I can tell. Any
suggestion would be greatly appreciated.
</STRONG></P>
<P><STRONG>
Thanks,
Don Wells
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Are you sure you've set minicom to be an ANSI terminal?
It defaults to VT102. Try [Ctrl]+[A], [T], [A] to
toggle the emulation mode.
</BLOCKQUOTE>
<BLOCKQUOTE>
If the problem is stemming from the HASCII (high ASCII)
line characters, first make sure you've set the
line to be eight bit clean with a command like:
stty cs8 < <TT>/dev/modem</TT> (note: you really redirect the
<EM>INPUT</EM> of the stty command from your serial device ---
it has to do with how it does its <tt>ioctl()</tt> calls).
</BLOCKQUOTE>
<BLOCKQUOTE>
After that I'd wonder on how you'd set your console
character set. Are you doing this from a console or
from an xterm? I'd try it from the console
([Ctrl]+[Alt]+[Fx] to switch out of a X Windows system to
a virtual console, or VC as we call them in Linux. Once
your at any VC you can just use the [Alt]+[Fx] function key
combos to move among your VCs, and usually [Alt]+[F7] will
get you back to the VC on which your first X Windows
session is running).
</BLOCKQUOTE>
<BLOCKQUOTE>
I'd also suggest taking a look at CKermit. It's license
doesn't allow the major Linux distributors to include it
on their CDs, but it is a pretty good package for
accessing modems under Linux. Note that CKermit doesn't
provide terminal emulation under UNIX --- it (rightly)
assumes that you ALREADY HAVE a terminal emulator through
which you are talking to the system. So CKermit just passes
data from the modem to your existing terminal (be it your
console, telnet, xterm or whatever).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 20 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/21"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 23 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>SCSI Resets Due to Command Timeouts</H3>
<p><strong>From Gregory Smith on Fri, 09 Jul 1999
</strong></p>
<!-- ::
SCSI Resets Due to Command Timeouts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
I was hoping you could help. I have a Gateway P6-200 With an
Adaptec 2940 SCSI card. The trouble is upon boot I receive timeout
errors from the controller. I installed an IDE drive on a second
system pulled the SCSI cable off the disks (ST32155W little SCSI
cable,effectively disabling the drives) and was able to install on
an IDE drive from the SCSI CD (SCSI-2 I think old style cable).
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I think you should take a deep breath, drink some coffee
or tea, and re-read that.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm not sure quite what you meant but it sounded like you
were having problems with your SCSI chain while you had the
hard drive attached. You installed an IDE hard drive,
disconnected the SCSI hard drive (leaving the SCSI CD-ROM
drive attached) and you were able to install Linux.
</BLOCKQUOTE>
<BLOCKQUOTE>
Is that about right?
</BLOCKQUOTE>
<BLOCKQUOTE>
That would suggest that the cabling, termination or
drive are the source of the problem.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
However I would like to install on my system ( that 2nd system was
sort of hijacked once Linux was installed on it). I've been in
the SCSI bios and turned down the speed settings from 20 to 8 ,
and turrned off syncronous and probably fiddled with all the
setttings at some time. I've booted off the CD (RedHat 6.0) and
floppy (RedHat 5.2) to no avail.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'd suggest resetting them all back to the factory
default before trying any further experimentation.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This is a system supplied by my employer so I would prefer not
adding an IDE drive supplied by me (my home systems have RH4.2 and
RH6.0). Any help would be appreciated. Oh yeah the bios on the AHA
seems to auto assign the SCSI-IDs, do you think that could be the
trouble? (I haven't tried forcing the IDs set.)
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds like some "Plug n Pray" stuff. I'd disable that
and manually assign the IDs yourself.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
TIA for any help you can supply.
</STRONG></P>
<P><STRONG>
Greg Smith
</STRONG></P>
<P><STRONG>
Hope you don't mind a syslog from the RH5.2 boot dump detailing
the errors (it is sort of long).
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It's useful though I'll ellide it for publication.
</BLOCKQUOTE>
<pre><strong>> <4>Memory: sized by int13 088h
> <4>Console: 16 point font, 400 scans
> <4>Console: colour VGA+ 80x25, 1 virtual console (max 63)
> <4>pcibios_init : BIOS32 Service Directory structure at 0x000fd8d0
> <4>pcibios_init : BIOS32 Service Directory entry at 0xfd8e0
> <4>pcibios_init : PCI BIOS revision 2.10 entry at 0xfd901
</strong></pre>
<BLOCKQUOTE>
...
</BLOCKQUOTE>
<strong><pre>> <4>ide: i82371 PIIX (Triton) on PCI bus 0 function 57
> <4> ide0: BM-DMA at 0xffa0-0xffa7
> <4> ide1: BM-DMA at 0xffa8-0xffaf
> <4>scsi : 0 hosts.
> <4>scsi : detected total.
</pre></strong>
<BLOCKQUOTE>
...
</BLOCKQUOTE>
<BLOCKQUOTE>
So, you don't have your SCSI driver built statically
into the kernel.
</BLOCKQUOTE>
<strong><pre>> <4>Partition check:
> <5>RAMDISK: Compressed image found at block 0
> <4>EXT2-fs warning: checktime reached, running e2fsck is recommended
> <4>VFS: Mounted root (ext2 filesystem).
> <6>(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 11/0
> <6>(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
> <6>(scsi0) Warning - detected auto-termination
> <6>(scsi0) Please verify driver detected settings are correct.
> <6>(scsi0) If not, then please properly set the device termination
> <6>(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
> <6>(scsi0) during machine bootup.
</pre></strong>
<BLOCKQUOTE>
Did your check on your termination? It's attempting
to auto terminate --- but you can't be sure of
what that's doing. Check that only the devices at
the ends of your SCSI chain are terminated. If you
have not external devices then the SCSI host adapter
is at one end of the chain (and should be terminated).
</BLOCKQUOTE>
<BLOCKQUOTE>
Contrary to what you read in most places, I've seen and
heard that <EM>longer</EM> SCSI cables can be more reliable than
shorter ones (within limits, of course). I assume that
this is NOT differential SCSI. As such it can be
extremely sensitive to the quality of cable used to
connect these devices.
</BLOCKQUOTE>
<BLOCKQUOTE>
If the drive works fine when the CD-ROM is disconnected,
and the gives these errors again when you reconnect it
that suggests that both the CD drive and the hard drive
are terminated (or they they are trying to use the
same ID).
</BLOCKQUOTE>
<BLOCKQUOTE>
Make sure that the CD-ROM or the hard drive is not
terminated. Try swapping them them (cables <EM>and</EM>
termination).
</BLOCKQUOTE>
<strong><pre>> <6>(scsi0) Cables present (Int-50 YES, Int-68 YES, Ext-68 NO)
</pre></strong>
<BLOCKQUOTE>
This line suggests that you're some how using two different
sorts of cables connected to the same controller. Is this
really a 2940 PCI card? Does it have headers (attachment
points) for both 50-pin (flat ribbon) and 68-pin (micro DB)
cables?
</BLOCKQUOTE>
<BLOCKQUOTE>
Don't discount the possibility that the hard drive is
just <EM>bad</EM>. Try it in another SCSI machine. Look up
these drive and adapter models at their respective
vendor web sites to ensure that they are compatible.
</BLOCKQUOTE>
<strong><pre>> <6>(scsi0) Downloading sequencer code... 419 instructions downloaded
> <4>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI)
> 5.1.2/3.2.4
> <4> <Adaptec AHA-294X Ultra SCSI host adapter>
> <4>scsi : 1 host.
> <4> Vendor: SEAGATE Model: ST32155W Rev: 0362
> <4> Type: Direct-Access ANSI SCSI revision: 02
> <4>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
> <4> Vendor: MATSHITA Model: CD-ROM CR-506 Rev: 8S04
> <4> Type: CD-ROM ANSI SCSI revision: 02
> <4>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
> <4>scsi : aborting command due to timeout : pid 17, scsi0, channel 0, id 0,
> lun 0
> 0x00 00 00 00 00 00
> <4>scsi : aborting command due to timeout : pid 17, scsi0, channel 0, id 0,
> lun 0
> 0x00 00 00 00 00 00
> <4>SCSI host 0 abort (pid 17) timed out - resetting
> <4>SCSI bus is being reset for host 0 channel 0.
> <4>SCSI host 0 channel 0 reset (pid 17) timed out - trying harder
> <4>SCSI bus is being reset for host 0 channel 0.
> <6>(scsi0:0:0:0) Synchronous at 20.0 Mbyte/sec, offset 15.
> <4>scsi : aborting command due to timeout : pid 18, scsi0, channel 0, id 0,
> lun 0
> 0x25 00 00 00 00 00 00 00 00 00
> <4>scsi : aborting command due to timeout : pid 18, scsi0, channel 0, id 0,
> lun 0
</pre></strong>
<BLOCKQUOTE>
...
</BLOCKQUOTE>
<BLOCKQUOTE>
and so on.
</BLOCKQUOTE>
<BLOCKQUOTE>
Since it's a system provided by your employer ---
it's not unreasonable to expect them to get the hardware
functioning (even if you are expected to maintain the
OS and other software on it).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 23 -->
<hr align="center" width="40%">
<!-- begin 22 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>SCSI Resets Due to Command Timeouts</H3>
<p><strong>From Gregory Smith on Mon, 12 Jul 1999
</strong></p>
<!-- ::
Plug and Pray SCAM
~~~~~~~~~~~~~~~~~~
:: -->
<!-- ::
More on: SCSI Resets Due to Command Timeouts
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi again,
</STRONG></P>
<P><STRONG>
Thanks for your advice. It was indeed the "Plug & Play Scam" causing the
problem. Once I disabled it the system wouldn't correctly scan the SCSI IDs
from within the BIOS (or boot NT (of course)). So I shutdown the system
configured on of the HDs to be SCSI ID 1 and powered back up. I was able
to boot into NT then, I put the RH6.0 CD in and once it scanned the SCSI
busses I knew it was going to work.BTW "Plug & Play Scam" is the actual
name within the Adaptec BIOS, I guess that should have tipped me off
<IMG SRC="./../gx/dennis/smily.gif" ALT=":-)"
height="24" width="20" align="top">.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Actually I think SCAM is supposed to be an acronym for
some sort of SCSI Configuration Automation Method (or
something like that). However, it may be an unfortunately
apt term.
</BLOCKQUOTE>
<BLOCKQUOTE>
Glad I could help.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well thanks again for your help. And now ( I'll bet you saw this coming!!
<IMG SRC="./../gx/dennis/smily.gif" ALT=";-)"
height="24" width="20" align="top"> ), I don't suppose you know why a sybase dump from a solaris system
wouldn't be readable (sybase "load database" command) into a linux sybase
server ( I've got sybase 11.03 for linux and solaris)? (Hey it is a shot in
the dark no?)
</STRONG></P>
<P><STRONG>
Thanks again for the help,
Greg Smith
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'd ask the Sybase support team if there are any
issues with this. Are their db dumps supposed to be
cross platform readable? Are there big-endian vs.
little-endian (byte ordering with 32-bit register)
problems?
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
P.S. here is the error mesg from the " load database " command
</STRONG></P>
<pre><strong>> Backup Server session id is: 15. Use this value when executing the
> 'sp_volchanged' system stored procedure after fulfilling any volume change
> request from the Backup Server.
> Backup Server: 6.28.1.1: Dumpfile name 'v991991670AFEF ' section number
> 0001 mounted on disk file '/home/gs/sybdumps/greg9915.dump'
> Msg 21, Level 20, State 1:
> Line 1:
> WARNING - Fatal Error 3223 occurred at Jul 12 1999 1:15PM. Please note
> the error and time, and contact a user with System Administrator (SA)
> authorization.
> Msg 3208, Level 16, State 1:
> Line 1:
> Unexpected end of file while reading beginning of dump. Please confirm
> that dump media contains a valid SQL Server dump. The SQL Server error log
> may contain more information on the problem.
</strong></pre>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds, from these errors, like the load database
command doesn't recognize the file you're providing
as one of it's dump images. You're using a Sybase SQL
command to generate this greg9915.dump file, aren't you?
</BLOCKQUOTE>
<BLOCKQUOTE>
(I wouldn't expect anything involving the Solaris 'dump'
command to work on a Linux system).
</BLOCKQUOTE>
<BLOCKQUOTE>
When trying to transfer data from one database to another
I think the best method is to export all of the data
through a series of reports, and import it at the other
end. Of course, that only transfers the <EM>data</EM> --- which
generally means that all of your schema, triggers,
business rules, etc. must be transferred by hand.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 22 -->
<hr align="center" width="40%">
<!-- begin 21 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Plug and Pray SCAM</H3>
<p><strong>From Gregory Smith on Wed, 14 Jul 1999
</strong></p>
<!-- ::
Sybase Dump and Reload: Cross-Platform? Apparently Not!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<!-- ::
was: Plug and Pray SCAM
~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hello again,
</STRONG></P>
<P><STRONG>
WOW that was fast, you know what's funny I've been using Linux for about 6
years and never expected any "real" help especially this fast (I
originally used TAMU distribution because I was able to download it onto
1.2 Mb floppies w/o X11). And other than a question I had about 1 1/2
years ago I never really got info by asking around (I would fumble around
till it worked or I gave up.) I don't think I ever got this response time
from my own company (I also used to be a field service rep fixing
mini-computer systems). I can't thank you enough for the generosity or time.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Glad I could help.
</BLOCKQUOTE>
<BLOCKQUOTE>
I never did get around to trying TAMU (from Texas A&M
University, wasn't it?).
</BLOCKQUOTE>
<BLOCKQUOTE>
I wish I could offer such high service levels to all
my Answer Guy correspondents. However, it is all
volunteer work. That's why I was happy to see
companies like <a href="http://www.linuxcare.com/">Linuxcare</a>
come in to provide the commercial
support option. (So happy, in fact, that I now work
for them; but that's another story).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
In response to your questions--
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
In response, to my questions which were in response to
your questions which .... (ugh!)
</BLOCKQUOTE>
<blockquote><FONT COLOR="#000066"><EM><IMG
SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'd ask the Sybase support team if there are any
issues with this. Are their db dumps supposed to be
cross platform readable? Are there big-endian vs.
little-endian (byte ordering with 32-bit register)
problems?
</EM></FONT></blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
From what I understand from their download page there is no support for the
Linux port. So the answer to the 1st question is "good question", and
apparently we have problems doing a dump/load to other platforms (we
support Solaris, HP-UX and AIX), sorry I guess I should have asked around
here instead of wasting band-width and thinking it was "only" Linux that
couldn't read a .dump file
</STRONG></P>
<blockquote><FONT COLOR="#000066"><EM><IMG
SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You're using a Sybase SQL command to generate this
greg9915.dump file, aren't you?
</EM></FONT></blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Yes from an isql command prompt, I'm using the "load database" and "dump
database" commands
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
If you did an strace (Linux) or truss (Solaris) on the
process while it was running this command, or issued a
'file' command on the resulting dump file (try to look
up its "magic number" you might find out the underlying
file format being used.
</BLOCKQUOTE>
<BLOCKQUOTE>
It may be that your isql command is passing the data
into the system's copy of the 'dump' command. Those
are NOT platform independent.
</BLOCKQUOTE>
<blockquote><FONT COLOR="#000066"><EM><IMG
SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
When trying to transfer data from one database to another
I think the best method is to export all of the data
through a series of reports, and import it at the other
end. Of course, that only transfers the <EM>data</EM> --- which
generally means that all of your schema, triggers,
business rules, etc must be transferred by hand.
</EM></FONT></blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Yep this is what I was trying to avoid. Oh well looks like I'll be learning
more and more about our DB, (man I liked Oracle, or at least I thought the
imp and exp commands created dumps readable by other *nixs)
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Hmmm. I'm not an SQL guy, so I have no basis for
comparison. I know that both of these (and several
other DBMS packages) are available for Linux.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Anyway, I thank you for the help and time you've spent on my problems.
Grace and Peace to you,
</STRONG></P>
<P><STRONG>
Greg Smith
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Glad I could help.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 21 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/24"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 24 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Assembly Language Programming for an old DESQview User</H3>
<p><strong>From Ed Damvelt on Mon, 19 Jul 1999
</strong></p>
<!-- ::
Assembly Language Programming for an old DESQview User
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Good evening.
</STRONG></P>
<P><STRONG>
I saw your answer to a question regarding Desqview386 and your
recommendation of Linux.
</STRONG></P>
<P><STRONG>
From 1985 until eight years ago, when I moved from Europe to Mexico, I
made industrial automation programs (assembler for all routines and MS-C
just to compile it, because my data base/index file software is in C)
and complete hardware, running, if necessary, under Desqview386. Since I
am here I have not been active in this field, so I lost a bit the
thread.
</STRONG></P>
<P><STRONG>
Nevertheless, recently I started engineering in automation again, and
want my programs to run in ASM again. I thus need a multitasking
environment and Linux seems to be the proper choice nowadays; I am one
of the Windows-haters, but forced to use it still. For me the questions
now are: What conventions must the assembler file answer to in order to
run under Linux? Search as I did, I only found info about how to run
existing programs, not how to program myself. Can you tell me where to
find this info? Are there ASM- and C-compilers to have for Linux? Yes,
where? What is there to do to run multiple programs? Etc. I guess you
got the gist of my needs. I do hope that I do not have to re-write my
whole ASM-library; it cost me a lot of time to write identical
procedures to MS-C and, where convenient, Turbo-Pascal in such way, that
they are much more efficient, practically insensitive to type/pointer
mix-up and much faster.
</STRONG></P>
<P><STRONG>
I really would appreciate getting some pointers to search variables from
you.
</STRONG></P>
<P><STRONG>
Regs,
Ed Damvelt.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well, assembly language programming is rare in any form of
UNIX. However, it is somewhat better supported under Linux
than under most other UNIX variants.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm not an assembly programmer per se, though I have
played with Z-80, 6502, and 8086 assemply.
</BLOCKQUOTE>
<BLOCKQUOTE>
Your best resources for ASM programming under Linux
seem to be:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Assembly HOWTO
<DD><A HREF="http://metalab.unc.edu/LDP/HOWTO/Assembly-HOWTO.html"
>http://metalab.unc.edu/LDP/HOWTO/Assembly-HOWTO.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
NASM - The Netwide Assembler Project - FREE 80x86 assembler
<DD><A HREF="http://www.web-sites.co.uk/nasm"
>http://www.web-sites.co.uk/nasm</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
asmutils: Linux/i386 assembly programming page
<DD><A HREF="http://lightning.voshod.com/asm"
>http://lightning.voshod.com/asm</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
This last link in particular leads to a small package called
'asmutils' --- which includes straight assembly language
replacements for about thirty small UNIX utilities. There's
even a 757 byte web server. (That was not a typo:
seven HUNDRED and fifty odd BYTES!). All of the others
are smaller. Most of the others are under half that size.
(And those are STATIC BINARIES --- with no dependencies on
any shared libraries).
</BLOCKQUOTE>
<BLOCKQUOTE>
(That's pretty interesting in that "Hello World" compiled
statically under glibc 2.x comes in at 90K (kilobytes). The
assembly language version I cooked up in five minutes using
one of the asmutils programs as a template assembled into
about 90 bytes).
</BLOCKQUOTE>
<BLOCKQUOTE>
So, you and Konstantin Boldyshev (the author of asmutils)
might have quite a bit of fun creating a large suite of
raw assembly language tools for Linux.
</BLOCKQUOTE>
<BLOCKQUOTE>
These will probably be of particular interest to people like
Tom Oehser (maintainer of Tom's Root/Boot, "The most Linux
you can fit on a Floppy) (<A HREF="http://www.toms.net/rb"
>http://www.toms.net/rb</A>) and to
the people who work on embedded Linux systems (who have a
mailing list and an FAQ at <A HREF="http://www.waste.org/~zanshin"
>http://www.waste.org/~zanshin</A>).
(I've copied some of them on this message).
</BLOCKQUOTE>
<BLOCKQUOTE>
In addition to pointing them at these resources (of which
they were probably already aware) this will give them an
opportunity to comment on what I've said and expand the
content (or make corrections). You might want to join
The embedded Linux mailing list (as their interests are
similar, though quite a bit of their work is down in
C, too) and possibly in participating in the Tom's Root/Boot
mailing list or in the asmutils and Lightning Project.
</BLOCKQUOTE>
<BLOCKQUOTE>
Together the micro-Linux (very small distributions like
Toms, LRP, ODL, Trinux, LOAF, etc) embedded, and assembly
language projects form a interesting niche within the Linux
community.
</BLOCKQUOTE>
<BLOCKQUOTE>
Linus has said that the most interesting things
happening in the future of Linux will be on the desktop
and in the embedded realms. I agree.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 24 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/25"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 25 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>DESQview/386 Die Hards into the Next Millennia</H3>
<p><strong>From Mike Green on Mon, 19 Jul 1999
</strong></p>
<!-- ::
DESQview/386 Die Hards into the Next Millennia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi Dennis,
</STRONG></P>
<P><STRONG>
Just wondering if you know where I could find some information on
DESKView 386's Y2K compatibility?
</STRONG></P>
<p><em>[ His name's Jim... Dennis is his last name. -- Heather ]</em></p>
<P><STRONG>
Thanks,
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Not a clue. I haven't used DESQview in about five years.
I've been primarily using Linux for about the last seven.
</BLOCKQUOTE>
<BLOCKQUOTE>
I presume that Quarterdeck's aquisition by Symantec
has spelled complete obscurity and orphanage to DV. They
probably didn't even have the decency to release the sources
to a "free world."
</BLOCKQUOTE>
<BLOCKQUOTE>
You might be far better off with a combination of Linux and
its <A HREF="http://www.dosemu.org/">DOSEMU</A> or VMWare. It's a pity that you'd lose
DESQview's UI (I'd really like to see a Linux console
manager that would match the features and feel of the
DESQview popup menu system --- but add configurability like
DV/X). However you gain support for modern hardware
(including CD's, CD-R, CD-RW, DVD and DVD-RAM) and procotols
(running DV under a TCP/IP stack used to be like waltzing
with a bear in a china shop!). You also lose all problems
with memory management (forget about conventional vs.
EMS and "largest program size").
</BLOCKQUOTE>
<BLOCKQUOTE>
All that and you get the sources, too. (A feature that
would be even more exciting if I were a real programmer,
and not just the occasional hack).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 25 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/26"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 27 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>CDR Media: Silver and Gold and Blue, Oh my!</H3>
<p><strong>From HThorne328 on Sun, 11 Jul 1999
</strong></p>
<!-- ::
CDR Media: Silver and Gold and Blue, Oh my!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Can you please help me. What is the difference between silver, gold, blue,
etc., on the CDR disks? Also what does matte mean? Thank you. I'm very
confused.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'm pretty sure that matte refers to the finish (texture)
on the back of the CDR media (the "label" side or
"non-recording" surface). A matte finish is probably better
for writing on (using using permanent marker). Whether
writing on your CDR media is advisable (as opposed to
cutting labels to cover the back surface) is a matter that's
best answered by the maker of the particular brand of media
you're buying.
</BLOCKQUOTE>
<BLOCKQUOTE>
It just so happens that I found a great FAQ (*) on the
topic of CDRs by Andy McFadden the other day (while
answering other mail, naturally).
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(CD-Recordable FAQ
<A HREF="http://www.fadden.com/cdrfaq"
>http://www.fadden.com/cdrfaq</A> )
You want "Section 7"(*) in particular. This talks about
media.
</UL></BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(CD-Recordable FAQ - Section 7
<A HREF="http://www.fadden.com/cdrfaq/faq07.html"
>http://www.fadden.com/cdrfaq/faq07.html</A>#[7-1])
The gist of what Andy is saying here is that you really
want to shop in small quantities and use the scientific
method (experiment with your combination of recorder,
readers and media) until you find a brand that meets your
needs. Then you can go for the volume discounts.
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
(Elsewhere he makes frequent mention of the back surface
of the CD discs and how some of them have the recording
foil exposed while others have an additional layer of
plastic --- which I guess at least one brand refers to as
"Infoguard." I've seen some CDRs like this, with a
delicate foil on the back which could be easily scratched
--- thus ruining the data that was stored on its other
side. I don't consider them to be suitable for any purpose.
Luckily they don't seem to be common anymore. Even the
cheap bulk CDR media have the recording foil fully encased).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 27 -->
<hr width="40%" align="center">
<!-- begin 26 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Kudos</H3>
<p><strong>From HThorne328 on Mon, 12 Jul 1999
</strong></p>
<!-- ::
Kudos
~~~~~~
:: -->
<P><STRONG>
<A HREF="http://www.fadden.com/cdrfaq"
>http://www.fadden.com/cdrfaq</A>
<br>Wow, that was all I was hoping for and more. Great job!!!! Thank you
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Glad I could help.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 26 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/28"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 28 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Downloading a copy of Linux</H3>
<p><strong>From Richard Marsh on Mon, 26 Jul 1999
</strong></p>
<!-- ::
Downloading a copy of Linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi good day I would line to download the linux program please let
me know where and how to download and install this program. and
what file I need to have. I want to get to know that operating
system. everyone is talking about it and I want it to be my main
operating system
</STRONG></P>
<P><STRONG>
Thank You..
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'm afraid that "the linux program" is actually a bit
of a misnomer. It is true that Linux is a program.
Specifically it is a kernel. You could go to
<A HREF="ftp://ftp.us.kernel.org"
>ftp://ftp.us.kernel.org</A> and download any of the versions
of the Linux kernel that you'll find there. They range
from archaic .10 and .9x versions through the current
2.2 (stable) and 2.3 (developmental) versions.
</BLOCKQUOTE>
<BLOCKQUOTE>
So, you could download one of these kernels (in source
code form, of course). Then you'd compile it (more on
that later) and you'd have a copy of "the linux program"
to run.
</BLOCKQUOTE>
<BLOCKQUOTE>
The Linux kernel is after all just a program. It implements
about 180 system calls, provides file systems, device
drivers, a sockets interfaces with TCP/IP networking
suite, and some memory and process management APIs and
interprocess communications methods.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course that's not of much direct use. A kernel doesn't
<EM>do</EM> anything for a user. It provides a set of services
to your applications and other programs. You use those
programs and they use the kernel services.
</BLOCKQUOTE>
<BLOCKQUOTE>
In a technical sense "Linux" is just the kernel. Of course
the common sense of the term refers to a large suite of
utilities that run under this kernel (combined with the
kernel. The most obvious things you need to run this
program (the kernel) are:
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
a way to compile it.
</ul></blockquote>
<BLOCKQUOTE><ul><li>
a way to boot it.
</ul></blockquote>
<BLOCKQUOTE>
The Linux kernel is written in C. Linus Torvalds uses GCC
and most of the other developers use that or one of its
derivatives (such as egcs, now merging back into GCC).
This mostly means that you want to compile your Linux kernel
on a Linux system. (You could cross-compile it on some
other UNIX or UNIX-like system --- but that would be
somewhat more complicated.
</BLOCKQUOTE>
<BLOCKQUOTE>
To boot it you'd need something like the LILO package
or a copy of LOADLIN.EXE (and a copy of MS-DOS or one of
its clones to run THAT under).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course this hypothetical discussion of running the
kernel by itself is a bit absurd. To learn Linux and
to make any practical use of it, you need a whole suite
of programs to install it, as well as a few programs to
run under it.
</BLOCKQUOTE>
<BLOCKQUOTE>
Most of us, particularly the techies among us, refer to
different collections of a Linux kernel with GNU, BSD, MIT
and other (mostly free) software as "distributions."
Distributions combine a kernel with a suite of installation
and configuration tools (like 'fdisk' to re-partition your
hard drive, and <TT>/sbin/lilo</TT> to install and update your
boot loader (master boot record code) etc). They also
include libraries (like DLLs in MS-Windows) and, of course
lots of software (like editors, commmand interpreters,
compilers, web servers, graphics handlers and drawing
programs, etc.
</BLOCKQUOTE>
<BLOCKQUOTE>
There are many distributions. The most current and up-to-date
list that I know of is maintained in a section of the Linux
Weekly News which lists links to about 100 of them, and
posts any news about them that gets the attention of their
editors.
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
You can read a recent one at:
<DD><A HREF="http://www.lwn.net/1999/0722/dists.phtml"
>http://www.lwn.net/1999/0722/dists.phtml</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
There are some spcial "micro-distributions" like Tom's
Root/Boot, LOAF (Linux on a Floppy), DOSLinux (which
installs into a DOS subdirectory) and various special
purpose systems like LRP --- the Linux Router Project. Some
of these fit on a single floppy. Others fit in about 20Mb
or less of archives.
</BLOCKQUOTE>
<BLOCKQUOTE>
However, most distributions take up over a
100Mb. Consequently they are usually distributed on CDs.
There are a couple of places to get very inexpensive sets of
Linux CDs. I tend to think CheapBytes
<A HREF="http://www.cheapbytes.com"
>http://www.cheapbytes.com</A> first in this category. You can
get <A HREF="http://www.debian.org/">Debian</A> or Mandrake
CDs for as low as $1.99 plus shipping
and handling ($5.00). (Mandrake is a derivative of the Red
Hat Linux distribution -- it builds on it by adding a few
extra packages and refinements, etc).
</BLOCKQUOTE>
<BLOCKQUOTE>
Now I realize I sound like an ad. You can certainly find
whole distributions to download over the Internet. On some
sites you can find ISO 9660 CD images (these are 650Mb
images suitable to be "burned" right off your drive and onto
your CDR or CDRW media). I wouldn't recommend downloading
one of those with anything less than a T1 at your disposal.
</BLOCKQUOTE>
<BLOCKQUOTE>
It's also possible, with some difficulty and quite a bit of
patience, to install a Linux distribution with a small set
of floppies and an FTP connection. I've installed
<A HREF="http://www.redhat.com/">Red Hat</A>
5.2 with a single boot floppy (and one supplemental, if I
recall, it's been awhile). I had to try several times to
get it right and to get past the occasional disconnects.
That was over a DSL line. I wouldn't try it over a modem.
</BLOCKQUOTE>
<BLOCKQUOTE>
With Debian you'd cut a set of seven or eight HD floppies,
install the "base system" using those, then you could
selectively add packages as needed. Although this is
possible with the current Debian "stable" release (2.1) it's
much easier with the "unstable" (code-named "Potato")
version. I have this running on my system at work, and I
put a machine on it for an installfest earlier today.
</BLOCKQUOTE>
<BLOCKQUOTE>
Debian is well suited to installation over the Internet
because it has many small packages and relatively sane
dependencies. So you can install almost exactly what you
need without getting any unwanted space and bandwith
consuming "extra" baggage. Using the apt-get and apt-find
front ends you basically just issue a command that says:
"install that" --- and the system connects to the Debian
archive mirror system, finds the latest version of the
package for your distribution release, fetches it, installs
it, and does the basic initial configuration. It
automatically determines any pre-requisite packages
(dependencies) and prompts to install those as well.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Another thing I like about Debian is that you can upgrade
all of the packages that you have installed with one
commend. If you use the command:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
apt-get update && apt-get dist-upgrade
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... you end up with a fully up-to-date system. This seems a
bit scary at first. Most of us have had "simple" upgades
and installations "break" our systems (particularly those of
us from the MS-DOS and MS-Windows worlds). However, I've
been experimenting with this feature for several months
(tracking the "unstable" developments, no less). About once
on every day that I'm in the office I switch to one of my
VCs, hit the up arrow a couple of times and re-issue this
command from my history.
</BLOCKQUOTE>
<BLOCKQUOTE>
So far I haven't had one upgrade related problem on that
system. None. Not one. Wow!
</BLOCKQUOTE>
<BLOCKQUOTE>
Despite all this I wouldn't necessarily recommend Debian as
your first version of Linux. It is a "power-users"
distribution. It's a bit rough around the edges and it does
some things just differently enough that you might find it
frustrating to learn Linux. When you ask other Linux users
in your area for help you'd like their answers to apply to
your distrubution as much as to theirs. Stormix (a Debian
derivative; similar to how Mandrake is a Red Hat offshoot)
offers some interesting possibilities for the future.
</BLOCKQUOTE>
<BLOCKQUOTE>
So, in summary:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
You can "download" Linux. However, it's much faster and
probably cheaper to buy a CD.
</BlockQuote></BLOCKQUOTE>
<!-- sig -->
<!-- end 28 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/29"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 29 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>And from Radioland....</H3>
<p><strong>From Larry Snyder on Thu, 22 Jul 1999
</strong></p>
<!-- ::
And from Radioland....
~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi Jim --
<br>I was among five guests on a local computer call-in radio show this
past Monday. We're all open-source/linux geeks as opposed to the
usual topics dealt with. We managed to give away 10 copies of the
CheapBytes RH6 CD, and handled almost all of the questions pretty
well. Got one that threw me: What's the max swap on an x86 box?
I was about to go into the 1.5-2X ram, until the caller said they
had a P2-400 (X2) box with 2G of ram. Then I started drooling and
wondering why they didn't just get an Alpha (personal preference).
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The maximum swap file or partition under Linux
is 128Mb (or is that actually 127Mb)?
</BLOCKQUOTE>
<BLOCKQUOTE>
You can have upto 16 active swaps (any combination of
partitions and swap files).
</BLOCKQUOTE>
<BLOCKQUOTE>
However, the old guideline of 1.5 to 2 times physical
RAM is horribly outdated. I'd recommend one or two 127Mb
swap files at the most. Using two is not really for the
extra swap space, but to provide kernel with a place to
do load balancing, which it will do if you have separate
swaps . Obviously for that to make any sense you need to
put the swaps on separate spindles (physical hard disks)
and preferably on different controllers as well.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I did a little digging on the kt site, and I can't remember where
Jim Pick's site wound up. I know it varies depending on the
kernel version. Can you get me a 2-3 line answer that
I can give to the radio people so they can provide an answer?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Jim Pick got the name "kernelnotes.org" (so
<A HREF="http://www.kernelnotes.org"
>http://www.kernelnotes.org</A> is the site formerly
known as <A HREF="http://www.linuxhq.com"
>http://www.linuxhq.com</A>). However,
<A HREF="http://www.linuxhq.com"
>http://www.linuxhq.com</A> does seem to be back up,
with basically the same content. So, there's no
real problem either way. (There is probably some
interesting inside gossip regarding the whole affair,
but the public statements seem to have all been mutually
agreeable).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I hate leaving things hanging.
</STRONG></P>
<P><STRONG>
thanx!
<br>-ls-
</STRONG></P>
<!-- sig -->
<!-- end 29 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/30"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 30 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Video Timings: Configuration Curse</H3>
<p><strong>From pavlin on Mon, 19 Jul 1999
</strong></p>
<!-- ::
Video Timings: Configuration Curse
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi Answer Guy
<IMG SRC="./../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="bottom">
</STRONG></P>
<P><STRONG>
I'm using RedHat 6.0 and I can not run a fine X session with my LG
Studioworks 44i monitor.
</STRONG></P>
<P><STRONG>
It does not run well with the standard timings, xvidtune did not help.
</STRONG></P>
<P><STRONG>
I've tried to calculate the video timings as is described in Video
timings HOWTO, but it's still bad
So can you help me with the correct video timings for this monitor, or
where I can find them?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I have no idea how to get better timings out of your
monitor. This is yet another occasion when I wish there
were an XFree86 "Answer Guy" to whom I could punt these
sorts of messages.
</BLOCKQUOTE>
<p><em>[ Allow me to pipe in. Each distribution seems to have a different
set of preferred modelines - you may find that the modelines provided by
SuSE or TurboLinux are more helpful to you. In particular TurboLinux 3.01
had a <strong>much</strong> longer list of possible monitor types - yeah,
that's right - real listings of monitors, not just a few generic entries
to pick among. They're up to 3.6 now (based on a 2.2.9 kernel) so you
might want to look at them anyway. FreeBSD also had a much broader list
of modelines than I have seen out of Red Hat, last time I looked. Perhaps
you can fetch a package for X prepared for one of these others, and extract
the modelines you need from it.</em></p>
<p><em>Where you have multiple modelines offered for a particular
resolution, try commenting out all but one at a time so you can see what that
particular line looks like.
-- Heather ]</em></p>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'm bulgarian, so sorry for the poor english
<IMG SRC="./../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="top">
Boris
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'm sorry for my poor understanding of your problem.
Even if I was a wiz at doing these sorts of timings,
I would need a lot more info about your monitor; and
I'd probably need to see it in person.
</BLOCKQUOTE>
<BLOCKQUOTE>
If xvidtune is functioning on your system, but doesn't
seem to help with the display problems on your monitor
then it may be that the monitor itself is just too far
out of spec for any video timings to help. How does it
look under MS Windows?
</BLOCKQUOTE>
<!-- sig -->
<p><em>[ You may find it worthwhile to follow Eric's more detailed
instructions in the Video Timing HOWTO, and create a brand new mode
for your monitor, instead of trying to modify one that is present.
Whether it comes out a "standard" resolution is probably not as important
to you as whether it looks crisp and readable, without "ghosts."
-- Heather ]</em></p>
<!-- end 30 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/31"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 31 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Accessing Private Net Addresses from the Public Internet</H3>
<p><strong>From mike on Mon, 19 Jul 1999
</strong></p>
<!-- ::
Accessing Private Net Addresses from the Public Internet
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I'm at my wits end and just wondering if you could help me with this:
</STRONG></P>
<P><STRONG>
I ran out of ip's for my network so I wanted to set up a private
10.0.0.0 network. I wanted to use a Linux box to connect this 10 network
to my other network. I have 10 network using IP Masquarding to access
the network through the Linux Box and I can get to the outside network
from the 10 network, but I can not see the 10 network from the outside.
</STRONG></P>
<P><STRONG>
The linux box has 2 ethernet cards , but I don't think the packets
know how at go from eth0 to eth1. Any help or a point in the right
direction would be great.
</STRONG></P>
<P><STRONG>
Michael Collins
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Of course packets from outside networks can't get to
your 10-net addresses. They don't have routes to your
private net addresses.
</BLOCKQUOTE>
<BLOCKQUOTE>
It's not clear, from your message, whether the "outside"
network you are talking about is the Internet, or some
element of your own internetwork (a LAN under your
administrative control).
</BLOCKQUOTE>
<BLOCKQUOTE>
In any event the usual way to provide access to your
internal/private networks from the outside is to
configure a proxy server on one of the real IP addresses.
The exact details of these proxying services would depend
on the specific services and protocols that you wished to
propagate through this connection.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 31 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/32"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 32 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Linux gazette article, July 1999</H3>
<p><strong>From Chris Mikkelson on Mon, 19 Jul 1999
</strong></p>
<P><STRONG>
In your "answer guy" column, you made the following off-the-cuff comment:
</STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM><BlockQuote>
It would be sheer idiocy for Linux to adopt a straight polling strategy
for it's networking interfaces. However, it might be possible to have
a hybrid. If the interrupt frequency on a given device exceeds one
threshold the kernel might then switch to polling on that device.
When the polling shows that the activity on that device as dropped
back below another threshold it might be able to switch back to
interrupt-driven mode.
</BlockQuote></EM></FONT></STRONG></P>
<P><STRONG>
Well, this reminded me instantly of a research paper I had recently read,
called "Eliminating Receive Livelock in an Interrupt-driven Kernel."
It is available online at
</STRONG></P>
<P><STRONG>
<A HREF="http://www.research.digital.com/wrl/techreports/abstracts/95.8.html"
>http://www.research.digital.com/wrl/techreports/abstracts/95.8.html</A>
</STRONG></P>
<P><STRONG>
The problem with interrupt-driven processing is that the high
overhead (and priority) of servicing an interrupt can starve the
machine under high load. That is, not only does latency increase,
but throughput can drop to practically zero under high load (this
will be particularly evident on a gigabit-range network, 100baseT
maybe, 10baseT -- a 486 can keep up with that
<IMG SRC="./../gx/dennis/smily.gif" ALT=";-)"
height="24" width="20" align="middle">
</STRONG></P>
<P><STRONG>
The solution implemented for the paper was as follows -- when receiving
a network interrupt, start a polling task and disable that interrupt.
When the polling task doesn't find significant new traffic for some number
of cycles, stop the polling task and re-enable interrupts.
</STRONG></P>
<P><STRONG>
The platform this was implemented on was BSD (but I don't know if it
made it into *BSD), but it could just as easily be done on Linux. It
is also a rather simple and elegant solution, and drastically improved
the behavior of the system under high loads.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds similar to what I suggested, except that
it sounds like you routinely disable the interrupt and
switch to polling mode whereas I'd suggested that you'd
only do it based on certain thresholds of activity.
</BLOCKQUOTE>
<BLOCKQUOTE>
In any event, you'd be welcome to submit a patch to
the Linux kernel team.
</BLOCKQUOTE>
<BLOCKQUOTE>
Look in the CREDITS file for a list of e-mail addresses of
major kernel developers. It's recommended that patches be
initially sent to one of them (other than Linus) so that
they can review it and marshall it towards the main kernel.
Sending things directly to Linus might work, or it might get
lost in the flood. It's not recommended. Let the others on
the team see it first.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 32 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/33"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 33 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Helpless</H3>
<p><strong>From leslie on Mon, 19 Jul 1999
</strong></p>
<!-- ::
Helpless
~~~~~~~~
:: -->
<P><STRONG>
Hi wondered if you can help me I'm thinking of putting win98 on my
computer will dao work on it or do I have to stay on win95.
<br>Thanks for any help
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I can't help you. I don't know what 'dao' is
(Please, no Tao-ist jokes!) and I have no interest in
Win '95 or Win '98
</BLOCKQUOTE>
<BLOCKQUOTE>
Please call Microsoft or look for a Linux version of
'dao'
</BLOCKQUOTE>
<!-- sig -->
<p><em>[ Could this person mean disk at once CD recording? We had a
considerable discussion about that several months ago... but this
request is too vague to tell if it applies. -- Heather ]</em></p>
<!-- end 33 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/34"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 34 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Free Memory vs. Buffers</H3>
<p><strong>From george samuel on Mon, 19 Jul 1999
</strong></p>
<!-- ::
Free Memory vs. Buffers
~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Dear James,
</STRONG></P>
<P><STRONG>
I find that the amount of memory free decreases after copying
large files. --(I have a PII 300 with 128Mb ram kernel 2.2.10-ac10
). the amount of free memory as shown by free becomes ~6Mb even
after doing a sync and verifying that there are no dirty blocks.If
I again do some copying - swap out happens and the amount of free
memory decreases. The amount in buffer used increases.I read in
kerneltraffic that memory allocated for caching filesystem
metadata is not given back but is kept for future use --that
happens only when I mount some filesystem and later unmount it.I
am ignorant .Please elaborate on this
</STRONG></P>
<P><STRONG>
Thank you,
</STRONG></P>
<P><STRONG>
Love,
<br>Sam
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Don't worry about it.
</BLOCKQUOTE>
<BLOCKQUOTE>
The memory that's listed as being in use by the buffer cache
can be used by applications as the kernel sees fit.
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's my current '<TT>free</TT>' output:
</BLOCKQUOTE>
<blockquote><pre> total used free shared buffers cached
Mem: 63200 61488 1712 31712 3000 31236
-/+ buffers/cache: 27252 35948
Swap: 104416 0 104416
</pre></blockquote>
<BLOCKQUOTE>
Here's a bit more info on my current state:
</BLOCKQUOTE>
<blockquote><pre>uptime:
4:27am up 5 days, 16:00, 9 users, load average: 0.00, 0.00, 0.00
uname -a:
Linux canopus 2.2.0 #8 Fri Jan 29 19:17:29 PST 1999 i586 unknown
</pre></blockquote>
<BLOCKQUOTE>
(The uptime is so short because I installed a new
distribution on a secondary partition recently --- and
I've been playing with it).
</BLOCKQUOTE>
<BLOCKQUOTE>
Notice that my free memory is less than 2K. That is
typical. It just means that my kernel isn't using that
small chunk of RAM for anything better (buffers, and
caching are better uses for it).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 34 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/35"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 35 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Copying boot partitiion</H3>
<p><strong>From the Linux User Support Team (L.U.S.T) List
on Mon, 19 Jul 1999 </strong></p>
<P><STRONG><FONT COLOR="#000066"><EM><IMG
SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Hello all,
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM>
I have a disk in a Redhat Linux 6.0 machine that has developed some
bad sectors, about 200 meg's worth. Everything seems to be working
but I would like to replace the disk. Is there a way I can copy the
whole partition to another disk and then just swap them. I suppose I
can do something like mirroring the disks but I haven't a clue where
to start.
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM>
Thanks for any help.
<br>Darren Pedley
</EM></FONT></STRONG></P>
<P><STRONG><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I usually mount new disks under <TT>/mnt</TT>
after fdisk & mke2fs to make it ext2fs
</strong></p>
<pre><strong>
mount /dev/newdrive /mnt
cd /
for i in `\ls |grep -v proc |grep -v mnt`
do
cp -aRv $i /mnt/
done
</STRONG></Pre>
<P><STRONG>
boot with boot stiffy & rerun lilo
</STRONG></P>
<P><STRONG>
all done
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Ack! So complicated.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you have three partitions that you want backup
to <TT>/mnt</TT> (let's say <TT>/</TT>, <TT>/usr</TT>, and
<TT>/home</TT>) you could use something as simple as:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><pre>
for i in / /usr /home; do
cp -pax $i /mnt
done
</pre></blockquote></BLOCKQUOTE>
<BLOCKQUOTE>
.... the <tt>-x</tt> will prevent the GNU cp command from
crossing over filesystem/mount boundaries. Thus you
needn't worry about inadvertantly copying <TT>/proc</TT> or
recursing down into <TT>/mnt</TT>.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Obviously to just get the root filesystem you'd
just use <TT>cp -pax / /mnt</TT>; to list all your currently
active filesystems just use the mount command with
no arguments; to list all the partitions/filesystems
on your system use the '<TT>fdisk -l</TT>' command).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 35 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/36"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 36 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>SiS 6326 and XFree86</H3>
<p><strong>From Victor Renteria on Mon, 19 Jul 1999
</strong></p>
<!-- ::
SiS 6326 and XFree86
~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I have <A HREF="http://www.redhat.com/">Red Hat</A> 5.2 and Window 98 installed on a partitioned 6
Gig disk (each OS has 3 Gigs). After I boot and log onto
Linux and type "startx" I get a blue screen with a thin
vertical line from top to bottom. This vertical line moves
from left to right only; no desktop, no icons, nothing but
this line. I have an PC100 mainboard with an onboard SiS 6326
display adapter and a Sound Pro sound card. When I type
Ctl+Alt+Backspace on the keyboard it takes me back to the
shell without any error messages. What is the matter?
</STRONG></P>
<P><STRONG>
From what I read the generic VGA driver will not work. I can
verify this because I have tried it. What in the world can I
do? If available, where can I download a driver from and how
do I install it. Remember I am new and don't know the
commands to access the A: drive. I know a few basic commands,
very few.
</STRONG></P>
<P><STRONG>
Any advise would be helpful thanks.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well, first I look at the XFree86 web site to see which
X server (driver) you should be running with that chipset.
I'd look into:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
XFree86 Video Card/Server List
<DD><A HREF="http://www.xfree86.org/cardlist.html"
>http://www.xfree86.org/cardlist.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
... which tells me that you should be using the svga
(Generic "super VGA") driver/server. (In XFree86
terminology an X "server" is a program that is compiled
to drive a particular combination of video and input
devices --- it "serves" all of the X clients, which are
programs that share the screen and the input events).
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's their section on the SiS sets:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><pre>
SiS 3D PRO AGP ......................................... XF86_SVGA
SiS 5597 ............................................... XF86_SVGA
SiS 5598 ............................................... XF86_SVGA
SiS 6326 ............................................... XF86_SVGA
SiS SG86C201 ........................................... XF86_SVGA
SiS SG86C205 ........................................... XF86_SVGA
SiS SG86C215 ........................................... XF86_SVGA
SiS SG86C225 ........................................... XF86_SVGA
</pre></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
I also look at other resources on their site of
see if there are any configuration samples or notes:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Information for SiS Users
<DD><A HREF="http://www.xfree86.org/3.3.3.1/SiS.html"
>http://www.xfree86.org/3.3.3.1/SiS.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
This isn't terribly informative. However it
suggests to me that you might need to get the
latest X distribution. The Red Hat 5.2 distribution
is over a year old now. With the way that video chipsets
change that's actually pretty ancient.
</BLOCKQUOTE>
<BLOCKQUOTE>
Unfortunately the Red Hat web site gets harder to navigate
as they get bigger. Seems to be an endemic problem among
corporate web sites. With a trip to their search engine
(provided by Google! (<A HREF="http://www.google.com"
>http://www.google.com</A>)) I find that
your updates should be at:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
<A HREF="http://updates.redhat.com/5.2/i386"
>http://updates.redhat.com/5.2/i386</A>
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... although I was unable to check that (I left my browser
trying to connect for several minutes while typing other
parts of this message. Their corporate pages came up quick
enough, but it looks like their "updates" host is a bit
overloaded (which seems odd since it's 3:00 am on a Sunday
nite/Monday morning).
</BLOCKQUOTE>
<BLOCKQUOTE>
In any event, get the update from one of their mirror sites
like Walnut Creek's CD-ROM archive site:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
<A HREF="ftp://ftp.cdrom.com/pub/linux/redhat/old-releases/redhat-5.2/updates/i386"
>ftp://ftp.cdrom.com/pub/linux/redhat/old-releases/redhat-5.2/updates/i386</A>
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
Once you've fetched the RPM files you using a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE>
rpm -Uvh *.rpm
</CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
... in your download directory, maybe <TT>/usr/local/from/cdrom.com/</TT>
for example.
</BLOCKQUOTE>
<BLOCKQUOTE>
Then you want to run the XF86Setup program to let it try to
configure your installation of XFree86.
</BLOCKQUOTE>
<BLOCKQUOTE>
Peruse the XFree86 web site for details. Also consider
finding a local users group and seeing if they run any
"installfests." The kind of hands-on, face-to-face
help that a few Linux people can give at an install fest
will beat out what I can tell you in a short e-mail
every time.
</BLOCKQUOTE>
<BLOCKQUOTE>
You can search LG back issues for the canonical lists
of users groups (I seem to have listed three of those
back in issue #29 when ranting about Winmodems:
<A HREF="http://www.starshine.org/mirrors/lgaz/issue29/tag_winmodem.html"
>http://www.starshine.org/mirrors/lgaz/issue29/tag_winmodem.html</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
... checking those I see that the old LUGWWW in the
Netherlands seems to have moved, but that it is
now listed in the Linux Users Groups "Web Ring" at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Linux User's Groups Webring
<DD><A HREF="http://www.nlug.org/webring"
>http://www.nlug.org/webring</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
... however, the other two lists of LUGs seem to
still be valid.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 36 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/37"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 37 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Reading CD Discs on an IDE CDR Drive</H3>
<p><strong>From balou nguyen on Wed, 14 Jul 1999
</strong></p>
<!-- ::
Reading CD Discs on an IDE CDR Drive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I recompiled my kernal 2.2.9-19 to use my cd-writer as per the
cd-writer howto. I had to enable scsi-emulation in the block devices,
and enable scsi support for cdrom in the scsi. Now xcdroast works
great, but I can't mount my cd, and I can't use cdplayer.
</STRONG></P>
<P><STRONG>
I can still play the cd if I go through xcdroast though.
</STRONG></P>
<P><STRONG>
Commands I have tried include:
</STRONG></P>
<PRE><STRONG>
mount -t iso9660 <TT>/dev/sg0</TT> <TT>/mnt/cdrom</TT>
</STRONG></PRE>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I would never expect that to work. The sg driver
is for "generic access" to a SCSI device. It doesn't
provide the semantics for block read/write (like a
hard disk or other filesystem driver)
</BLOCKQUOTE>
<Pre><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
insmod ide-cd
mount -t iso9660 /dev/cdrom /mnt/cdrom
</STRONG></Pre>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
What are the major and minor numbers and type of the
device node to which your <TT>/dev/cdrom</TT> points? If
<TT>/dev/cdrom</TT> is not a symlink, make it so.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
or
</STRONG></P>
<PRE><STRONG>
mount -t iso9660 /dev/hdc /mnt/cdrom
</STRONG></PRE>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Is this drive the master on the secondary IDE channel?
If not, than this is your problem. Try <TT>/dev/hdb</TT> (slave
on primary channel) or <TT>/dev/hdd</TT> (slave on secondary
channel).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I've also tried the other various recommendations in the howto without
success...
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You may have me stumped. I haven't purchased an IDE CDR
or CDRW yet. So I don't have first hand experience with
this. (I've been meaning to get a CDRW or a DVD RAM drive
soon. Maybe I'll know better in a month or so).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 37 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/38"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 38 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Persistent LILO: Won't Start! Won't Go Away!</H3>
<p><strong>From Teemu Pentinsaari on Wed, 28 Jul 1999
</strong></p>
<p><strong>
hi,
</strong></p>
<p><strong>
I'm having alot of trouble getting LILO off my MBR, it stays like
glued and I don't know what to do anymore.
</strong></p>
<p><strong>
I had fully workin Linux Redhat and everything was going fine, but
then I tryed to get lilo off the mbr and the sunshine stopped. My
computer hangs up in booting showing only first two letters of
lilo, then whatever you do, it hangs up. I have wiped out my hd
using Linux-fdisk, dos f-disk, partition magic 3 and NT40
installation partitioning tool, I have convertted my hd to ntfs
back to fat and again to ext2 but LILO is still sitting on my
MBR. I have spent last 26 hours trying to get it off the MBR from
running Linux , I have tryed to use lilo -param -param commands
but they wont resolve my poblem.
</strong></p>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The easiest way to <em>wipe</em> your MBR and partition table
on a Linux box is with a command like:
</blockquote>
<blockquote><code>
dd if=/dev/zero of=/dev/hda count=1 bs=512 && sync && echo done.
</code></blockquote>
<blockquote>
... if you see it echo "<tt>done</tt>" then you have successfully
wiped the partition table and MBR on your first IDE drive.
(Use <tt>/dev/sda</tt> to blow away your first SCSI drive).
</blockquote>
<blockquote>
Nota Bene: THIS WILL RENDER YOUR SYSTEM NON-BOOTABLE AND
MAKE ALL OF YOUR FILES AND FILESYSTEMS ON THAT DRIVE
INACCESSIBLE!
</blockquote>
<blockquote>
(I hope you knew that).
</blockquote>
<blockquote>
It would help quite a bit if you told me which <tt>-param -param</tt>
you were using. It would help even more if you issued a
command like:
</blockquote>
<blockquote><code>
lilo -v -v -v &> /tmp/lilo.out
</code></blockquote>
<blockquote>
... and included the <tt>lilo.out</tt> file in your next message.
The <tt>-v</tt> options will make the /sbin/lilo boot map updater
VERY verbose. (My simplest system generated about 70 lines
of output from this command).
</blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
what can I do ?
</strong></p>
<p><strong>
Is there a handy way to read MBR in binary ?
</strong></p>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
><code>
dd if=/dev/hda count=1 bs=512 | od -x
</code></blockquote>
<blockquote>
... you can pipe the output from this dd command into
any number of utilities to render relatively readable
encodings of the data. For example you might use:
</blockquote>
<blockquote><code>
dd if=/dev/hda count=1 bs=512 | cat -v
</code></blockquote>
<blockquote>
... to look for ASCII strings embedded in the mix.
</blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Is there other commands than <tt>lilo -param</tt> to edit MBR ?
</strong></p>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Any good disk/binary editor should do it. There are
several hex/binary editors for Linux. One way would be
to use dd to capture the data then run emacs on the
temporary file. You can use emacs and xemacs to
edit in hex using the command: M-x <tt>hexl-mode</tt>
</blockquote>
<blockquote>
(Note: if you use viper mode, the vi emulation package
that I use, then you'll want to use C-z to suspend your
viper keybindings while you use hexl-mode's bindings).
</blockquote>
<blockquote>
There's also '<tt>beav</tt>' (Binary editor and viewer), <tt>lde</tt>
(Linux Disk Editor), <tt>bvi</tt> (Binary vi) and a number of
others for Linux.
</blockquote>
<blockquote>
None of these has the features that I liked in the
old MS-DOS hex editors like Norton's DiskEdit and
Paul Mace's MUSE. It would be nice if lde were extended
with a set of templates that matched various C struct's
(data structure definitions) for things like partition
tables, superblocks, inodes, etc, and if you could easily
bounce from partition table to superblock to directory
and from directory entry, to inode, to corresponding
data blocks and extent (indirect) blocks, and through the
free list and bad blocks "file") (i.e. add extra navigation
commands).
</blockquote>
<blockquote>
However, I'm certainly not enough of a expert in low-level
Linux disk and data structures to write the code for any
of that. '<tt>lde</tt>' looked like the most promising of these that
I've see so far. It supports color ncurses and recognizes
some data structures (though it's a bit confusing and could
use quite a bit more documentation).
</blockquote>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
thanks a lot,
<br>Teemu Pentinsaari
</strong></p>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
In the worst case (assuming you have a full backup) try:
</blockquote>
<blockquote><code>
dd if=/dev/zero of=/dev/hda
</code></blockquote>
<blockquote>
... to write a stream of ASCII NULs over the whole disk.
(This is presuming that you boot from a rescue/destroy
floppy, of course).
</blockquote>
<blockquote>
Fans of the old Norton "DiskWipe" utility could use
a simple shell script on their Tom's Root/Boot
(<a href="http://www.toms.net/rb/"
>http://www.toms.net/rb/</a>) which was just a for loop like:
</blockquote>
<blockquote><pre>
for i in 0 1 2 3 4 5 6 7 8 9 ; do
dd if=/dev/zero of=/dev/hda bs=1024k; sync
dd if=/dev/urandom of=/dev/hda bs=1024k; sync
done
dd if=/dev/zero of=/dev/hda; sync
</pre></blockquote>
<blockquote>
... which would make about ten passes over the disk
with ASCII NULs and random bits. It might take all night,
but I don't that even the super spooks with the forensic
micro-electron-magnetoscopy (or whatever it's called) would
get the goods on you when you were done.
</blockquote>
<blockquote>
Any way --- lilo's <tt>-v</tt> (verbose) is one of your friends.
'<tt>dd</tt>' (the UNIX data dumper) is another. Make their
aquaintance and SQUASH THAT BOOT RECORD!
</blockquote>
<!-- sig -->
<!-- end 38 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/39"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 39 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>The Lost Art of Helper Apps</H3>
<p><strong>From Josh Stewart on Mon, 12 Jul 1999
</strong></p>
<!-- ::
The Lost Art of Helper Apps
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I don't like streaming video because it looks and sounds bad. Do
you know a wayfor saving a real video to my hard disk and I don't
care how big it because I have a fast connection. Example: How
would I save this file:
pnm://209.196.146.50:7090/air1/realmedia/myfriend.rm
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I've never use streaming audio or video over the Internet.
So, I'll only be guessing at things a bit here.
</BLOCKQUOTE>
<BLOCKQUOTE>
The URL you've give would be typical of one that would
invoke a "Helper Application" in a traditional web browser.
</BLOCKQUOTE>
<BLOCKQUOTE>
Helper Applications existed before Netscape "plugins" and
Java, JavaScript, and frames and CSS and most of the
buzz/hype stuff that the big web sites and software
companies are pushing unto the web. The idea was simple:
URLs start with a format specifier: ftp://, http://,
telnet://, gopher:// etc. The only ones you usually see
these days are http:// and ftp:// which are handled directly
by your web browser. (Gopher is still supported by most web
browsers, too, from which I've heard. I haven't seen a
gopher site in so long I have no way to test this).
</BLOCKQUOTE>
<BLOCKQUOTE>
For any service that the browser doesn't handle itself, it
consults a list of "helper apps" These bind the service
prefix to a program (such as the real audio player, or
whatever).
</BLOCKQUOTE>
<BLOCKQUOTE>
So the question is, can you replace your realmedia player
with a program that speaks the correct protocol to the
realmedia server on the far end and then writes that out the
the disk instead of out to your sound card and video
subsystem.
</BLOCKQUOTE>
<BLOCKQUOTE>
I don't know. I don't know what protocol they are using to
stream the data do you.
</BLOCKQUOTE>
<BLOCKQUOTE>
Another question might be: Is there a utility for Linux that
could allow you capture the output to your video/sound
through some sort of "loopback" arrangement. (Guess what!
I don't know the answer to that either).
</BLOCKQUOTE>
<BLOCKQUOTE>
However they are interesting questions and I'll pose them as
"stumpers of the month"
</BLOCKQUOTE>
<BLOCKQUOTE>
Finally another question comes to mind --- is the poor
quality of this material (as you're experiencing) due to the
delivery mechanism (the fact that it's streaming over a
presumably low bandwidth connectin <em>as you're viewing it</em>,
or is it due to some other factor? Will looping it out to
your disk improve it?
</BLOCKQUOTE>
<BLOCKQUOTE>
My guess is that saving it to disk (without improving the
delivery bandwidth by which it gets to your system) probably
won't help. I'd guess that the server is doing some scaling
of the image/sound quality on the fly, as it delivers it to
you and in response to you speed and latency of your
connection.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course it would make sense if your friends (the content
providers) simply provided you with access to MPEG videos
and MP3 files via FTP or HTTP. Then you'd download (at
whatever speed, who cares) and playback at your leisure.
</BLOCKQUOTE>
<BLOCKQUOTE>
But that would probably be too easy among your friends,
and is probably not an option at many of the "new media"
sites on the modern stupor hypeway.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 39 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/40"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 40 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Kernel Patches and Change Logs</H3>
<p><strong>From John Covici on Sun, 11 Jul 1999
</strong></p>
<!-- ::
Kernel Patches and Change Logs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi. I found your link at <a href="http://www.linuxhq.com/">linuxhq.com</a>
and I would like to ask a question to which I have not been able to get an
answer after much looking.
</STRONG></P>
<P><STRONG>
Where can I look at changelogs for recent kernels (2.3.x and maybe
2.2.x)? I looked in the patches themselves, at linuxhq.com, at
<a href="http://www.freshmeat.net/">freshmeat.net</a> (which has so much
that I may not have completely searched it) and Linux Documentation Project.
</STRONG></P>
<P><STRONG>
I hope you can answer me individually -- thanks so much for your help.
</STRONG></P>
<P><STRONG>
John Covici
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The Linux kernel changelogs are rather informally
maintained. Brief summaries can be found at:
</BLOCKQUOTE>
<BLOCKQUOTE><dl><dt>
Cutting Edge:
<dd><A HREF="http://edge.kernelnotes.org"
>http://edge.kernelnotes.org</A>
</dl></BLOCKQUOTE>
<BLOCKQUOTE>
... while more detailed information can be found
in the patches themselves. There is a "Patch Browser"
which allows you to preview the diffs (patches) using
a web browser. This is obviously only useful for
glancing through the list, guesstimating the impact of
the changes based on the various sizes of various
patch files to various files, and or reading the changes
to the various README, CHANGES, and Documentation/*
files.
</BLOCKQUOTE>
<BLOCKQUOTE><dl><dt>
The Patch Browser can be found at:
<dd><A HREF="http://www.kernelnotes.org"
>http://www.kernelnotes.org</A>
(sort of formerly <A HREF="http://www.linuxhq.com"
>http://www.linuxhq.com</A>)
</dl></BLOCKQUOTE>
<BLOCKQUOTE>
For unofficial (non-mainstream) patches the best
site I've found is:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
The Linux Kernel Patch Archive
<DD><A HREF="http://linux-patches.rock-projects.com"
>http://linux-patches.rock-projects.com</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><dl><dt>
Rock Projects seems to have their own Linux
distribution available:
<dd><A HREF="http://linux.rock-projects.com"
>http://linux.rock-projects.com</A>
</dl></BLOCKQUOTE>
<BLOCKQUOTE>
This seems to be in beta --- and it seems to be
targeted to very techie users. If you're the sort of
person that takes a <A HREF="http://www.freebsd.org/">FreeBSD</A>
installation, changes to the <TT>/ports</TT> directory and types:
'<tt>make world</tt>' than this
might be the Linux distribution for you. You can
download all 200Mb of this, or send the author
$8 U.S. and he'll send you a CD. (Note: actually
it seems he'll use the Australian equivalent of
C.O.D. if you're in a place where that's possible for
him, which apparently doesn't include the U.S.).
</BLOCKQUOTE>
<BLOCKQUOTE>
Naturally you can learn more about Rock Projects at
their master web site: <A HREF="http://www.rock-projects.com"
>http://www.rock-projects.com</A>
(He seems to like using lots of "hostnames" as
psuedo-URLs --- I'm guessing these are mostly virtual
hosted off of one system).
</BLOCKQUOTE>
<BLOCKQUOTE>
There used to be a nice collection of unofficial patches
at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Linux Mama
<DD><A HREF="http://www.linuxmama.com"
>http://www.linuxmama.com</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
However, this seems to have fallen into decay. Apparently
Kurt Hewig (the original maintainer of Linux Mama)
got busy with other matters and no longer has time for
these. The old patches are still there. They just haven't
been updated in about a year.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 40 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/41"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 41 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Installing Win NT 4.0 Workstation and Dual booting Win NT 4.0 Workstation and Win 95 B</H3>
<p><strong>From Steve Gunderson on Sun, 11 Jul 1999
</strong></p>
<P><STRONG>
Hi Answer Guy,
</STRONG></P>
<P><STRONG>
I have several (shotgun approach) questions which I would like to
present you with. If you could shed some light on any or all of
them, I would appreciate it.
</STRONG></P>
<P><STRONG><ol>
<li>While running the NT 4.0 install discs, I get the following
error:
<br><code>Stop: C0000221,
unknown hard error\systemboot\system32\NTDLL.dll. </code>
<br>I have Win95 B installed and
am attempting a dual boot. I have an extended partion (220 Meg
FAT 32) ready for NTFS. Will the install work if I reformat w/o Win95?
</ol></STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I think a Linux installation would work much better.
</BLOCKQUOTE>
<p><em>[ For one thing, ZipSlack
(<a href="http://www.slackware.com/zipslack/"
>http://www.slackware.com/zipslack/</a>)
would fit in 100 MB. -- Heather ]</em></p>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
><ol start="2">
<li>How would I create a Dual boot for Win NT 4.0 Workstation and
Win 95 B.
</ol></STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I don't know. However, there is a pretty good
series of Linux Documentation Project HOWTOs on
various multi-boot configurations like:
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
Linux+DOS+Win95+OS2 mini-HOWTO, by Mike Harlan
<DL><DT>
How to use Linux and DOS and OS/2 and Win95 together.
<DD><A HREF="http://metalab.unc.edu/LDP/HOWTO/mini/Linux+DOS+Win95+OS2.html"
>http://metalab.unc.edu/LDP/HOWTO/mini/Linux+DOS+Win95+OS2.html</A>
</DL></UL></BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
Linux+NT-Loader mini-HOWTO, by Bernd Reichert
<DL><DT>
How to use Linux and the Windows NT boot loader together.
<DD><A HREF="http://metalab.unc.edu/LDP/HOWTO/mini/Linux+NT-Loader.html"
>http://metalab.unc.edu/LDP/HOWTO/mini/Linux+NT-Loader.html</A>
</DL></UL></BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
Linux+Win95 mini-HOWTO, by Jonathan Katz
<DL><DT>
How to use Linux and Windows95 together.
<DD><A HREF="http://metalab.unc.edu/LDP/HOWTO/mini/Linux+Win95.html"
>http://metalab.unc.edu/LDP/HOWTO/mini/Linux+Win95.html</A>
</DL></UL></BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
Loadlin+Win95 mini-HOWTO, by Chris Fischer
<DL><DT>
How to use Linux and Windows95 together, using LOADLIN.
<DD><A HREF="http://metalab.unc.edu/LDP/HOWTO/mini/Loadlin+Win95.html"
>http://metalab.unc.edu/LDP/HOWTO/mini/Loadlin+Win95.html</A>
</DL></UL></BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
><ol start="3">
<li>Is there a utility that will let me Multi boot from two
separate hard drives? Both have Win 95 installed and I want to
install NT 4.0 workstation on one of them, possibly by itself.
</ol></STRONG></P>
<P><STRONG>
Thank you in advance for your help.
<br>Steve Gunderson
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You could look at a commercial package called
"Partition Magic"
</BLOCKQUOTE>
<BLOCKQUOTE>
I've personally never used it, but I know it supports Linux pretty well.
</BLOCKQUOTE>
<BLOCKQUOTE>
You see, I've gotten out of the habit of installing
Microsoft based operating systems on my computers.
I've never tried to run two MS operating systems on
a single system. (Actually my old box, antares used
to have a triple boot MS-DOS 5.0, OS/2 2.0, and Linux
--- but that was a long time ago --- and MS had
disowned OS/2 by then anyway).
</BLOCKQUOTE>
<BLOCKQUOTE>
I suppose you could install Linux and run NT and '95
inside of VMware (<A HREF="http://www.vmware.com"
>http://www.vmware.com</A>). I know
it will run both of them. Heck you can run both of
them concurrently if you have the RAM. You can have each
running full screen or in windows (under the X Windowing
System, XFree86). I think you can even switch from
full screen to windows on the fly.
</BLOCKQUOTE>
<BLOCKQUOTE>
VMware is a commercial package. It appears that work
on <A HREF="http://www.winehq.com/">WINE</A> (*)
(a re-implementation of the MS Windows APIs and
base programs and utilities) is continuing.
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(<A HREF="http://www.winehq.com"
>http://www.winehq.com</A>)
It also appears that the author of Bochs, Kevin Lawton, is
also working on a Freemware ("free VMware" clone?).
</UL></BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(Daemon News 199907: Questions and Answers on
Bochs with Kevin Lawton
<A HREF="http://www.daemonnews.org/199907/bochs.html"
>http://www.daemonnews.org/199907/bochs.html</A>)
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
Bochs, of course, is a package which emulates an entire
PC CPU and chipset. It is distributed in source form,
can be compiled and run on most Unix platforms (and there
is a port to MS Win32) and can run MS Windows, or Linux
or most any other PC operating system.
</BLOCKQUOTE>
<BLOCKQUOTE>
Please note that I'm the <EM>LINUX GAZETTE</EM> Answer Guy.
I volunteer time, writing and research to answer
Linux questions. (I also work at a company that
provides commercial support for Linux, though that's
a more recent development).
</BLOCKQUOTE>
<BLOCKQUOTE>
Because Linux follows UNIX conventions this also
entails answering many UNIX questions. Because most
of the systems out there, running Linux or otherwise,
are PCs I also answer quite a few generic questions about
PCs.
</BLOCKQUOTE>
<BLOCKQUOTE>
I volunteer my time in this endeavor because:
</BLOCKQUOTE>
<BLOCKQUOTE><ol type="a">
<li>It's fun.
<li>Linux is free. I benefit from it and
providing support is a way for me to
contribute back to the community (since I'm
not much of a programmer).
<li>It often forces me to learn more about
Linux and the other software that I use.
<li>It gains me some small degree of recognition.
</ol></BLOCKQUOTE>
<BLOCKQUOTE>
I don't support NT or other forms of MS Windows because:
</BLOCKQUOTE>
<BLOCKQUOTE><ol type="a">
<li>they aren't fun to me.
<li>Microsoft doesn't pay me to and doesn't give
me, or anyone I know, anything for free, and
isn't a participant in my "community."
<li>I don't want to know any more about MS Windows.
<br>I professionally supported MS-DOS and Win 3.x
products for a few years, and I never liked
MS Windows. The superficial changes to the
MS Windows UI in '95 and '98 are no improvement
to me, and the underlying structural foundation
"feels" like a desparate attempt to shore up the
hull of a sinking ship by welding more and more
slag over it. (One of the few things I learned
from the brief stints of welding that I've done:
You can't make a sloppy weld stronger by adding
more metal over the seams).
<li>recognition as an MS Windows expert will get
you a cup of coffee in some places (so long as
you toss in a couple of bucks). Of course, it
might get you tossed out of a few other places (*).
</ol></BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
( For an amusing article on this topic: osOpinion:
<A HREF="http://www.osopinion.com/Opinions/JoycePark/JoycePark1.html"
>http://www.osopinion.com/Opinions/JoycePark/JoycePark1.html</A>
Joyce provides a poignant story of her travails with NT
followed by a cheery account of her experiences running
Linux. It can be sort of translated to "and then they
shaved my legs with a cheese grater; after I recovered
the alternative was, by comparison, like a luxurious
bubble bath").
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
To get answers about NT, perhaps you should go to the vendor
that sold you their software. Wasn't "technical support"
supposed to be one of the added values of buying commercial
software?
</BLOCKQUOTE>
<!-- sig -->
<!-- end 41 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/42"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 42 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>5 1/4" Floppies: Truly Dead</H3>
<p><strong>From Terry Allan on Fri, 09 Jul 1999
</strong></p>
<!-- ::
PC-MOS: A different Multi-user OS:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<!-- ::
5 1/4" Floppies: Truly Dead
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Dear, mr. answerguy. I am consulting with a movie rental
store. There current computer system is running on a menu driven
operating system called PC-MOS. I know what your thinking, that I
mis-pelled PC-MOS and it should be PC-DOS. Unfortunately, it
really is PC-MOS.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
No. I'm not thinking that. I used PC-MOS occasionally a
few years ago. My favorite local pizza parlor runs a
billing and order entry system under PC-MOS.
</BLOCKQUOTE>
<BLOCKQUOTE>
PC-MOS is/was a multi-user PC-DOS clone that was published
by TSL (The Software Link) during the late eighties. There
were also a couple of other multi-user/multi-tasking
operating systems with more or less DOS compatability. I
professionally used CCI's version of Concurrent DOS
(licensed from Digital Research's C-DOS, which was later
called MDOS).
</BLOCKQUOTE>
<BLOCKQUOTE>
I can't seem to find links to TSL in Yahoo! and Google
searches. I guess they must have disappeared completely.
Apparently they were involved in some landmark lawsuits
related to shrink-wrap software licenses. Most of the
links I found at Alta Vista and Google were in discussion
of these and UCC Article 2B (ancestor of the UCITA)
laws that relate to the enforceability of these licenses.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Anyway, I had them back some files up on a
5'1/4' floppy disk. And when I put the floppy into my 386
Dos-based computer to try and read it, the computer tells me that
the disk is not formatted, and would I like to format it. My
operating system on my computer will not even recognize the disk
as a valid disk. Can you offer any suggestions? Is there any
conversion software utilities that could make the data files
readable on my dos-based machine.
</STRONG></P>
<P><STRONG>
-James
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
People don't use 5 1/4" (I don't think you meant 5 1/4'
-- FOOT) diskettes and more.
</BLOCKQUOTE>
<BLOCKQUOTE>
Is this a high density (1.2Mb) drive? Is it a
360K diskette?
</BLOCKQUOTE>
<BLOCKQUOTE>
I'd buy a $30 dollar 3.5" disk drive and install that.
I'm pretty sure that your 386 and PC-MOS will support
the hardware.
</BLOCKQUOTE>
<BLOCKQUOTE>
1.2Mb floppies were always much less reliable than
their 3.5" 1.44 Mb cousins. Also those drives could
not reliably interoperate with 360K media and the 1.2Mb
media weren't terribly reliable when formatted to 360K
</BLOCKQUOTE>
<BLOCKQUOTE>
My advice: remove all 5 1/4" drives (some of us may
want to store on shelves for reading legacy media as
it shows up) and replace them with 3.5" drives (at least).
</BLOCKQUOTE>
<BLOCKQUOTE>
It would be nice to replace 3.5" HD (1.44Mb) media and
drives with something like LS120 or Zip Disk. However,
none of the large capacity formats is really ubiquitous
enough to declare it to be the new de facto standard.
</BLOCKQUOTE>
<BLOCKQUOTE>
CDRW isn't more than about three times more expensive
than LS120 --- but it has five times the capacity.
DVD-RW isn't more than than ten times more expensive,
but it does offer more than 20 times the capacity.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm not suggesting LS120, CDRW, or any of that to
your situation. PC-MOS and your old 386 probably won't
support these newer media. The versions of PC-MOS
and CDOS that I remember didn't have support for
SCSI --- or had very limited support for only a few
SCSI host adapters. You might be quite challenged to
find a controller that you could use with this old
OS.
</BLOCKQUOTE>
<BLOCKQUOTE>
This brings us naturally to the question: Can you
migrate this software to run under <A HREF="http://www.dosemu.org/">DOSEMU</A> (under
Linux) or to some other operating system that's
been updated within the last half decade or so?
</BLOCKQUOTE>
<!-- sig -->
<!-- end 42 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/43"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 43 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>How to Use a Disk with a Bad Track 0</H3>
<p><strong>From nguyen kim thai on Thu, 08 Jul 1999
</strong></p>
<!-- ::
How to Use a Disk with a Bad Track 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Dear Sir.
</STRONG></P>
<P><STRONG>
How are you? I'm Writing to ask you How can I using my hdd with
track 0 bad? Please reply me as soon as you can. yours
</STRONG></P>
<P><STRONG>
LinhNGO
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I presume that you mean that track 0 <EM>SECTOR 1</EM>
is bad.
</BLOCKQUOTE>
<BLOCKQUOTE>
In that case the way to use the disk is as a door
stop, or paper weight. They aren't heavy enough
to be used as boat anchors and they aren't aerodynamic
enough for use as Frisbees(TM)
</BLOCKQUOTE>
<BLOCKQUOTE>
For years I've thought that HD manufacturers should have a
setting on the drive (possibly in NVRAM) which would contain
the CHS (cylinder, head, sector) address of the virtual
track zero. (Even just a cylinder sector value set by
jumpers would be something).
</BLOCKQUOTE>
<BLOCKQUOTE>
I suspect that most modern drives (IDE and SCSI) do apply
some of the same bad sector management to their diagnostic
and track 0 handling as they do the rest of the drive.
</BLOCKQUOTE>
<BLOCKQUOTE>
These vary among drive models but, as I've said before, the
integrated electronics that operate most disk drives are
running rather sophisticated firmware for managing their
cachine, bad sector remapping, error recovery and detection
(with logging and data migration) etc.
</BLOCKQUOTE>
<BLOCKQUOTE>
So "bad spots" on the disk surface generally should not cause
much trouble that would be visible to the user or the OS
(on most late model drives). The problems we usually see
are those that affect the whole drive (a head dies, taking
a whole side of a whole platter with it, a spindle
developes "stiction" and the whole set of platter just
doesn't spin, a motor fails or the voice coils that move the
head arm set toward and away from the hub get fried).
Those are the sorts of things that all result in losing
the whole drive --- or massive portions of it.
</BLOCKQUOTE>
<BLOCKQUOTE>
(For stiction you can sometimes get it "kick started" by
dropping the drive several inches unto a reasonably hard
surface, for other failures you can go to specialty
service and repair shops --- which are much more expensive
than replacing the drive. Those are are mostly used to
ATTEMPT to recover the data that hasn't been backed up.)
</BLOCKQUOTE>
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Get your private, free Email by Vietnamese at <A HREF="http://vol.vnn.vn"
>http://vol.vnn.vn</A>
<br>B?n c? th? t?o m?t h?p th? mi?n ph? tr?n
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
When sending e-mail over the Internet --- it is still
considered improper to include "high ASCII" (accented
characters, etc) in your main text. You can use
"quoted printable" (a MIME format) or (if you really
MUST) put your internationally rich content into a
file attachment (uuencoded or MIME Base64 encoded).
</BLOCKQUOTE>
<BLOCKQUOTE>
I've replaced the accented characters (VISCII?) in
your message with question marks.
</BLOCKQUOTE>
<BLOCKQUOTE>
I realize it's "unfair" that most of the modern
computing infrastructure was built without consideration
for non-English languages and character sets. However,
it's still a fact. Please don't send "8-bit" ASCII
to people unless you know for a personal fact that they
are running 8-bit clean software and compatible
ISO/NLS (nationalized language support) (i.e it should
be fine when exchanging mail throughout the .vn and
related domains).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 43 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/44"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 44 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Benchmarks</H3>
<p><strong>From Andreas Kupries on Mon, 05 Jul 1999
</strong></p>
<P><STRONG>
The sentence
</STRONG></P>
<P><STRONG>
"There are lies, damned lies, and benchmarks"
</STRONG></P>
<P><STRONG>
(from <A HREF="http://www.linuxgazette.com/issue42/lg_answer42.html"
>http://www.linuxgazette.com/issue42/lg_answer42.html</A>)
is incomplete. The completed sentence is:
</STRONG></P>
<P><STRONG><BlockQuote>
There are lies, damned lies, statistics, benchmarks
and delivery dates.
</BlockQuote></STRONG></P>
<P><STRONG>
(Not my invention, saw it as sig somewhere on usenet).
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
One of the pages I linked to in this article
implied that this was a paraphrase of a comment
by Benjamin Disraeli
(<A HREF="http://www.skittler.demon.co.uk/victorians/disraeli.htm"
>http://www.skittler.demon.co.uk/victorians/disraeli.htm</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
I don't actually know any about Disreali other than
what I just read in this link that Yahoo! spit out.
I'd heard the name before, that was all. Overall he
sounds like quite a chap. We could use a few more like
him in modern government ... on both sides of the
big puddle, I'd say.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 44 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/45"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 45 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>What part of "Win Modem" Didn't you Understand?</H3>
<p><strong>From Willy B Mac on Sun, 04 Jul 1999
</strong></p>
<!-- ::
What part of "Win Modem" Didn't you Understand?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi, hope you can help me. I've looked through your site and
couldn't find the answer, even though it might be there. I have
doslinux installed and it works great. The problem is that it
won't detect my modem - a Lucent Win Modem. Another problem I am
having is When I get a file for linux, like the pcmicia ( prob not
exactly what it is, but you get the idea) I can't find it when I
get Unix fired up. I put it in the doslinux folder, but can't
find it then. Thanks for any help you might be able to give me
<IMG SRC="./../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
<br>WillyBMac
<br>By the way, Great site you have there
<IMG SRC="./../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Linux doesn't support winmodems (or, more precisely
the winmodem manufacturers and their chipset vendors
refuse to support Linux). If you search the site a
bit you'll find that I've answered this question several
times every other month.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you are dropping files into your DOSLinux folder
from Win '95 they are probably appearing in your
root directory when you start Linux (through the
LINUX.BAT). In any event that's not the best way to
accomplish the file transfer. You'd be much better to
put the files into your own C:\TMP or into some
sort of C:\DOWNLOAD or D:\DLOADS (folders you'd create
for the task).
</BLOCKQUOTE>
<BLOCKQUOTE>
DOSLinux puts a root filesystem into a DOS subdirectory
and provides access to your MS-DOS directories and
filesystems.
</BLOCKQUOTE>
<BLOCKQUOTE>
As the name implies the use of DOSLinux does require
some understanding of how MS-DOS and Linux work. If
you don't understand MS-DOS at all (you've only used
the Windows GUIs on top of it) then you'll have a
difficult time of it.
</BLOCKQUOTE>
<BLOCKQUOTE>
DOSLinux is a good hack for experienced users but a
bad choice for newbies. I'd suggest adding a whole
hard disk and installing a full-sized, general purpose
Linux distribution (like <A HREF="http://www.redhat.com/">Red Hat</A>, <A HREF="http://www.suse.com/">S.u.S.E.</A>, <A HREF="http://www.caldera.com/">Caldera</A>
etc.) on that.
</BLOCKQUOTE>
<BLOCKQUOTE>
As for the modem: Throw it away. Get a real modem.
(External modems are a much better idea. They are
more reliable, easier to use for troubleshooting and
will work with almost any computer --- PC and non-PC
alike).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 45 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/46"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 46 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Seeing only 13M of RAM</H3>
<p><strong>From Leon Vismer on Sun, 04 Jul 1999
</strong></p>
<!-- ::
Seeing only 13M of RAM
~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Howdey James,
</STRONG></P>
<P><STRONG>
I know that you have answered the question regarding how to get
Linux see 128M RAM before, however I still just get linux to see
about 13M of RAM (13M is what the command top and procinfo
display) where I have 128M installed on the machine.
</STRONG></P>
<P><STRONG>
Some machine details: Pentium II 350 with an EPOX motherboard and
128M 100MHZ RAM, running Redhat 6.0 with kernel 2.2.5. I use lilo
to boot and I include a snippet from the lilo.conf
</STRONG></P>
<pre><strong>> image=/boot/vmlinuz
....
> append="ram=128M"
> read-only
</strong></pre>
<P><STRONG>
Any ideas from your side would be greatly appreciated.
<br>Regards
<br>Leon Vismer
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds like your system is "seeing" (using) all
128Mb of RAM and that you are probably must misreading
the output from '<tt>top</tt>' and/or '<tt>procinfo</tt>'
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's an excerpt from '<TT>procinfo</TT>' on one of my systems:
</BLOCKQUOTE>
<blockquote><pre>Linux 2.2.0 (root@canopus) (gcc 2.7.2.1) #8 [canopus.(none)]
Memory: Total Used Free Shared Buffers Cached
Mem: 63200 61304 1896 25688 3940 13192
Swap: 104416 0 104416
</pre></blockquote>
<BLOCKQUOTE>
Note that it lists 63200 as my total memory (this is a
64Mb system.
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's a screen shot from the top of a '<tt>top</tt>' session
(cut using the '<tt>screen</tt>' cut and paste features):
</BLOCKQUOTE>
<blockquote><pre>3:27am up 4 days, 18:04, 8 users, load average: 0.00, 0.00, 0.00
57 processes: 55 sleeping, 1 running, 0 zombie, 1 stopped
CPU states: 0.9% user, 1.1% system, 0.0% nice, 98.0% idle
Mem: 63092K av, 61224K used, 1868K free, 39184K shrd, 1384K buff
Swap: 231276K av, 24800K used, 206476K free 16788K cached
</pre></blockquote>
<BLOCKQUOTE>
This another 64Mb system.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you really aren't seeing more than 13Mb (more likely to
be 16Mb actually) on your system then you may want to
double check your CMOS settings and consider testing
the hardware using some other OS.
</BLOCKQUOTE>
<BLOCKQUOTE>
The <tt>append=</tt> directive should no longer be necessary
with newer (2.2.x and later) kernels. However, you
didn't mention which kernel you're using and specifying
a correct value won't hurt.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 46 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/47"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 47 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>CD Duplication Services: Spam?</H3>
<p><strong>From Worldwide Ad Network Customer Service
on Sat, 03 Jul 1999
</strong></p>
<!-- ::
CD Duplication Services: Spam?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Subject: A Fair price for CD duplication
</STRONG></P>
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
I was wondering who you use to get your CD's duplicated and if you
are happy with the service they provide?
</STRONG></P>
<P><STRONG>
I have a CD duplicator which makes 7 copies every 10 minutes. I'm
not sure what to charge for this service. My thought is very
simple, find out what everyone else is charging to duplicate CD's
and then offer better service at a lower price!
</STRONG></P>
<P><STRONG>
I get jewel cases and blank media from overseas. I buy in volume
so they cost me pennies each!
</STRONG></P>
<P><STRONG>
Thank you for taking time out of your day to reply.
Britt
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I think you're a bit too late to this game. Anybody who
really needs CD's burned probably has a burner of their own
(suitable for about 4 copies per hour or less --- but enough
for most people's needs).
</BLOCKQUOTE>
<BLOCKQUOTE>
Your materials costs may be inconsequential (pennies each)
but you obviously have other costs to consider. (The fact
that you're asking me this question suggests that you
haven't studied business economics at all --- or that this
is a clever ploy to advertise your new service without being
labelled as a spammer).
</BLOCKQUOTE>
<p><em>[ If so, it's less than likely to get you positive clicks.
For one thing, I clean off sigs, unless Jim specifically refers
to them, and I reduce the sender's name to the actual name rather
than any extra fluff, in an effort to keep the bylines short and friendly.
On the plus side, at least the message itself was short.
-- Heather ]</em></p>
<BLOCKQUOTE>
First there are your equipment costs. You have to amortize
the cost of your duplication system over its expected
lifetime (so that you'd be able to replace it as needed if
you wanted to make this into a sustainable business). You'd
also have to leave a bit of margin for maintenance, repairs
and replacement of the cost (in case the duplicator fails
<EM>during</EM> it's expected lifetime). Plus you want to add a
small margin over that to support purchase of additional
equipment for increased capacity. You may not expect to
"grow like hotcakes" but it's silly not to plan for some
degree of expansion.
</BLOCKQUOTE>
<BLOCKQUOTE>
Next you have to consider postage and or parcel delivery
costs. This will be a major factor in your proposed
business since you clearly don't intend to cater to an
exlusively local clientele. The "pennies per copy" is
suddenly overwhelmed by the "dimes per copy" of shipping
cost (for low volumes) and/or dollars per order (for larger
volume requests).
</BLOCKQUOTE>
<BLOCKQUOTE>
Then we ask what services you offer (over and above the
basic duplication/production of CDs and package in jewel
cases). For example you might need to print labels for the
jewel cases and/or offer silk screening or labeling of the
CDs themselves. Some, possibly most, of your customer might
prefer to have their CDs packaged in cardstock sleeves or
mailers rather than jewel boxes. For multi-CD sets your
customers might need various other packaging options.
</BLOCKQUOTE>
<BLOCKQUOTE>
Professional graphics design of labels and the jackets,
sleeves, etc is more art than technology.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you really want to make a business of this I'd make the
custom CD duplication an adjunct to your own production.
You could do mail order <A HREF="http://www.debian.org/">Debian</A> (or <A HREF="http://www.redhat.com/">Red Hat</A> or other Linux
distribution) CDs. You'd be in competition with Cheapbytes
(<A HREF="http://www.cheapbytes.com/"
>http://www.cheapbytes.com/</A>) of course. However, you might be
able to open up new markets in places where Cheapbytes and
it's competitors haven't yet reached.
</BLOCKQUOTE>
<BLOCKQUOTE>
I haven't seen Linux CDs advertised in the back of
<a href="http://www.popsci.com/">Popular Science</a> and
<a href="http://popularmechanics.com/">Popular Mechanics</a>
magazines, yet. There are far
less interesting items listed in their little "classified"
sections. You could also advertise in various other niche
magazines. If you're selling your single or dual CD package
for less than $10 you'll probably make a small margin and
get relatively few returns. You probably will get a lot of
technical support calls --- regardless of how boldly you
assert that "support is not included" on your marketing and
packaging. Responding to support requests can be time
consuming and therefore can become a significant cost of
your business. (Yes, it can cost almost as much to NOT
provide service as it does to provide it).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course there are other niches you can reach. For example
in my role as an instructor at Linuxcare I find that we
periodically need small production runs of custom CDs for
our labs. Currently we have our own support people doing
these (graveyard shift mostly). It's easy to keep that
extra machine "cooking" while working on phone calls, e-mail
and documentation. We also need floppies cut in about the
same quantities.
</BLOCKQUOTE>
<BLOCKQUOTE>
When I was teaching at Mission college last term I took some
extra copies of the free Red Hat 6.x CD and distributed to
my class to encourage them to work and play with the class
materials on their home systems.
</BLOCKQUOTE>
<BLOCKQUOTE>
I imagine that lots of instructors would like to cook up
small runs of CDs for their classes. The free source and
free content movements make this feasible for some
materials. Obviously there are major copyright concerns as
we branch into more mainstream materials.
</BLOCKQUOTE>
<BLOCKQUOTE>
(You should not ignore liability issues if you plan on
making a business of this. If you copy a CD full of
commercial music or software for one of your customers it
won't matter whether you knew what was on there or not, and
it won't matter whether you prevail in court; the costs of
defending yourself may leave you destitute. If you opt to
incorporate --- to limit your personal liability --- then
you've got to factor in the considerable costs of
incorporation into your business plan).
</BLOCKQUOTE>
<BLOCKQUOTE>
One of the sad facts about life in the modern world is that
it's practically impossible to run a simple "mom & pop" shop
or service without putting in plenty of effort into the
research, planning and paperwork. It's what I hated about
running my own consulting service.
</BLOCKQUOTE>
<p><em>[ But I'm glad that he did all these things before he gave it
back to me. When I began consulting years ago, I'd never bothered to
get even as much as a DBA. If this business is the only income for you
and your family, you also need to make sure that your utility and other
regular bills have some regular way to get paid, even while you're
starting up. It might even require some government funding or a business
loan, which are a lot more paperwork.</em></p>
<p><em>Also, in my case, I sell knowledge, and
my own time and experience to crystallize it into usable form for small
businesses. The first already has its storage space, and the latter is
somewhat easier than many products to keep inventory of. For yours, even
at minimal levels of success, you need some physical place to keep CDs
and shipping packages. -- Heather ]</em></p>
<BLOCKQUOTE>
However, you might learn quite a bit by "doing it wrong"
with a sort of "hobby" business. You might find that you
have the knack for it and actually enjoy it as well.
</BLOCKQUOTE>
<BLOCKQUOTE>
Anyway, good luck and have fun.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 47 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/48"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 48 -->
<H3 align="left"><img src="./../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Proxy Program?</H3>
<p><strong>From Figueroa Alfonso on Sat, 26 Jun 1999
</strong></p>
<!-- ::
Proxy Program?
~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="./../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Does anybody has a proxy program ??
</STRONG></P>
<BLOCKQUOTE><IMG SRC="./../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
One of the oldest and most common proxy server
packages is NEC's SOCKS. You can usually find
a set of SOCKS version 5 client and server RPMs
at: <A HREF="ftp://contrib.redhat.com"
>ftp://contrib.redhat.com</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
A couple of others can be found at Freshmeat
(search on "proxy server"): <A HREF="http://www.freshmeat.net"
>http://www.freshmeat.net</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
I've used DeleGate -- which is easy to set up and
seems to be pretty well-written. You can find it
at: <A HREF="http://wall.etl.go.jp/delegate"
>http://wall.etl.go.jp/delegate</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
DeleGate is a server/proxy. It is compatible with
SOCKS clients (so you can just use the SOCKS client
RPMs with it). It's also possible to manually
traverse a DeleGate proxy (similar to how you can
connect to a TIS FWTK proxy and manually tell it
where your real destination lies). DeleGate seems
to have some caching features as well as the
security oriented proxying.
</BLOCKQUOTE>
<BLOCKQUOTE>
If I read it correctly, DeleGate has added ICP
(Internet caching protocol) standard features
to allow it to act as a caching peer with other
ICP FTP and web caches (such as Squid).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course you didn't specify which sort of proxy
server you're looking for. If all you're looking
for is simple caching (not tailored for security)
you could use Squid, or <A HREF="http://www.apache.org/">Apache</A>.
</BLOCKQUOTE>
<BLOCKQUOTE>
DANTE is supposed to be another SOCKS compatible proxy
server. This one claims support for SOCKS version 4 and
version 5 clients. I've never used that one but you can
find it at: <A HREF="http://www.inet.no/dante"
>http://www.inet.no/dante</A>
</BLOCKQUOTE>
<!-- sig -->
<!-- end 48 -->
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <hr> <P>
<!-- QUICK TIPS SECTION ================================================== -->
<center>
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.gif">
More 2¢ Tips!</A></H1> <BR>
Send Linux Tips and Tricks to <A HREF="mailto:gazette@ssc.com">
gazette@ssc.com
</A></center>
<p><hr><p>
<H3><font color="#CC0000">New Tips:</font></H3>
<ul>
<li><a HREF="#xterm_huge">Xterm Huge Font by Default</A>
<li><a HREF="#widenote">Redhat 6.0 on a Sharp Widenote</A>
<li><a HREF="#suprasonic">suprasonic II modem info</A>
<li><a HREF="#core">Preventing core dump files from appearing</A>
<li><a HREF="#partitions">Linux partition sizes</A>
<li><a HREF="#ssh">ssh tip</A>
</a>
</ul>
<H3><font color="#CC0000">Answers to Mail Bag Questions:</font></H3>
<ul>
<li><a HREF="#tecra8000">Toshiba Tecra 8000 and 4030CDT</A>
<li><a HREF="#ftp">Graphical FTP & sync FTP</A>
<li><a HREF="#dell_mouse">Dell Optiplex GX1 and the PS/2 Mouse</A>
<li><a HREF="#fat32">FAT32 and Linux</A>
<li><a HREF="#vert_scroll">Vertical scroll bars and fvwm95</A>
<li><a HREF="#kodak">KODAK Picture Disk & gimp</A>
<li><a HREF="#scrollbar">xterm Scrollbars</A>
<li><a HREF="#installation">Linux Gazzette Question</A>
<li><a HREF="#netflex3">Netflex3 cards on redhat</A>
<li><a HREF="#ipchaining">IPChaining and Firewall rules</A>
<li><a HREF="#inetd">Any inetd wizards out there?</A>
<li><a HREF="#big_drives">Installing Linux on > 2gb drives</A>
<li><a HREF="#X_start">X won't start</A>
<li><a HREF="#fat">FAT Compatibility</A>
</a>
</ul>
<P> <hr> <P>
<!--================================================================-->
<a name="xterm_huge"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<font color="navy">Xterm Huge Font by Default
</font> </H3>
Date: Sat, 24 Jul 1999 03:59:08 -0700
<P> When you run X in 1024x768 or 1200x1024 you might notice that
a typical xterm comes in a font that's just a bit too small to
read.
<P> Of course you can use a [Ctrl]+[Right Mouse Click] to bring up
a small menu of alternate fonts (ranging from "Tiny" to "Huge")
to interactively change these to a more (or less) readable
setting. However, that gets old after awhile, and it's irritating
to have to teach that to every new user as we migrate more people
from those "legacy" systems like MS Windows.
<P> So, here's how you can change the default font for your xterms.
<P> Basically all you have to do is add an entry to your "X resource
database." The "X resource database" is sort of like your shell
environment.
<P> Just as the environment contains a list of values associated
with names. In the case of the environment you have names
like PATH, TERM, HOME, etc. The X resource db contains
patterns like XTerm*foreground: X applications (clients)
query the X server and get the patterns that most closely
match the names of the settings that they are looking for.
<P> Thus the resource pattern XTerm*foreground: matches
XTerm.menu.foreground, XTerm.terminal.foreground and
XTerm.anything.else.foreground. So, whatever value this
resource pattern has (a color, for example) will be used
for any settings that don't have a more specific match.
If you had XTerm*foreground: Cyan and an XTerm.main.foreground
of Wheat then the "main" windows would be set to "Wheat"
(an off white color) and all of the others would have a
"foreground" color of cyan (a bright bluish green).
(I'm just making up some of these names, by the way --
I don't know if xterm looks for any XTerm.main* or
XTerm.terminal* etc.
<P> Just as the programs you start under a shell may take
settings and options from environment variables, so an
X client can take settings from the X server's resource
database.
<P> When you start your X server, one of of the things the
typical xdm, xinitrc, ~/.Xclients, or ~/.Xsession will do
as part of the process is to invoke the xrdb command. So
you can set these resources by editing files and restarting
X. By default the system will look for a file named ~/.Xdefaults
and merge those into any settings that are compiled into
the server. In fact you can change your resources without restarting
X by using a command like:
<PRE>
xrdb -merge ~/.Xdefaults
</PRE>
<P> So, to change your "normal" font size for your xterms you can
use a setting like:
<PRE>
XTerm*VT100*font: 10x20
</PRE>
<P> ... there are many other settings (like X XTerm*VT100*font1: through
XTerm*VT100*font6: (which correspond to the tiny, through the
Huge settings).
<P> You can get a list of (some) resources using the appres command.
Some can be found in the man pages. There is no comprehensive list
of these that I know of. I suppose is all in the source code,
somewhere!
<P> <hr> <P>
<!--================================================================-->
<a name="widenote"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<font color="navy">Redhat 6.0 on a Sharp Widenote
</font> </H3>
Date: Wed, 28 Jul 1999 15:30:38 -0500 (CDT)
<BR>From: jwang@CS.UH.EDU (John I-Chung Wang)
<P> Hello
<P> I've recently installed Redhat 6.0 on a Sharp Widenote after swapping
the factory 1 GB drive for a more suitable 6.4 GB drive purchased over
the web.
<P> The interesting thing about the Widenote is that the display is a
letter box format (16 x 9) screen which has a resolution of 1024x600.
It works just fine at the default 1024x768 settings except that the
lower 168 lines are not visible hence the command panel for the
enlightenment GUI is not easily used.
<P> Various websites on the Internet had proposed XF86Config files but all
of them tried to combine the horizontal modeline arguments of the
1024x768 settings with the vertical modeline arguments of the 800x600
settings. This approach does not work and admittedly, the web pages
advocating those settings stated that they still could not get them
working.
<P> Well, the solution is far more simple. the display is a 1024x768
display in every respect except that only 1024x600 is visible so you
actually want to keep all the timing sections of the 1024x768 modelines
the same, except for the 768 which indicates what can be displayed. So
just use the LCD 1024x768 XF86Config file except change the one 768 to
600 in each modeline for each 1024x768 setting ie.:
<PRE>
Modeline "1024x768" 44.9 1024 1048 1208 1264 768 776 784 817
</PRE>
becomes:
<PRE>
Modeline "1024x768" 44.9 1024 1048 1208 1264 600 776 784 817
^^^
only thing changed
</PRE>
<P> Note there are multiple Modeline's for the 1024x768 setting, I changed
all of them to be on the safe side though presumably only one need be
changed, I'm just too lazy to figure out which one. Of course, it does
mean that if you wish to use the full 1024x768 on the external monitor
port, you'll have to swap XF86Config files.
<P> This solves the problem without having to rewrite the XF86Config file
from scratch. I thought I would email the Gazette since I'm too lazy to
mess with authoring web pages at the moment.
<BLOCKQUOTE><EM>
[I moved your PPP question to the Help Wanted section. -Ed]
</EM></BLOCKQUOTE>
<P> <hr> <P>
<!--================================================================-->
<a name="suprasonic"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<font color="navy">suprasonic II modem info
</font> </H3>
Date: Fri, 16 Jul 1999 05:23:19 -0500
<BR>From: Giancarlo Castrataro <weenrdog@bluemarble.net>
<P> To get the suprasonic II modem to function properly, try the following
steps:
<P>
0) Set modem to jumpered config, boot, and back to PNP (this resets PNP
config)<BR>
1) Configure modem properly in windows 9X to reasonable settings...<BR>
2) I used com1/com2, and irq 3<BR>
3) Set bios to PNP OS: NO<BR>
4) Ensure that the modem entry in isapnp.conf is commented out (should
be already)<BR>
5) Use /dev/ttySn and /dev/ttyS(n+1) for each modem respectively<BR>
<P> (step zero is if you are having problems with getting the modem to work
in win9X)
<P> I also have information on getting the modem to work in windows 98 SE. I
found that all I had to change was one registry key, and shotgun shows up under
the DUN modem types.
<P> Computer Science Student at Indiana University,<BR>
GC
<P> <hr> <P>
<!--================================================================-->
<a name="core"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<font color="navy">Preventing core dump files from appearing
</font> </H3>
Date: Sat, 24 Jul 1999 01:11:55 +0200
<BR>From: xvudpapc <xvudpapc@savba.sk>
<P> Hi everybody,
<P> I want to contribute with a small but very useful tip. I'm not a
programmer, so I'm quite
disinterested in linux core dumps and I wondered how to remove them. I
found out
that this worked. Put it in .bashrc or in a .login script.
<PRE>
ulimit -c 0
</PRE>
<P> Enjoy,<BR>
Juraj
<P> <hr> <P>
<!--================================================================-->
<a name="partitions"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<font color="navy">Linux partition sizes
</font> </H3>
Date: Tue, 20 Jul 1999 21:54:19 -0600 (MDT)
<BR>From: "Michael J. Hammel" <mjhammel@graphics-muse.org>
Thus spoke Dana J. Hall <danahall@concentric.net>
<BLOCKQUOTE>
My question is, if you would be so kind, could you go into a little
more detail. I know how to run fdisk, that is not the problem, but I
am a little unclear as to what would go onto the system partition, how
large to make it and what is considered data files.
</BLOCKQUOTE>
<P> The system partition should be about 2G. That's because if you decide to
take the easy route and install everything from a RH distribution you', they
get automatically shoved into the system partition.
<P> That said, you should understand I'm talking about KDE and GNOME system
libraries and environment files - the core bits of these two. An application
written for GNOME or KDE can be installed under /usr/local later, after you
download from the net and build it yourself. But the KDE and GNOME environment
and development files are likely to go under the system directories during
installation. There's really no reason to change this.
<BLOCKQUOTE>
red hat manual says the boot partition should be about 16meg and the
root partitiion about 500m - 1 gig. They state that all apps go on the
root partition but I don't think that is what I want.
</BLOCKQUOTE>
<P> Only the apps *they* install will go there. Don't bother trying to
separate out the applications to another partition during installation (in
fact, I doubt you can do so). What you're separating with multiple partitions
is
<OL>
<LI> what comes on the installation CD
<LI> the data you create on your own
<LI> programs you download and build on your own.
</OL>
<P> Over time, you end up replacing the tools on the CD with newer versions you
download from the net. In most cases, you'll build and install them under
/usr/local, then use rpm to remove the original version you installed with RH
6.0. In cases where using rpm to remove the original will break many
dependencies (Perl is a good example of this), you can just install the new
version, they get automatically shoved into the system partition.
<P> That said, you should understand I'm talking about KDE and GNOME system
libraries and environment files - the core bits of these two. An application
written for GNOME or KDE can be installed under /usr/local later, after you
download from the net and build it yourself. But the KDE and GNOME environment
and development files are likely to go under the system directories during
installation. There's really no reason to change this.
<BLOCKQUOTE>
Any clarification would be much appreciated. I'm what I would call a "liitle
past beginner stage, but not much" Linux user. I am a developer, mainly on the
Tandem mainframe (about 15 yrs), some windows development and about 2.5 yrs on
Linux using as a workstation and developing. My only experience has been with
Slackware.
<P> Thanks again,<BR>
Dana Hall
</BLOCKQUOTE>
<P> Best of luck to you. You should sign up for the Boulder Linux Users Group
mailing list. There is always some help there. I still learn things from
the folks on that list, but they manage to help just about every level of
user.
<P>-- <BR>
Michael J. Hammel, the Graphics Muse
<P> <hr> <P>
<!--================================================================-->
<a name="ssh"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<font color="navy">ssh tip
</font> </H3>
Date: Thu, 22 Jul 1999 16:31:33 +0200 (MET DST)
<BR>From: Frido Ferdinand <frido@euronet.nl>
<P> Just discovered a neat trick to using ssh-key authentication in a nice way,
this will let you connect to remote hosts without typing in your password
all the time. It's also very convienient to make (perl) scripts connect
to remote hosts without using scary .rhosts/rsh combinations.
<P> To use this just do the following:
<PRE>
1 Install ssh
---------------
You can get the source from: ftp://ftp.cs.hut.fi/pub/ssh/
or RPMS from: ftp://ftp.replay.com/pub/crypto/linux/redhat/i386/
2 Run ssh-keygen
----------------
ssh-keygen - authentication key pair generation
Run it and use a good long passPHRASE. (phrase not word)
3 Edit .xinitrc
---------------
Put in your .xinitrc ssh-agent in front of the command
for example
# Window Maker default X session startup script
PATH="$PATH:/usr/X11R6/bin"
<STRONG>exec /usr/local/bin/ssh-agent wmaker</STRONG>
exec /usr/local/bin/xscreensaver -no-splash &
I think that if you use xdm you should edit your .xsession file.
Now every time you start up ssh-agent, the program that will manage your
ssh-keys, will start up in the background.
4 Run ssh-add
-------------
When you're in X just type in your favourite terminal,
ssh-add
It'll ask you for the passphrase of your key, type it in and your
private key will be loaded in memory.
5 Authorize the remote host
---------------------------
Now on the host to which you want to connect, do the following:
copy the contents of the generated public key (.ssh/identity.pub)
to the "authorized_keys" file on the remote host. Be sure to set
the permissions of this file to 600.
Now connect to your remote host with: ssh remote-host. If everything
goes well you won't need to type in your password but still have
a good secure authentication scheme.
6 Examples
----------
Run command 'ls' on remote host:
ssh remote-host ls
The ssh-agent uses two environment variables:
set | grep SSH gives
SSH_AGENT_PID=10953
SSH_AUTH_SOCK=/tmp/ssh-frido/ssh-10952-agent
In your perl script put:
$ENV{"SSH_AGENT_PID"} = 10953;
$ENV{"SSH_AUTH_SOCK"} = "/tmp/ssh-frido/ssh-10952-agent";
And you can do:
$output=`ssh -q remote-host ls`
print $output
I normally use this to call other scripts. This way you can have one script
which accesses multiple servers !
There's lots of other things you can do with it, just experiment with it !
Thanks to some of my collegues for some great tips.
</PRE>
<!-- ************************************************************* -->
<P> <hr> <P>
<!--================================================================-->
<H4><font color="maroon">
Tips in the following section are answers to questions printed in the Mail
Bag column of previous issues.
</font></H4>
<P> <hr> <P>
<!--================================================================-->
<a name="tecra8000"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Toshiba Tecra 8000 and 4030CDT
</font> </H3>
Date: Tue, 27 Jul 1999 14:49:10 +0100
<BR>From: "Olsson, Hasse" <Hasse.Olsson@cai.com>
<P> Tom Wyrick (twyrick@paulo.com) wrote:
<BLOCKQUOTE>
I recently attempted to install RedHat Linux 6.0 on a Toshiba Tecra
8000 notebook computer, and ran into a couple of problems. The first
time I installed it, everything appeared to be working properly, except
the keyboard keys were too "touchy". Many times, it would act like the
keys were sticking and print a character twice when it was pressed
once. (I've seen a couple other references to this issue on Usenet, but
no solutions were posted.)
<P> After I used Linux for several days on the notebook, I encountered
a situation where it didn't unlock the hard drive for read/write usage
after it finished performing a disk check with fsck, and subsequent
reboots failed due to the file system being stuck in "read only" mode.
At this point, I decided to reformat and do another install from
scratch. This time around, the only changes I made were #1, not to put
the system in runlevel 5 so it started in X immediately upon boot-up,
and #2, enabled the apmd service for advanced power management. When
this install completed, I had problems right away where Linux would
boot - and then I wouldn't be able to type on the keyboard at all.
(Every so often, I was able to get control of the keyboard back - but
only after multiple reboots by hitting the power button on the
notebook.)
<P> Has anyone else out there had any luck running Linux on a Tecra
8000?
<P> Thanks, Tom.
</BLOCKQUOTE>
<P> I had the same problem on my old notebook (digital Hinote) and Redhat 6.0.
Now I've just installed Linux Mandrake 6.0 on My Tecra 8000 and every thing
works perfect. Mandrake has:
<UL>
<LI> Linux Kernel version: 2.2.9
<LI> ld.so version: 1.9.5
<LI> Glibc: 2.1.1
<LI> RPM: 3.0.1
<LI> Bash: 2.03
<LI> pgcc version: 1.1.3 (based on egcs 2.91.66)
</UL>
<P> You can try to update these or simply get Mandrake..
<P> Just an extra note. On my Hinote I solved the Keyboard problem by
connecting an external PS/2 mouse. So this might also be true in your case.
<P> Cheers Hasse
<H4>Another response...</H4>
Date: Fri, 2 Jul 1999 15:20:39 -0400 (EDT)<BR>
<BR>From: Padraic Renaghan <padraic@renaghan.com>
<P> You can find information about Linux on the Toshiba Tecra 8000 at:
<A HREF=http://www.shroom.com/linux/laptop/8000.html>
http://www.shroom.com/linux/laptop/8000.html</A>.
<P> Also take a look at:
<UL>
<LI> <A HREF=http://www.cs.utexas.edu/users/kharker/linux-laptop>
Linux on Laptops</A>
<LI> <A HREF=http://www.snafu.de/~wehe/index_li.html>
Laptop HOWTO</A>
</UL>
<P> You can find information about Linux on the Toshiba 4030CDT at:
<A HREF=http://www.gumbley.demon.co.uk/linux-tosh-4030-cdt.html>
http://www.gumbley.demon.co.uk/linux-tosh-4030-cdt.html</A><BR>
There is a specific section on that page called "My Custom X Server for
the Cyber 9525" that should help you out.
<P>--<BR>
Padraic Renaghan <padraic@renaghan.com>
<P> <hr> <P>
<!--================================================================-->
<a name="ftp"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Graphical FTP & sync FTP
</font> </H3>
Date: Fri, 2 Jul 1999 15:28:38 -0400 (EDT)
<BR>From: Padraic Renaghan <padraic@renaghan.com>
<P> For graphical FTP, I like IglooFTP:
<A HREF=http://www.littleigloo.org>http://www.littleigloo.org</A>.
<P> For keeping my webserver, <A HREF=http://renaghan.com>renaghan.com</A>, in
sync with the changes I make in my local development area, I like sitecopy:
<A HREF=http://www.lyra.org/sitecopy/>http://www.lyra.org/sitecopy/</A>.
<P> Sitecopy doesn't really synchronize ftp.server1 with ftp.server2 as it
replicates changes you make on source.ftpserver to
destination.ftpserver.
<P>-- <BR>
Padraic Renaghan <padraic@renaghan.com>
<P> <hr> <P>
<!--================================================================-->
<a name="dell_mouse"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Dell Optiplex GX1 and the PS/2 Mouse
</font> </H3>
Date: Fri, 2 Jul 1999 16:49:22 -0700 (PDT)
<BR>From: "Allen D. Tate" <computermantate@yahoo.com>
<P> Someone sent me a solution to my problem. I was sure it would be
something simple and it was. The solution is listed below. The
original problem is listed below the solution.
<P> The solution:
<BLOCKQUOTE>
<P> hey, about your mouse problem in X windows. You probably have
/dev/mouse linked to the wrong address. Make sure that ls -l /dev/mouse
produces this output:
<PRE>
ls -l /dev/mouse
lrwxrwxrwx 1 root root 5 Jun 10 06:22 /dev/mouse -> psaux
and/or make sure in XF86Config:
Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
</PRE>
</BLOCKQOUTE>
The problem:
<BLOCKQUOTE>
Date: Wed, 16 Jun 1999 07:14:20 -0700 (PDT)
<BR>Allen D Tate <computermantate@yahoo.com> asked:
<P> I have a Dell OptiPlex GX1, Pentium II w/64 MB RAM and I'm trying to
get X Window up and running but when I run startx, I get no response
from the mouse. Has anyone ran into a similar problem? If so how did
you fix it? I tried changing the mouse settings in the X86Config file
but it didn't seem to help. Any comments or suggestions will be greatly
appreciated.
<P> Thanks,<BR>
Allen Tate<BR>
Evansville, Indiana
</BLOCKQUOTE>
<P> <hr> <P>
<!--================================================================-->
<a name="fat32"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">FAT32 and Linux
</font> </H3>
Date: Mon, 5 Jul 1999 16:27:57 +0530
<BR>From: "Aranya" <aranya@bol.net.in>
rakeshm@za.ibm.com asked:
<BLOCKQUOTE>
<P> I just got a new PC and it came with Win 98 (and FAT32)
pre-installed. I also recently read an article saying that Linux does
not get along with FAT32. =&gr; LILO can;t be loaded on FAT32. Is this
correct ?
<P> I plan on installing Red Hat Linux 6.0 on a seperate slave drive,
and having a dual boot. I need to keep my Win98 as well as everyone in
the family uses it, and likes Games. Has anyone had any problems with
Win98 and Linux ? Is there anything that I have to watch out for ?
<P> Thanks<BR>
Regards<BR>
Rakesh Mistry
</BLOCKQUOTE>
<P> Gone are the days when Linux did not support FAT32. AFAIK, the last version
of the kernel that DIDN'T support FAT32 was 2.0.32 and since then, FAT32 has
been a part of the vfat fs. Since, RH Linux 6.0 has a 2.2.x kernel, there is
absolutely no problem with making it co-exist with Win98 or using LILO.
<P> Akshat
<P> <hr> <P>
<!--================================================================-->
<a name="vert_scroll"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Vertical scroll bars and fvwm95
</font> </H3>
Date: Wed, 07 Jul 1999 14:17:54 +0200
<BR>From: "Remco Schellekens" <rse@dasc.nl>
<P> In reply to your question how to get scrollbars in xterm under fvwm95:
<P> It's not that difficult as you think it is. Under SUSE you probably have a=
.fvwm-whateverfile in youre home directory, otherwise use the
system.fvwm-whatever-rc file commonly located= in /usr/X11R6/lib/X11/fvwm..
Now look for xterm startup instructions (Exec xterm ......) and make sure=
switch "-sb", wich enables the scrollbar, is included. By the way press
CTRL+Middle mouse button on an xterm, and= first function you can set/reset is
"enable scrollbar" no matter what kind of window manager you are using.
<P> Greetings,<BR>
Remco
<P> <hr> <P>
<!--================================================================-->
<a name="kodak"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">KODAK Picture Disk & gimp
</font> </H3>
Date: Wed, 07 Jul 1999 10:52:52 -0500
<BR>From: "Richard N. Turner" <rnturn@baxter.com>
<P> About the inverted images you get back from Kodak:
<P> You must remember that the image you see through viewfinder of your
camera is actually projected and recorded upside down on the film (just
like it is on your retina) and that's why Kodak stores them that way.
Just kidding... I've been getting pictures on Kodak's floppies and have
wondered about the inverted images as well. (The camera /does/ record
them upside down, though.)
<P> Seriously, you can use "xv", which should be available on your RH5.1
CD-ROM, to invert the upside images that you receive on the Kodak disk.
At least that's what I've used. It may be possible to pull this off
using the GIMP but I've yet to find such an option among the gazillion
other things it can do.
<BLOCKQUOTE><EM>
[In the GIMP, right-click on the image to get the pop-up menu. Choose
"Image / Transforms / Rotate". Select 180 and press OK. -Ed.]
</EM></BLOCKQUOTE>
<P> BTW, I've heard that "xv" may not be part of the newer RH
distributions. I hope that's not true; I've been using "xv" since I was
running Consensys SVR4.2 on my old '486 and have gotten so used to it.
I still use it to load JPEGs on my root window and haven't found a
substitute that can do that yet.
<H4>Another response...</H4>
Date: Mon, 26 Jul 1999 17:07:19 +0200
<BR>From: sleske@filesvr1-cddi.informatik.uni-essen.de (Leske Sebastian)
<P> If I understand you correctly, the pictures you load from the photo CD
are upside down and you simply want to correct that, i.e. turn them around.
To do that, you can use the 'rotate' function from the 'Transform tool' in gimp.
In principle that lets you do rotation by any angle you want, but by holding
the Ctrl-key, it lets you select the rotation angle in 15-degree steps.
Just rotate the image by 180 degrees, and it should be 'right-side-up'.
<P> As an alternative, consider using the ImageMagick tool (available from just
about any Linux ftp site, and a part of most distributions). The 'display'
program (part of ImageMagick), has a function to rotate an image by 90 degrees
(key / ), you would just have to do that twice to get the desired effect. If
you want, you can also automate the process with the 'mogrify' program (also
part of ImageMagick). To rotate the file picture.jpeg in your currnent
directory, just enter: mogrify -rotate 180 picture.jpeg The advantage of this
is that the process works automatically. mogrify -rotate 180 *.jpeg for
example, would rotate ALL jpeg-pics in your current directory. That's probably
easier than doing it by hand for every picture. You should know, however, that
mogrify overwrites the original picture file with the transformed version, so
if you want to keep the original file, you should copy it first before using
mogrify. (If the files are directly from the CD then you have the CD anyway, so
then you won't need to make a copy).
<P> I hope that helps. I'd like to know whether those tips did the job for you,
maybe you could send me a short mail telling me whether it worked or not.
<P> Greetings,<BR>
Sebastian Leske
<P> <hr> <P>
<!--================================================================-->
<a name="scrollbar"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">xterm Scrollbars
</font> </H3>
Date: Wed, 07 Jul 1999 11:07:57 -0500
<BR>From: "Richard N. Turner" <rnturn@baxter.com>
<P> Kedric,
<P> The default xterm does not include scrollbars when you run it.
<P> You can fix this manually for each xterm by bring up the "VT Options"
menu by holding down "Ctrl" and clicking the middle mouse button (or
chording the left and right buttons if your a two-button mouse user).
You should see listed as the first menu item "Enable Scrollbar" which,
in your case, is probably unchecked. Turn it on and you'll get a
scrollbar.
<P> If you always want a scrollbar you'll need to get into the menu
definitions for fvwm95 and fix the command for launching an xterm.
You'll probably want to include some xterm options so your xterm command
will look something like:
<PRE>
xterm -sb -sl 512
</PRE>
<P> These options mean:
<PRE>
-sb ! Turn on a scrollbar.
-sl 512 ! Save 512 lines in the scrollback buffer.
</PRE>
<P> See the xterm(1x) for other useful options that you could specify.
<P> <hr> <P>
<!--================================================================-->
<a name="installation"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Linux Gazzette Question
</font> </H3>
Date: Sun, 11 Jul 1999 10:16:29 -0700
<BR>From: Ted23 <ted23@isle.net>
<P> I have had similiar problems with Windows98 and Linux with FAT32
partitions. What I chose to do was to first install Windows98 with FAT32
partitions on the entire drive. Then use a 3rd party software such as
Partition Magic 4.0 to cut the hard drive in half both at FAT32 and
preserveing my Windows games,...er I mean data. Then Install Linux,
using disk druid on the unused partition, and completely reformatting it
over to LInux partitions. I have had no problems doing that and have
installed many dual boot systems that way. If you need some more help
feel free to contact me.
<P> Ted23
<A HREF=http://www.asenteck.com/~ted23>http://www.asenteck.com/~ted23</A>
<P> <hr> <P>
<!--================================================================-->
<a name="netflex3"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Netflex3 cards on redhat
</font> </H3>
Date: Wed, 14 Jul 1999 02:58:29 -0400 (EDT)
<BR>From: "John E. Vincent" <john@lusis.org>
Subject: (fwd)
<P> As far as I remember from setting up a friend's machine, you would need to
compile or install the module for the TI thunderLAN cards. I hope this is
a step in the right direction for you although I can't remeber the module
name itself.
<P> John Vincent
<P> <hr> <P>
<!--================================================================-->
<a name="ipchaining"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">IPChaining and Firewall rules
</font> </H3>
Date: Sat, 17 Jul 1999 07:46:10 -0600
<BR>From: Warren Young <tangent@cyberport.com>
<P> In Issue 43 of the Linux Gazette, the following appeared in the Mailbag:
<BLOCKQUOTE>
I have a small home network with 5 systems. I use Linux as my
proxy/firewall/dial-upon demand internet server and fileserver. Before
I upgraded to RH6 I could go to any site on the Web. Now with RH6 I
cannot get to some sites. ie: www.hotmail.com, www.outpost.com and
www.iomega.com to name a few. I can get to them from my Linux box but
not from the network. It sends the request and I see some data return
but then everything stops.
</BLOCKQUOTE>
<P> I just tried, and those sites worked fine from my Win98 box which is
proxied to the Internet via a RH6 box.
<P> I think perhaps you are missing a few important rules, such as rules to
allow DNS replies. My own script for enabling masquerading and
firewalling is available at the URL below, in the "scripts" section.
<P> That script is quite a bit more complicated than yours, but it offers a
much tighter firewall. Plus, it's very well commented, so you should
have no trouble modifying it to meet your needs. You should only have
to modify the variables at the top of the script and leave the rest
alone.
<P> You should still read through the rest of the script, however, to ensure
that its actions are acceptable to you. For example, it opens inbound
Web access. This may be harmless, but if your webserver holds private
documents, you'll want to comment that rule out.
<P> Good luck.
<H4>Another response...</H4>
Date: Wed, 21 Jul 1999 13:42:15 -0700 (PDT)
<BR>From: Ray Van Dolson <rayvd@bludgeon.shocking.com>
I had a similar problem using my Slack 4.0 box as the masquerading
gateway... looks like your timeouts are ok, but I don't think it hurts to
increase those a little... here's what fixed the problem for me though:
Open your local ethernet init script (for me it's /etc/rc.d/rc.inet1, it's
the file with the ifconfig eth0 lines in it, use grep if you're not sure).
Look for a line similar to this one:
/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
This line sets up the eth0 routing table... make it look like this:
/sbin/route add -net ${NETWORK} netmask ${NETMASK} window 8192 eth0
Below or nearby there should also be a line to set up your gateway route,
looking similar to the above. Do the same thing basically, here's what my
line looks like:
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 window 8192
In short, I think the problem has something to do with the packets being
sent from your masq box to the web box being either too large or too small
or are not reassembled correctly... setting this window setting seems to
correct it though!
Hope it works for you...
<P> <hr> <P>
<!--================================================================-->
<a name="inetd"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Any inetd wizards out there?
</font> </H3>
Date: Sat, 17 Jul 1999 08:06:46 -0600
<BR>From: Warren Young <tangent@cyberport.com>
Subject: Re:
<P> Your 2-cent tips column in issue 43 contained an answer to a question
about using inetd to bind a given server to a particular address on a
server with several virtual IPs. While the solution will work if you
just want a given server to work on _one_ of those IPs, you can't, for
example, run two different FTP daemons, each configured differently, and
have inetd choose which ftpd to use depending on the requested IP
address.
<P> The correct answer to the original question is that inetd is not
terribly useful for virtual hosting. Virtual hosting requires servers
that know how to bind to a single IP address on their own. You then run
multiple copies of that server, each configured for a different IP
address.
<P> I suppose it's possible to change inetd to allow what the original
poster wanted, but so far as I know none of the alternative inetds does
this. If you're _really_ interested in this feature, you might want to
join one of the alternative inetd development projects (xinetd looks
closest) and add your feature. There's a pretty good chance that the
regular inetd people won't be interested in your patch because it would
require changes to the inetd.conf file format. xinetd has already
changed that format, so they should be open to other changes.
<P> <hr> <P>
<!--================================================================-->
<a name="big_drives"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">Installing Linux on > 2gb drives
</font> </H3>
Date: Sat, 17 Jul 1999 19:02:09 +0100
<BR>From: "Ray" <rjsinplym@btinternet.com>
<P> Just been browsing the magazine for the first time today and thought I'd
respond to the question of using large hard drives.
<P> It's not a tip just an observation that I've installed Suse 6.0, RH 5.2 and
then RH 6 on a 10.2 gb drive with now problems at all. The linux partition
was on the last 2 GB of the drive, well outside the 2 gb maximum. The RH
manual states that it's down to the bios as regards whether this will work
or not so I would guess that it's possible on the mojority of new(ish) PC's.
Mine is a year & a half old but worked ok.
The only problem I had was that when I tried to compile a new kernel and
update lilo using yast with suse 6 it then reported the error of the kernel
lying outside the 2gb limit.
<P> sincerely<BR>
Ray Smith
<P> <hr> <P>
<!--================================================================-->
<a name="X_start"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">X won't start
</font> </H3>
Date: Sat, 24 Jul 1999 16:54:02 +0200 (CEST)
<BR>From: Roland Smith <rsmith@xs4all.nl>
<P> Concerning your error:
<PRE>
execve failed for /ect/X11/X (errno 2)
</PRE>
<P> Errno 2 means "no such file or directory" (see
/usr/include/asm/errno.h).
<P> The file /etc/X11/X which shoud be a symbolic link to the X server,
does not exist. It implies that your X installation is not complete,
the configuration program has not made the correct link. Most of the
time this is the last thing the configuration program does.
<P> If you know which X server you should use, do the following:
(supposing you use the XF86_S3 server, like I do)
"ln -s /usr/X11R6/bin/XF86_S3 /etc/X11/X"
<P> Now X should start if correctly configured.
<P> Regards, Roland
<P> <hr> <P>
<!--================================================================-->
<a name="fat"></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <font color="navy">FAT Compatibility
</font> </H3>
Date: Mon, 26 Jul 1999 17:31:49 +0200
<BR>From: sleske@filesvr1-cddi.informatik.uni-essen.de (Leske Sebastian)
<P> you sent an e-mail to the Linux Gazette asking about FAT Compatibility:
<BLOCKQUOTE>
At work I have a Linux (Redhat 6.0) workstation and at home I have a
WinnNT machine. What are some good utils that I could use to write to a
disk with a FAT fs under Linux? (I'm assuming that this would be easier
than trying to get NT to read ext2...)
</BLOCKQUOTE>
<P> Maybe I can help here. The Linux kernel has built-in FAT support. All you
need to do is to mount the disk (hard disk or floppy disk, it doesn't really
matter) with a FAT filesystem. Then you will be able to access it just like a
Linux disk.
<P> How you do that depends on your system setup. You could either add an
entry to your /etc/fstab file or mount 'by hand' using the mount
command.
<P> This is explained in detail in the 'DOS-Win-to-Linux-HOWTO', which can be
found at any site of the Linux Documentation Project. A list of
mirrors is at <A HREF=http://metalab.unc.edu/LDP/mirrors.html>
http://metalab.unc.edu/LDP/mirrors.html</A>.
Use any mirror and to go the 'Howto' section.
<P> I hope that helps. I'd be interested to know whether you've been able
to solve your problem, maybe you could send me an email if you've found
your solution. Otherwise, feel free to mail me for more info.
<P> Greetings,<BR>
Sebastian Leske
<P> <hr> <P>
<!--================================================================-->
<center>Published in <I>Linux Gazette</I> Issue 44, August 1999</center>
<P> <hr> <P>
<!--================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Ted, a Rich Text Word Processor</font></H1>
<H4>By <a href="mailto:layers@marktwain.net">Larry Ayers</a></H4>
</center>
<P> <HR> <P>
<center><font color="maroon"><h3>Introduction</font></h3></center>
<p><A HREF=../issue43/ayers.html>Last month</A>
I wrote about the evolving AbiWord word processor. Another similar effort
called Ted is being developed by Mark de Does, a programmer in the Netherlands.
Rather than attempting to emulate the features of the ubiquitous MsWord, Mark
has settled on a more modest goal (but a goal more likely to be achieved by a
single developer): a word processor analogous to WordPad, a small application
bundled with Windows. The idea is to facilitate document exchange with Windows
users, using RTF (Rich Text Format) as the compatible file format. Both
MsWord and WordPad can read RTF documents created with Ted, though for various
familiar reasons the opposite won't always be true. But if you would like to
be able to send documents formatted with your choice of fonts and even
including embedded images and hyperlinks, Ted is well worth trying.
<p>Mark de Does' motivation for starting this project two years ago were
threefold:
<ul>
<li>He wanted to be able to produce documents which would be acceptable in
the administrative and documentation departments of his office workplace.
<li>The ability to write letters with a little more style than straight
ASCII text possesses without needing to boot Windows.
<li>A further motivation was the possibility of writing the Ted
documentation and web-site using Ted.
</ul>
<p>Ted is primarily a one-man project. The graphics and regular-expression
code and the spelling dictionaries were borrowed from other free software
projects, but the bulk of the code is Mark's. Feedback and suggestions from
users have been important; Mark writes:<br>
<blockquote>
Feedback in the form of bug reports and feature requests from users have been
essential for reaching the point where I am now. Though this kind of
contribution is commonly not as highly appreciated as coding work, it might
actually be more important. It keeps our feet on the ground and us from
autistic excursions into pure technology.
</blockquote>
<hr>
<p>
<center><font color="maroon"><h3>Obtaining and Installing Ted</h3>
</font></center>
<p>The Ted <a href="ftp://ftp.nluug.nl/pub/editors/ted">ftp</a> site, hosted
by a Linux user's group when Mark's site was unable to handle the load, is the
place to visit for the latest binary packages as well as source code (Ted is
licensed under the GPL). The binaries are statically linked with the Motif libraries and
are packaged in RPM as well as tar.gz files. Static linking means that it
isn't necessary to have the proprietary Motif libs in order run Ted. I've
found that the source distribution compiles easily using the freely available
Lesstif libraries and headers, and the resulting binary is much smaller due to
its use of local shared libraries. In order to successfully compile Ted you
will also need to have the development packages for the libtiff, libgif, libjpeg,
libpng, and libxpm graphics formats. These should be included on just about
any Linux distribution CD.
<p>After installation you will find the executable, Ted, in /usr/local/bin, a
dictionary file in /usr/local/ind (a three-megabyte binary database derived from the
ispell dictionary), and a sample RTF file (TedDocument.rtf, located in
/usr/local/info) which is simultaneously a demonstration of Ted's capabilities
and a help file. Dictionary files are available for a growing variety of languages.
<p>To get an idea of what Ted can do, try loading the above-mentioned
file in Ted; just type <kbd>Ted /usr/local/info/TedDocument.rtf</kbd> at a
shell prompt.
<p>Here is a screenshot of the first page of this file.:<br>
<p><img alt="Ted Window" src="gx/ayers/ted.gif">
<hr>
<p>Mark maintains a
<a href="http://www.nllgg.nl/Ted">web site</a> devoted to information and news
about Ted.
<hr>
<p>
<center><font color="maroon"><h3>Formatting and Images</h3>
</font></center>
<p>As in most word processors, tab-stops are visible above the text window and
can be adjusted with the mouse. Ted has its own font directory,
<kbd>/usr/local/afm</kbd>, with a few basic Postscript fonts installed. More
fonts can be added, though the procedure sounds a little tricky. In the
<b>Font</b> menu, below items which toggle bold and italic, is an entry which
will invoke the Font Tool, a small separate window which allows changing the
font of a selected region. At first I assumed that setting the font in the
Font Tool window would change the font for subsequently typed text, but it
only works for selected text. The default font is ten point Helvetica; this
can be changed by creating a file in your home directory named <b>Ted</b>. The
following line in this file will cause new documents to use 14 point Times New
Roman rather than Helvetica:<br>
<p>
<kbd>Ted.defaultFont: Times,,,14</kbd>
<p>Tables are well supported. A simple four-cell table can be inserted by
selecting <b>Insert Table</b> from the <b>Table</b> menu; additional rows and
columns can be added using the same menu. The table cells dynamically expand
as they are filled with text. A window called Table Tool can be summoned from
this menu. The Table Tool allows fine-tuning of margins, row and column size,
and style of cell. The cells can be freely expanding (the default) or of a
fixed or minimum size.
<p>The image-insertion capabilities are one of Ted's strong points. Images
in any of the common image formats, including JPEG, GIF, TIFF, and PNG, can be
inserted into a document, then positioned and resized. When a file is saved
in the RTF format, the image is converted to a Windows MetaFile, which is
basically a wrapper for a BMP bitmap image. Save the file as an HTML file and a
copy of the image file is created in a subdirectory of the parent document's
directory. An image link is created which points to the new image file.
There is one disadvantage to RTF documents with images: the files can be very
large. The images within the document are necessarily in a bulky and
uncompressed form. Image-laden files saved as HTML tend to be much smaller.
<p>I tried opening several RTF files including embedded images using MsWord and
they were all displayed properly.
<p>
<hr>
<center><h3><font color="maroon">
Hyperlinks and Bookmarks</font></h3></center>
<p>Another impressive pair of features are the ability to place hyperlinks and
bookmarks in a file. The hyperlinks, either referring to local files or
remote URLs, are set by entering the information in a dialog box. Bookmarks
are defined in a similar manner. If a document is saved as an HTML file these
links become <kbd>"<a ref>"</kbd> or
<kbd>"<a name>"</kbd> HTML tags. These references
can be accessed from a file saved in RTF format by means of the same dialog
boxes used to set them.
<p>The HTML tagging produced by Ted is rather unusual, though Netscape can
interpret it just fine. The intent is for the browser-rendered HTML to
reproduce as accurately as possible a document's appearance in RTF format.
This necessitated extensive use of the <kbd>"<font>"</kbd>
tag, as well as use of the "<div>" tag rather than
"<p>" to separate paragraphs.
<p>
<hr>
<center><h3><font color="maroon">Conclusion</font></h3></center>
<p>Ted should be useful to users communicating with the mainstream
Windows-centric world, but I've found it to be a valuable piece of software in
its own right. Using Ted is an easy way to create nicely-formatted documents
with in-line graphics without having to deal with HTML or LaTeX tagging,
and without needing to fire up a bulky browser in order to view them.
<hr>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Larry Ayers <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">The Graphics Muse</font></H1>
<H4>By <a href="mailto:mjhammel@graphics-muse.org">Michael Hammel</a></H4>
</center>
<P> <HR> <P>
<!-- =============================================================
These pages are designed by Michael J. Hammel. Permission to
use all graphics and other content is granted provided you give
me (or the original authors/artists) credit for the work and this
copyright notice is not removed.
(c)1997, 1998 Michael J. Hammel (mjhammel@graphics-muse.org)
============================================================= !--><!-- The Button box as a client side imagemap --><map NAME="nav-main"><area SHAPE="rect" HREF="#mews" coords="10,10 170,40"><area SHAPE="rect" HREF="#webwonderings" coords="0,55 175,85"><area SHAPE="rect" HREF="#musings" coords="75,115 170,145"><area SHAPE="rect" HREF="#resources" coords="5,170 110,195"></map>
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 NOSAVE >
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP NOSAVE><img SRC="gm/images/gm-logo-3.jpg" height=169 width=400></td>
<td ALIGN=LEFT VALIGN=CENTER NOSAVE>
<br><b><font size=+1>muse:</font></b>
<ol>
<li>
<i><font face="Arial,Helvetica"><font size=-1>v; to become absorbed in
thought </font></font></i></li>
<li>
<i><font face="Arial,Helvetica"><font size=-1>n; [ fr. Any of the nine
sister goddesses of learning and the arts in Greek Mythology ]: a source
of inspiration</font></font></i></li>
</ol>
<center><font size=-2>© 1999 by <a href="mailto:mjhammel@graphics-muse.org">mjh</a></font></center>
</td>
</tr>
</table>
<hr SIZE=1 NOSHADE WIDTH="100%">
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td WIDTH="187" NOSAVE><img SRC="gm/images/muse-image-map.jpg" ALT="Button Bar" USEMAP="#nav-main" height=200 width=185 align=LEFT></td>
<td VALIGN=TOP WIDTH="65%" NOSAVE>
<br><img SRC="gm/images/w.gif" ALT="W" height=28 width=36 align=BOTTOM><font face="Arial,Helvetica"><font size=-1>elcome
to the Graphics Muse! Why a "muse"? Well, except for the sisters aspect,
the above definitions are pretty much the way I'd describe my own interest
in computer graphics: it keeps me deep in thought and it is a daily source
of inspiration. </font></font>
<center>
<p><font face="Arial,Helvetica"><font size=-1>[<a href="#mews">Graphics
Mews</a>][<a href="#webwonderings">WebWonderings</a>][<a href="#musings">Musings</a>][<a href="#rsrc">Resources</a>]</font></font>
<p><a href="http://www.clbooks.com/home.html?from=CJK692"><img SRC="gm/images/cla_small.gif" VSPACE=5 BORDER=0 height=60 width=234 align=CENTER></a></center>
<img SRC="gm/images/t.gif" ALT="T" height=28 width=26><font face="Arial,Helvetica"><font size=-1>his
column is dedicated to the use, creation, distribution, and discussion
of computer graphics tools for Linux systems.</font></font></td>
</tr>
</table>
<p><font face="Arial,Helvetica"><font size=-1>This month is a slightly
abbreviated version of the Muse. Although I do have a decent discussion
in Web Wonderings, I didn't have time for any of my normal Musings.
That means there won't be any discussion on 3D Modellers as I had planned.
I'm going to work with Ivan Reyes over at LinuxArtist.org to try to bring
that discussion to you in September.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Things are very busy right
now. I'm chairing a committee which is planning a Linux expo in Colorado
next year and I just started my own business. That latter bit of
news will become more apparent to my regular readers in the fairly near
future. In fact, because of the work I'm doing to get my business
started, there won't be any Graphics Muse column next month. Sorry,
but I need to find a way to pay the bills. Even I can't go more than
a year without a job.</font></font>
<br>
<table BORDER=0 COLS=2 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP NOSAVE><font face="Arial,Helvetica"><font size=-1>In
this months column you'll find:</font></font>
<ul>
<li>
<font face="Arial,Helvetica"><font size=-1>Cataloging and Clipping - a
discussion on automated gathering of online data.</font></font></li>
</ul>
<center><table BORDER=0 CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td ALIGN=CENTER NOSAVE>
<br><a href="http://www.thegimp.com"><img SRC="gm/images/gc-ad.gif" BORDER=0 height=46 width=221></a>
<center><font face="Arial,Helvetica"><font size=-1>The companion site to</font></font>
<br><font face="Arial,Helvetica"><font size=-1><font color="#408AB4">The
Artists' Guide To The Gimp</font>.</font></font>
<br><font face="Arial,Helvetica"><font size=-1>edited by</font></font></center>
<font face="Arial,Helvetica"><font size=-1>The Graphics Muse - <b><font color="#993300">Michael
J. Hammel</font></b>.</font></font></td>
</tr>
</table></center>
</td>
<td ALIGN=CENTER VALIGN=CENTER WIDTH="220" NOSAVE>
<table BORDER=0 CELLSPACING=0 CELLPADDING=4 COLS=1 NOSAVE >
<tr NOSAVE>
<td ALIGN=CENTER VALIGN=CENTER WIDTH="219" NOSAVE><img SRC="gm/images/artistsguide.jpg" height=140 width=110></td>
</tr>
<tr NOSAVE>
<td NOSAVE><b><i><font face="Arial,Helvetica">The Artists' Guide to the
Gimp</font></i></b>
<br><font face="Arial,Helvetica"><font size=-1>Available online from <a href="http://www.clbooks.com/home.html?from=CJK692">Fatbrain</a>,
<a href="http://www.softpro.com/softpro/1-57831-011-3.html">SoftPro
Books</a> and <a href="http://search.borders.com/fcgi-bin/db2www/search/search.d2w/Details?&mediaType=Book&prodID=51315727">Borders
Books</a>. In Denver, try the <a href="http://www.tatteredcover.com/cgi-bin/bookfind.pl?lit_ttl=Gimp&Id=733947.13300&refer=list&page=book&isbn=1-57831-011-3&str=1">Tattered
Cover Book Store.</a></font></font></td>
</tr>
</table>
</td>
</tr>
</table>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="mews"></a><img SRC="gm/images/mews.jpg" height=50 width=245>
<table BORDER=0 COLS=3 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP WIDTH="140" NOSAVE>
<table BORDER CELLSPACING=0 CELLPADDING=2 COLS=1 WIDTH="100%" HEIGHT="100%" BGCOLOR="#FE992B" NOSAVE >
<tr>
<td><b><font face="Arial,Helvetica"><font size=-1>Other Announcements:</font></font></b></td>
</tr>
<tr>
<td> <font face="Arial,Helvetica"><font size=-1><a href="mews.html#AutoTrace">AutoTrace</a> </font></font></td>
</tr>
<tr>
<td><font face="Arial,Helvetica"><font size=-1> <a href="mews.html#Panorama Tools 1.8b1 for Mac/Win/Linux">Panorama
Tools 1.8b1 for Mac/Win/Linux</a> </font></font></td>
</tr>
<tr NOSAVE>
<td NOSAVE><font face="Arial,Helvetica"><font size=-1> <a href="mews.html#Joffer's Linux Guide to new graphics card is back! Bigger and b">Joffer's
Linux Guide to new graphics card is back!</a> </font></font></td>
</tr>
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP NOSAVE><font face="Arial,Helvetica"><font size=-1> <a href="mews.html#New Quick Mask Tutorial for the Gimp">New
Quick Mask Tutorial for the Gimp</a> </font></font></td>
</tr>
<tr NOSAVE>
<td NOSAVE><font face="Arial,Helvetica"><font size=-1> <a href="mews.html#GIMP 1.1.7">GIMP
1.1.7</a> </font></font></td>
</tr>
<tr NOSAVE>
<td ALIGN=CENTER NOSAVE><font face="Arial,Helvetica"><font size=-1><
<a href="mews.html">More
Mews</a> ></font></font></td>
</tr>
</table>
</td>
<td WIDTH="1" NOSAVE></td>
<td ALIGN=LEFT VALIGN=TOP NOSAVE>
<table BORDER=0 CELLSPACING=0 CELLPADDING=3 COLS=1 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td NOSAVE><font face="Arial,Helvetica"><font size=-1><b>Disclaimer</b>:
Before I get too far into this I should note that any of the news items
I post in this section are just that - news. Either I happened to run across
them via some mailing list I was on, via some Usenet newsgroup, or via
email from someone. I'm not necessarily endorsing these products (some
of which may be commercial), I'm just letting you know I'd heard about
them in the past month.</font></font>
<center><a href="http://www.graphics-muse.org/xnotes/xnotes.html"><img SRC="gm/images/xnotesplus-logo.jpg" BORDER=0 height=50 width=306></a></center>
</td>
</tr>
<tr>
<td>
<hr NOSHADE WIDTH="100%"></td>
</tr>
</table>
<b><font face="Arial,Helvetica"><font size=+1>gd library pulled from circulation</font></font></b>
<p><font face="Arial,Helvetica"><font size=-1><a href="http://www.boutell.com/gd/">http://www.boutell.com/gd/</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The gd library has been temporarily
removed from circulation. We will at some future date, make a new version
available that either (a) does not contain any GIF-related code or (b)
is offered only to parties holding a license from Unisys to use the LZW
compression algorithm. </font></font></td>
</tr>
</table>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>Apple Open Source QuickTime
Streaming Server Now Supports Linux</font></font></b>
<br><font face="Arial,Helvetica"><font size=-1>From NewsAlert</font></font>
<p><font face="Arial,Helvetica"><font size=-1>The Apple Open Source Streaming
Server code has been updated to support Linux on Intel-based systems. Developers
can now create Linux-based streaming server products without making additional
modifications to the source code.</font></font>
<p><font face="Arial,Helvetica"><font size=-1><a href="http://www.newsalert.com/bin/story?StoryId=Cn4lqWbWbu0zxmdCX&FQ=Linux&SymHdl=1&Nav=na-search-&StoryTitle=Linux">Full
story</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>SGI Announces Project
Mongoose: IRIS Performer for Linux</font></font></b>
<p><font face="Arial,Helvetica"><font size=-1>We've been hinting that something
big is on the horizon -- and if you haven't already heard the buzz
that's swept through the IMAGE conference, have we got something exciting
to tell you!</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Yesterday, SGI announced
that work is underway to make IRIS Performer available for the Linux platform.
The project (codenamed 'Mongoose') is based on the existing IRIS Performer
API and targeted for release before the end of 1999. Results are already
<i>very</i>
promising.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>We anticipate you'll have
many questions about availability, platforms, compatability, distribution,
beta copies, etc -- we'll announce more details during the Friends of Performer
meeting at SIGGRAPH.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>For comments, feedback, or
question you'd like addressed at the meeting please send email to mongoose-feedback@corp.sgi.com.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>See you at SIGGRAPH!</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Allan</font></font>
<br><font face="Arial,Helvetica"><font size=-1>----</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Allan Schaffer allan@sgi.com</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Silicon Graphics <a href="http://reality.sgi.com/allan">http://reality.sgi.com/allan</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1><a href="http://reality.sgi.com/performer/perf-99-07/0103.html">http://reality.sgi.com/performer/perf-99-07/0103.html</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>Easy Software Products
Releases ESP Print Pro Beta 1</font></font></b><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Hollywood, MD (July 16, 1999)
-- Easy Software Products today announced the first beta release of ESP
Print Pro, a completely new printing solution for UNIX®. The
new product is based on the company's Common UNIX Printing System technology
and supports Digital UNIX, HP-UX, IRIX, Linux, and Solaris.</font></font><font face="Arial,Helvetica"><font size=-1><a href="http://www.cs.helsinki.fi/~mjrauhal/linux/cola.archive/1999-07/mjr.1999-07-22.006"></a></font></font>
<p><font face="Arial,Helvetica"><font size=-1><a href="http://www.cs.helsinki.fi/~mjrauhal/linux/cola.archive/1999-07/mjr.1999-07-22.006">comp.os.linux.announce
posting</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>COMPUTER GRAPHICS FORUM</font></font></b>
<p><font face="Arial,Helvetica"><font size=-1>COMPUTER GRAPHICS FORUM is
the journal of Eurographics, the European Association for Computer Graphics.
Each year we have the opportunity to change the picture appearing on the
cover of the journal. We therefore organize a competition for a new cover
picture. The first prize winner gets 300 Swiss Francs, but the biggest
prize is of course the fact that your picture will appear on all the 2000
issues, including the conference issue.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>IT IS SUFFICIENT TO SEND
IN IMAGES VIA EMAIL AS ATTACHMENTS, OR TO UPLOAD THE IMAGE(S) VIA ANONYMOUS
FTP TO: ftp.cwi.nl/incoming/CC99</font></font>
<p><font face="Arial,Helvetica"><font size=-1>To give you an idea what
we are looking for, visit our Web page, <a href="http://www.cwi.nl/~behr/Covercompetition.html">http://www.cwi.nl/~behr/Covercompetition.html.</a>
This page also gives you the information about this competition.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Apart from sending in images
via email, or uploading them to our ftp-site, you can also send mounted
slides, or drawn or scanned images, to the address below.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Information about EUROGRAPHICS
can be found at: <a href="http://www.eg.org/">http://www.eg.org/</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Prize Coordinator:</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Behr de Ruiter</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Centre for Mathematics and
Computer Science</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Kruislaan 413</font></font>
<br><font face="Arial,Helvetica"><font size=-1>1098 SJ Amsterdam</font></font>
<br><font face="Arial,Helvetica"><font size=-1>The Netherlands</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Email: <a href="mailto:behr@cwi.nl">behr@cwi.nl</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>Blender News</font></font></b>
<br><font face="Arial,Helvetica"><font size=-1>July 2, 1999</font></font>
<p><font face="Arial,Helvetica"><font size=-1>- Free T shirts!</font></font>
<br><font face="Arial,Helvetica"><font size=-1>NaN celebrates its first
anniversary by giving a free Blender shirt with every C-key purchase in
july. Thanks to the support of the growing Blender community it was
an exciting first year! With the Siggraph exhibition in august I expect
to gain serious interest by the international computer graphics community.
A good start for the 2nd NaN year...</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.blender.nl/shop/">http://www.blender.nl/shop/</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Blender 1.65 out</font></font>
<ul>
<li>
<font face="Arial,Helvetica"><font size=-1>First h/w Accellerated Mesa
version for Linux! (Riva TNT only)</font></font></li>
<li>
<font face="Arial,Helvetica"><font size=-1>Text editor window in Blender</font></font></li>
<li>
<font face="Arial,Helvetica"><font size=-1>EditMode Mesh now allows solid
drawmode</font></font></li>
<li>
<font face="Arial,Helvetica"><font size=-1>Lamps can have square spot bundles</font></font></li>
<li>
<font face="Arial,Helvetica"><font size=-1>And lots and lots of bugfixes.</font></font></li>
</ul>
<font face="Arial,Helvetica"><font size=-1>Check the changelog: <a href="http://www.blender.nl/stuff/blenderbeta.html">http://www.blender.nl/stuff/blenderbeta.html</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>- Plugins freeware</font></font>
<br><font face="Arial,Helvetica"><font size=-1>As promised, some of the
C-key features will be freed after a period. We start with releasing
the plugin development kit in the 2nd half of august.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>- Python scripting</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Because of Siggraph preparations
and holidays the Python release is postponed a month. The Python
interface is shaping up quit well. We didn't expect it to be so powerful!
When things work out as expected this system acts as a true API and outperforms
a traditional plugin-API completely. And best of all: scripts are
cross-platform and in their nature 'open source'.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>-Ton-</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.blender.nl">http://www.blender.nl</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="mailto:info@blender.nl">info@blender.nl</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>Xi Graphics Announces
latest version of maXimum cde</font></font></b>
<p><font face="Arial,Helvetica"><font size=-1>In an effort to help the
Linux operating system break into the mainstream corporate computer market,
a Denver-based company is packaging the free operating system with a commercial
quality GUI, or graphical user interface.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>With its new maXimum(TM)
cde for Linux, Xi Graphics, Inc. (www.xig.com) is offering Linux desktop
and laptop users a powerful graphical user interface -- one that's already
an industry standard for UNIX workstations offered by IBM, HP, Digital,
Sun and others. The fully integrated package includes Motif and CDE built
on the Accelerated-X Display Server and running on the Linux operating
system.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Xi Graphics has also completed
updates adding new desktop support for the Matrox G400, 3dfx/STB Voodoo3-2000
and 3000, the Diamond Viper 770 Ultra (nVidia Riva TNT2) and Diamond viper
550 (TNT) and adding the portable computers HP Omnibook XE, Hitachi M120D,
CTX EZBook 700G. <a href="http://www.cs.helsinki.fi/~mjrauhal/linux/cola.archive/1999-07/mjr.1999-07-15.009">comp.os.linux.announce
posting</a></font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1><a href="http://www.xig.com">http://www.xig.com</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><b><font face="Arial,Helvetica"><font size=+1>New Site: Linux Video
and DVD project</font></font></b>
<br><font face="Arial,Helvetica"><font size=-1> Jul 15, 1999,
13:14 UTC</font></font>
<br><font face="Arial,Helvetica"><font size=-1>From LinuxToday</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Thanks to Matthew R. Pavlovich
for this announcement.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>The goal is to bring support
for video capture, tv out and dvd playback to Linux. The primary focus
will be with Matrox products, but as the project grows, so will the supported
hardware. The Marvel, Rainbow Runner, TV Tuner and DVD module are
all prime targets.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>First order of business will
be the DVD support, because we have docs and its the coolest. Also
on this site, there is very pre-alpha work being done for the MJPEG encoder
found on the Matrox Marvel and Rainbow Runner. Its in cvs, module mgavideo.
It is the same chipset found on the LM33 module, so a lot of the driver
can be reused.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>I need lots of help. If you
want to contribute, please contact me.</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://livid.on.openprojects.net/">http://livid.on.openprojects.net/</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<p><!--
-- Did You Know Section
-->
<h2>
Did You Know?</h2>
<blockquote><font face="Arial,Helvetica"><font size=-1>...there is a web
site for AC3D Users? For more information, to a look at <a href="http://www.eilers.net/ac3d/">http://www.eilers.net/ac3d/</a>.
The page is sponsored by Hartmut Eilers and includes a mailing list.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>...there is a Perl module
for generating 3D Pie charts? Look on the <a href="http://www.perl.com">CPAN</a>
mirrors for "ThreeD-Chart".</font></font></blockquote>
<!--
-- Q and A Section
--><font face="Arial,Helvetica"><font size=-1></font></font>
<p>
<hr SIZE=1 NOSHADE WIDTH="100%">
<h2>
Reader Mail</h2>
<font face="Arial,Helvetica"><font size=-1><a href="jarios@erin.cem.itesm.mx">Ariel
Rios Osorio</a> wrote:</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>I'm working in a
web editor called galway that includes support for script-fu. I think
this is the only tool available for this purpose. It is programmed using
guile scheme. Please take a look. Suggestions are welcome!</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://erin.netpedia.net">http://erin.netpedia.net</a></font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
Ok, I'll post it in the Muse.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>By the way, besides
Structure and Interpretation of Computer Programs, there other great Scheme
books that I recommend to you, The Scheme Programming Language by Dybvig,
the Little Schemer, the Season Schemer.</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse: </font></b>
I had a few other emails regarding this subject. I've posted the
information I received in TheGimp.com's Tips and Tricks section, under
"Useful Printed Texts."</font></font>
<p><font face="Arial,Helvetica"><font size=-1>John Vincent <<a href="mailto:john@lusis.org">john@lusis.org</a>>
wrote</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>I've been reading
your column since LG started publishing it. I also have your GIMP book
which is great. I wanted to make a comment about video formats that you
may not have been aware of. Newer sites that have quicktime movies are
probably using QT4. This codec isnt supported under linux yet. The java
version of the player from apple won't even run under linux. This was a
highly debated subject on slashdot when the 2nd starwars trailer came out.
Slashdot being a community of mostly linux users, as you know, were hunting
for formats that could be read under linux. Just thought I would pass that
tidbit on. Thanks for all the great articles and all the great work.</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1>Similarly, Moritz Bunkus <<a href="mailto:m.bunkus@tu-bs.de">m.bunkus@tu-bs.de</a>>
wrote:</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>Quite good article
about playing video files. Just one remark.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>You said you weren't able
to find videos which xanim wasn't able to play. Unfortunately one rather
popular movie, the second Star Wars - Episode 1 trailer, comes in Quicktime
format and uses a Sorensen codec which is not supported by xanim.</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.starwars.com/episode-i/news/trailer/index.html">http://www.starwars.com/episode-i/news/trailer/index.html</a></font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse: </font></b>
Thanks for the feedback. I'd heard about this but until Moritz passed
me the URL I hadn't seen the trailer. I didn't try this trailer,
however, since it's a 14Mb download and my littl'e 28.8 throughput just
can't deal with it while I'm working on other things. Maybe I'll
start the download one night before going to bed.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Cort <<a href="mailto:ccww@cyberway.com.sg">ccww@cyberway.com.sg</a>>
wrote</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>It's probably not
very important, but in your review of MpegTV you did not mention that the
command line version (mtvp) is freeware. Also, the SDL library does
not have to really be in /usr/X11R6/lib, a symbolic link works fine on
my system.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>As for playing VCD, I use</font></font>
<blockquote><tt><font size=-1>xreadvcd | mtvp -ac0 -aq2 -</font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>but some VCD requires</font></font>
<blockquote><tt><font size=-1>xreadvcd -a 1 | mtvp -ac0 -aq2 -</font></tt></blockquote>
</blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
The symbollic link didn't seem to work on my box, but maybe I didn't set
things up quite right. I install quite a bit of stuff on my box,
so it's not hard to imagine I got something wrong. As for these other
options for playing VCD's, they still don't work for me. I can't
seem to get mtv, with or without xreadvcd, to play these disks. Too
bad. I'd love to see what's on this Sheryl Crow CD I have.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Lorenzo Del Pace <<a href="mailto:pa0214@panservice.it">pa0214@panservice.it</a>>
wrote in with this important question:</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>My name is Lorenzo,
and I am italian. I read with much pleasure and interest the articles
of The Muse, appreciating them very much.</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
I'm glad you find them useful.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>But now, I have
a question, and I hope that you can answer it: I read on this month's Linux
Gazette that you use a pretty old SVGA (a Mystique) along with a Commercial
X server.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>I wonder wether is the case,
for the medium Linux user as I am, to buy a good graphics card (such as
the TNT fron nVidia, with OpenGL hardware support), or to spend my money
for a commercial X server, given tyhe fact that I cannot afford them both!</font></font>
<p><font face="Arial,Helvetica"><font size=-1>This is not a silly question
for me, for I am still a bit confused on when is good (or even necessary)
sacrifice some money to get commrcial products for Linux and when it is
not.</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse: </font></b>
That is a good question. The simple answer is actually a question:
what do you need to do with your computer? What you plan on doing
with your computer will determine what you need to spend money on.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>If you can only spend money
on the hardware OR the software (but not both), and you <i>REALLY</i> need
3D graphics, then spend the money on the video card. But, do you
<i>REALLY</i>
need 3D graphics? What tools do you use that require it? Are
you doing graphics development? Is it 3D graphics development and
do you have to have a 3D, interactive modeller (like Side Effects Houdini)?
The only other big need for 3D graphics are games, and right now there
aren't many that require 3D video cards for Linux.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>This curiosity has
arisen in me reading your article: you must be a professional (?) graphics
user, so before making your choice you must surely have evaluated the variuos
opportunities.</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1>'Muse: My purchase decisions
are based on two things: what do I need to do right now, and what will
benefit me in the long term. I spend more up front for hardware in
the expectation that the extra expense will allow me to use that hardware
for a longer period (thus I won't have to keep upgrading hardware every
few months or even every year). I spend less up front for software
because my software needs vary fairly often. Thus, I spent more money
for the Matrox Mystique a few years back, and it's still working quite
well 2 years layer.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>May I ask you what
do you really think of Commercial X Servers (like the ones of Xi Graphics),
and to whom you'd suggest one?</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
I recommend end users buy low end video cards and spend the extra cash
on a commercial X server. I've used XFree86 servers but was not satisfied
with their quality. Take that with a grain of salt, of course.
It's been 2 years since I've used XFree86 with anything other than my Matrox
Mystique. However, I tried the SVGA server from XFree86 last year
in order to make use of it's support for XInput (so I could use my drawing
tablet), but it produced some artifacts on my display, enough that I finally
decided to go back to my AcceleratedX server and forget about the drawing
tablet for now. I've heard Xi has added better tablet support in
their latest releases, but I don't have a copy of that so can't say if
it's any better than the version I have now (which doesn't support X Input
for use with the Gimp at all).</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Most end users have no need
for 3D - even most games on Linux don't make use of hardware acceleration
yet. If you're not doing 3D work, then you just need a fairly fast
2D card, and most of the cards available today handle 2D drawing quite
well. Spend a little extra on extra memory on the card so that you
can have high resolution running with a Truecolor visual (ie 16 million
colors).</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Of course, high end users
- like the folks at Digital Domain trying to do effects for films - really
do need that hardware acceleration. I don't often get asked by those
folks what I recommend. They know what they need, and are even in
a position to help push the advancement of 3D support for Linux better
than I am.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>As to which commercial X
server, I'd recommend Xi Graphics. There are only 2 commercial X
servers for Linux currently: Xi and Metro Link. Metro Link's
servers are fairly good, but I wasn't impressed with their installation
tool. X servers are a strange bit of software - end users only deal
with them once and seldom have to muck with them after that. So the
installation tool is one of the most visible aspects of the product.
Being able to select a video card or monitor by name makes life easy.
All of the X server configuration tools (including XFree86) allow this,
but I like Xi Graphics the most. I especially like the text based
installation tool - none of the X based tools (for any of the X server
vendors) is very easy to use.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Still, the decision on which
to use should depend on how well that product supports your hardware.
You need to be able to try it out - both Xi Graphics and Metro Link allow
you to try demos of the server to see if it will work with your hardware.
But you should also check to make sure they have money back guarantees
that extend at least 30 days beyond the date of purchase - preferrably
60 days. Sometimes it may take a while to find strange behaviours
in the server until you get the right combination of applications running
at the same time.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>This would be an
important answer for me, and still an important one for the Italian *.comp.linux
newsgroup, that usually gets involved in discussions of this kind, but
without any owner of a commercial server...</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
To my knowledge, none of the X server vendors have any native italian speakers
working for them. Metro Link and Xi Graphics are mostly english speaking
(although Thomas Roell at Xi is German). I'm not sure about XFree86,
since
they have developers from many parts of the world involved in their project.
It might just be that none of them has time to follow newsgroups anymore.
I know I don't.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>Thank you in advance,
and excuse me for my intrusion in your mailbox.</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
No problem. It's no intrusion. You ask a very important question
that I'm sure many of my readers have also wondered about.</font></font>
<blockquote><font face="Arial,Helvetica"><font size=-1>With best wishes
and compliments for your work,</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Yours</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Lorenzo Del Pace</font></font>
<p><font face="Arial,Helvetica"><font size=-1>P.S.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>The "News" part of the Muse's
columns is fantastic: lots of people (me too) have discovered products
freely available they only dreamt of before!</font></font></blockquote>
<font face="Arial,Helvetica"><font size=-1><b><font color="#993300">'Muse:</font></b>
I'm glad you find it useful. You should also keep an eye out to <a href="http://freshmeat.net">freshmeat.net</a>.
That's where I pick up many of the announcements I post in the Muse.</font></font>
<p>
<hr NOSHADE WIDTH="100%">
<br><a NAME="webwonderings"></a><img SRC="gm/images/webwonderings.jpg" height=57 width=246>
<h2>
Cataloging and Clipping - gathering online data</h2>
<font face="Arial,Helvetica"><font size=-1>One of the projects I've been
working on lately has had to do with gathering information from the Web.
At first glance the information can seem difficult to collect - so many
different pages with so many formats. How does someone make sense
of all that data, especially when it's wrapped inside the sometimes incomprehensible
world of HTML?</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Well, that was my dilemma
originally. I knew that many of the popular Linux sites (freshmeat
and slashdot, for example) have much of their data in standard text files
that can be parsed manually. And I knew that there were some tools
available for parsing those files. Perhaps those tools could be extended
for parsing Web pages. So, my first step was to start looking for
these site-specific tools over at Freshmeat.net.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Most of the tools at freshmeat
were perl or python scripts, and many were capable of processing various
popular sites. The tools included names like sitescooper, pagesucker,
as-news, etc. One wonders what people drink before naming their projects.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>One of the tools I found
was called <a href="http://www.cs.virginia.edu/~dwc3q/code/DailyUpdate/">DailyUpdate</a>,
a perl based parsing system. DailyUpdate was originally a free package
but now has been renamed <a href="http://www.newsclipper.com/">NewsClipper</a>,
a commercial open source product. The product's open source version
is free, with personal versions running $29.95US and corporate versions
running $299US.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>NewsClipper is rather slick.
It's a perl script that makes use of a series of existing Perl modules
(the complete list of dependencies is provided in the README and can be
downloaded via the <a href="#Downloading from CPAN:">automated CPAN archives</a>).
A template file is created of an HTML output file that includes NewsClipper
command embedded in HTML comments. NewsClipper reads the commands,
fetches and parses the specified sites on the Internet and replaces the
commands with appropriate HTML in an output file. You can specify
the name of the input template and output HTML files on the command
line as well as have NewsClipper download updates to any existing handlers
you might have that have recently been updated.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The trick to NewsClipper
is it's use of three types of handlers: acquisition, general, and
output. There are over 190 handlers available from the NewsClipper
site. Handlers are just perl scripts that filter the data either
as it is retrieved from the remote site, after it's been retrieved but
before output to HTML, or as it's being output. By far the majority
of handlers are written for acquisition - the retrieval of data from Web
sites. A few stock general and output handlers are provided as well.
As you'll see, I was able to use these latter filters without modification,
allowing me to focus on the acquistion filters completely.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>[ <a href="webwonderings.html">More
Web Wonderings</a> ]</font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="Downloading from CPAN:"></a><b><font face="Arial,Helvetica">Downloading
from CPAN:</font></b>
<br><font face="Arial,Helvetica"><font color="#000000"><font size=-1>One
of the interesting things I learned while playing with NewsClipper was
how easy it is to update my Perl modules. In order to link NewsClipper
to a database, I installed <a href="http://www.hughes.com.au">mSQL</a>.
In the book, <i>Official Guide to MiniSQL 2.0,</i> by Brain Jepson and
David J. Hughes there is a chapter on using mSQL with Perl.
Here I found the little pearl which made updating my Perl modules a breeze.
I simply run</font></font></font>
<blockquote><font face="Arial,Helvetica"><font color="#000000"><font size=-1>%
perl -MCPAN -e SHELL</font></font></font></blockquote>
<font face="Arial,Helvetica"><font color="#000000"><font size=-1>and I
get into a shell hooked to the CPAN archives. I can then just
run</font></font></font>
<blockquote><font face="Arial,Helvetica"><font color="#000000"><font size=-1>cpan>
install <module></font></font></font></blockquote>
<font face="Arial,Helvetica"><font color="#000000"><font size=-1>where
<module> is the name of the module you want to install. What's
really nice is that any prerequisite packages are also installed.
There are cases where you might not want to install the prerequisites (none
came up when working with NewsClipper or mSQL, however), but for most cases
this little trick will be a real time saver. If you use this, be
sure you're logged in as a user who has write permissions to the directories
where existing Perl modules are installed. Normally, this would be
the root user. I did wonder if running this as a root user with a
connection across the Internet was a possible security violation for my
local system, but since I don't do it often I didn't worry about it.</font></font></font>
<br>
<hr NOSHADE WIDTH="100%">
<p><a NAME="musings"></a>
<table BORDER=0 CELLSPACING=0 CELLPADDING=3 COLS=2 NOSAVE >
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP WIDTH="245" NOSAVE><img SRC="gm/images/musings.jpg" height=50 width=245></td>
<td NOSAVE></td>
</tr>
</table>
<h2>
<font face="Arial,Helvetica">No Musings this month.</font></h2>
<font face="Arial,Helvetica"><font size=-1>Those two big projects I'm working
on are taking quite a bit of my time these days. I'll have the 3D
Modellers review soon. But be prepared - major changes are coming
to the Muse!</font></font>
<br>
<table BORDER=0 COLS=1 WIDTH="100%" BGCOLOR="#000000" NOSAVE >
<tr NOSAVE>
<td NOSAVE><img SRC="apr98/images/cleardot.gif" height=2 width=2></td>
</tr>
</table>
<a NAME="rsrc"></a><img SRC="gm/images/resources.jpg" height=50 width=245>
<br><font face="Arial,Helvetica"><font size=-1>The following links are
just starting points for finding more information about computer graphics
and multimedia in general for Linux systems. If you have some application
specific information for me, I'll add them to my other pages or you can
contact the maintainer of some other web site. I'll consider adding other
general references here, but application or site specific information needs
to go into one of the following general references and not listed here.</font></font>
<br>
<table BORDER=0 COLS=2 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td NOSAVE><font face="Arial,Helvetica"><font size=-1>Online Magazines
and News sources </font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.news.com/">C|Net
Tech News</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.eklektix.com/lwn/">Linux
Weekly News</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.linuxtoday.com">Linux
Today</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://slashdot.org/">Slashdot.org</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://TheGimp.com">TheGimp.com</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>General Web Sites </font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.graphics-muse.org/linux.html">Linux
Graphics</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.bright.net/~dlphilp/linux_soundapps.html">Linux
Sound/Midi Page</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://LinuxArtist.org">Linux
Artist.org</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Some of the Mailing Lists
and Newsgroups I keep an eye on and where I get much of the information
in this column </font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.gimp.org">The
Gimp User and Gimp Developer Mailing Lists</a>. </font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.irtc.org">The
IRTC-L discussion list</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="news:comp.graphics.rendering.raytracing">comp.graphics.rendering.raytracing</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="news:comp.graphics.rendering.renderman">comp.graphics.rendering.renderman</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="news:comp.graphics.api.opengl">comp.graphics.api.opengl</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="news:comp.os.linux.announce">comp.os.linux.announce</a></font></font></td>
<td><img SRC="gm/images/gmuse-2.jpg" HSPACE=10 BORDER=2 height=248 width=200></td>
</tr>
</table>
<a NAME="future"></a>
<h2>
Future Directions</h2>
<font face="Arial,Helvetica"><font size=-1>Next month: No Muse next
month. But expect some big changes in the near future!</font></font>
<p><font face="Arial,Helvetica"><font size=-1><a href="mailto:mjhammel@graphics-muse.org">Let
me know what you'd like to hear about!</a></font></font>
<br>
<hr NOSHADE WIDTH="100%">
<div align=right><font face="Arial,Helvetica"><font size=-1>© 1999
<a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></font></div>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Michael Hammel <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<!-- =============================================================
These pages are designed by Michael J. Hammel. Permission to
use all graphics and other content is granted provided you give
me (or the original authors/artists) credit for the work and this
copyright notice is not removed.
(c)1997, 1998 Michael J. Hammel (mjhammel@graphics-muse.org)
============================================================= !-->
<br><img SRC="gm/images/mews.jpg" height=50 width=245>
<table WIDTH="100%" >
<tr>
<td ALIGN=RIGHT WIDTH="100%"><font size=-2>© 1999 <a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></td>
</tr>
<tr>
<td VALIGN=TOP BGCOLOR="#000000" cellpadding="0" cellspacing="0"><img SRC="gm/images/cleardot.gif" ALT="indent" align=LEFT></td>
</tr>
</table>
<table BORDER=0 COLS=3 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP WIDTH="140" NOSAVE><font face="Arial,Helvetica"><font size=-1></font></font>
<table BORDER CELLSPACING=0 CELLPADDING=2 COLS=1 WIDTH="100%" HEIGHT="100%" BGCOLOR="#FE992B" NOSAVE >
<tr>
<td><font face="Arial,Helvetica"><font size=-1><a href="#AutoTrace">AutoTrace</a></font></font></td>
</tr>
<tr>
<td><font face="Arial,Helvetica"><font size=-1><a href="#Panorama Tools 1.8b1 for Mac/Win/Linux">Panorama
Tools 1.8b1 for Mac/Win/Linux</a></font></font></td>
</tr>
<tr NOSAVE>
<td NOSAVE><font face="Arial,Helvetica"><font size=-1> <a href="#Joffer's Linux Guide to new graphics card is back! Bigger and b">Joffer's
Linux Guide to new graphics card is back! Bigger and b</a></font></font></td>
</tr>
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP NOSAVE><font face="Arial,Helvetica"><font size=-1> <a href="#New Quick Mask Tutorial for the Gimp">New
Quick Mask Tutorial for the Gimp</a></font></font></td>
</tr>
<tr>
<td><font face="Arial,Helvetica"><font size=-1> <a href="#GIMP 1.1.7">GIMP
1.1.7</a> </font></font></td>
</tr>
</table>
</td>
<td WIDTH="1" NOSAVE></td>
<td ALIGN=LEFT VALIGN=TOP NOSAVE>
<table BORDER=0 CELLSPACING=0 CELLPADDING=3 COLS=1 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td NOSAVE><font face="Arial,Helvetica"><font size=-1><b>Disclaimer</b>:
Before I get too far into this I should note that any of the news items
I post in this section are just that - news. Either I happened to run across
them via some mailing list I was on, via some Usenet newsgroup, or via
email from someone. I'm not necessarily endorsing these products (some
of which may be commercial), I'm just letting you know I'd heard about
them in the past month.</font></font></td>
</tr>
<tr>
<td>
<hr NOSHADE WIDTH="100%"></td>
</tr>
</table>
</td>
</tr>
</table>
<p>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="AutoTrace"></a><b><font face="Arial,Helvetica"><font size=+1>AutoTrace</font></font></b>
<br><font face="Arial,Helvetica"><font size=-1>This project is for converting
images to vector graphics. Currently I created a plugin for GIMP (www.gimp.org)
to do this. It is in a very early stage and most of the code is still missing.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>AutoTrace transformation
plug-in (Alpha Version 0.025)</font></font>
<br><font face="Arial,Helvetica"><font size=-1>Marting.Weber</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="mailto:Marting.Weber@Allianz.De">Marting.Weber@Allianz.De</a></font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://homepages.go.com/~martweb/AutoTrace.htm">http://homepages.go.com/~martweb/AutoTrace.htm</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="Panorama Tools 1.8b1 for Mac/Win/Linux"></a><b><font face="Arial,Helvetica"><font size=+1>Panorama
Tools 1.8b1 for Mac/Win/Linux</font></font></b>
<p><font face="Arial,Helvetica"><font size=-1>A new very high quality interpolator
(Lanczos windowed sinc) has been added. The program can now also be used
for high quality general image manipulations (enlargements, rotations,
skewing etc). The existing standard interpolator (Polynomial) has been
reworked to closely resemble the bicubic interpolator of Photoshop. A comparison
with test images is available at my site: <a href="http://www.fh-furtwangen.de/~dersch/interpolator/interpolator.html">http://www.fh-furtwangen.de/~dersch/interpolator/interpolator.html</a></font></font>
<p><font face="Arial,Helvetica"><font size=-1>A gamma/degamma correction
algorithm with settable gamma value is included. This allows the user to
internally linearize the images prior to transformation, and later automatically
gamma-correct them again.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>The Gimp version is now compiled
with the current gtk-version 1.2.3, and runs under the current stable Gimp
release 1.0.4. Also, the Makefile has been changed to the standard Gimp
format, and compiling on other platforms should be simple.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>See the Readme at <a href="http://www.fh-furtwangen.de/~dersch/">http://www.fh-furtwangen.de/~dersch/</a>Readme
for general features, and download a copy at my site.</font></font>
<p><font face="Arial,Helvetica"><font size=-1>Helmut Dersch</font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="Joffer's Linux Guide to new graphics card is back! Bigger and b"></a><b><font face="Arial,Helvetica"><font size=+1>Joffer's
Linux Guide to new graphics card is back! Bigger and better!</font></font></b><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Joffer's old Linux RIVA128
Xconfigurator Guide is back online, now going by a new name: Linux SVGA
Guide. Are u having problems getting your graphics card to work with
X Windows in Linux?</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The solution isn't far away...</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>http://joffer.dhs.org is
the clue. Check out Joffer's completly rewritten SVGA Guide!</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Get your RIVA128, TNT, G100
and G200 up and running with lots of colors using 1024x768 or higher resolution!
It's not as hard as you think!</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The address is: <a href="http://joffer.dhs.org">http://joffer.dhs.org</a>
- just click on LINUX in the menu!</font></font>
<br><font face="Arial,Helvetica"><font size=-1><a href="http://www.cs.helsinki.fi/~mjrauhal/linux/cola.archive/1999-07/mjr.1999-07-22.021">comp.os.linux.announce
posting</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="New Quick Mask Tutorial for the Gimp"></a><b><font face="Arial,Helvetica"><font size=+1>New
Quick Mask Tutorial for the Gimp</font></font></b>
<br><font face="Arial,Helvetica"><font size=-1>by Zach Beane</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>This tutorial shows how you
can do vignette effects using a new feature of GIMP called QuickMask.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>QuickMask is a convenient
way to modify selections using pixel-changing tools such as the paintbrush,
eraser, or any plug-in filter. It lets you make very precise adjustments
to your selections.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>This tutorial doesn't use
QuickMask for complex masking; it's intended to show how you can use it
to create quick and easy vignette effects. It's even easier than my older
vignettes tutorial.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1><a href="http://www.xach.com/gimp/tutorials/quickmask/">http://www.xach.com/gimp/tutorials/quickmask/</a></font></font>
<br>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br><a NAME="GIMP 1.1.7"></a><b><font face="Arial,Helvetica"><font size=+1>GIMP 1.1.7</font></font></b><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>GIMP 1.1.7 is now available.
It has a boatload of <a href="http://www.xach.com/gimp/news/index.html#art283">cool
new features</a>.</font></font>
<table WIDTH="100%" >
<tr>
<td VALIGN=TOP COLSPAN="4" BGCOLOR="#000000" cellpadding="0" cellspacing="0"><img SRC="gm/images/cleardot.gif" ALT="indent" align=LEFT></td>
</tr>
</table>
<table WIDTH="100%" >
<tr>
<td ALIGN=RIGHT><font size=-2>© 1999 by <a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></td>
</tr>
</table>
</body>
</html>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.51 [en] (X11; I; Linux 2.0.36 i586) [Netscape]">
<title>Graphics Muse
</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#660000" vlink="#666666" alink="#FF6600">
<!-- =============================================================
These pages are designed by Michael J. Hammel. Permission to
use all graphics and other content is granted provided you give
me (or the original authors/artists) credit for the work and this
copyright notice is not removed.
(c)1997, 1998 Michael J. Hammel (mjhammel@graphics-muse.org)
============================================================= !-->
<br><img SRC="gm/images/musings.jpg" height=50 width=245>
<table WIDTH="100%" >
<tr>
<td ALIGN=RIGHT WIDTH="100%"><font size=-2>© 1999 <a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></td>
</tr>
<tr>
<td VALIGN=TOP BGCOLOR="#000000" cellpadding="0" cellspacing="0"><img SRC="gm/images/cleardot.gif" ALT="indent" align=LEFT></td>
</tr>
</table>
<table BORDER=0 COLS=3 WIDTH="100%" NOSAVE >
<tr NOSAVE>
<td ALIGN=LEFT VALIGN=TOP WIDTH="140" NOSAVE>
<table BORDER CELLSPACING=0 CELLPADDING=2 COLS=1 WIDTH="100%" HEIGHT="100%" BGCOLOR="#FE992B" NOSAVE >
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
<td WIDTH="1" NOSAVE></td>
<td ALIGN=LEFT VALIGN=TOP NOSAVE>
<table BORDER=0 CELLSPACING=0 CELLPADDING=3 COLS=1 WIDTH="100%" NOSAVE >
<tr>
<td><b><font face="Arial,Helvetica"><font size=+1>more musings...</font></font></b></td>
</tr>
</table>
</td>
</tr>
</table>
<hr SIZE=1 NOSHADE WIDTH="100%">
<br>
<table WIDTH="100%" >
<tr>
<td VALIGN=TOP COLSPAN="4" BGCOLOR="#000000" cellpadding="0" cellspacing="0"><img SRC="gm/images/cleardot.gif" ALT="indent" align=LEFT></td>
</tr>
</table>
<table WIDTH="100%" >
<tr>
<td ALIGN=RIGHT><font size=-2>© 1999 by <a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></td>
</tr>
</table>
</body>
</html>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.51 [en] (X11; I; Linux 2.0.36 i586) [Netscape]">
<title>Graphics Muse
</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#660000" vlink="#666666" alink="#FF6600">
<!-- =============================================================
These pages are designed by Michael J. Hammel. Permission to
use all graphics and other content is granted provided you give
me (or the original authors/artists) credit for the work and this
copyright notice is not removed.
(c)1997, 1998 Michael J. Hammel (mjhammel@graphics-muse.org)
============================================================= !-->
<br><img SRC="gm/images/webwonderings.jpg" height=50 width=245>
<table WIDTH="100%" >
<tr>
<td ALIGN=RIGHT WIDTH="100%"><font size=-2>© 1999 <a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></td>
</tr>
<tr>
<td VALIGN=TOP BGCOLOR="#000000" cellpadding="0" cellspacing="0"><img SRC="gm/images/cleardot.gif" ALT="indent" align=LEFT></td>
</tr>
</table>
<h2>
Cataloging and Clipping - gathering online data (continued...)</h2>
<u><font face="Arial,Helvetica">The Template File</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>After you've got NewsClipper
installed (there are a lot of prerequisites, but if you follow the order
in the README backwards - from bottom to top - you'll have them installed
in no time), you're ready to give it a whirl. Included in the Open
Source version is a template file. This file contains some samples
of NewsClipper acquisition, general and output filters. You can actually
try it out without modifying it. If you have problems you can comment
out the NewsClipper commands for all but one filter by changing lines like
this</font></font>
<blockquote><tt><font size=-1><!-- newsclipper</font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>to</font></font>
<blockquote><tt><font size=-1><!-- Xnewsclipper</font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>The format of a template file
is fairly simple:</font></font>
<blockquote><tt><font size=-1>...HTML formatting ....</font></tt>
<br><tt><font size=-1><!-- newsclipper</font></tt>
<blockquote><tt><font size=-1><input filter=name params=xxx></font></tt>
<br><tt><font size=-1><filter name=yyy></font></tt>
<br><tt><font size=-1><output name=zzz></font></tt></blockquote>
<tt><font size=-1>--></font></tt>
<br><tt><font size=-1>...more HTML formatting...</font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>The first line is just the tag
telling NewsClipper that the following filters should be processed.
If you change the name from <i>newsclipper</i> to <i>Xnewsclipper</i> then
NewsClipper will ignore this and simply copy the entire comment to the
HTML output file. Since it's wrapped in a comment, the three filter
lines will be ignored by the browser.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The input line tells NewsClipper
which acquisition filter to run and what parameters to pass to it.
Acquisition filters can have as many parameters as they want, but in practice
most of the ones provided with the distribution had few, if any.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The filter line allows you
to write a processor for the output from the acquisition filter.
Acquisition filters will return data as a string, an array or as a hash.
There are stock filters for converting hashes to strings or arrays and
examples of using these are given in the template file. Although
it seemed at first this was where I'd be making modifications or writing
new filters, it turned out that I was able to use only stock general handler
here. Most of my changes happened with the acquisition handlers.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><u><font face="Arial,Helvetica">Acquisition Handlers</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Nearly all of the acquisition
handlers provided in the distribution make use of a few subroutines provided
in the NewsClipper perl modules: GetURL, GetLinks, GetText, GetHtml,
and so forth. These subroutines make it very easy to grab the entire
site or just portions of it. GetURL will grab the entire
site and return it as a string. GetText and GetHTML do similar
things, but filter out parts of the page. GetLinks is used to retrieve
just the HREF links on the page.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Once the page or portions
of it have been retrieved, the acquisition filters can do a little more
processing on the data. Some of the handlers will break the data
into <i>hashes</i>, perl lists of name/value pairs. When this is
returned back to NewsClipper, it can be passed to the <i>map</i> general
filter, which then passes it to the <i>hash2string</i> filter for
HTML formatting. I'll show how this works in an example in a
moment.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><u><font face="Arial,Helvetica">General Handlers</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Once the acquisition handler
completes, it returns data to NewsClipper who then passes it to any general
filters. In practice I've found the best use of general filters is
in formatting the HTML output using the hashes returned from the acquisition
filters. But they can be used for just about anything you can think
of when processing the strings, arrays and hashes that acquisition filters
will pass to you.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><u><font face="Arial,Helvetica">Output Handlers</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>These handlers, like general
handlers, seem best suited for formatting. One of the most
common uses is to place arrays into multicolumn lists. In practice,
I used these only to the formatted HTML from my general handler as
a string. In this way I was insured that no further processing was
performed on my already formatted HTML by another output handler.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><u><font face="Arial,Helvetica">Adding a database - mSQL</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>All handlers are stored whatever
directories (there can be more than one) are listed in the NewsClipper.cfg
configuration file. By default, this is installed under $HOME/.NewsClipper/NewsClipper.cfg.
Whenever NewsClipper automatically downloads an updated filter, it will
place it in the first directory specified by the handlerlocations variable.
When I began to modify existing acquisition filters I copied them to similarly
named files - such as from cola.pm to colagm.pm - in the same directory
where the original resided.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Once I had a copy of the
original, I added the following line to add mSQL access from within
the file:</font></font>
<blockquote><tt><font size=-1>use Msql;</font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>This was added right after the
"use strict;" line. Using the Msql.pm perl module's interface,
I could then access the database from the acquisition script.
Note: it's important that the person or script that runs the NewsClipper.pl
script, which will runs the acquisition filter and accesses the mSQL database,
is someone that has read and probably write access to the mSQL databases.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The next step was to modify
the acquisition handler to parse the data (if it wasn't already) for adding
to the database. The best way to explain this is to show an example.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><u><font face="Arial,Helvetica">Example - grabbing and logging submissions
to comp.os.linux.announce</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>First, take a look at the
template file for grabbing recent submissions to comp.os.linux.announce:</font></font>
<blockquote><tt><font size=-1><!--</font></tt>
<br><tt><font size=-1> #####################################</font></tt>
<br><tt><font size=-1> comp.os.linux.announce</font></tt>
<br><tt><font size=-1> #####################################</font></tt>
<br><tt><font size=-1>--></font></tt>
<br><tt><font size=-1><p></font></tt>
<br><tt><font size=-1><table width=100% border=0 cellpadding=2 cellspacing=0
NOSAVE></font></tt>
<br><tt><font size=-1><tr></font></tt>
<br><tt><font size=-1><td colspan=2 ALIGN=LEFT bgcolor="#00f000"><font
size=4><i>c.o.l.a</i></font></td></font></tt>
<br><tt><font size=-1><td ALIGN=LEFT bgcolor="#00f000"></font></tt>
<br><tt><font size=-1> <font size=2>Select All:</font></tt>
<br><tt><font size=-1> &nbsp;&nbsp;Yes<input
type=radio value=yes name=gmcolaall></font></tt>
<br><tt><font size=-1> &nbsp;&nbsp;No<input
type=radio value=no name=gmcolaall CHECKED></font></tt>
<br><tt><font size=-1> </font></font></tt>
<br><tt><font size=-1> </td></font></tt>
<br><tt><font size=-1></tr></font></tt>
<br><tt><font size=-1><tr></font></tt>
<br><tt><font size=-1><td bgcolor="#00f000" ALIGN=CENTER VALIGN=TOP>Keep</td></font></tt>
<br><tt><font size=-1><td bgcolor="#00f000" ALIGN=CENTER VALIGN=TOP>Drop</td></font></tt>
<br><tt><font size=-1><td bgcolor="#00f000" ALIGN=LEFT VALIGN=TOP>Title</td></font></tt>
<br><tt><font size=-1></tr></font></tt>
<br><tt><font size=-1><!-- newsclipper</font></tt>
<br><tt><font size=-1> <input name=<font color="#993300">colagm</font>
department=sorted></font></tt>
<br><tt><font size=-1> <filter name=map filter=<font color="#993300">hash2string</font>
format='</font></tt>
<br><tt><font size=-1> <tr></font></tt>
<br><tt><font size=-1> <td ALIGN=CENTER
VALIGN=MIDDLE></font></tt>
<br><tt><font size=-1>
<input type=radio value=keep name=gmcola<font color="#993300">%{index}</font>></td></font></tt>
<br><tt><font size=-1> <td ALIGN=CENTER
VALIGN=MIDDLE></font></tt>
<br><tt><font size=-1>
<input type=radio value=drop name=gmcola%{index} CHECKED></td></font></tt>
<br><tt><font size=-1> <td ALIGN=LEFT
VALIGN=TOP><font size=1><font color="#993300">%{url}</font></font></td></font></tt>
<br><tt><font size=-1> </tr></font></tt>
<br><tt><font size=-1> '></font></tt>
<br><tt><font size=-1> <output name=array numcols=1 prefix=''
suffix=''></font></tt>
<br><tt><font size=-1>--></font></tt>
<br><tt><font size=-1></table></font></tt>
<br><tt><font size=-1></p></font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>Here you can see the NewsClipper
commands are embedded within a table. For each hash returned by the
<font color="#993300">colagm</font> acquisition filter, the <font color="#993300">hash2string</font>
general handler is called. It then formats some HTML and fills in
any variables, shown as <font color="#993300">%{var}</font>, with the value
of the hash with that name. So the variable <i>%{url}</i> gets replaced
with the value from the hash with the name <i>url</i>.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The colagm.pm acquisition
handler looks like this (my modification are shown in <font color="#993300">red</font>:</font></font>
<br><font face="Arial,Helvetica"><font size=-1></font></font>
<blockquote><tt><font size=-1># -*- mode: Perl; -*-</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1># AUTHOR: John Goerzen</font></tt>
<br><tt><font size=-1># EMAIL: jgoerzen@complete.org</font></tt>
<br><tt><font size=-1># ONE LINE DESCRIPTION: Latest messages from comp.os.linux.announce</font></tt>
<br><tt><font size=-1># URL: http://www.cs.helsinki.fi/~mjrauhal/linux/cola.archive/*.html</font></tt>
<br><tt><font size=-1># TAG SYNTAX:</font></tt>
<br><tt><font size=-1># <input name=colagm department=X></font></tt>
<br><tt><font size=-1># Returns an array of links</font></tt>
<br><tt><font size=-1># X: One of# last50
- search cola-last-50.html for entries.</font></tt>
<br><tt><font size=-1># sorted - search
cola-sorted.html for entries.</font></tt>
<br><tt><font size=-1># www
- search cola-www.html for entries.</font></tt>
<br><tt><font size=-1># LICENSE: GPL</font></tt>
<br><tt><font size=-1># NOTES:</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>package NewsClipper::Handler::Acquisition::<font color="#993300">colagm</font>;</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>use strict;</font></tt>
<br><tt><font color="#993300"><font size=-1>use Msql;</font></font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>use NewsClipper::Handler;</font></tt>
<br><tt><font size=-1>use NewsClipper::Types;</font></tt>
<br><tt><font size=-1>use vars qw( @ISA $VERSION );</font></tt>
<br><tt><font size=-1>@ISA = qw(NewsClipper::Handler);</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1># DEBUG for this package is the same as the main.</font></tt>
<br><tt><font size=-1>use constant DEBUG => main::DEBUG;</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>use NewsClipper::AcquisitionFunctions qw( &GetLinks
);</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>$VERSION = 0.3;</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1># ------------------------------------------------------------------------------</font></tt>
<br><tt><font color="#993300"><font size=-1>sub gettime</font></font></tt>
<br><tt><font color="#993300"><font size=-1>{</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $sec;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $min;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $hour;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $mday;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $mon;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $year;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $wday;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $yday;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $isdist;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $datestring;</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdist)
= localtime(time);</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> $datestring = $year
+ 1900;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> $datestring *=
10000;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> $datestring +=
$mon*100 + $mday;</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> return $datestring;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>}</font></font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1># This function is used to get the raw data from the
URL.</font></tt>
<br><tt><font size=-1>sub Get</font></tt>
<br><tt><font size=-1>{</font></tt>
<br><tt><font size=-1> my $self = shift;</font></tt>
<br><tt><font size=-1> my $attributes = shift;</font></tt>
<br><tt><font size=-1> my $url;</font></tt>
<br><tt><font size=-1> my $data;</font></tt>
<br><tt><font color="#993300"><font size=-1> my $colafile;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $start_delimiter;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $end_delimiter;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $urllink;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my @results;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $tempRef;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $query_line;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my @query_lines;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $sth;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $newcount;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $dbdate;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $title;</font></font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> $attributes->{department} = "last50"</font></tt>
<br><tt><font size=-1> unless defined $attributes->{department};</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> # Determine which file to search.</font></tt>
<br><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> if ( "$attributes->{department}" eq
"last50" )</font></tt>
<br><tt><font size=-1> {</font></tt>
<br><tt><font size=-1> $colafile = "cola-last-50.html";</font></tt>
<br><tt><font size=-1> $start_delimiter =
"newest ones first";</font></tt>
<br><tt><font size=-1> $end_delimiter = "Last
modified";</font></tt>
<br><tt><font size=-1> }</font></tt>
<br><tt><font size=-1> elsif ( "$attributes->{department}"
eq "sorted" )</font></tt>
<br><tt><font size=-1> {</font></tt>
<br><tt><font size=-1> $colafile = "cola-sorted.html";</font></tt>
<br><tt><font size=-1> $start_delimiter =
"order by the subject";</font></tt>
<br><tt><font size=-1> $end_delimiter = "Last
modified";</font></tt>
<br><tt><font size=-1> }</font></tt>
<br><tt><font size=-1> else</font></tt>
<br><tt><font size=-1> {</font></tt>
<br><tt><font size=-1> $colafile = "cola-www.html";</font></tt>
<br><tt><font size=-1> $start_delimiter =
"the last one first";</font></tt>
<br><tt><font size=-1> $end_delimiter = "Last
modified";</font></tt>
<br><tt><font size=-1> }</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> # Build the URL which is to be queried.</font></tt>
<br><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> $url = join("",</font></tt>
<br><tt><font size=-1> "http://www.cs.helsinki.fi/~mjrauhal/linux/cola.archive/",</font></tt>
<br><tt><font size=-1> $colafile);</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> # Now run off and get those links!</font></tt>
<br><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> $data = &GetLinks($url, $start_delimiter,
$end_delimiter);</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> return undef unless defined $data;</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> # Weed out any User Group messages</font></tt>
<br><tt><font size=-1> #</font></tt>
<br><tt><font size=-1> @$data = grep {!/(LOCAL:)/} @$data;</font></tt><tt><font size=-1></font></tt>
<p><tt><font color="#993300"><font size=-1> # Open the Msql
connections and select the databases of interest.</font></font></tt>
<br><tt><font color="#993300"><font size=-1> my $dbh1 = Msql->connect();</font></font></tt>
<br><tt><font color="#993300"><font size=-1> $dbh1->selectdb('gm-news');</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> # Clear the "new
article" table - if we haven't processed those</font></font></tt>
<br><tt><font color="#993300"><font size=-1> # entries yet,
then we'll see them again anyway.</font></font></tt>
<br><tt><font color="#993300"><font size=-1> $query_line =
join("", "DELETE FROM new_cola");</font></font></tt>
<br><tt><font color="#993300"><font size=-1> $sth = $dbh1->query($query_line);</font></font></tt>
<br><tt><font color="#993300"><font size=-1> $newcount = 1;</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> #</font></font></tt>
<br><tt><font color="#993300"><font size=-1> # Now run through
the list to find only the news ones. Then add these</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> # to the proper
database.</font></font></tt>
<br><tt><font color="#993300"><font size=-1> #</font></font></tt>
<br><tt><font color="#993300"><font size=-1> while (@{$data})</font></font></tt>
<br><tt><font color="#993300"><font size=-1> {</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$_= shift @{$data};</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
# Escape single quotes. We take them out later when we display them,
if</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
# necessary.</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$title = $_;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$title =~ s/'/\\'/g;</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
# Query the Accepted table for this article name.</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_line =</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
join("", "SELECT title FROM accepted WHERE title = '", $title, "'");</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
$sth = $dbh1->query($query_line);</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
if ( $sth->numrows > 0 )</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
{</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
next;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
}</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
# Query the Rejected table for this article name.</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_line =</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
join("", "SELECT title FROM rejected WHERE title = '", $title, "'");</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
$sth = $dbh1->query($query_line);</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
if ( $sth->numrows > 0 )</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
{</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
next;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
}</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> # Article
has not been seen previously. Add it to the new database.</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$dbdate = gettime();</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[0] = "INSERT INTO new_cola VALUES (";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[1] = $newcount;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[2] = ", ";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[3] = $dbdate;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[4] = ", '";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[5] = $title;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[6] = "', '";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[7] = "cola";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[8] = "', '";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[9] = " ";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[10] = "', '";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[11] = " ";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[12] = "', '";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[13] = " ";</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$query_lines[14] = "')";</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
$query_line = join('', @query_lines);</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
$sth = $dbh1->query($query_line);</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
# Abort on errors encountered while inserting into the new article table.</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
if ( length(Msql->errmsg) > 0 )</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
{</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
print "<!--News Clipper message:\n",</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
"Failed new article db update for colaGM handler\n",</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
"Error message: ", Msql->errmsg, "\n",</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
"-->\n" and return undef;</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
}</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
# Everything went ok, and it's a new article. Save it for return
to the</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
# caller.</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
push @results,</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
{</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
index => $newcount,</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
url => $_</font></font></tt>
<br><tt><font color="#993300"><font size=-1>
};</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1>
$newcount++;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> }</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> $tempRef = \@results;</font></font></tt>
<br><tt><font color="#993300"><font size=-1> MakeSubtype('ArrayOfCOLAHash','ArrayOfHash');</font></font></tt><tt><font color="#993300"><font size=-1></font></font></tt>
<p><tt><font color="#993300"><font size=-1> bless $tempRef,'ArrayOfCOLAHash';</font></font></tt>
<br><tt><font color="#993300"><font size=-1> return $tempRef;</font></font></tt>
<br><tt><font size=-1>}</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1># ------------------------------------------------------------------------------</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>sub GetDefaultHandlers</font></tt>
<br><tt><font size=-1>{</font></tt>
<br><tt><font size=-1> my $self = shift;</font></tt>
<br><tt><font size=-1> my $inputAttributes = shift;</font></tt>
<br><tt><font size=-1> my @returnVal;</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> my @returnVal = (</font></tt>
<br><tt><font size=-1> {'name' => 'limit','number'
=> '10'},</font></tt>
<br><tt><font size=-1> {'name' => 'array'},</font></tt>
<br><tt><font size=-1> );</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1> return @returnVal;</font></tt>
<br><tt><font size=-1>}</font></tt><tt><font size=-1></font></tt>
<p><tt><font size=-1>1;</font></tt></blockquote>
<font face="Arial,Helvetica"><font size=-1>One thing I didn't show here
was that I added some new parameters to the handler so that you can grab
different c.o.l.a. archives. You can grab a <a href="gm/colagm.pm">copy
of the source</a> if you want to try it out yourself, but you'll need to
create the proper databases too.</font></font><font face="Arial,Helvetica"><font color="#000000"><font size=-1></font></font></font>
<p><font face="Arial,Helvetica"><font size=-1><font color="#000000">The
</font><font color="#993300">gettime</font><font color="#000000"> subroutine
is just something I added to format a date stamp for the database.
There may be easier ways to do this - I'm not the worlds best perl programming.</font></font></font><font face="Arial,Helvetica"><font color="#000000"><font size=-1></font></font></font>
<p><font face="Arial,Helvetica"><font color="#000000"><font size=-1>The
rest of the changes, near the center to end of the Get subroutine, are
used to parse the returned links and check if they already exist in one
of two tables. If not, the new link is added to a third table and
added to the outgoing hash. It may look a little complex if you're
not familiar with SQL syntax, but really there isn't much too this.
In this case, the returned values from GetLinkx() is just a list of links,
which makes processing the site's data pretty easy. In other cases
I had to break apart HTML line by line, searching for key words, then stripping
out extra tags and HTML to get at the text and/or links of interest.
The thing is, since this is all done in Perl, and Perl is great for parsing
text, this all really wasn't too difficult.</font></font></font><font face="Arial,Helvetica"><font color="#000000"><font size=-1></font></font></font>
<p><font face="Arial,Helvetica"><font color="#000000"><font size=-1>What
all this gets me is a table of new entries from the c.ol.a. archives in
a table, from which I select the articles of interest. The template
file produces an HTML page with a form which gets submitted to a CGI script
to move new articles into either the accepted or rejected database.
Later, I can write scripts for producing web pages with the accepted or
rejected entries. And any future runs of NewsClipper on this template
file will only produce new entries from c.o.l.a! Pretty nifty.</font></font></font><tt><font color="#000000"><font size=-1></font></font></tt>
<p><u><font face="Arial,Helvetica">Writing your own acquisition filter
- MakeHandler.pl</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>There is a perl script included
with the NewsClipper distribution called MakeHandler.pl that assists you
in writing your own acquisition handlers from scratch. Although I've
heard it's quite useful and very easy to use, I've never used it myself.
All of the sites I was interested in (at least so far) have handlers written
for them already, so I just had to modify them for working with my mSQL database.</font></font><u><font face="Arial,Helvetica"></font></u>
<p><u><font face="Arial,Helvetica">Supported Linux sites</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>The default handlers include
support for downloading Slashdot, Freshmeat, LinuxToday, Linux Daily News,
and c.o.l.a, along with many, many others. Interestingly enough,
the Slashdot handler grabs the main page instead of the backend pages,
apparently because the author was worried that the backend was not kept
up to date.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>Although I didn't see one,
I suspect using NewsClipper to download the Freshmeat database file would
also be possible. Since it's a simple text file with a common format
for each entry it should be pretty easy to parse.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><u><font face="Arial,Helvetica">Caveats</font></u><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>One of the limitations of
NewsClipper appears to be that it doesn't like sites that don't have closing
tags in all the right places. For example, did you know that paragraph
tags, <p>, have closing tags, </p>? Without them, it's possible
NewsClipper's acquisition filters can get confused. You might be
able to process these sites using GetURL() and parsing the pages manually,
but you'll be happier if you can just find sites that do the right thing.
Interestingly enough, I've discovered that my pages here in the Muse are
not right - Netscape's Composer doesn't add that closing </p> tag.</font></font><font face="Arial,Helvetica"><font size=-1></font></font>
<p><font face="Arial,Helvetica"><font size=-1>And who said writing this
column wouldn't be educational?</font></font>
<br>
<table WIDTH="100%" >
<tr>
<td VALIGN=TOP COLSPAN="4" BGCOLOR="#000000" cellpadding="0" cellspacing="0"><img SRC="gm/images/cleardot.gif" ALT="indent" align=LEFT></td>
</tr>
</table>
<table WIDTH="100%" >
<tr>
<td ALIGN=RIGHT><font size=-2>© 1999 by <a href="mailto:mjhammel@graphics-muse.org">Michael
J. Hammel</a></font></td>
</tr>
</table>
<HR> <!-- ************************************************* -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Cosource.com Enters Live Beta!</font></H1>
<H4>By <a href="mailto:norm@cosource.com">Norman M. Jacobowitz</a></H4>
</center>
<P> <HR> <P>
<p><a href="http://www.cosource.com/">Cosource.com</a> is a web site
which gathers financial support for Open Source projects. Users who
have been frustrated by some missing software feature, nagging bug, or
unsupported hardware can use Cosource.com to fund an effort to get it
fixed. Developers can write Open Source projects ... and get paid for
it. Projects that run on any platform are welcome.
<p>Let's say you have a sound card for your home PC, for which there
is no Linux driver. You learn that the manufacturer would prefer to
have a Linux driver, but for whatever reason there isn't one. Here's
how you would solve the problem with Cosource.com:
<ol>
<li>Go to the site and register as a member, and login.<br><br>
<li>Browse the request lists. If someone else already has
submitted the same request, just add that request to your watchlist.
You'll be notified whenever a proposal to develop your request is
submitted.<br><br>
<li> If there's not already a request submitted, you can enter a new
request for a driver for your sound card via the 'Submit Request'
form, listing the full functional requirements per the instructions
found on there.<br><br>
<li>Developers can then submit proposals to develop the driver. As
part of a developer's proposal, he or she names someone who serves as
an 'Authority', or third-party peer-reviewer for the project. It this
Authority who serves as arbiter of success or failure for the
project.<br><br>
<li>You and other members -- perhaps even the manufacturer of
the card -- then review proposals, and may elect to commit funds to one
or
more. The minimum commitment is $10 US.<br><br>
<li>Whichever proposal first gathers enough commitments to cover its
bid wins and enters development. The Authority reviews and tests the
software prior to release.<br><br>
<li>Once the Authority declares the project complete, it is released
... then you and all others who committed funds pay your commitment via
credit card. Cosource.com then pays the developer and authority for
their work.<br><br>
</ol>
<p>The above example shows how non-developers can now have Open Source
packages written to suit their needs. Plus, no single individual or
corporation is stuck with paying the full tab for the development.
<p>The card manufacturer mentioned above can help make their product
available to the Linux Community at a fraction of the full cost of
paying to develop the driver themselves. This process also gives
developers a financial incentive to spend more of their programming
time producing Open Source products.
<p>Organizations or individuals who own the copyright to a complete
software package may also use Cosource.com to solicit funds in
exchange for re-licensing their product as Open Source.
<p>It's the goal of Cosource.com to make all of the above factors work
in favor of the entire Open Source community.
<p>Cosource.com is now conducting a Live Beta program. Everyone is
welcome to sign up as a member (it's free) and test the site.
Hopefully, the site will be fully live and relatively bug-free within
a few weeks.
<p><i>Norm Jacobowitz is VP of Marketing at Cosource.com. Write him
at <a href="mailto:norm@cosource.com">norm@cosource.com</a>.</i>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Norman M. Jacobowitz <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">perlpp: cpp on Steroids</font></H1>
<H4>By <a href="mailto:wmacevoy@mesastate.edu">Dr. Warren MacEvoy</a></H4>
</center>
<P> <HR> <P>
The point of this article is to introduce a tool I call perlpp,
the Perl preprocessor. Since I wrote it, perlpp is not available in any
Linux distribution. See Resources for information on obtaining perlpp
and the examples described here.
<p>
<b>perlpp</b> is a beefy version of <b>cpp</b>, the C preprocessor;
it can do what cpp can do and much more. For example, introducing the
idea of code templates in any programming language is easy with perlpp.
<p>
Using <b>perlpp</b>, the Perl preprocessor, requires at least a
rudimentary knowledge of programming in Perl. Perl 5 or later must be
installed on your system.
<p>
Since Perl is such a useful language, almost every programmer should
know a little about it. I will start by covering some of the rudiments
of Perl used in the examples. If you are already fairly comfortable with
Perl, move on to the next section.
<p>
<b>Variables.</b> Scalar variables, which can take on values of strings,
integers, or doubles, always have a <tt>$</tt> as the first
character. List variables, which are simple lists of scalars, always have
a <tt>@</tt> as the first character. All variables are global,
unless preceded by <tt>my</tt> when first used within a block.
<p>
<b>String quoting.</b> Strings can be quoted three ways in
Perl. They can be quoted almost exactly using single forward quotes
(<tt>'</tt>), quoted with interpolation using double quotes
(<tt>"</tt>), or system quotes using single back quotes
(<tt>`</tt>). We will present more detail on this later,
but basically:
<p>
<ul>
<li> Single-quoted strings are subject to minimal
translation. For example, <tt>'\n'</tt> is a
backslash followed by the letter n.
</ul>
<ul>
<li> Double-quoted strings have a great deal of
translation. For example, <tt>"i=$i\n"</tt> is the
characters <tt>i=</tt>, followed by the value of the variable
<tt>$i</tt>, followed by a new-line character. In Perl parlance,
double-quoted strings are said to be <i>interpolated</i>.
<li> Back-quoted strings are interpolated like double-quoted
strings, but the value of a back-quoted string is the output (whatever is
sent to STDOUT) of executing the translated string as a shell command. For
example, <tt>`ls $dir`</tt> is the output of running
the <tt>ls</tt> command with the value of <tt>$dir</tt>
as an argument.
</ul>
<b>Loops.</b> Perl supports the csh-style loop of the form
<p>
<pre>
foreach $index (@LIST) { statement1;<\n>
statement2; .... }
</pre>
as well as the C-style loop:
<p>
<pre>
for (<i>do-once</i>; <i>check-first-each-time</i>; <\n>
<i>do-last-each-time</i>) { .... }
</pre>
Both types are used in the examples.
<p>
In fact, the basic syntax of Perl mimics C in many respects, so C
programmers can read Perl scripts fairly easy. No, that is too bold:
a C programmer can write C-looking Perl, and it will mostly work as
expected. A Perl programmer would solve the same problem in a completely
different manner. In doing so, he may accomplish something difficult to
imagine: a program more obscure than what can readily be written in C.
If you don't believe me, look at the perlpp source, which is a
Perl script.
<p>
Perl is a great deal more than this tiny view, but these ideas should
be enough to understand the examples. See Resources for more information
about Perl.
<p>
<h3>Introduction</h3>
<p>
Let's begin by talking about cpp. C programmers don't get
far before learning that C programs, at least logically, pass through
two stages of translation. The first stage, the preprocessing stage,
uses commands such as
<p>
<pre>
#include <stdio.h>
</pre>
and
<p>
<pre>
#define FOO(<i>x</i>) bar(<i>x</i>)
</pre>
to translate the hybrid C/cpp input file into a pure C input file,
which is then input to the pure C compiler. Pictorially,
<p>
<pre>
<i>input_file</i> -> cpp -> cc1 -> <i>object_file</i>
</pre>
While the intended job of cpp is to preprocess input files for a C
(or C++) compiler, it can be used to preprocess other files. For example,
<b>xrdb</b> uses cpp to preprocess X11 resource files before loading them.
<b>cpp</b> is a very useful tool, but a programmer can quickly run into
limitations, essentially because cpp is a macro-processor with limited
facilities for computation and the manipulation of text.
<p>
The reason I wrote perlpp was to overcome these limitations for a
scientific computation problem at Pacific Northwest National Laboratories,
where I wrote the chemical equilibrium portion of a ground water transport
model. For the sake of compatibility with the rest of the model, it had to
be programmed in FORTRAN. For the sake of compatibility with Linux, Sun
and SGI development environments, it had to be FORTRAN 77. The problem
statement was roughly this: given the chemical equilibrium equations
for a given set of species, automatically generate an efficient reliable
solver for these equations.
<p>
This created a need to go from chemical equilibrium equations in symbolic
form to the generation of a Maple V (a symbolic mathematics package)
batch file from a template, followed by the inclusion of the results
from that batch file into a template-generated FORTRAN subroutine library
that satisfied the requirements of the project.
<p>
This environment required the automatic generation of several kinds of
programs from templates and was a natural breeding ground for thoughts
about useful preprocessors. Although it took me most of a week to come
up with the alpha version of perlpp, it easily saved that amount of
time just for that one project. Solving the same problem without it
may have taken four or five weeks longer. Furthermore, without perlpp,
the project would be much harder to maintain.
<p>
<h3>What Perlpp Does</h3>
<p>
<b>perlpp</b> takes input files and generates perl scripts which,
when run, create similar but better output files.
<p>
<h3>Example 1: Hello World!</h3>
<p>
Create a file called hello.c.ppp containing the lines
<p>
<pre>
#include <stdio.h><\n>
int main()
{
printf("Hello World!\n");
return 0;
}
</pre>
Now run the perlpp command by typing:
<p>
<pre>
perlpp -pl hello.c.ppp
</pre>
The <tt>-pl</tt> option is discussed later. If you
check, perlpp created the file hello.c.pl, which contains the following
Perl script:
<p>
<pre>
#!/usr/bin/perl<\n>
print '#include <stdio.h>
';
print 'int main()
';
print '{
';
print ' printf("Hello World!\\n");
';
print ' return 0;
';
print '}
';
</pre>
Your mileage may vary on the exact contents of the first line. See
<A HREF="#macevoy_troubleshooting">"Troubleshooting"</A> if you have problems
generating this script.
<p>
Running hello.c.pl generates the same text as the original input
file, hello.c.ppp. In this way, perlpp can be viewed as an obscure and
computationally expensive way to copy text files.
<p>
The <tt>-pl</tt> option means ``create a perl
program''. If you leave it off, it simply runs the program and
saves the output in hello.c. This means
<p>
<pre>
perlpp hello.c.ppp
</pre>
is equivalent to
<p>
<pre>
perlpp -pl hello.c.ppp<\n>
./hello.c.pl > hello.c
rm hello.c.pl
</pre>
except that the file <tt>hello.c.pl</tt> is never explicitly
created.
<p>
So our first example, hello.c.ppp, when normally processed by perlpp,
creates a copy of itself, hello.c. While this should not excite you,
it should not surprise you either. After all, if you processed a text
file using cpp, containing no cpp directives, you would get back exactly
what you put in.
<p>
<b>cpp</b> is interesting only when the input file contains cpp directives.
Perlpp is only slightly interesting when the input file contains no
perlpp directives, because it generates a Perl script that regenerates
the input file using print statements. To get any further, the perlpp
directives must be used.
<p>
<h3>Directives</h3>
<p>
Only four directives are available for perlpp, along with a default
directive. Each describes how a given line of input will be translated
into the perl script.
<p>
<ol>
<li> <b>!</b> Perl source rule: if the first character of a line is
a ! (bang), copy the remaining part of the line to the generated perl
script verbatim.
<li> <tt>'</tt> print exact: If the first character
of a line is a <tt>'</tt> (single quote), then generate
a single-quoted (uninterpolated) print statement. Executing this print
statement will produce the remaining part of the input line exactly.
<li> <tt>"</tt> print interpolated: if the first
character of a line is a <tt>"</tt> (double quote),
generate a double-quoted (interpolating) print statement. For more on
interpolating strings, see the <b>perlop</b> man page. If use locale
is in effect, the case map used by \l, \L, \u and <\U>
is taken from the current locale. See the <b>perllocale</b> man page.
[It should be noted that \\ (two backslashes) in an
interpolated string translates into a single backslash, so \\n
interpolates to \n in the output. This will show up in our next
example.]
<li> <tt>`</tt> print system: if the first character
of a line is a <tt>`</tt> (back quote), then generate a
back-quoted (system) print statement. Executing this print statement
will produce the output of, first, interpolating the remainder of the line
as in rule 2 above, then running the interpolated text as a shell command.
</ol>
If none of the characters bang(!), single
quote(<tt>'</tt>), double quote(<tt>"</tt>) or
back quote(<tt>`</tt>) begin a line, a default translation
occurs:
<p>
<ul>
<li> With no <tt>-qq</tt> option, perlpp
treats these lines as if they began with a single quote, i.e., use the
``print exact'' rule 2.
</ul>
<ul>
<li> With the <tt>-qq</tt> option, perlpp
treats these lines as if they began with a double quote, i.e., use the
``print interpolated'' rule 3.
</ul>
<h3>Example 2: Salutations</h3>
<p>
Create a file called salutations.c.ppp containing the lines:
<p>
<pre>
#include <stdio.h><\n>
int main()
{
!foreach $s ('Hello World!','Hola Mundo!',
'Ciao!') {
" printf("$s\\n");
!}
return 0;
}
</pre>
Let's first look at the generated Perl script by typing:
<p>
<pre>
perlpp -pl salutations.c.ppp
</pre>
In salutations.c.pl, you will find
<p>
<pre>
print '#include <stdio.h><\n>
';
print 'int main()
';
print '{
';
foreach $s ('Hello World!','Hola Mundo!',
'Ciao!') {
print " printf(\"$s\\n\");
";
}
print ' return 0;
';
print '}
';
</pre>
Look carefully at the print statement generated by the printf statement
in salutations.c.ppp:
<p>
<pre>
print " printf(\"$s\\n\");<\n>
";
</pre>
Perlpp goes to the trouble of adding backslashes where appropriate so
that double quotes do not prematurely terminate the string. The same idea
applies to the other forms of quoted print statements perlpp generates.
<p>
Let perlpp run this script for us with
<p>
<pre>
perlpp salutations.c.ppp
</pre>
This generates the file salutations.c,
<p>
<pre>
#include <stdio.h><\n>
int main()
{
printf("Hello World!\n");
printf("Hola Mundo!\n");
printf("Ciao!\n");
return 0;
}
</pre>
<h3>Example 3: Fast Point Template</h3>
<p>
This last example uses perlpp to generate a template for fixed-length
vector classes in C++, where loops are unwound. Unwinding a loop means,
for example, replacing the code
<p>
<pre>
for (int i=0; i<3; ++i) a[i]=i;
</pre>
with
<p>
<pre>
a[0]=0; a[1]=1; a[2]=2;
</pre>
Unwinding the loop does not change the effect of the code, but it
does make it faster. This is because the index variable does not have
to be incremented and compared between each assignment.
<p>
Such a fixed-length template class would be useful, for example, in
a graphics library where two-dimensional and three-dimensional vectors
of fixed types (float, int, double) would be used by the package.
All of these would be essentially the same--and thus a candidate
for a template class--except that the performance overhead for the
looping may not be acceptable in such a high-end application.
<p>
<b>perlpp</b> can help here. <b>perlpp</b> is first used to generate a Perl
program (using the <tt>-pl</tt> option) from a template
file, Point.Template.ppp. The Point.Template.pl script is designed
to create different fixed-length vector classes, depending on what
arguments are passed to it. Using the back-quote print system directive,
this script is then used in the primary source file, testPoint.cpp.ppp,
to generate the specific desired class.
<p>
The file Point.Template.ppp is fairly long, and available by anonymous
FTP as noted in Resources. Consequently, I will consider only
the portions of this file which illustrate something interesting about
how to use perlpp.
<p>
The first interesting line of <tt>Point.Template.ppp</tt> is
<p>
<pre>
! eval join(";",@ARGV);
</pre>
This, of course, will translate into the Perl statement
<p>
<pre>
eval join(";",@ARGV);
</pre>
Only the leading bang is deleted. Executing this line joins all
the command-line arguments of the script, separated by semicolons, and
evaluates that as a sequence of Perl statements. This is an extremely
crude form of command-line argument processing, but it serves our
purposes.
<p>
The next few lines check that the previous command-line evaluation
actually defined three crucial variables:
<p>
<ul>
<li> <tt>$name</tt>: the desired name of the class
</ul>
<ul>
<li> <tt>$dim</tt>: the dimension of the vector
</ul>
<ul>
<li> <tt>$type</tt>: type of the vector
</ul>
If they were not defined, the script writes to STDERR about it and
exits with an exit code of 1.
<p>
After this, the template goes about the business of generating the
desired class. This begins with
<p>
<pre>
"class $name {<\n>
"public:
!#
!# Declare internal array of desired type and size
!#
" $type a[$dim];
" static const int dim=$dim;
</pre>
Here <tt>$name</tt>, <tt>$type</tt> and
<tt>$dim</tt> are used to create specific text in the
class definition. In Perl, <tt>#</tt> denotes a comment, so
<tt>!#</tt> is effectively a comment in perlpp.
<p>
The first instance of loop unwinding is seen in the default
constructor for the class. The lines
<p>
<pre>
! for ($i=0; $i<$dim; ++$i) {<\n>
" a[$i]=0;
! }
</pre>
translate into the Perl segment
<p>
<pre>
for ($i=0; $i<$dim; ++$i) {<\n>
print(" a[$i]=0;
");
}
</pre>
This loop is executed in the Perl script as the preprocessor, where
the assignment will be expanded to a sequence of assignments in the C++
class source. Loops are unwound in a similar fashion in other parts of
the class definition.
<p>
Efficiency aside, the next block of the perlpp source provides a class
constructor that would be impossible to declare using standard template
facilities: one with as many arguments as the dimension of the vector
class to be constructed.
<p>
<pre>
! @arg=(); for ($i=0; $i<$dim; ++$i) { $arg[$i]="$type
a$i"; }
! $args=join(',',@arg);
!
" $name($args)
</pre>
If you are new to Perl, the first line may be difficult to
understand. It begins by setting the <tt>@arg</tt> list
to an empty list, then loops to build <tt>$dim</tt> entries
in <tt>@arg</tt>: <tt>"$type a0"</tt>,
<tt>"$type a1"</tt>, etc. The reason elements of
<tt>@arg</tt> are denoted by <tt>$arg[$i]</tt>
in the for loop is that <tt>@arg</tt>, once subscripted,
refers to the scalar variable available as the <i>i</i>th entry of
<tt>@arg</tt>. Remember, scalar variables always begin with
a <tt>$</tt> character--even those tucked inside a list.
<p>
Following this declaration, the constructor is defined to initialize
the vector with its arguments:
<p>
<pre>
" {<\n>
! for ($i=0; $i<$dim; ++$i) {
" a[$i]=a$i;
! }
" }
</pre>
This is followed by the definition of subscript operators, which are
perfectly standard. After this, another feature of perlpp is illustrated:
the code for defining all the assignment operators is generated using
a loop structure:
<p>
<pre>
! foreach $op<\n>
("=","+=","-=","*=","/=")
{
.
. # define the $op assignment operator
.
! }
</pre>
Since all the assignment operators are defined in essentially the
same way, this loop allows the template to be written more compactly
than with the standard template facilities. This makes the template
faster to write, maintain and debug.
<p>
A similar loop follows this to define the various binary operators for
the class: addition, subtraction, etc. These loops reduce the redundancy
of effort in defining the template, which, amusingly, is itself a tool
to reduce redundancy of effort. Okay, I admit I am easily amused.
<p>
The rest of the template declares and defines three operators, I/O
functions and a scalar multiply. They do what they are supposed to do,
and nothing new about perlpp is learned by going over them.
<p>
Let's move on to using Point.Template.ppp. First, convert it to
a Perl script with the command:
<p>
<pre>
perlpp -pl Point.Template.ppp
</pre>
Now look in the test program source file, testPoint.cpp.ppp.
The only interesting line is
<p>
<pre>
` ./Point.Template.pl '\$name="FixVect"'<\n>
'\$dim=2'
'\$type="float"'
</pre>
This runs the Point.Template.pl script just generated with
the arguments:
<p>
<pre>
$name="FixVect" $dim=2 $type="float"
</pre>
With these arguments, the template script prints out a
<tt>FixVect</tt> class, which represents two-dimensional arrays of
floats. The back-quote perlpp directive includes this in the
testPoint.cpp source file.
<p>
Generating template classes in this way is not completely
satisfying, because the idea of declaring and defining the class
must usually be separated. However, this can be corrected by
modifications of the template file. Essentially, a fourth variable
could be set on calling the script, <tt>$use</tt>, which
has a value of either <tt>"declare"</tt> or
<tt>"define"</tt>. Using if clauses, the script
would then provide either the definition or declaration portion of the
class. This is yet another way in which the redundancy of a template
can be reduced using perlpp.
<p>
<h3>Conclusions</h3>
<p>
I don't want to leave you thinking of perlpp as sort of a
``compression algorithm.'' Keeping ideas together in a
project simplifies maintaining them. The goal of perlpp is to prevent
``concept leakage,'' where several parts of source files
redundantly represent an idea, and those source files have to be
maintained separately.
<p>
Essentially, perlpp replaces the rather rigid (but simple!)
text-processing language available as cpp with the expressive (but
complex) text-processing language available as Perl. Many programmers
use Perl in any case, so knowing the syntax of Perl pays twice: once
as a language in itself, and once as a powerful macro language for any
programming language.
<p>
If you don't know Perl, then perlpp is just another good reason
to learn it.
<p>
<h3>Resources</h3>
<p>
<b>perlpp</b> is available as a tar file by anonymous FTP at
<A HREF=ftp://zot.mesastate.edu/pub/wmacevoy/perlpp/perlpp-0.5.tar.gz>
ftp://zot.mesastate.edu/pub/wmacevoy/perlpp/perlpp-0.5.tar.gz</A>
(local copy <A HREF=macevoy_perlpp.tgz>here</A>.)
The distribution includes installation instructions for perlpp.
<P> The examples from this article are at
<A HREF=ftp://zot.mesastate.edu/pub/wmacevoy/perlpp/lj-article.tar.gz>
ftp://zot.mesastate.edu/pub/wmacevoy/perlpp/lj-article.tar.gz</A>
(local copy <A HREF=macevoy_examples.tgz>here</A>).
<P> You must have Perl 5, or later, installed to use perlpp. All Linux
distributions have Perl available as a package in some form. The web page <A
HREF=http://www.perl.org/>http://www.perl.org/</A> is a great place to begin if
you want to learn more about Perl.
<p><A NAME="macevoy_troubleshooting">
<h3>Troubleshooting</h3>
<p>
<b>perlpp</b> is a Perl script that generates Perl scripts. To use it, you
must have Perl installed, and perlpp must be able to find it. If
perlpp does not work, check that the first two lines of perlpp
reflect the actual location of your Perl executable.
<p>
If these are correct, make sure that execute permissions are set for
the script (<tt>chmod 755 perlpp</tt>), and that perlpp is visible from
your <tt>PATH</tt>.
<p>
If you just installed perlpp, you may have to refresh your shell PATH
directory cache with <tt>hash -r</tt> (if you use bash) or
<tt>rehash</tt>
(if you use csh).
<p>
<p>
<h3>Acknowledgements</h3>
<p>
Thanks to the Linux community for providing such a wonderful
environment for reliable scientific computations. I try very hard not
to taunt every time a colleague of mine tries to accomplish something
useful on a machine which crashes so often they have come to expect it.
<p>
I also want to thank Mike Littlejohn for test-driving perlpp and this
article, as well as Karl Castleton, Steve Yabusaki and Ashok Chilakapati
for getting me on the groundwater modeling project.
<p>
Finally, thanks to Pacific Northwest National Laboratories, the
Associated Western Universities fellowship program, and Mesa State
College for allowing me the time, resources and opportunity to develop
perlpp.
<p>
<p>
<h3>A Story</h3>
<p>
Over the summer, I left my Red Hat 5.0 machine running in my Mesa
State College, Grand Junction, Colorado office. I then went to
Pacific Northwest National Laboratories in Richland, Washington,
where I dreamed up perlpp.
<p>
I used my Linux box remotely for the whole summer: web-browsing,
e-mail, obtaining old source files, using Emacs, Maple, TeX, Perl
or the FORTRAN compiler. It's true that I used these tools on the
PNNL machines as well, but sometimes a license was not available, or
the Linux tool was better for my purposes than what I could obtain at
the lab.
<p>
For six weeks I used that machine remotely at least once each day.
Only once did I have a problem with connecting to it.
After the summer, I learned that my Colorado office, which is in a
building that is being remodeled, had experienced several power
failures. Apparently, my machine had restarted each time without a
hitch, and I had only noticed the single time I requested something
during an outage.
<p>
That is far more reliability--and accessibility--than many of
my colleagues experience with other operating systems.
<p>
<p>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Dr. Warren MacEvoy<BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">How to use a Ramdisk for Linux</font></H1>
<H4>By <a href="mailto:mark@tcu-inc.com">Mark Nielsen</a></H4>
</center>
If this document changes, it will be available at
<a href="http://www.tcu-inc.com/mark/articles/Ramdisk.html">
http://www.tcu-inc.com/mark/articles/Ramdisk.html
</a>.
<P> <HR> <P>
<h2>Index:</h2>
<ol>
<li><a href="#Intro"> Introduction to RamDisk</a>
<li><a href="#How"> How to use RamDisk</a>
<li><a href="#Change"> Changing the size of the ramdisks</a>
<li><a href="#Example">Example of how to use a RamDisk for a webserver.</a>
<li><a href="#Comments"> Comments</a>
</ol>
<hr>
<a name="Intro"></a>
<h2>Introduction to RamDisk</h2>
Hello! This is a brief article about how to setup a RamDisk on a RedHat 6.0
system. It should be very similar for other Linux distributions.
<p>
What is a RamDisk? A RamDisk is a portion of memory that you allocate to use as
a partition. Or, in other words, you are taking memory, pretending to treat it
as a hard drive, and you are saving your
files to it. Why would you want to use a RamDisk? Well, if you know that
certain files you have are constantly going to be used, putting the files into
memory will increase the performance of your computer since your memory is faster
than your hard drive. Things like web servers with lots of data can be sped up
in the this way.
Or, if you are insane, and you have a PII 550 Mhz computer
with 1 gig of memory and an old 500 meg hard drive, you can use it just to
increase your hard drive space. Then again, if you want an almost diskless machine, it
might not be that crazy afterall.
<p>
Here are some more resources to help you.
<ol>
<li><a href="http://metalab.unc.edu/LDP/HOWTO/Kernel-HOWTO.html">
http://metalab.unc.edu/LDP/HOWTO/Kernel-HOWTO.html</a>
<li>
<a href="http://metalab.unc.edu/LDP/HOWTO/mini/LILO.html">
http://metalab.unc.edu/LDP/HOWTO/mini/LILO.html</a>
<li> /usr/src/linux/Documentation/ramdisk.txt
</ol>
<hr>
<a name="How"></a>
<h2>How to use RamDisk</h2>
Well, it is very easy to use a ramdisk. First of all, the default installation
of RedHat 6.0 comes with ramdisk support. All you have to do is format a
ramdisk and then mount it to a directory. To find out all the ramdisks you have
available, do a "ls -al /dev/ram*". This gives you the preset ramdisks
available to your liking. These ramdisks don't actually grab memory until you
use them somehow (like formatting them). Here is a very simple example of how to
use a ramdisk.
<pre>
mkdir -p /tmp/ramdisk0
mkfs -t ext2 /dev/ram0
mount /dev/ram0 /tmp/ramdisk0
</pre>
Those three commands will make a directory for the ramdisk to be located at,
format a ramdisk (default being 4 megs), and mount the
ramdisk to the directory "/tmp/ramdisk0". Now you can treat that directory as a
pretend partition! Go ahead and use it like any other directory or as any other
partition.
<p>
What are some catches? Well, when the computer reboots, it gets wiped. Don't put
any data there that isn't copied somewhere else or if it is critical data. If
you make changes to that directory, and you need to keep the changes, figure out
some way to back them up.
<hr>
<a name="Change"></a>
<h2>Changing the size of the ramdisks</h2>
Well, how do I change the size of the ramdisks? Well, personally, I could only
find two ways to change them. Neither of the options will let you change the
size of the ramdisks after the computer has started. That sucks.
<p>
Here is the hard way first. Look at this file :
<br> /usr/src/linux/drivers/block/rd.c
<br> then edit it, change this line
<br> int rd_size = 4096; /*Size of the ramdisks */
<br> by changing the number to whatever size you want in kilobytes. Then compile
the kernel, install the kernel, and reboot the computer.
<p>
Okay, now the easy way. Add this line to your lilo.conf file:
<br> ramdisk=10000
<br> and it will make the default ramdisks 10 megs after you type the "lilo"
command and reboot the computer. Here is an example of my /etc/lilo.conf file.
<pre>
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.5-15
label=linux
root=/dev/hda2
read-only
ramdisk=10000
</pre>
Actually, I got a little over 9 megs of usable space.
<hr>
<a name="Example"></a>
<h2>Example of how to use a RamDisk for a webserver.</h2>
Okay, here is an example of how to use 3 ramdisks for a webserver. Let us say
you are 99% confident that your default installation of Apache for RedHat 6.0
won't use more than 9 megs for its cgi-scripts, html, and icons. Here is how to
install one.
<br> First, issue this command to move the real copy of home directory for the
webserver to a different place. Also, make the directories to mount the ramdisks
to.
<pre>
mv /home/httpd/ /home/httpd_real
mkdir /home/httpd
mkdir /home/httpd/cgi-bin
mkdir /home/httpd/html
mkdir /home/httpd/icons
</pre>
Then, add these commands to your /etc/rc.d/rc.local file.
<pre>
### Make the ramdisk partitions
/sbin/mkfs -t ext2 /dev/ram0
/sbin/mkfs -t ext2 /dev/ram1
/sbin/mkfs -t ext2 /dev/ram2
### Mount the ramdisks to their appropriate places
mount /dev/ram0 /home/httpd/cgi-bin
mount /dev/ram1 /home/httpd/icons
mount /dev/ram2 /home/httpd/html
### Copying real directory to ramdisks
tar -C /home/httpd_real -c . | tar -C /home/httpd -x
#### Restarting the webserver
/etc/rc.d/init.d/httpd restart
</pre>
I would reboot your computer, even though you really don't have to if you just
issue this command to start the rc.local file again:
<pre>
/etc/rc.d/rc.local
</pre>
<hr>
<a name="Comments"></a>
<h2>Comments</h2>
<ol>
<li>Please remember one thing, BACKUP YOUR DATA if you change it and you need it.
When the computer reboots, any changes are lost. A cron job should do it. Have
it check every 5 minutes and see if any files have changed and backup any
changes. There are better ways of doing this, but I won't get into it. Another
thing you could do is make your changes to the real directory, and then copy
over the changes to the ramdisks. That is much safer.
<li> One thing to note, some motherboards for IBM PC compatible systems only
cache memory below 256 megs (or even 128 megs). If you use a lot of ram, take
that into consideration.
<li> A cool use of this would be to have a computer with 1 gig of memory and
then use 256 megs for "/tmp". If you have lots of processes that use "/tmp", it
should help speed up your system. Also, anything in /tmp would get lost when the
computer reboots, which can be a good thing.
<li> At first, I tried to use lilo.conf to change the sizes of the ramdisks, but
it didn't work. After Rob Funk asked me why I was trying to do it the hard way
(recompiling the kernel and such), I tried it again, and it worked. I don't
know what I did wrong the first time. Thanks Rob!
</ol>
<hr>
<a href="http://www.tcu-inc.com/mark">Mark Nielsen</a> works for
<a href="http://www.tcu-inc.com">The Computer Underground</a> as a file
clerk and as
a professional (suit and tie) consultant at <a href="http://www.800linux.com">
800linux.com</a>.
In his spare time, he does volunteer stuff, like writing
these documents for The Linux Gazette and linux.com. This document was edited
using Nedit and ispell.
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Mark Nielsen <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">
Finding All Filenames with Identical I-Node Numbers</font></H1>
<H4>By <a href="mailto:soneill@netaxs.com">Steve O'Neil</a></H4>
</center>
<P> <HR> <P>
<P> Here are a couple of scripts, one shell script, and one awk script, that
will find all file names that have identical inode numbers in your system.
Why would you want to know this? Well, there are three reasons I can
think of.
<P> First, it's generally useful when you're administering a system to
know where all of your file links are. Since an inode in Linux isn't freed
until the last link to it is removed, it can be helpful to know how many
filenames have to be removed in order to _really_ kill a particular file.
<P> Second, knowing all of the hard links in your system can be useful when you
have an intrusion. Suppose someone breaks into your system and installs a
packet sniffer, keystroke sniffer, or some other nasty piece of work. If he
wants to guarantee that he'll be able to carry on his business even if you
find his program, he might just create some hard links to it in some out of
the way places in the system. Then, even if you find his original program
and kill it, he can simply start it running again under one of the alternate
file names he created, assuming he can still access your system. However, if
you look at the inode number of the original program, then run these
scripts, any links to the file will be immediately evident. Granted, you can
get the same effect by running "find", if you know the inode number you're
looking for, but this won't get you information about _all_ the links in
your system, which leads me to the final reason for doing this ...
<P> If you're going to take a proactive approach to system security, you'll be
running a lot of file testing and scanning programs, to guard against
tampering. If you run these scripts on your system when you're sure it's
"pristine", and keep this list of hard links secure, you can run the scripts
on your system periodically, perhaps once a day, and compare the new list of
links to the baseline. Any differences seen, especially in the "system"
directories, such as /bin, /lib, /etc, and so on, should be investigated
without delay.
<P> The scripts should run on any system using bash or zsh, and every Linux
distrbution provides some version of awk. The file listing mechanism does,
however, rely on the use of Mark Baranowski and James Gleason's Enhanced ls
program, els. Unlike ls, els gives you complete control over the output
format of the file listing. This is an amazing program, and I recommend
getting it whether you use my scripts or not. Its only shortcoming is that
it doesn't display different file types in different colors, but, this is a
minor point in light of the program's power. It's available by ftp at
<A HREF=ftp://perseus.elen.utah.edu/pub/markb/els.tar.Z>
ftp://perseus.elen.utah.edu/pub/markb/els.tar.Z</A>. The current version is 1.44.
<P> Below are the scripts. Adjust the list of directories in "findhardlinks.sh"
to suit your preferences, and adjust the location of the awk interpreter in
"showsame.awk" to match what you have.
<P> To use them, first run "findhardlinks.sh" from the command line, as root. A
file called "allfiles.lst.srt" will be created in /temp(or whatever other
directory you'd like) . Be patient; if you have a lot of files and
directories, this could take a few minutes. When this is done, copy
"showsame.awk" to the same directory as "allfiles.lst.srt" and run
<PRE>
showsame.awk allfiles.lst.srt
</PRE>
<P> This will create a file called "outfile.txt", which contains the list of
identical links. Run this through "uniq" to eliminate duplicated lines, like
so
<PRE>
uniq outfile.txt > outfile.nodup
</PRE>
<P> and you're done. The file "outfile.nodup" is the list of links you want.
And yes, I could have put all this together into one big script, but I
wanted to show how the pieces work. Feel free to combine and streamline
these scripts to your heart's content.
<P> One last point: hard links only make sense between filenames on the _same_
filesystem, so when you put your list of directories into the shell script,
be sure they're all part of the same filesystem, such as "/".
<HR> <!-- ******************************************************** -->
<H3>findhardlinks.sh</H3>
<PRE>
#These directories are all under "/" on my system; you may have to change
#the list to suit your configuration.
for i in bin boot etc home lib opt root sbin tmp usr var
do
#This line generates a file listing for all the specified directories and
#their subdirectories, showing each files i-node number, and its complete
#path name, and puts all of it into "allfiles.lst"
els -a -i +R +NF $i >> /temp/allfiles.lst
done
cd /temp
sort allfiles.lst > allfiles.lst.srt
rm allfiles.lst
</PRE>
<HR> <!-- ***************************************************** -->
<H3>showsame.awk</H3>
<PRE>
#! /usr/bin/awk -f
BEGIN {
getline #get the first line of the file, then,
n1=split($0, test1) #put its fields into an array, then,
#increment the line pointer by one
}
{
#this is the i-node comparison loop
n2=split($0, test2) #put the next line into an array
if (test1[1] == test2[1]) { #see if the i-node numbers of the two
#lines are the same(field 1 of both
#strings)
#if they're the same, print the contents of both arrays
for (i=1; i <= n1; i++) {
printf ("%s ", test1[i]) >> "outfile.txt"
} #note (space) after %s; this puts
#back spaces between fields lost
#when the strings were split into
#the arrays
printf ("\n") >> "outfile.txt"
for (i=1; i <= n2; i++) {
printf ("%s ", test2[i]) >> "outfile.txt"
}
printf ("\n") >> "outfile.txt"
}
#Now put the most recent string into the array that holds the previous
#string; this allows us to do comparison between each line and the one
#before it.
for (i=1; i <= n2; i++) {
test1[i] = test2[i]
}
n1 = n2 #set the count of fields in the array that is holding what
#is now the previous string to the number of fields in that
#string
next #go get the next string and do it again
}
</PRE>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Steve O'Neill <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">DNS for the Home Network</font></H1>
<H4>By <a href="mailto:jpollman@bigfoot.com">JC Pollman</a>
and <a href="mailto:bill.mote@bigfoot.com">Bill Mote</a></H4>
</center>
<P> <HR> <P>
<p><b>Disclaimer: </b>This article provides information we have gleaned
from reading the books, the HOWTOs, man pages, usenet news groups, and
countless hours banging on the keyboard. It is not meant to be an all-inclusive
exhaustive study on the topic, but rather, a stepping stone from the novice
to the intermediate user. All the examples are taken directly from
our home networks so we know they work.
<p><b>How to use this guide:</b>
<ul>
<li>
Words encapsulated by square brackets like [Enter] indicate the depression
of a key on the keyboard or a mouse button [Mouse1]</li>
<li>
Words encapsulated by squiggly brackets like {your name here} indicate
data that will/should be substituted with "real" data</li>
<li>
Text depicted in italics are commands you, the user, should type at a prompt</li>
</ul>
<b>Prerequisites:</b> This guide assumes that you have bind v8.2 installed,
that you have selected a legal domain name, and that you're using IP Masquerade
to "hide" your machine from the internet. If you're running bind v4.x
either upgrade (there are some security concerns with 4.x) or do not use
this article as it will not work. Note - most distributions have three
packages of bind - the only one you do not want is the "caching-only" version.
<p><b>What is DNS? </b>DNS stands for: Domain Name System and is
actually a protocol. Bind, which is the program you will use, (Berkeley
Internet Name Domain) is an implementation of DNS, both server and client.
DNS translates alpha-numeric names, which we humans use, to ip addresses,
which computers programs use, and vice versa. In other words, it
translates www.netscape.com to 207.200.75.200.
<p><b>Why have your own DNS server? </b>You can survive without your
own DNS server by using your ISP's DNS server. Using your own server helps
to speed up name lookup, minimize the amount of admin time spent configuring
your network when you add a new computer, allows sendmail to work better
for your home network, and will give you a good weekend project.
<p><b>Who is providing your DNS now? </b>Odds are your local ISP is providing
you DNS. Follow along with this example as it will validate our assumption
and provide you with the basis to test your DNS setup after the installation.
Connect to your ISP and then, from a terminal window, type the following
command(s):
<dir>
<dir><i>nslookup[Enter]</i>
<p><i>Default Server: {your ISP's DNS name will show here}</i>
<br><i>Address: {your ISP's DNS server IP address here}</i>
<p><i>Now type this in to see dns work:</i>
<br><i>>www.tux.org</i>
<p><i>Non-authoritative answer:</i>
<br><i>Name: gwyn.tux.org</i>
<br><i>Address: 207.96.122.8</i>
<br><i>Aliases: <a href="http://www.tux.org/">www.tux.org</a></i>
<br><i>>exit [Enter]</i></dir>
</dir>
<p><br><b><i>Important Note - </i></b>Masquerading, do NOT even think of
setting up your own private DNS unless you have set up masquerading (or
have real ip addresses and have registered your network name)! Otherwise
you will confuse the system and probably get some nasty emails from the
owners of the real ip addresses. Masquerading allows you to use whatever
ip addresses and name you want for your own private network and then masquerades
requests from that network through your internet connection using the valid
ip address for that connection.
<p><b>Install DNS: </b>You have to install the bind program to get DNS
working. In my home setup, kulai.org is my domain. Since I
use masquerade, kulai.org is not listed anywhere, nor did I register it
with anyone. When you choose your domain name, make sure it is not already
registered or you could end up making a mess of things. You use the
whois program to check if your domain has been legally registered. Example,
while connected to the net:
<blockquote>
<blockquote><i>whois kulai.org [Enter]</i></blockquote>
</blockquote>
and I get back a lot of stuff that ends with:
<blockquote>
<blockquote>No match for "KULAI.ORG".</blockquote>
</blockquote>
For the rest of this article I will be using my computers. They are:
<br><b></b>
<br><b></b>
<table BORDER=4 COLS=3 WIDTH="90%" NOSAVE >
<tr>
<td>master.kulai.org</td>
<td>192.168.124.10</td>
<td>linux only, the server</td>
</tr>
<tr>
<td>jc.kulai.org</td>
<td>192.168.124.1</td>
<td>linux and win98</td>
</tr>
<tr>
<td>fserver.kulai.org</td>
<td>192.168.124.11</td>
<td>freebsd only</td>
</tr>
<tr>
<td>phillip.kulai.org</td>
<td>192.168.124.20</td>
<td>win98 only</td>
</tr>
</table>
<b></b><b></b>
<p><b>Setup your DNS: </b>There are five files you have to create. These
are ordinary text files you create with your favorite editor. You can copy
and paste the examples provided - just make sure to change the names and
ip addresses to yours! These files are very particular about the
syntax - be very careful when you type/edit them!
<dir>
<dir><a href="name_conf.html">/etc/named.conf</a>
<br><a href="db_cache.html">/var/named/db.cache</a>
<br><a href="db_kulai.html">/var/named/db.kulai.org </a>
(where kulai.org is my domain)
<br><a href="db_124.html">/var/named/db.124.168.192 </a>
(where my network is 192.168.124.0)
<br><a href="db_127.html">/var/named/db.127.0.0</a></dir>
</dir>
<b></b>
<table BORDER COLS=1 WIDTH="100%" NOSAVE >
<tr>
<td>WARNING: While your DNS is being set up, never reboot your server without
renaming /etc/resolv.conf. When the boot completes, rename it back to /etc/resolv.conf.
A bad reverse DNS can prevent booting, requiring a boot and rescue bust-in.
Save yourself the trouble - rename.
<P> Also, check your /etc/nsswitch.cnf file. The "hosts" line should say
"<CODE>hosts: files dns</CODE>". This will make the system resolve hostnames by first
looking at /etc/hosts before consulting a possibly non-functioning DNS. If
you have the Network Information System, the line may be
"<CODE>hosts: files nis dns</CODE>".</td>
</tr>
</table>
<b></b>
<br><b></b> <b></b>
<p><b>Start it Up:</b> Create the files above and then edit your /etc/resolv.conf
to list only your own name server:
<dir>
<dir>search kulai.org
<br>nameserver 192.168.124.10</dir>
</dir>
Note: /etc/resolv.conf is manditory for bind 8.* then type:
<dir>
<dir><i>tail -f /var/log/messages[Enter]</i></dir>
</dir>
so you can monitor any error messages when named starts. Open another
window/console and type:
<dir>
<dir><i>/usr/sbin/ndc start [Enter]</i>
<br>(or for Redhat users: /etc/rc.d/init.d/named start )</dir>
</dir>
Your /var/log/messages should have a number of entries about named and
end with:
<dir>
<dir>Jul 10 15:54:26 master named: named startup succeeded
<br>Jul 10 15:54:26 master named[3523]: Ready to answer queries.</dir>
</dir>
To test it, connect to the internet and repeat the process in section "Who
is providing your DNS now?" It should give <b>your</b> server's name
as the name server. Type in a place you often go to and see if it
gives you the ip address.
<p>If this does not work:
<br> 1. Check to see if named is running:
<br> <i>ps ax|grep named [Enter]</i><i></i>
<p> 2. Ping the server from a different machine, both
by ip address and name:
<br><i> ping 192.168.124.10 [Enter]</i>
<br><i> ping master.kulai.org
[Enter]</i><i></i>
<p> 3. Telnet to the server. A long time to connect will
indicate a problem.
<p>If all goes well, point the rest of the computers on your home network
to your new name server.
<p><b>Final thoughts</b>: We have given you a cookie-cutter recipe for
setting up a simple dns server. Since success usually creates greater
interest, here are some places to learn more:
<p><a href="http://howto.linuxberg.com/ptHOWTO/DNS-HOWTO">The DNS HOWTO</a>
<br><a href="http://www.ora.com/catalog/dns3/">DNS and Bind by O'Reilly</a>
<br><a href="http://www.zdwebopedia.com/TERM/D/DNS.html">DNS - ZDNet Webopedia
Definition and Links</a>
<br><a href="http://www.troubleshooters.com/linux/dns.htm">Troubeshooters.com:
DNS</a> -- also includes hints for those who have used an old version of bind
<br>
<p>Get your dns working as we will be using it in the months to come. Next
month we tackle mail for the home network.
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, JC Pollman and Bill Mote<BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<HR>
<b>FILE db.124.168.192:</b> This file does the opposite of db.kulai:
give it an ip address and it returns the computer name. I use ***** to
seperate the file listing from the rest of this article, so do not copy
them into your file.<b> Bold</b> items are explaned below - bold is not
part of the regular file. Here is what mine looks like:
<br>**************************************************************
<br><tt><b>@</b> IN SOA
<b>master.kulai.org.</b>
<b>jpollman.kulai.org.</b> (</tt>
<br><tt>
1;</tt>
<br><tt>
10800;</tt>
<br><tt>
3600;</tt>
<br><tt>
604800;</tt>
<br><tt>
86400 );</tt>
<p><tt> <b>IN NS</b>
master.kulai.org.</tt>
<br><tt>10 <b>IN PTR</b> master.kulai.org.</tt>
<br><tt>10 IN PTR www.kulai.org</tt>
<br><tt>10 IN PTR mail.kulai.org.</tt>
<br><tt>10 IN PTR news.kulai.org.</tt>
<br><tt>11 IN PTR fserver.kulai.org.</tt>
<br><tt>1 IN PTR jc.kulai.kulai.org.</tt>
<br><tt>20 IN PTR phillip.kulai.org.</tt>
<p>**************************************************************
<br><b>NOTE:</b> The biggest problem in creating these files is missing
a period where one is required. The period says: this is the end of the
name. Without the period, the domain name will be tacked on, so master.kulai.org
will become: master.kulai.org.kulai.org In other words, the period
is the difference between absolute and relative names.
<p>This file is basically the same concept as the db.kulai file:
<br><b>@ </b> This is shorthand for the base domain name. Note: the
@ must appear on the top line and with NO spaces before it.
<br><b>master.kulai.org.</b> This is the server's name.
<br><b>jpollman.kulai.org.</b> This is actually an email address
with the @ replaced by a period. If there is a problem, this person will
be notified via email.
<br><b>All those numbers:</b> These are the default times. If you want
to change them, read the books - the defaults work just fine for home use.
<br><b>IN NS</b> this line tells named that master.kulai.org is the <b>n</b>ame
<b>s</b>erver.
Note: the first part of the line is blank, so named will add kulai.org
there (no period).
<br>The numbers on the left (10,11,1,20) are the last digits of the ip
address, e.g. name will expand 10 to: 192.168.124.10.
<p>Notice that we use <b>IN PRT</b> instead of<b> IN A</b> in this file.
<br>
<br>
<HR>
<b>FILE db.127.0.0</b>: A simple file that allows named
to see localhost. I use ***** to seperate the file listing from the rest
of this article, so do not put them into your file.<b> Bold</b> items are
explaned below. Here is what mine looks like:
<p>**************************************************************
<br><tt><b>@</b> IN SOA <b>master.kulai.org</b>. <b>jpollman.imcnet.net</b>.
(</tt>
<br><tt>
1;</tt>
<br><tt>
10800;</tt>
<br><tt>
3600;</tt>
<br><tt>
604800;</tt>
<br><tt>
86400 );</tt>
<br> <tt></tt>
<p><tt> <b>IN NS</b> localhost.</tt>
<br><tt>1 <b>IN PTR</b> localhost.</tt>
<p>**************************************************************
<br><b>NOTE:</b> The biggest problem in creating these files is missing
a period where one is required. The period says: this is the end of the
name. Without the period, the domain name will be tacked on, so master.kulai.org
will become: master.kulai.org.kulai.org In other words, the period is the
difference between absolute and relative names.
<p>This file should work with all computers without modification.
<p>Same concept as with the db.kulai file:
<p><b>@ </b> This is shorthand for the base domain name. The @ must
be on the top line with not spaces in front of it.
<br><b>master.kulai.org.</b> This is the server's name.
<br><b>jpollman.kulai.org.</b> This is actually an email address
with the @ replaced by a period. If there is a problem, this person will
be notified via email.
<br><b>All those numbers:</b> These are the default times. If you want
to change them, read the books - the defaults work just fine for home use.
<br><b>IN NS</b> this line tells named that master.kulai.org is the <b>n</b>ame
<b>s</b>erver.
<br>
<p>Notice that we use <b>IN PTR</b> instead of <b>IN</b> <b>A</b> in this
file.
<HR>
<b>FILE db.cache</b>: This file lists the authoritative name servers
for the very top domains. It used to be a real pain to get and keep straight,
but the utilities that come with bind version 8 have a little program called
"dig" that does all the hard work. To get your db.cache file, while connected
to the internet, type:
<p>dig @e.root-servers.net . ns>/var/named/db.cache
<p>Since you need to keep this file up to date, I have not included it
here - it is so easy to get anyway. I this set on my dns server via cron
to run monthly so it stays up to date.
<HR>
<b>FILE db.kulai</b>: This file translates names to
ip addresses. I use ***** to seperate the file listing from the rest of
this article, so do not put them into your file.<b> Bold</b> items are
explaned below - bold is not part of a regular file. Here is what
mine looks like:
<p>**************************************************************
<br><tt><b>@</b> IN SOA <b>master.kulai.org.</b> <b>jpollman.kulai.org.</b>
(</tt>
<br><tt> 1;</tt>
<br><tt> 10800;</tt>
<br><tt> 3600;</tt>
<br><tt> 604800;</tt>
<br><tt> 86400 );</tt>
<p><tt> <b>IN NS</b> master.kulai.org.</tt>
<br><tt>master <b>IN A</b> 192.168.124.10</tt>
<br>
<p><tt>mail IN A 192.168.124.10</tt>
<br><tt>www IN A 192.168.124.10</tt>
<br><tt>news IN A 192.168.124.10</tt>
<p><tt>localhost IN A 127.0.0.1</tt>
<p><tt>fserver IN A 192.168.124.11</tt>
<br><tt>jc IN A 192.168.124.1</tt>
<br><tt>phillip IN A 192.168.124.20</tt>
<br>
<p>**************************************************************
<br><b>NOTE:</b> The biggest problem in creating these files is missing
a period where one is required. The period says: this is the end of the
name. Without the period, the domain name will be tacked on, so master.kulai.org
will become: master.kulai.org.kulai.org In other words, the period
is the difference between absolute and relative names.
<p><b>@ </b> This is shorthand for the base domain name. IMPORTANT:
the @ has to be on the top line and have no spaces in front of it.
<br><b>master.kulai.org.</b> This is the server's name.
<br><b>jpollman.kulai.org.</b> This is actually an email address
with the @ replaced by a period. If there is a problem, this person will
be notified via email.
<br><b>All those numbers:</b> These are the default times. If you want
to change them, read the books - the defaults work just fine for home use.
<br><b>IN NS</b> this line tells named that master.kulai.org is the <b>n</b>ame
<b>s</b>erver.
Note, the first part of the line is blank - named will put in kulai.org,
and the name given at the end of the line must be a name from an "IN A"
line listed somewhere in this file.
<br><b>IN A</b> these lines tell named what the name-to-ip relationship
is. Note, I did not end the names with a period (.) so named will automatically
add kulai.org (my domain) on to the end of them. It knows to use kulai.org
because I declared that name as a zone in the /etc/named.conf: <tt>zone
"kulai.org"</tt>
<br><b>IN CNAME: </b>this was formerly used to make additional names aliases
for the same ip. It is not needed any more - in fact it is discouraged.
So, my mail, web, and news servers are all on master.kulai.org. I could
just as easily have used only the server's name, i.e. master.kulai.org
for all the services, but mail.kulai.org is how it is usually setup at
the ISPs. Also note: I used an ip address and not a name like CNAME used
to use.
<p>Note: you have to list the server and localhost as regular computers
with "IN A" lines.
<br>
<br>
<HR>
<b>FILE named.conf:</b> This file tells named where its
other files are. I use ***** to seperate the file listing from the
rest of this article, so do not put them in your file.<b> Bold</b> items
are explaned below - the real file obviously does not have any bold
in it. Here is what mine looks like:
<br>**************************************************************
<br><tt>options {</tt>
<br><tt> <b>directory</b> "/var/named";</tt>
<p><tt> <b>forwarders</b> {</tt>
<br><tt> 216.116.0.4;</tt>
<br><tt> 216.116.0.10;</tt>
<br><tt> };</tt>
<p><tt> };</tt>
<br> <tt></tt>
<p><tt>zone "." {</tt>
<br><tt> type hint;</tt>
<br><tt> file "<b>db.cache</b>";</tt>
<br><tt>};</tt>
<p><tt>zone "kulai.org" {</tt>
<br><tt> type master;</tt>
<br><tt> file "<b>db.kulai</b>";</tt>
<br><tt>};</tt>
<p><tt>zone "124.168.192.IN-ADDR.ARPA" {</tt>
<br><tt> type master;</tt>
<br><tt> file "<b>db.124.168.192</b>";</tt>
<br><tt>};</tt>
<p><tt>zone "0.0.127.IN-ADDR.ARPA" {</tt>
<br><tt> type master;</tt>
<br><tt> file "<b>db.127.0.0</b>";</tt>
<br><tt>};</tt>
<br>**************************************************************
<p>There are 4 zones:
<br> the top zone - .
<br> my name-to-ip zone - kulai.org
<br> my ip-to-name zone - 124.168.192.IN-ADDR.ARPA
<br> my localhost zone - 0.0.127.IN-ADDR.ARPA
<br>Each zone will need its own file.
<p><b>directory</b>: this is the place you will put the rest of your files.
<br><b>forwarders</b>: these are the ip's of the DNS servers on the internet
(most likely your ISP's DNS servers.) Remember, named on your server
is authoritative for your computers only, it will have to go else where
to get the other ip's.
<br><b>db.cache, db.kulai, db.127.0.0, db.124.168.192</b> These are all
file names that I made up for my zones: you can use any name you wish -
as long as you know what they are.
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">
Other ways to join and contribute to the Open Source community</font></H1>
<H4>By <a href="mailto:eriksev@linuxdev.net">Erik Severinghaus</a></H4>
</center>
<P> <HR> <P>
Though Linux, is/was/always-will-be a hackers OS, there are lots of guys that
couldn't hack the kernel to save their life. There are however lots of other
badly needed areas which could use support.
<H1>Documentation</H1>
This is one of the most important, and ignored, areas of Linux. Lets face it,
coders don't ususally like to write documentation. Find a project you really
like (start w/ a small app or something) and see if you can write an easy way
to do the basic stuff, and then document the more advanced features. Have a
tough time figuring out how to do something? Chances are lots of other guys
are having the same problem. Write a HOWTO or Mini-HOWTO and submit it to the
<A HREF="http://metalab.unc.edu/linux">LDP</A>. There are tons of other
things that need documentation, and developers will love ya for it :).
<H1>Bug Testers</H1>
This is another thing that will make you a developers best friend. Take the
programs, push 'em to the limits, and make 'em break. If you can do something
to crash it, send a polite email to the author with your system specs, what
version of software, exactly what you did, and exactly what happened when it
crashed. Even better, do an strace if it seg faults and send the author the
results.
<H1>Packaging</H1>
Finding rpms and debs of the latest programs is tough to do. Reading some man
pages to learn the ins and outs of rpm and dpkg, and rolling generic .tgzs
into unofficial (or even better: official) packages is of great help to
everyone.
<H1>Advocacy</H1>
This can be very useful <I>if done correctly</I>. Dispelling the endless FUD
is always a Good Thing, but only if done in a polite and constructive manner
(completely free of profanity). Please, before you do this, read the
<A HREF="http://metalab.unc.edu/linux/HOWTO/mini/Advocacy.html">advocacy
HOWTO.</A>
<H1>Conclusion</H1>
These are just a few of the ways to help out and contribute to the Linux and
Open Source communities. Remember, finding something you enjoy doing will help
you do better work, and not get burned out.
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Erik Severinghaus <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Linux Tips and Tricks</font></H1>
<H4>By <a href="mailto:afsilva@liberty.edu">Anderson Silva</a></H4>
</center>
<P> <HR> <P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"> I am writing this article
for the linux newbies and even for the intermediate user that might
think a few of these tricks are useful for them. Nothing here is new.
They are just published very seldom by magazines or books, so a few of you might not know
these tips.</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"> I have been using linux for
2 years now, and I can tell you that I learn something new virtually
every day. And a few of those things I have learned are very rare to be seen all the time. Here are a
few of them.</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><BR>
</P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0in">If you are using
Redhat's <B>netcfg</B><SPAN STYLE="font-weight: medium"> utility
to connect to the internet and you are sick of having to open up
the GUI, and click on ACTIVATE to connect, and then have to click on
DEACTIVATE to disconnect... here is one little thing that you can
do to make life easier.</SPAN></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: medium">Let's
say you have a ppp0 set up with <B>netcfg</B>. Just add this two
lines to your <I>/etc/bashrc</I></P>
</OL>
<UL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0in"><I><B>alias
dial="/etc/sysconfig/network-scripts/ifup-ppp
/etc/sysconfig/network-scripts/ifcfg-ppp0"</B></I></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0in"><I><B>alias
hangup="/etc/sysconfig/network-scripts/ifdown-ppp
/etc/sysconfig/network-scripts/ifcfg-ppp0"</B></I></P>
</UL>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-style: normal; font-weight: medium">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-style: normal; font-weight: medium">
Now if you want to connect, all you need to do is to go to your terminal
and type <B>dial</B>; if you would like to disconnect just type
<B>hangup</B>.</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-style: normal; font-weight: medium">
<BR>
</P><OL start=2>
<LI>Here is another cool thing for you guys that use <B>bash</B>.</P></OL>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in">Let's
say you want to create a new directory called <B>test</B></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
And you type:</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><B>#</B>
mkdri
</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><I><B> </B></I></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><B><SPAN STYLE="font-style: normal">Note
that the command is mkdir, not mkdri</SPAN></B><SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: normal">.
Instead of backspa</SPAN></SPAN>cing to fix this typo, go ahead and
hit <b>Ctrl+t</b> (simultaneously). It will swap the two letter and you
have your command fixed.</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<OL START=3>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0in">Also for you guys that
are using <B>bash</B>.</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><SPAN STYLE="font-weight: medium">Don't
you hate when you want to go from one directory to another, but the
directory is a 200-letter name? Let's say you wanted to go from your
current directory to the directory
<B>what_is_wrong_with_this_directory.</B></SPAN></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><B># cd what</B></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><SPAN STYLE="font-weight: medium">Now,
go ahead and hit the TAB key.</SPAN> This will make the shell look
through your paths and find the possibilities that starts with <B>what</B><SPAN STYLE="font-weight: medium">.
</SPAN>
</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><B>Note: If you hit tab
once and nothing happens, hit it twice, because if there is any
other directory that starts with the <SPAN STYLE="font-style: normal">word</SPAN>
</B><SPAN STYLE="font-weight: medium"><I>what</I></SPAN><B> then the
shell would not know to what directory to go to.</B></P>
</OL>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
<BR>
</P>
<OL START=4>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0in; font-weight: medium">Customizing
your directory colors.</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><SPAN STYLE="font-weight: medium">I
know a lot of you know the command <B>ls --color</B></SPAN><B>. </B><SPAN STYLE="font-weight: medium">Which
displays your directory with colors. But, a lot of people may not
know that those colors are customizable.</SPAN><SPAN STYLE="font-weight: medium">
All you need to do is add the following line to your <I>/etc/bashrc</I>
file.</SPAN></P>
</OL>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
<B>eval `dircolors /etc/DIR_COLORS`</B></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
<BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
And then all of the color configuration can be found in the file
<I>/etc/DIR_COLORS</I></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in; font-weight: medium">
<BR>
</P>
<OL START=5>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium">
Frozen Xwindow.</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium">
If your Xwindow freezes sometimes, here are two ways that you may
try to kill your server. The first is the simple simple way of
killing your X server the key combination: <B>Ctrl+Alt+Backspace</B></P>
</OL>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><SPAN STYLE="font-weight: medium"><SPAN STYLE="font-style: normal">
The second way is a little more complicated, but it works most
of the time. Hit <B>Ctrl+Alt+F2</B> to </SPAN></SPAN>startup a
virtual console, then log in with your user name and password and
run:</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"># <B>ps
-ax | grep startx</B></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in">This
will give you the PID of your Xserver. Then just kill it with:</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"># <B>kill
-9 PID_Number</B></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in">To go
back to your first console, just hit <B>Alt-F1</B></P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><B> </B><SPAN STYLE="font-weight: medium">None
of these tricks are "rocket scientist" stuff, but I bet it
is new for a lot of linux newcomers. So, hopefully, you learned
something new with this article. </SPAN>
</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<P ALIGN=LEFT STYLE="margin-left: 0.5in; margin-bottom: 0in"><BR>
</P>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Anderson Silva <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Pine and Exim: a bug</font></H1>
<H4>By <a href="mailto:JW.Stumpel@inter.NL.net">Jan Stumpel</a></H4>
</center>
<P> <HR> <P>
In the last Gazette I wrote an article called
<A HREF=http:../issue43/stumpel.html>Setting Up Mail for a Home
Network Using Exim</A>. In this I described a method to use the Mail Transport
Agent (exim in this case) to set the proper From: address on outgoing messages.
<p>This works fine, unless the Mail User Agent (the actual e-mail program
for composing messages) messes things up. Unfortunately, pine 3.96 (which
I use) is not free of problems in this regard.
<p>If you type a message in pine and <i>postpone</i> it (store it for later
editing before sending it) pine will add a Reply-To: header when the message
is resumed later. So, such a postponed/resumed message sent by Joe Bloggs
will be sent out with the following headers:
<p><tt>From: Joe Bloggs <jbloggs@isp.com></tt>
<br><tt>Reply-To: Joe Bloggs <joe@home></tt>
<p>This will occur only with messages which are first <i>postponed</i>,
and then <i>resumed</i> and sent! Messages which are composed and sent
in one go will only have the From: address, not the Reply-To: address.
The problem is, if the recipient replies to your message, Reply-To: has
priority over From:. So the reply will go to the <tt>home</tt> domain (which
does not exist), instead of to the proper <tt>isp.com</tt> domain.
<p>This bug (which is flagged in the pine 3.96 source code as an unrepaired
bug) has been corrected in some later versions of pine (at least in pine
4.10). But pine 3.96 still has it. To check if your pine has the bug, write,
postpone, resume, and postpone again a test message. Then check the file
<tt>~/mail/postponed-msgs</tt>, to see if a Reply-To: header is present (and
then kill the message).
<p>If you have the problem, apart from using a different MUA than
pine, the easiest solution is to change <tt>/etc/exim.conf</tt> so as to
remove any Reply-To: headers in outgoing mail. This can be done by changing
the line (mentioned in my previous article)
<p><tt>headers_remove = "sender"</tt>
<p>to
<p><tt>headers_remove = "sender:reply-to"</tt>
<p>This is at least a temporary solution. Best is to upgrade to pine 4.10
(but I myself will wait until a Debian package for pine 4.10 has become
available).
<br>
<!--===================================================================-->
<P> <hr> <P>
<center><H5>Copyright © 1999, Jan Stumpel <BR>
Published in Issue 44 of <i>Linux Gazette</i>, August 1999</H5></center>
<!--===================================================================-->
<center><H2>
<A HREF="http://www.linuxgazette.com/">
<IMG SRC="../gx/newlogo.jpg" width=600 height=256 border=0
ALT="Linux Gazette... making Linux just a little more fun!"></a>
</H2>
<H4>Published by <A HREF="http://www.linuxjournal.com/"><I>Linux Journal</I></A></H4>
</center>
<P> <hr> <P>
<H1><font color="maroon">The Back Page</font></H1>
<ul>
<li><a HREF="#authors">About This Month's Authors</a>
<li><a HREF="#notlinux">Not Linux</a>
</ul>
<a name="authors"></a>
<P> <HR> <P>
<!--======================================================================-->
<center><H3><font color="maroon">About This Month's Authors</font></H3></center>
<P> <HR> <P>
<!--======================================================================-->
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Larry Ayers</H4>
Larry lives on a small farm
in northern Missouri, where he is currently engaged in building a
timber-frame house for his family. He operates a portable band-saw mill,
does general woodworking, plays the fiddle and searches for rare
prairie plants, as well as growing shiitake mushrooms. He is also
struggling with configuring a Usenet news server for his local ISP.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Jim Dennis</H4>
Jim is the proprietor of <A href="http://www.starshine.org">
Starshine Technical Services</A> and is now working for <A
HREF="http://www.linuxcare.com/">LinuxCare</A>.
His professional experience includes work in the technical
support, quality assurance, and information services (MIS)
departments of software companies like
Quarterdeck, Symantec/Peter Norton Group and
McAfee Associates -- as well as
positions (field service rep) with smaller VAR's.
He's been using Linux since version 0.99p10 and is an active
participant on an ever-changing list of mailing lists and
newsgroups. He's just started collaborating on the 2nd Edition
for a book on Unix systems administration.
Jim is an avid science fiction fan -- and was
married at the World Science Fiction Convention in Anaheim.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Michael J. Hammel</H4>
A Computer Science graduate of Texas Tech University, Michael J. Hammel,
mjhammel@graphics-muse.org, is an software developer specializing in X/Motif
living in Dallas, Texas (but calls Boulder, CO home for some reason).
His background includes everything from data
communications to GUI development to Interactive Cable systems, all based in
Unix. He has worked for companies such as Nortel, Dell Computer, and
Xi Graphics.
Michael writes the monthly Graphics Muse column in the Linux Gazette,
maintains the Graphics Muse Web site and theLinux Graphics mini-Howto, helps
administer the Internet Ray Tracing Competition (http://irtc.org) and
recently completed work on his new book "The Artist's Guide to the Gimp",
published by SSC, Inc. His outside interests include running, basketball,
Thai food, gardening, and dogs.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Norman M. Jacobowitz </H4>
Norman is a freelance writer and marketing consultant
based in Seattle, Washington. Please send your comments,
criticisms, suggestions and job offers to <A HREF=mailto:normj@aa.net>
normj@aa.net</A>.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Dr. Warren MacEvoy</H4>
Dr. Warren MacEvoy (wmacevoy@mesastate.edu) has been a happy
Linux user since 1993. He enjoys reading with his son, Bryce, eating
really hot food and listening to disturbingly loud music. He also hates
putting commas inside of ``quotes,'' especially when the comma
is not part of what he is quoting!
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Bill Mote</H4>
Bill is the Technical Support Services manager for a multi-billion dollar
publishing company and is responsible for providing 1st and 2nd level
support services to their 500+ roadwarrior sales force as well as their
3,500 workstation and laptop users. He was introduced to Linux by a good
friend in 1996 and thought Slackware was the end-all-be-all of the OS world
... until he found Mandrake in early 1999. Since then he's used his
documentation skills to help those new to Linux find their way.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Mark Nielsen</H4>
Mark founded The Computer Underground, Inc. in June of 1998. Since then,
he has been working on Linux solutions for his customers ranging from custom
computer hardware sales to programming and networking. Mark specializes in Perl,
SQL, and HTML programming along with Beowulf clusters. Mark believes in the
concept of contributing back to the Linux community which helped to start his
company. Mark and his employees are always looking for exciting projects to do.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Steve O'Neill</H4>
Steve is an electronics engineer and been designing hardware for 30 years,
more or less. He got interested in Linux several years ago when he worked for a
local ISP: he put Linux on his machine and haven't looked back since. He like
to say he's semi-retired. That means when the money runs out, he'll go back to
work. :-)
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">JC Pollman</H4>
I have been playing with linux since kernel 1.0.59. I spend way too much
time at the keyboard and even let my day job - the military - interfere once in
a while. My biggest concern about linux is the lack of documentation for the
intermediate user. There is already too much beginner's stuff, and the
professional material is often beyond the new enthusiast.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Erik Severinghaus</H4>
Erik is going to be a senior at North Raleigh Christian Academy next year. He's
been using Linux for a couple years now, and currently runs Debian. When he's
not staring at a monitor, he loves to ski, camp, backpack, and play basketball.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Anderson Silva</H4>
<A HREF="http://www.4christ.org/anderson.html">Anderson</A>
is a Senior at Liberty University majoring in Computer Science.
Originally from Brazil, now he works at the University's
<A HREF="http://www.liberty.edu/itrc">Information Technology
Center</A>. He is also a member of the <A HREF="http://www.lylug.org/">
Lynchburg Linux User Group</A> in Lynchburg, Virginia.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Jan W. Stumpel</H4>
Jan lives in Oegstgeest, The Netherlands.
<a name="notlinux"></a>
<P> <hr> <P>
<!--====================================================================-->
<center><H3><font color="maroon">Not Linux</font></H3></center>
<P> <HR> <P>
<!--======================================================================-->
<IMG ALT="[ Penguin reading the Linux Gazette ]"
SRC=../gx/lg-penguin.gif ALIGN=right>
<P>
There's not much to say this month. I was excited by the news about
Amiga adopting the Linux kernel (and about the rumors about Transmeta),
and by the report about TurboLinux outselling at least one version of
Windows 98 in Japan. I learned from JC Pollman's article about DNS.
<P> JC, by the way, has agreed to do a new monthly series called
"The Linux Home System Administrator". These articles will be a little
more advanced than our articles for beginners.
<P> Now, if only I hadn't been sick the past week and a half...
<P>
<P>
Have fun!
<P>-Mike Orr<br>
Editor, <A HREF="http://www.linuxgazette.com/"><i>Linux Gazette</i></A>, <A
HREF="mailto:gazette@ssc.com">gazette@ssc.com</a>
<BR CLEAR=all>
<P> <HR> <P>
<!--====================================================================-->
<A HREF="lg_toc44.html"><IMG SRC="../gx/indexnew.gif" ALT="[ TABLE OF
CONTENTS ]"></A>
<A HREF="../lg_frontpage.html"><IMG SRC="../gx/homenew.gif" ALT="[ FRONT
PAGE ]"></A>
<A HREF="stumpel.html"><IMG SRC="../gx/back2.gif" ALT=" Back "></A>
<p><hr><p>
<center>
<I>Linux Gazette</I> Issue 44, August 1999,
<A HREF="http://www.linuxgazette.com/">http://www.linuxgazette.com</A><BR>
This page written and maintained by the Editor of <I>Linux Gazette</I>,
<A HREF="mailto:gazette@ssc.com"> gazette@ssc.com</A>
<H5>Copyright © 1999 Specialized Systems Consultants, Inc.<br>
</center>
<P>
</BODY>
</HTML>
|