File: TWDT.html

package info (click to toggle)
lg-issue102 1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,204 kB
  • ctags: 54
  • sloc: makefile: 34; sh: 34
file content (7348 lines) | stat: -rw-r--r-- 282,014 bytes parent folder | download
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


<html>
<head>
<link href="../lg.css" rel="stylesheet" type="text/css" />
<title>
Linux Gazette : May 2004 (#102) 
</title>

<style type="text/css">
<!--

.twdtarticle {
	margin:0px;
	left:0px;
}

#twdtbody {
	margin-left:0px;
	margin-right:0px;
}

.twdtarticle h1 {
	font-size:19px;
	text-align:center;
}
		

-->
</style>


</head>

<body id="twdtbody">


<img src="../gx/2003/newlogo-blank-200-gold2.jpg" alt="Linux Gazette" id="twdtlogo"/>




<div class="content" id="lgissuecontents">

<h2>May 2004 (#102):</h2>

<ul>


	<li><a href="lg_mail.html">The Mailbag</a>

	<li><a href="lg_tips.html">More 2-Cent Tips!</a>

	<li><a href="lg_answer.html">The Answer Gang</a>

	<li><a href="dennis.html">Retrospectives</a>, by <i>Jim Dennis</i></li>

	<li><a href="ecol.html">Ecol</a>, by <i>Javier Malonda</i></li>

	<li><a href="ford.html">A Shell Named Westley</a>, by <i>Theresa L Ford</i></li>

	<li><a href="oregan.html">Songs in the Key of Tux: More Songwrite</title></a>, by <i>Jimmy O'Regan</i></li>

	<li><a href="oregan2.html">Debian dumps drivers, documentation</a>, by <i>Jimmy O'Regan</i></li>

	<li><a href="piszcz.html">Benchmarking Filesystems</a>, by <i>Justin Piszcz</i></li>

	<li><a href="pramode.html">Thinking about Caching</a>, by <i>Pramode C.E</i></li>

	<li><a href="qubism.html">Qubism</a>, by <i>Jon "Sir Flakey" Harsem</i></li>

	<li><a href="washko.html">Creating Animated Screenshots on Linux</a>, by <i>Daniel S Washko</i></li>

	<li><a href="lg_backpage.html">The Back Page, part 1</a>, by <i>Mike Orr (Sluggo)</i></li>

	<li><a href="lg_backpage2.html">The Back Page, part 2</a>, by <i>Mike Orr (Sluggo)</i></li>

	<li><a href="lg_backpage3.html">The Back Page, part 3</a>, by <i>Mike Orr (Sluggo)</i></li>

	<li><a href="lg_backpage4.html">The Back Page, part 4</a>, by <i>Mike Orr (Sluggo)</i></li>

</ul>

<p id="twdt">
<i>or read <a href="TWDT.html">TWDT</a></i>
</p>

</div>








<br />


<div class="content twdtarticle">


<h1>The Mailbag</h1>


</b>
</p>


<p>
<HR>
<center>
<BIG><STRONG><FONT COLOR="maroon">HELP WANTED : Article Ideas</FONT></STRONG></BIG>
<BR>
<STRONG>Submit comments about articles, or articles themselves (after reading <a href="../faq/author.html">our guidelines</a>) to <A HREF="mailto:gazette@linuxgazette.net">The Editors of <i>Linux Gazette</I></A>, and technical answers and tips about Linux to <A HREF="mailto:tag@linuxgazette.net">The Answer Gang</A>. 
</STRONG>
</center><HR>
<UL>
<!-- index_text begins -->
<li><A HREF="#wanted.1"
	><strong>Firewalls for dummies, with fun examples</strong></a>
<!-- index_text ends -->
</UL>
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="wanted.1"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/envelope.gif">
<FONT COLOR="navy">Firewalls for dummies, with fun examples</FONT></H3>
Wed, 28 Apr 2004 02:15:10 -0700
<BR>Heather Stern (<a href="mailto:tag@linuxgazette.net?cc=&cc=star@starshine.org&subject=%20Re%3A%20%5BLG%20102%5D%20help%20wanted%20%231">The Answer Gang's Editor Gal</a>)

<P>
Some of The Answer Gang have seen complaints on open forums that there is documentation for iptables and netfilter, but it is all scary and hard to read.  Looking at them myself, can't blame folks for thinking this.
</P>
<P>
So, we'd like to see an article on this topic - aimed at practical examples, doing some ordinary basic types of things - but with the orindary Joe Linuxer in mind, not people who wanted to learn yet another scripting language (tm) just to know their dialup outbound won't get invaded by blue meanies seeking to "sploit" the systems on their inner network. (Other examples welcome too.)
</P>
<P>
If you think you can make putting up the defense shields "Just A Little More Fun" - check out our article submission guidelines, and then mail <A HREF="mailto:articles@linuxgazette.net"
	>articles@linuxgazette.net</A>, we'd love to hear from you.
</P>

<!-- end 1 -->
<HR>
<center>
<BIG><STRONG><FONT COLOR="maroon">GAZETTE MATTERS</FONT></STRONG></BIG>
<BR>
</center><HR>
<UL>
<!-- index_text begins -->
<li><A HREF="#gaz.1"
	><strong>Editor retirement</strong></a>
<!-- index_text ends -->
</UL>
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="gaz.1"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/envelope.gif">
<FONT COLOR="navy">Editor retirement</FONT></H3>
Thu, 29 Apr 2004 21:15:10 -0700
<BR>Ben Okopnik, Thomas Adam, Heather Stern (<a href="mailto:gazette@linuxgazette.net?subject=%20Re%3A%20%5BLG%20102%5D%20gazette%20matters%20%231">The Linux Gazette Editor Gang</a>)
<BR>Question by Mike Orr (mso from oz.net)

<P><STRONG>
This is my last issue editing Linux Gazette.  Ben Okopnik has agreed to take
over producing LG starting in May.
</STRONG></P>
<BLOCKQUOTE>
[Thomas] 
Great! Out with the young, in with the.....
</BLOCKQUOTE>
<P><STRONG>
So you're all gonna DIE!!!  DOOM IS AT HAND!!!
</STRONG></P>
<BLOCKQUOTE>
[Heather] 
Mike's taking some well earned time off to play computer games.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Ben] 
Weren't you supposed to wait until the tranquilizers kicked in?  Boy,
just look at all those capitals and exclamation points; a sure sign of
somebody who wears his pants on his head, according to Terry Pratchett.
</BLOCKQUOTE>
<BLOCKQUOTE>
(I don't <EM>care</EM> if it's an accurate reflection of reality; they still
shouldn't let you out on the streets like this and scare the innocent
passerby.)
</BLOCKQUOTE>
<P><STRONG>
Fortunately, Heather Stern and Thomas Adam have agreed to step in and
"handle" Ben whenever he starts reaching for those dark sunglasses
</STRONG></P>
<BLOCKQUOTE>
[Heather] 
"Handle" hehehe. Ben keeps leaving his sunglasses in the TAG lounge
whenever he's split one too many
ginger beers
with us in the lounge.  We make sure to sneak them back into his shirt
pocket when he's not looking.
</BLOCKQUOTE>
<P><STRONG>
and that
slingshot he bought from a pirate in the Caribbean last year when his
helicopter....   Oh, that's another topic.
</STRONG></P>
<BLOCKQUOTE>
[Ben] 
He certainly <EM>was</EM> a pirate. I mean, jeez - $2.00 for for a single
Slingshot when a whole bottle of Cruzan rum was going for $1.70???
Robbery pure and simple, I tell ya.
</BLOCKQUOTE>

<blockquote><pre>   Slingshot
    3 oz. Peach Schnapps
    3 oz. Gin
    3 oz. sour mix
    dash of Grenadine

   Open a coconut, pour off all but a couple of oz. of the water. Add
   ingredients, mix, and serve.
</pre></blockquote>
<BLOCKQUOTE>
Anyway, if you see me reaching for one, join in.
</BLOCKQUOTE>
<P><STRONG>
Anyway, Ben will be reading your
articles and putting together the zine, and Heather and Thomas will be helping
out as necessary besides continuing their jobs as TAG Editors.
</STRONG></P>
<BLOCKQUOTE>
[Thomas] 
I know I've been saying it for months, there will be articles from me. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
It's this thing called 'real life' that annoys me.
</BLOCKQUOTE>
<P><STRONG>
I came back to LG in October to help recreate the production infrastructure at
its new webhost and to make sure it was done right.  Now linuxgazette.net is
established and is humming along nicely.  At the same time, other priorities in
my life have intruded.
</STRONG></P>
<BLOCKQUOTE>
[Thomas] 
That's to be expected. You've been doing this for a good number of years.
</BLOCKQUOTE>
<P><STRONG>
Python is proving to be a greater interest to me than
Linux, and it has somehow become a good intersection for my work,
</STRONG></P>
<BLOCKQUOTE>
[Thomas] 
I know what you mean there - I am finding Ruby is engulfing me.
</BLOCKQUOTE>
<P><STRONG>
volunteer, and
personal interests.  I need time to study more Python packages for work, I want
to play with
<a href="http://twistedmatrix.com/">Twisted</a>
(a versatile Internet services framework), and we're organizing a
<a href="http://seapig.org/NorthwestPythonSprint">Northwest Python Sprint</a>
in Seattle in June.  Plus there are some personal Python projects I've been
wanting to do.  Linux has become more of an environment I'm in rather than
something to focus on.  My next Linux project will be installing
<a href="http://gentoo.org/">Gentoo</a>
, which two coworkers are using and
recommend.  It looks like it has come a long way since I looked at it last
year.
</STRONG></P>
<P><STRONG>
I've also been reprioritizing some other things in my life.  I've given up
wrestling -- with my joint inflexibility I'm just not going to be able to be
serious about it, and I think after two years I've gained about as much from
it as I can.  Now I want to get into boxing.  Not really seriously, but just
for fun.  But first I gotta get in shape for it, and <EM>first</EM> I have to spend a
month or two earning $$ like mad to get over my current cash-flow problem.  So
I'll have plenty to do.  I'm also taking yoga more to help with the
flexibility.
</STRONG></P>
<BLOCKQUOTE>
[Thomas] 
I never was one for contact sports such as boxing and wrestling. Heck, I
am not even a sports fan. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle"> But I always did have a certain amount of
admiration for people who can box.
</BLOCKQUOTE>
<P><STRONG>
It has been a great inspiration working with the staff and contributors to LG
over the years.  The amount of dedication and goodwill people put into LG is
astounding.
</STRONG></P>
<BLOCKQUOTE>
[Heather] 
Awww shux.  :D
</BLOCKQUOTE>
<BLOCKQUOTE>
[Thomas] 
Likewise, Mike. It has been a pleasure and indeed an honour to have worked
with you. It has been a pleasure both in terms of Linux, but also getting
to know more about yourself, and the culture that surrounds you. I only
hope that we continue our discussions - I find them most enlightening.
</BLOCKQUOTE>
<P><STRONG>
When I started editing LG in 1999, I was afraid every month that
not enough articles would come in.  But somehow they always did.  Eventually I
learned to just expect it.
</STRONG></P>
<BLOCKQUOTE>
[Ben] 
[wry grin] I guess I'll just have to take that attitude over and carry
on with it. It's sure seemed like an edgy proposition at times.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Heather] 
For which we are all very grateful to you dear readers who decide to
take up the pen... or electrons... and put your new spin on things into
the shared world of <EM>Linux Gazette</EM> 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</BLOCKQUOTE>
<P><STRONG>
I'm grateful to The Answer Gang, to Mick for doing
News Bytes, to Javier and Shane and Jon for contributing their cartoons, and
to many authors of high-quality technical articles who keep sending stuff to
LG again and again.  You've all shown what volunteers can do if they work
together.
</STRONG></P>
<BLOCKQUOTE>
[Ben] 
Hey, it's a labor of love. We may all have our own reasons for being
here, but in the end it comes down to us putting out a quality 'zine
that benefits a large community; that's not small potatoes. It sure
gives me a good feeling to know that our efforts help people, that LG is
acting as a force multiplier for our advice, tips, and so on.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Thomas] 
More importantly, we're <EM>still</EM> showing that. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle"> I hope you won't be
leaving permenently. I hope you will still be TAG member, contributing
when you can. You're always welcome. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle"> I read your Python article in the
LJ (I actually ordered it in from America) - very impressive. I'll still
stick to Ruby though. :D
</BLOCKQUOTE>
<P><STRONG>
Now I'll go to the TAG lounge and open a cold bubbly ginger-beer.  Then I'm
going home to make my favorite dish,
<a href="http://sluggo.kicks-ass.org/food/pho.html">pho</a>
and earl green tea.  (That's green, not gray.)
</STRONG></P>
<P><STRONG>
PS. I wrote an LJ article about the
<a href="http://www.linuxjournal.com/print.php?sid=7541">Python conference in DC last month</a>
if you'd like to read it.
</STRONG></P>
<BLOCKQUOTE>
[Ben] 
Mike, it's certainly been a hell of an experience working with you all
these years. We've had fun and we've been through some edgy times
together, a bunch of sweet and only a little of the sour, and I'll
always think of you as a friend (despite the fact that you're giving
away all my secret plans, ya ratfink.)
</BLOCKQUOTE>
<BLOCKQUOTE>
Wherever your life takes you, you have my best wishes for the future.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Thomas] 
Best of luck to you, Michael. As I say, keep in touch, and most of all,
thank you. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle"> If you ever find yourself in England (or indeed, if I am
ever likely to be in America anytime soon) be sure to let me know.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Heather] 
Hee hee, if you're about to be in America sometime Thomas, you'd better
let <EM>us</EM> know, we'll have a TAG meetpoint and a party.
</BLOCKQUOTE>
<BLOCKQUOTE>
We will miss ya, Sluggo.  Hopefully not too much though - thanks for
agreeing to stay on as a contributing editor, and maybe we'll see an
article from you once in a while.  Mike, it's been a grand time working
with you, so don't be a strange... oh, alright, be as strange as you
need to be, but like Thomas says, do keep in touch :D
</BLOCKQUOTE>

<!-- end 1 -->
<hr>
<CENTER><Font face="Helvetica"><STRONG>
This page edited and maintained by the Editors of <I>Linux Gazette</I><br>HTML script maintained by <A HREF="mailto:star@starshine.org">Heather Stern</a> of Starshine Technical Services, <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
</STRONG></Font></CENTER>
<hr>

</p>



<!-- *** BEGIN author bio *** -->
<!-- *** END author bio *** -->




<div id="articlefooter">




<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>More 2-Cent Tips!</h1>


</b>
</p>


<p>
<center><STRONG>See also: The Answer Gang's 
<a href="../tag/kb.html">Knowledge Base</a>
and the <i>LG</i> 
<a href="http://www.linuxgazette.net/search.html">Search Engine</a></STRONG>
</center><HR>
<UL>
<!-- index_text begins -->
<li><A HREF="#tips.1"
	><strong>Variables in Shell Scripts</strong></a>
<li><A HREF="#tips.2"
	><strong>Linux-kernel OS radio....</strong></a>
<li><A HREF="#tips.3"
	><strong>GUIs don't fill up the whole screen</strong></a>
<li><A HREF="#tips.4"
	><strong>Equivalents</strong></a>
<li><A HREF="#tips.5"
	><strong>create new lilo boot loader - on 2nd drive</strong></a>
<li><A HREF="#tips.6"
	><strong>How to run chat with several phone numbers</strong></a>
<li><A HREF="#tips.7"
	><strong>The Dao of Knoppix for Rescue</strong></a>
<li><A HREF="#tips.8"
	><strong>New version of WinMD5 for Windoze available</strong></a>
<li><A HREF="#tips.9"
	><strong>telnet connection problem</strong></a>
<li><A HREF="#tips.10"
	><strong>networking problems(configuring a wi-fi card)</strong></a>
<!-- index_text ends -->
</UL>
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.1"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Variables in Shell Scripts</FONT></H3>
Jim Dennis (<a href="mailto:tag@linuxgazette.net?cc=anonymous&cc=jimd@starshine.org&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%231">the <em>LG</em> Answer Guy</a>)
<BR>Question by Guy Milliron (anonymous)

<P><STRONG>
Anyhow, I know it's simple, but I can't figure it out for the life of me.  I
use tcsh for my shell.  How would I alias a command to do a CD to a
directory of choice, and then automagically do an ls.
</STRONG></P>
<P><STRONG>
Long Hand:
</STRONG></P>

<pre><strong># cd [directory]
# ls -lag
</strong></pre>
<BLOCKQUOTE>
[JimD]
</BLOCKQUOTE>

<blockquote><pre>alias foo 'cd \!*; ls -lag'
</pre></blockquote>
<BLOCKQUOTE>
... works for me.  If you give it one argument that's where you are
 <TT>chdir()</TT>'d to.  No argument and you cd ~ and get a listing of your
home directory.  More args and you get an error from cd; just like
you'd expect from the cd command.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note that aliases are subject to history expansion.  That's why I'm
using \!* --- which expands into foo's argument list whenever the
foo alias is used.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note that bash aliases DO NOT perform history expansion.  Thus you'd
use a shell function instead:
</BLOCKQUOTE>

<blockquote><pre>function foo () { cd $1; ls -lag; }
</pre></blockquote>
<BLOCKQUOTE>
(Where either the word function or the () are hints that this is a
function definition --- but both can be used, too).
</BLOCKQUOTE>

<!-- end 1 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.2"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Linux-kernel OS radio....</FONT></H3>
Thomas Adam (<a href="mailto:tag@linuxgazette.net?cc=thomas_adam16@yahoo.com&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%232">The <em>LG</em> Weekend Mechanic</a>)


<P>
Hi, all.
</P>
<P>
Stumbled across this[1] and I have to say it is weird but knowing people
here someone (like me!) will find it interesting, if not amusing.
</P>
<P>
-- Thomas Adam
</P>
<P>
[1] <A HREF="http://radioqualia.va.com.au/freeradiolinux"
	>http://radioqualia.va.com.au/freeradiolinux</A>
</P>

<blockquote><font color="#1F1F1F">[laugh] Man, that is <EM>seriously</EM> whacky. I like it. Let's see, where can
we slide it into LG?...
</font></blockquote>
<blockquote><font color="#1F1F1F">The problem is, of course, the time factor. I mean, if anybody was to
listen to them and type it all in, they'd be almost two years out of
date by the time they finished! - not to mention seriously sore fingers
and a sleep debt the size of the US national one.
 -- Ben</font></blockquote>

<!-- end 2 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.3"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">GUIs don't fill up the whole screen</FONT></H3>
Kapil Hari Paranjape (<a href="mailto:tag@linuxgazette.net?cc=anonymous&cc=kapil@imsc.res.in&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%233">The <em>LG</em> Answer Gang</a>)
<BR>Question by JKC (anonymous)

<P><STRONG>
<A HREF="http://www.kde.org/">KDE</A> and <A HREF="http://www.gnome.org/">GNOME</A> on Linux (Topologilinux3.1.0)doesn't take up the whole
display of my Toshiba 2400 laptop. Linux in text mode does take up the
whole screen. How do I get the GUIs to do the same? With thanks, JKC.
</STRONG></P>
<P><STRONG>
[Please don't give deatils of my email address or full name but
otherwise I'm very happy for this rather lame question to be posted.
Thanks. JKC]
</STRONG></P>

<blockquote><font color="#000066">As a gentle reminder, yes gentle readers, if you want to be anonymous
either as someone asking a question or offering good answers, we're
fine by that - just let us know!
 -- Heather</font></blockquote>
<BLOCKQUOTE>
[Kapil] 
Have a look at:
<A HREF="http://www.thorstenhaas.de/toshiba2410"
	>http://www.thorstenhaas.de/toshiba2410</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
While this is for Toshiba 2410, it should also work for 2400.
</BLOCKQUOTE>
<P><STRONG>
Thank you Kapil.
</STRONG></P>
<BLOCKQUOTE>
[Kapil] 
You're welcome. However, ...
</BLOCKQUOTE>
<BLOCKQUOTE>
Please send your replies to the list rather than the person who
responded to your question so that other people with similar questions
can benefit from your experience.
</BLOCKQUOTE>
<P><STRONG>
I've had a look at the site and it has some good ideas.
</STRONG></P>
<BLOCKQUOTE>
[Kapil] 
Thorsten Hass has created this very useful site for Toshiba Laptop
(Satellite) info for Linux --- perhaps this should be in LG Tips.
</BLOCKQUOTE>

<blockquote><font color="#000066">Ok, so we took a while getting it into the mix, but done!
 -- Heather</font></blockquote>
<P><STRONG>
I did, however, find that the XF86Config-vesa worked (renamed to
XF86Config). Seems the Toshiba 2400 likes this Vesa configuration. This
config doesn't seem to have any other unwanted side effects; I copied
it from the default and there doesn't seem to be any localisation
issues - we'll see.
</STRONG></P>
<BLOCKQUOTE>
[Kapil] 
It is nice that "vesa" does what you want. However, note that the "vesa"
configuration is not "accelerated" which means that window
movement/mapping and animations will seem sluggish. Perhaps you could
try one of the other XF86config files at the site and tell us (on this
list) what happened.
</BLOCKQUOTE>
<BLOCKQUOTE>
The problem may also be with the "nv" driver and you could try out the
drivers from nVidia as explained at the site.
</BLOCKQUOTE>
<BLOCKQUOTE>
In any case, now that XFree86 supports generic "vesa" it is certainly
much easier to get a basic working GUI under Linux than it used to
be---at least for newer machines.
</BLOCKQUOTE>
<BLOCKQUOTE>
Regards.
</BLOCKQUOTE>

<!-- end 3 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.4"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Equivalents</FONT></H3>
Valery V. Kachurov (<a href="mailto:tag@linuxgazette.net?cc=linux-questions-only@ssc.com&cc=xoid26@linux-online.ru&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%234">xoid26 from linux-online.ru</a>)



<blockquote><font color="#000066">This refers back to the
<a href="../issue93/lg_mail.html#wanted.1">article idea</a>
in issue 93's mailbag.
 -- Heather</font></blockquote>
<P><STRONG>
The section should specifically address the typical daily activities
of the Windows user and how to configure Linux to operate like
Windows.
</STRONG></P>
<P>
I have a little and uncompleted table (but this is the most completed
list of that kind in Internet...), with nearly the same purpose 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">.
First column - the activity, second column - Windows way, third
column - Linux way :D.
</P>
<P>
URL: <A HREF="http://linuxshop.ru/linuxbegin/win-lin-soft-en/table.shtml"
	>http://linuxshop.ru/linuxbegin/win-lin-soft-en/table.shtml</A>
Descripton: The table of equivalents <TT>/</TT> replacements <TT>/</TT> analogs of
Windows software in Linux.
</P>
<P>
P.S. What do you think about this project? Can anyone help to convert
this page from HTML to MySQL (to put all information from table to DB)?
Thanks 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">.
</P>

<!-- end 4 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.5"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">create new lilo boot loader - on 2nd drive</FONT></H3>
Hans van Buitenen (<a href="mailto:tag@linuxgazette.net?cc=linux-questions-only@ssc.com&cc=jvbuiten@wanadoo.nl&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%235">jvbuiten from wanadoo.nl</a>)



<blockquote><font color="#000066">This offers help to Geraldine Koh from
<a href="../issue93/lg_mail.html#wanted.8">LG 93, help wanted #8</a>
 -- Heather</font></blockquote>
<BLOCKQUOTE>
Hi, you don't really describe how you boot from the second disk.
Do you switch this in the bios?
</BLOCKQUOTE>
<BLOCKQUOTE>
I will just give you two hints.
</BLOCKQUOTE>
<BLOCKQUOTE>
In my case I use to power down and use the removable drive switch to disable
the disk in the primary bay. Then the secondary starts up.
I can imagine that this dous not work in all systems.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you use lilo on the first disk to startup lilo in the mbr of the
second disk then you might
consider putting lilo in hdb1 and not in hdb.
</BLOCKQUOTE>
<BLOCKQUOTE>
Kind greetings.
</BLOCKQUOTE>

<!-- end 5 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.6"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">How to run chat with several phone numbers</FONT></H3>
David B. Sarraf (<a href="mailto:tag@linuxgazette.net?cc=linux-questions-only@ssc.com&cc=david.sarraf@paonline.com&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%236">david.sarraf from paonline.com</a>)



<blockquote><font color="#000066">In reference to
<a href="../issue93/lg_mail.html#wanted.5">LG 93, Help Wanted #5</a>
by Joao Coelho, where I asked any ppp/chat script experts to please chime in.
 -- Heather</font></blockquote>
<P>
Heather:
</P>
<P><BLOCKQuote>
I agree with you on this question.  Use a front end.  My personal
favorite is diald.  The documentation has an example of how to use a
pool of numbers.  You may not need the control that diald offers however
it does solve the reader's problem.
</BLOCKQuote></P>
<P>
Dave Sarraf
</P>

<!-- end 6 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.7"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">The Dao of Knoppix for Rescue</FONT></H3>
Heather Stern (<a href="mailto:tag@linuxgazette.net?cc=star@starshine.org&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%237">The Answer Gang's Editor Gal</a>)


<P>
I know that this stumps people from time to time, Knoppix itself is cool but using it for a rescue environment is a little sneakier.
</P>
<P>
First and foremost unless your idea of rescue is "find a file and ftp or scp it to somewhere else" kill the darn automounter.  Run:
<TT>/etc/init.d/autofs</TT> stop
</P>
<P>
Wait a few moments then make sure to use 'ps was' or 'ps fax' and make sure it is good and properly dead. Use 'kill -9' on the automounter if you have to.
</P>
<P>
Next thing is, you <EM>can</EM> use ctrl-alt-f1 or even ctrl-alt-F2 to get a prompt; over on tty1 just press ENTER and it's there already.  When I'm really deep into thoughts of rescue the whole gorgeous GUI thing just gets in my way.  If you'd rather stay in the GUI though, you'll have to launch konsole (or an xterm) and run 'sudo su -' ... and it won't ask a password.  (That's also a warning to those of you who use Knoppix just because it makes Linux easy to show to your pals...)
</P>
<P><CODE>
Then I cd /mnt and see a gazillion (that's a technical term) hd* and sd* entries.  I use e2label religiously to label my volumes, or create them with -L options so they have them; RH distros make the volumes with labels; other distros might too.  So you've a pretty good chance of getting some useful answer out of this:
</CODE></P>

<blockquote><pre>cd /mnt
for i in hd* sd* ; do echo -n "$i: " ; e2label /dev/$i ; done
</pre></blockquote>
<P>
Yeah, yeah, I know, if you use reiser or somehting that won't help, but the heartening thing is knoppix supports extra journaling fs' too, including XFS (Klaus merges SGI's XFS patches into his kernels).
</P>
<P>
I also mkdir my own mountpoint - my favorite <TT>/mnt/pt</TT> (mount point, get it?) or <TT>/mnt/t</TT> (for target) and mount my poor benighted root fs there, then read its etc/fstab for what else to mount.  Then you can safely chroot in and tweak lilo, or install that important package.  If you are installing packages, some need <TT>/proc</TT> mounted to behave well... and then you'll need to recall to umount <TT>/proc</TT> in there too.  Don't forget to umount all this stuff yourself before you reboot.
</P>
<P>
Last but not least, if you use knoppix to do a local install, get rid of or at least properly configure that annoying little MTA smail. Almost nobody will relay <A HREF="mailto:newuser@knoppix"
	>newuser@knoppix</A> and that's what your outbound mail will look like it's from if you don't do something about it.  Compared to that, fending off vestiges of German configuration is more charming than troublesome 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</P>

<!-- end 7 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.8"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">New version of WinMD5 for Windoze available</FONT></H3>
Ken Dodge (<a href="mailto:tag@linuxgazette.net?cc=linux-questions-only@ssc.com&cc=k.dodge@comcast.net&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%238">k.dodge from comcast.net</a>)


<P>
Hi all,
</P>
<P>
Back around mid-April 2003 I posted a reply to a querant about md5sum's, and
mentioned that I often use Ed Olson's WinMD5 on one or another of my Win
boxes when downloading and burning Linux distro .iso's (got to get that
Linux system up for doing that sort of thing!)  Ed sent me the
following message regarding my original posting, and announcing the
availability of his latest version of WinMD5 (v2.0), so I thought I
would pass it on.  I've been using v1.1 of his program for awhile now,
with no problems at all.
</P>
<P>
BTW his v2.0 requires M$ .NET Framework (preferably v1.1 or newer)
installed to run.  It's available via Windoze Update on Win98/2K/XT systems.
</P>
<P>
HTH
- Ken Dodge
</P>

<blockquote><font color="#000066">It's still the current version, it's still a nice little app, and I'm
sure those of you downloading a Linux ISO to the beast of Redmond before
burning your shiny new CD would kind of like to know you aren't making a
coaster.  So here it is.
 -- Heather</font></blockquote>

<TABLE WIDTH="95%" BORDER="1" BGCOLOR="#FFFFCC"><TR><TD>
<p align="center">...............</p>

<blockquote><pre>Subject: WinMD5
Date: Mon, 18 Aug 2003 14:41:30 -0400
From: Edwin Olson &lt;eolson@MIT.EDU&gt;
</pre></blockquote>
<P>
Howdy,
</P>
<P>
I'm the author of WinMD5. I noticed a whole bunch of hits against my
website referred by a posting to linux-list from April, and found your
name. (The link in your email
<A HREF="http://www.ssc.com/pipermail/linux-list/2003-April/055560.html"
	>http://www.ssc.com/pipermail/linux-list/2003-April/055560.html</A> contains
a spurious period, so my server was getting a lot of 404s).
</P>
<P>
FYI, The best web page to point people to is:
</P>
<P><BLOCKQuote>
<A HREF="http://www.blisstonia.com/software/WinMD5"
	>http://www.blisstonia.com/software/WinMD5</A>
</BLOCKQuote></P>
<P>
There's also a <EM>much</EM> nicer version 2.0 available now (still free, of
course 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle"> I would appreciate any feedback you might have.
</P>
<P>
Thanks for recommending my utility. It's nice to know folks are using it!
</P>
<P>
-Ed
</P><p align="center">...............</p>
</TD></TR></TABLE>

<!-- end 8 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.9"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">telnet connection problem</FONT></H3>
Karl-Heinz Herrmann (<a href="mailto:tag@linuxgazette.net?cc=lovelearninggtmhh@37.com&cc=k.-h.herrmann@fz-juelich.de&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%239">k.-h.herrmann from fz-juelich.de</a>)
<BR>Question by gho boo (lovelearninggtmhh from 37.com)

<P><STRONG>
i am trying to use telnet to learn more about internet protocols but
every time i try to make a connention through the telnet i get a refuse message
says couldnot make a connection to the web site.
what i do is fisrt make a connection to the internet then i put in the host name
the following address "whois.internic.com" and leave the term type and every
thing else as it was but i also fail
</STRONG></P>
<BLOCKQUOTE>
[K.-H.] 
Well --- learning more about internet protocols is certainly worthwhile
especiall since you've no clue. On the other hand this mailinglist you sent
your question to is called *linux-questions-only*. Why would you guess
somebody has a funny E-Mail adress like that? Because we are network and
internet protocol specialists?
</BLOCKQUOTE>
<BLOCKQUOTE>
For further asking question at this place consider reading:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
<A HREF="http://www.linuxgazette.com/tag/ask-the-gang.html"
	>http://www.linuxgazette.com/tag/ask-the-gang.html</A>
</BLOCKQuote></BLOCKQUOTE>
<BLOCKQUOTE>
<EM>AND</EM> recommended places to find information like search linuxgazette, google
or the Linux documentation project www.tldp.org which incidentially has a
network administrator guide which explains many basics:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
<A HREF="http://www.tldp.org/LDP/nag2/index.html"
	>http://www.tldp.org/LDP/nag2/index.html</A>
</BLOCKQuote></BLOCKQUOTE>
<P><STRONG>
i tried another addresses but invain i tried google.com,yahoo.com but no
connection was there maybe the proxy setting affect the telnet
connection??????????/
</STRONG></P>
<BLOCKQUOTE>
[K.-H.] 
Certainly -- proxy is for the http (maybe ftp) protocol. This protocol
definition includes a port number, usually 80. telnet on the other hand is a
service usually not available to everybody and usually connecting to port 23
-- which is not covered by standard proxy services.
</BLOCKQUOTE>
<BLOCKQUOTE>
Since you wanted to study network protocols you <EM>probably</EM> wanted to telnet
to the webserver on any of the machines you tried.
</BLOCKQUOTE>
<BLOCKQUOTE>
That could be done by:
telnet www.whatever.com 80
</BLOCKQUOTE>
<BLOCKQUOTE>
the 80 specifies that you do not want to connect to the regular telnet port
(which should not be available on any big webserver as its a gaping security
hole) but to the http-server which is listening on port 80.
</BLOCKQUOTE>
<BLOCKQUOTE>
Maybe this gets you started in the right direction (i.e. start reading
documentation).
</BLOCKQUOTE>
<P><STRONG>
please help me to answer this question as i read in the website you have a
fabulous information about this things
thanks very much...............
</STRONG></P>

<blockquote><font color="#000066">You're welcome.  To others reading this - the trick works for any purely
text based protocol, as long as it only needs one port, and you have
your hceat card at hand.  I use it to test my mailservers for clients
before taking them out of the lab, using telnet to port 25 and using raw
SMTP or ESMTP commands.
 -- Heather</font></blockquote>

<!-- end 9 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<P> <A NAME="tips.10"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">networking problems(configuring a wi-fi card)</FONT></H3>
Karl-Heinz Herrmann (<a href="mailto:tag@linuxgazette.net?cc=Ben@Vargasent.com&cc=k.-h.herrmann@fz-juelich.de&subject=%20Re%3A%20%5BLG%20102%5D%202c%20Tips%20%2310">k.-h.herrmann from fz-juelich.de</a>)
<BR>Question by Ben Vargas (Ben from Vargasent.com)

<P>
as of yesterday i fugured out my PCMCIA problem and have now configured
my wi-fi card and everthiing seemed to be going well untill i launched
the browser and i dont seem to be passing the IP adress to the browser,
if i have an ip address at all. and my real question is, is there a ip
configuration utility for red hat 9 where i can see if i indeed have a
ip address that was DHCP to my machine and if so where can i find this
program.
</P>
<P>
thanks for your time
</P>
<P>
Benjamin Vargas
</P>
<BLOCKQUOTE>
[K.-H.] 
That question is completely confused. Read
<A HREF="http://www.linuxgazette.com/tag/ask-the-gang.html"
	>http://www.linuxgazette.com/tag/ask-the-gang.html</A>
to get an idea how to ask a good question. It would help to tell <EM>what</EM>
netscape is doing/not doing. proxy setting in netscape. output of
<TT>/sbin/route</TT> -n  (one of the tools you ask for) would also help in finding out
whats the problem.
</BLOCKQUOTE>
<BLOCKQUOTE>
Generally:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
Your computer has an IP-adress attached to each of its interfaces. It is
127.0.0.1 on interface lo (loop back), it might have ethernet connections
like eth0 with local IP-adresses (e.g. 10.10.10.1) and once you've dialed out
via modem/ISDN you've a [i]ppp0 interface which got a dynamic IP adress
assigned. That might be any IP-adress.
</BLOCKQuote></BLOCKQUOTE>
<BLOCKQUOTE>
The IP-traffic is directed by routing, thats's the roadmap which tells the
kernel where to send each IP packet depending on the IP. A packet to
127.0.0.1 will be passed to interface lo, while with appropriate
netmask/broadcast setting any packet to 10.x.x.x will be passed to eth0.
To direct all unknown (outside) IP-adresses to [i]ppp0 you would set a
default route (shows up as 0.0.0.0 in route outpute) specifying where to send
all the traffic.
</BLOCKQUOTE>
<BLOCKQUOTE>
If your netscape doesn't see the outside, it's because the packets go wrong
(or the interface is not up and running).
</BLOCKQUOTE>
<BLOCKQUOTE>
interfaces are checked with ifconfig, routes with route [-n].
</BLOCKQUOTE>
<BLOCKQUOTE>
WLAN is no different, looks like an ethernet but has some special tools for
the interface and status: iwconfig, iwspy, iwlist, iwpriv,...
route is the same.
</BLOCKQUOTE>
<BLOCKQUOTE>
<A HREF="http://www.oreillynet.com/pub/a/wireless/2001/03/06/recipe.html"
	>http://www.oreillynet.com/pub/a/wireless/2001/03/06/recipe.html</A>
has a Linux-setup for 802.11b cards. There are links to the wireless-tools
which will help diagnose and set WLAN specific things.
</BLOCKQUOTE>
<BLOCKQUOTE>
K.-H.
</BLOCKQUOTE>

<!-- end 10 -->
<hr>
<CENTER><Font face="Helvetica"><STRONG>
This page edited and maintained by the Editors of <I>Linux Gazette</I><br>HTML script maintained by <A HREF="mailto:star@starshine.org">Heather Stern</a> of Starshine Technical Services, <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
</STRONG></Font></CENTER>
<hr>

</p>



<!-- *** BEGIN author bio *** -->
<!-- *** END author bio *** -->




<div id="articlefooter">




<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>The Answer Gang</h1>


</b>
</p>


<p>
<!--startcut  ==============================================-->
<!-- *** BEGIN HTML header *** -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD>
<META NAME="generator" CONTENT="lgazmail v1.4G.r">
<TITLE>Linux Gazette 102: The Answer Gang (TWDT)</TITLE><link href="../lg.css" rel="stylesheet" type="text/css" media="screen,
projecti
+on"  />
<title>The Answer Gang 102: </title>
<style type="text/css" media="screen, projection">
<!--
.articlecontent {
        position:absolute;
        top:143px;
}
-->
</style>

</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000">
<!-- *** END HTML header *** -->
<!--endcut  ==============================================-->
<TABLE width="100%" BORDER><TR><TD WIDTH="200">
<A HREF="http://linuxgazette.net/">
<IMG ALT="LINUX GAZETTE" SRC="../gx/2002/lglogo_200x41.png" 
	WIDTH="200" HEIGHT="41" border="0"></A>
<BR CLEAR="all">
<SMALL>...<I>making Linux just a little more fun!</I></SMALL>
</TD><TD>
<div class="content articlecontent">
<center>
        <img src="../gx/dennis/qbubble.gif" alt="(?)"                           
	                border="0" align="left">
<A NAME="answer"><BIG><BIG><STRONG><FONT COLOR="maroon"
	>The Answer Gang</FONT></STRONG></BIG></BIG></a>
	<img src="../gx/dennis/bbubble.gif" alt="(!)"                           
	                border="0" align="right"><BR>
<STRONG>By Jim Dennis, Karl-Heinz Herrmann, Breen, Chris, and...
        (<a href="../tag/bios.html">meet the Gang</a>) ...
	        the Editors of <i>Linux Gazette</i>...
		        and 
			<a href="../tag/ask-the-gang.html">You</a>! 
</STRONG></BIG> </TD></TR>
</TABLE>
<P>

<!-- END header -->

<center><p>
<br>We have guidelines for <a href="../tag/ask-the-gang.html">asking</a> and <a
href="../tag/members-faq.html">answering</a> questions.  Linux questions only, please.
</STRONG>
<br><em><font color="#7F0000">We make <b>no guarantees</b> about answers, but you can be <b>anonymous</b> on request.</font></em>
<br>See also: The Answer Gang's 
<a href="../tag/kb.html">Knowledge Base</a>
and the <i>LG</i> 
<a href="http://linuxgazette.net/search.html">Search Engine</a>
</center>
<br></p></center>

<HR>
<!-- BEGIN message -->
<H3>Contents:</H3>
<dl>
<dt><a href="#tag/greeting"
	><strong>&para;: Greetings From Heather Stern</strong></A></dl>

<DL>
<!-- index_text begins -->
<dt><A HREF="#tag.1"
	><img src="../gx/dennis/qbub.gif" height="28" width="50"
	  alt="(?)" border="0"
	><strong>Redhat + scsi RAID = Excedrin headache #459</strong></a>
<dt><A HREF="#tag.2"
	><img src="../gx/dennis/qbub.gif" height="28" width="50"
	  alt="(?)" border="0"
	><strong>howto</strong></a>
<dt><A HREF="#tag.3"
	><img src="../gx/dennis/qbub.gif" height="28" width="50"
	  alt="(?)" border="0"
	><strong>Wireless networking</strong></a>
<!-- index_text ends -->
</DL>
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<A NAME="tag/greeting"><HR WIDTH="75%" ALIGN="center"></A>
<H3 align="left"><img src="../gx/dennis/hbubble.gif" 
	height="50" width="60" alt="(&para;) " border="0"
	>Greetings from Heather Stern</H3>
<!-- begin hgreeting -->
<P><STRONG>
Greetings dear readers, and welcome once more to the wild and whacky world of The Answer Gang.
Sorry the workshop's a mess.  Even sorrier we took so long to clear out the sawdust and get these bits to you.   However, I hope you find the threads a little more readable; my apologies to everyone who got nipped by my confused battle with the stylesheet last month.  The bandaids are off now and the scratches are healing nicely...
</STRONG></P>
<P><STRONG>
Which brings me to thoughts of the next battle ahead.  Upgradability has always been something I care about; thence my careful management of my distros, whichever they are, and a particular fondness for <A HREF="http://www.debian.org/">Debian</A>'s apt-get feature. (I look forward to trying
<a href="http://linux.duke.edu/projects/yum/">yum</a>
when I have Copious Free Time^tm to try Fedore, and recommend
<a href="http://www.linux-mandrake.com/cooker/urpmi.html">urpmi</a>
to Mandrake fans.) Still, the main thing that gives any distro is the policies its maintainers apply.  RPM based distros are unique because of how the dependencies are laid out - if they're good, installs of new software - even source based softare, are easy, and if not, then upgrades are just hellish.  In other words, these maintainers... <EM>they</EM> are your sysadmin, until you take the reins in your hands to do it yourself - and even then, the tools they make handiest to help you with that also apply policy, at least about where the control files go.
</STRONG></P>
<P><STRONG>
As Linux is increasingly being taken up by people who care about what they're going to do with it, rather than folks who really care what their OS is at all under the hood - this is getting more important.  The paper zines have been muttering under their breath for years "not ready for the enterprise" - what they mean is we dunno, as in Ghostbusters, "who ya gonna call?"
</STRONG></P>
<P><STRONG>
Nobody claims that's the problem anymore, all the big names are well known and pretty much Joe User have now heard of mailing lists and blogs.  Still they resist, so the next chain to yank is "it's too hard to switch" - oops, GUI and web admin interfaces abound. Can't lean on that one too much anymore.  What else?  Well, change manaegement is the real problem - a problem about people, not about technology - and that's about policy.
</STRONG></P>
<P><STRONG>
But what about when your fought-for-and-won distro of choice changes its policies?  What if you don't like them anymore?  Whoops.  Of course the mswin folk have dealt with the changing winds from Redmond every other season, but we've grown rather fond of having a choice... and it upsets our applecart when the spirit of a distro changes.  I've watched it over the years.  <A HREF="http://www.slackware.org/">Slackware</A> was one of the earliest distros at all - only had 3 or 4 competitors and you may not have even heard of them if you're new to the game - and being a distro proper made life easy.  Slackware has its loyal followers everywhere - but you won't find them saying it's because they wanted to have their hand held, no way.  <A HREF="http://www.redhat.com/">Red Hat</A> put together the system for the ordinary guy, the average Joe... and around the time those <A HREF="http://www.caldera.com/">Caldera</A> people were looking good for a good standing in the business world, decided that was their new definition of Joe.  Their trend toward the business world has gone so far they will barely accept money from Joe's buddy out here on the street anymore.  What? and have to answer his phone calls??  They run and hide.  Much more fun to accept money by the industrial size barrel for the occasional call now and then from a corporate contact.  The community that had grown to be fond of them takes this two ways:
</STRONG></P>

<p><Strong><ol>
<LI>a personal challenge, after all the whole <EM>point</EM> of the GPL and other free licenses is for projects to continue when the original folk bail on it;


<LI>vote with their feet, especially if any other policies of basic set up are annoying them. There's a lot more distros to pick from now, maybe it's time to go shopping.

</ol></Strong></p>
<P><STRONG>
That's where the
<a href="http://fedora.redhat.com/">Fedora</a>
plan came in.  Of course, I've ggot my clients, and I heard diddly squat from them about the
<a href="http://www.fedoralegacy.org/">Fedora Legacy</a>
project - to keep RH consumer distros in security patches at least; lots more about considering the offers of Progeny or other consulting vendors to keep them in good health.  Fedore's lifeblood will be the people who took the challenge seriously and though their first burst of energy was a painful birth, I think the kid's coming along nicely.
</STRONG></P>
<P><STRONG>
Mind you, the Linux users of the tinkering spirit, with their off brand distros and literally a pile of Debian derivitives, are not safe from the winds of change - they need to learn to set their sails too.  The Debian project just went through a vote that changed some minor wording in their core document, the Debian Social Contract... and oh, the flame wars that have arisen if one interprets the new word they chose a bit more broadly.  It's not that bad folks, it just isn't - but people who thought they were standing on solid ground got mildly dizzy when the bandwagon shifted even a little bit.  The purists who want to know that "free means free" will feel a bit happier setting sail this way.  Those qho quail that it may vastly slow down the Sarge release are probably wrong;  yeah, it's slow but what <EM>I</EM> have learned to view as signs of impending release with the next few months - breakage for brief times now and then of core dependencies and thence the install of core packages - have been happening of late, and I've just learned to keep an ear flapping in the wind for the howling of their
<a href="http://bugs.debian.org/">Bug Tracking System</a>
entries.  The <EM>really</EM> painful ones get FAQ status in freenode's #debian channel by being listed in the topic you read as you enter. Luckily they also get dealt with rather quickly, but I wouldn't exactly update via cronjob these days; I like to keep a closer eye on things.
</STRONG></P>
<P><STRONG>
That's just a couple of examples.  Now that the word "Linux" gets a few less glassy stares I also hear the hiss of people zipping their hand back with burnt fingers everywhere.  The good news is there are at least as many varieties of burn cream as there are hot stoves to touch or hot sidewalks to stroll along.  The bad news - good news in disguise - is there are so many choices!
</STRONG></P>
<P><STRONG>
That's the way it is in the Open Source world, though, folks.  For anything big enough - the world is their beta tester.  If we aren't - then the result will not be up to a world of users.  Take your choice when to take a plunge - but Summer is here.  Enjoy your time at poolside, soak in some rays or lay the Sunblock 2000 as thick as you feel you need to in all its designer colors - but the time will come to dive in.  Serves millions.  Enjoy.
</STRONG></P>

<!-- end hgreeting -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<A NAME="tag.1"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 1 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Redhat + scsi RAID = Excedrin headache #459</H3>


<p><strong>From Faber Fedor 
</strong></p> 
<p></strong></p>

<p align="right"><strong>Answered By:  Faber Fedor, Benjamin A. Okopnik, Kapil Hari Paranjape, Jim Dennis
</strong></p>
<P><STRONG>
Hey Gang,
</STRONG></P>
<P><STRONG>
I've got a problem that I've fixed three other times in different
enviroments, but this time it's driving me nuts.
</STRONG></P>
<P><STRONG>
The short of it is this:  I've got a newly upgraded RedHat 9 on a PII
400 MHz box running RAID 5 using LSI Logic MegaRAID 500 SCSI.  When the
system boots, I get the following panic:
</STRONG></P>

<pre><strong>    creating boot device
    creating root device
    mounting root filesystem
    mount: error 6 mounting ext3
    pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
    umount /initrd/proc failed: 2
    Freeing unused kernel memory: 132K freed
    Kernel panic: No init found.  Try passing init= option to kernel
</strong></pre>
<P><STRONG>
Yes, the scsi drive is recognized and the appropriate drivers are loaded
(I did a
mkinitrd --preload scsi_mod --preload sd_mod initrd.scsi &lt;kernel image&gt;
and verified that the modules were included in the initrd by mounting
it). I also verified that the root filesystem is indeed ext3 (btw, how
does the system know if the filesystem is of a particular type before it
gets to <TT>/etc/fstab?</TT> I haven't figured that out yet) and it was clean.
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Presumably by reading the partition table and doing a little string
comparison, just as "file" does.
</blockQuote>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
From what I was able to google, one person said that the journal might
have been trashed (fixed with fsck) and another said that there was no
corresponding device in the initrd, which is true.  But do I need to
create a device for the <TT>/dev/sda</TT> in the initrd and if so, how?
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
I've found that a lot of headaches can be avoided by simply deleting the
journal when there's a related problem. There can be much darkness of
the spirit and wailing and rending of clothes otherwise.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Faber] 
Yes, it's a bash script called linuxrc.  It looks pretty
straightforward:
</blockQuote>

<blockquote><pre>#!/bin/bash

echo "Loading scsi_mod.o module"
insmod /lib/scsi_mod.o
echo "Loading sd_mod.o module"
insmod /lib/sd_mod.o
echo "Loading ncr53c8xx.o module"
insmod /lib/ncr53c8xx.o
echo "Loading jbd.o module"
insmod /lib/jbd.o
echo "Loading ext3.o module"
insmod /lib/ext3.o
echo Mounting /proc filesystem
mount -t proc /proc /proc
echo Creating block devices
mkdevices /dev
echo Creating root device
mkrootdev /dev/root
echo 0x0100 &gt; /proc/sys/kernel/real-root-dev
echo Mounting root filesystem
mount -o defaults --ro -t ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd
umount /initrd/proc
</pre></blockquote>

<font color="red"><blockquote><em>So straight forward that they're not even using 'modprobe'!
 -- Thomas Adam</em></blockquote></font>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Saaay... that looks interesting. What's that "mkdevices" bit, and how
does it know which devices to "mk"? That's assuming that the lack of an
appropriate device is the problem. I'd also add a "-v" to all those
"insmod" invocations, just for grins - and maybe kill those "echo"
lines.
</blockQuote>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Any other suggestion for fixing this are welcome.  As I've said, I've
fixed three other <A HREF="http://www.redhat.com/">Red Hat</A>/SCSI problems within the past few weeks ( 1.
boot off of an IDE and mount the scsi, 2. upgrade to Red Hat 9, or 3.
preload modules in initrd) but short of reinstalling the OS, I can't
figure out what to try next.
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
"pivotroot", IIRC, is only necessary if you want to do an "initrd"-type
boot, where you fire up a RAMdisk, boot off that, then mount your
partition on '<TT>/</TT>' as ext3, and away you go. Mind you, this is all from
memory - it's been a long time since I did this myself, and the only
reason for doing it was that I wanted to try a <A HREF="http://www.debian.org/">Debian</A>-precompiled
kernel. These days, I just make an ext3 partition from the start.
However, you're talking SCSI, so it looks like you're stuck with doing
it that way - unless you stick a small IDE HD in there just for booting.
</blockQuote>
<blockQuote>
What I'd run into previously is, "mkinitrd" actually uses "<TT>/etc/fstab</TT>"
when building the image. I ended up having to tweak "<TT>/etc/fstab</TT>" to make
it fit the machine I was building it for - as opposed to the one on
which it was being built - and then untweak it after running "mkinitrd".
</blockQuote>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
I've tried that as well. 
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":-(" 
		height="24" width="20" align="middle">
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Argh. Well... let's peel it back as much as we can. It's been a mort of
years since I've dealt with SCSI HDs, so I don't know how helpful this
will be, though.
</blockQuote>
<blockQuote>
First off, I'd go ahead and pop in a Knoppix CD, boot with it, and see
if I can detect/mount/read the SCSI - and I would watch carefully to see
just how different the SCSI-related messages are during the process
(i.e., do you need to try a different module?) Then, I'd make sure that
the "<TT>/etc/lilo.conf</TT>" on the SCSI is trying to do The Right Thing (you
<em> are  </em> using LILO, right?) - no IDE-specific stuff in there, "root",
"boot", etc. are set to the correct values (not an "hdX" in the
place...) and re-run "lilo -v" just to see what the output is and make
sure that it's properly set. I'd walk through the "initrd" setup to make
sure that there's nothing odd in there, and particularly check that ROOT
in "<TT>/etc/mkinitrd/mkinitrd.conf</TT>" is explicitly set (I just remembered
having a problem with that default "probe" setting at one point; my
current one says 'ROOT="<TT>/dev/hda1</TT> ext3"'.) Also, take a look at
"<TT>/etc/mkinitrd/modules</TT>".
</blockQuote>
<blockQuote>
Nothing else comes to mind at the moment.
</blockQuote>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
The partition table holds filesystem information? I didn't see anything
in the list of types in fdisk.
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Sorry, I should have expanded that. The kernel would read the partition
table, jump to the location indicated by it, and do a string comparison
on the info it finds there - mind you, I don't <EM>know</EM> that that's what
it does, but it would seem like a simple way to do it. However,
"mkinitrd" also reads "<TT>/etc/fstab</TT>", so that might me how it's done.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Faber] 
It seems RH doesn't have an <TT>/etc/mkinitrd</TT> directory or files.
</blockQuote>
<blockQuote>
What I'm looking at is the
</blockQuote>

<blockquote><pre>echo 0x0100 &gt; /proc/sys/kernel/real-root-dev
</pre></blockquote>
<blockQuote>
If I read this right, it's saying the real-root-dev is device major
number 01 and minor 00 which is ram0 (so maybe Kapil was right about Red
Hat using two ramdisks?  but I see only one pivot_root. :-?)  I'm going
to change it to read
</blockQuote>

<blockquote><pre>echo 0x802 &gt; /proc/sys/kernel/real-root-dev
</pre></blockquote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
I assume you mean something like
</blockQuote>

<blockquote><pre>disk = /dev/sda
  bios = 0x80
disk = /dev/hda
  bios = 0x81
</pre></blockquote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
That would be pretty standard stuff. You could get really wild and
describe the geometry of "<TT>/dev/sda</TT>" (see the LILO manual), but I don't
know that it would be helpful.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Kapil] 
I had a look at RedHat's mkinitrd script also. RedHat's procedure
seems to be pretty straightforward (no jumping through hoops here
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">).
The key to understanding the above script is "man nash".
</blockQuote>
<blockQuote>
Both mkdevices and mkrootdev are builtin commands for nash. Quoting from
the man page:
</blockQuote>

<TABLE WIDTH="95%" BORDER="1" BGCOLOR="#FFFFCC"><TR><TD>
<p align="center">...............</p>

<blockquote><pre>       mkdevices path
                     Creates device files for all of the block devices
		     listed in /proc/partitions in the directory  spec-
		     fied by path.

       mkrootdev path
                     Makes  path  a  block inode for the device which
		     should be mounted as root. To determine this device
                     nash uses the device suggested by the root= kernel
		     command line  argument (if  root=LABEL  is  used
		     devices  are  probed to find one with that label).
		     If no root= argument is available, /proc/sys/ker-
	             nel/real-root-dev provides the device number.
</pre></blockquote>
<p align="center">...............</p>
</TD></TR></TABLE><blockQuote>
Note that the line <EM>after</EM> the mkrootdev business is setting a "dummy"
"real-root-dev" so just replacing "0x100" by "0x810" or some such is not
likely to work.
</blockQuote>
<blockQuote>
By the way, I always thought that the way to invoke pivot_root was
</blockQuote>
<blockQuote>
cd new_root
pivot_root . old_root
exec chroot next_command
But RedHat's script seems to bypass the "change directory" step...
</blockQuote>
<blockQuote>
Hope this helps
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
That smells like it is talking about some sort of RAM based file system
(CRAMFS perhaps?) which is certainly unlikely to be an ext3 filesystem.
</blockQuote>
<blockQuote>
In other words your problem may not be with the SCSI disk and its ext3
file system at all! I don't know RH's boot procedure but some of these
distro boot images have some intermediate "RAM disk" in addition to the
initrd and do two pivot_roots!
</blockQuote>
<blockQuote>
If you want to stick with the distro's boot procedure,
your best bet is to examine this procedure in detail.
</blockQuote>
<blockQuote>
0. Check the boot command line.
</blockQuote>
<blockQuote>
1. Open up the initrd image and look at linuxrc.
</blockQuote>
<blockQuote>
Having looked at 0 and 1 for a number of distro's I have come to the
conclusion that either the guys who produce these distro boot images
do too many drugs or they are taking care of some really unusual
eventualities or both 
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle">
</blockQuote>
<blockQuote>
I seem to remember that it's either CRAMFS or something like that; I'm
sure Heather knows more about it than I do. It's a "pull yourself up by
your bootstraps" kind of thing: you boot a RAM-based ext2
mini-"partition" (which mounts as "<TT>/</TT>"), which then loads the appropriate
ext3 modules, mounts your actual partition, and "pivots" "<TT>/</TT>" to it.
</blockQuote>
<blockQuote>
The usual reason is to avoid having to recompile the kernel - it makes
more sense for RH, etc. to make ext3, jfs, jffs, reiserfs, etc. modules
and let you choose which one you want to use, but the price is having to
mess with the "initrd"<TT>/</TT>"pivot_root" stuff. I just compile ext3 right in,
and never have to mess with it. SCSI, of course, is a different sort of
animal altogether.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Faber] 
Well, you can have alook at this one.  
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle"> The relevant parts are:
</blockQuote>

<blockquote><pre>echo Creating root device
mkrootdev /dev/root
echo 0x0100 &gt; /proc/sys/kernel/real-root-dev
echo Mounting root filesystem
mount -o defaults --ro -t ext3 /dev/root /sysroot
</pre></blockquote>
<blockQuote>
I don't see anything there that would screw up because of a SCSI disk,
but then again, I don't know what <TT>/proc/sys/kernel/real-root-dev</TT> is for,
so I'm off to find out...
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Anybody have an idea how 0x0100 would relate to
device numbers, or whatever else "<TT>/proc/sys/kernel/real-root-dev</TT>" is
supposed to hold? I suspect that the above is the RAMdisk, though, and
that whatever is defined as the device for "pivot_root" to "pivot" to is
what matters.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [JimD]
</blockQuote>
<blockQuote>
<TT>/proc/sys/kernel/real-root-dev</TT> is documented in
.../src/linux/Documentation/initrd.txt
</blockQuote>
<blockQuote>
Quoting therefrom:
</blockQuote>

<TABLE WIDTH="95%" BORDER="1" BGCOLOR="#FFFFCC"><TR><TD>
<p align="center">...............</p>
<blockQuote><BLOCKQuote>
It works by mounting the "real" root device (i.e. the one set with rdev
in the kernel image or with root=... at the boot command line) as the
root file system when linuxrc exits. The initrd file system is then
unmounted, or, if it is still busy, moved to a directory <TT>/initrd</TT>, if
such a directory exists on the new root file system.
</BLOCKQuote></blockQuote>
<blockQuote>
In order to use this mechanism, you do not have to specify the boot
command options root, init, or rw. (If specified, they will affect
the real root file system, not the initrd environment.)
</blockQuote>
<blockQuote>
If <TT>/proc</TT> is mounted, the "real" root device can be changed from within
linuxrc by writing the number of the new root FS device to the special
file <TT>/proc/sys/kernel/real-root-dev</TT>, e.g.
</blockQuote>
<blockQuote><CODE>
# echo 0x301 &gt;/proc/sys/kernel/real-root-dev
</CODE></blockQuote>
<blockQuote>
Note that the mechanism is incompatible with NFS and similar file
systems.
</blockQuote>
<blockQuote>
This old, deprecated mechanism is commonly called "change_root",
while the new, supported mechanism is called "pivot_root".
</blockQuote><p align="center">...............</p>
</TD></TR></TABLE>
<blockQuote>
As Ben suggests this look like <TT>/dev/ram0</TT> (The ramdisk) which seems
wrong.  I'd look back through the <TT>/linuxrc</TT> to figure out what logic
it's using to arrive at this point.  I'm guessing that it's not loading
or detecting the intended rootfs (hardware) and this value is the
result of a default that wasn't over-written by any more appropriate
case.
</blockQuote>
<HR width="10%" align="left">
<font color="red"><blockquote><em>Faber cheerfully reported back....
 -- Thomas Adam</em></blockquote></font>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Here's what I think is happening:
</STRONG></P>
<P><STRONG><BLOCKQuote>
(the relevant parts of initrd/linuxrc)
</BLOCKQuote></STRONG></P>

<pre><strong>echo Creating root device
mkrootdev /dev/root
echo 0x0100 &gt; /proc/sys/kernel/real-root-dev
echo Mounting root filesystem
mount -o defaults --ro -t ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd
umount /proc/initrd
</strong></pre>
<P><STRONG>
create the root device
attach the (ram0) ram disk to it
mount the ram disk to <TT>/sysroot</TT>
change the system root from the initrd to the ram0 disk
umount initrd
</STRONG></P>
<P><STRONG>
Now, that jives with the initrd on my local )non-scsi) box.  The
question is: is this correct behaviour for a scsi box?  If so, why is
the failure occuring at mounting the ramdisk?  The mount error, IIRC, is
"no such device".
</STRONG></P>
<P><STRONG>
I was never able to fix my client's system to boot off of the SCSI drive
no matter how I mucked with initrd.  It was a lot of fun however and I
learned more about initrd than is probably necessary. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle">
</STRONG></P>
<P><STRONG>
In the end, we reinstalled RH9 from scratch.  We took advantage of the
new install to reconfigure some partitions and stuff, so all was not a
total waste.
</STRONG></P>
<P><STRONG>
Interesting side note(s): the RH installer would not let us use LILO
and the SCSI MBR.  I could use the MBR of hda or sda1, but not the way I
wanted it.  So I went with GRUB.
</STRONG></P>
<P><STRONG>
After playing with GRUB, I must say I like it, but it has one really
weird feature. All of the documentation says that GRUB refers to the
first IDE drive as (hd0,0) and the fist SCSI drive as (sd0,0). Not on
this system!  It took me two hours (for shame!) to figure out that the
SCSI drive is (hd0,0) and the first IDE drive is (hd1,0).  If anyone
knows why, I'd love to hear it.
</STRONG></P>
<P><STRONG>
Now all I have to do is recreate two years worth of customizations on
this box.  Good thing I have a <EM>very</EM> understanding client. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)" 
		height="24" width="20" align="middle">
</STRONG></P>

<!-- end 1 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<A NAME="tag.2"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 2 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>howto</H3>


<p><strong>From Guy Milliron 
</strong></p> 
<p></strong></p>

<p align="right"><strong>Answered By:  Benjamin A. Okopnik, Jim Dennis
</strong></p>
<P><STRONG>
I've googled for an answer to my question, just it's too obscure for me to
figure out I guess...
</STRONG></P>
<P><STRONG>
I'm attempting to install a new software on my RHL box.  Anyhow, it's calling
a program called fping (Which is pretty interesting itself, a round-robin
style ping <A HREF="http://www.fping.com"
	>http://www.fping.com</A> ).  It says it needs to run as root (which I
won't allow the calling program to run as, or needs to be "setuid".
</STRONG></P>
<P><STRONG>
As Ricki Ricardo would say "Splain Lucy Splain!"
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
For that, see "perldoc splain" for more info. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle"> Although it's not quite
smart enough to help you this time...
</blockQuote>

<blockquote><pre>ben@Fenrir:~$ ls -l `which ping`
-rwsr-xr-x    1 root     root        15244 2001-11-18 17:29 /bin/ping
</pre></blockquote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
"ping" has always been SUID; it needs to be in order to use ICMP - which
is what "ping" does. It's a weird security model ("ICMP can be
dangerous, so we'll lock it away under root privilege... but then we'll
make the ICMP generator SUID so everybody can use it.") Some old, hoary,
scarred and scared sysadmins remove the SUID bit from "ping" so you have
to "su" in order to use it... but note that the users <em>  will  </em> complain.
My guess is, user complaints are the reason that the situation exists.
Of course, they could have made "ping" use TCP instead of ICMP, but then
we'd be violating &lt;Tevye the Milkman mode&gt;TRADITION!&lt;/TtMm&gt;.
</blockQuote>
<blockQuote>
There actually are some valid reasons for sticking with ICMP, but
they're not unique to it, and are mostly doable with TCP. TCP "ping",
IMO, would be a Good Thing and support a better security model.
</blockQuote>

<blockquote><pre># Net::Ping uses TCP by default
perl -MNet::Ping -wle'print"Host is ",Net::Ping-&gt;new()-&gt;ping(shift)?"up":"down"' localhost
</pre></blockquote>
<blockQuote>
&lt;shrug&gt;
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jim] 
"setuid" is a special bit in the UNIX permissions.  You can make your
program SUID with a command like (as root):
</blockQuote>
<blockQuote><CODE>
chown root.bin `which fping` &amp;&amp; chmod u+s `which fping`
</CODE></blockQuote>
<blockQuote>
... assuming fping in own your PATH.
</blockQuote>
<blockQuote>
You can be a little safer using commands like:
</blockQuote>
<blockQuote><CODE>
chmod root.$TRUSTEDGROUP `which fping`; chmod 4550 `which fping`
</CODE></blockQuote>
<blockQuote>
... where you create a group (such as 'staff' or 'trusted') which which
will be allowed to execute this program. Then you associate this
program with that group and mark it so that the owner and members of
the associated group are permitted to read and execute the SUID
program.
</blockQuote>
<blockQuote>
Thus if there is an exploitable bug in the program (a way to "trick" it
into doing things it's not intended to do with it's root privileges)
then only the owner (who's already root) and the members of the trusted
group can attempt to exploit the vulnerability.
</blockQuote>
<blockQuote>
This is very basic UNIX systems administration practice that should be
taught to ALL UNIX and Linux system administration professions in their
first term.  There is not difference between UNIX and Linux in this
regard.
</blockQuote>
<blockQuote>
Note that SUID and SGID only applies to binaries --- NOT to scripts.
Perl has a special helper application (sperl) which allows it to
handle SUID (and SGID?) Perl scripts.  It would be wise to associate
sperl with a trusted group and make it non-world executable (as my
second command example shows).  You can make as many trusted groups
as you like.
</blockQuote>
<blockQuote>
Note that SUID and SGID are the most basic forms of privilege
delegation in UNIX and Linux.  They allow you to write a program which
acts as an agent, allowing one group of users to access some resource
in a controlled and limited way (through the agent).  If the program
(and the libraries against which it is linked) are bug free (or
"sufficiently robust") then this is a safe means of giving everyone or
specific groups access to some protected resource.  In the case of
fping that resource is a lower level form of access to one or more of
your networking interfaces.  In other cases a program might be SGID
"games" to allow it to update a file of high scores.
</blockQuote>
<blockQuote>
Because the likelihood of vulnerability rises dramatically as the size
and complexity of a program increases, it is considered best practice
to make SUID and SGID programs as small as possible --- often splitting
the "agent" portion of the code into a small helper application that is
called by the larger application.
</blockQuote>
<blockQuote>
A general purpose "SUID" wrapper program is called sudo.  It allows you
to maintain a list (even a network wide list) of users (and hostnames)
and a precise list of programs, options that each user or group are
permitted to run and precisely who these programs will effective run
as.  (There are several similar programs like super, caliph, and runas).
sudo is the most commonly used choice among professional sysadmins.
You control its configuration via <TT>/etc/sudoers</TT> (using the visudo
wrapper to edit that; and to check your syntax as you save and exit).
</blockQuote>
<blockQuote>
Naturally I would suggest you make a sudoers group, associate sudo
with that, and mark its mode to 4550 (SUID and non-world-executable)
as I explained before.  This will help limit the number of users that
could exploit any bug found in sudo itself.  Luckily sudo is one of the
more widely audited bits of code on the Internet.  Unfortunately it's
also sufficiently well known and widespread that any cracker that does
find a bug in it; or manages to pass out a trojaned copy of it, will
gain LOTs of access using it (though they need to get to a local shell
account first).
</blockQuote>
<blockQuote>
So it is with <EM>all</EM> SUID and SGID programs.  If the agent is
"vulnerable" it can become a confused deputy and give unfettered access
to all resources owned by a given user or associated with a given
group.  (Obviously unfettered access to the root UID is also complete
control of a normal UNIX or Linux system).
</blockQuote>
<blockQuote>
You can search your entire system for SUID and SGID files with a
command like:
</blockQuote>

<blockquote><pre> 	find / -type f -perm +6000 -ls
</pre></blockquote>
<blockQuote>
... this will find all SUID and SGID <EM>files</EM>.  The SUID bit is
meaningless on directories (at least under Linux and most forms of
UNIX --- so far) and the SGID bit has some special semantics on Linux
and BSD systems (which I've explained in other articles):
</blockQuote>
<blockQuote><BLOCKQuote>
<A HREF="http://www.linuxgazette.com/issue64/lg_tips64.html#tips/18"
	>http://www.linuxgazette.com/issue64/lg_tips64.html#tips/18</A>
</BLOCKQuote></blockQuote>
<blockQuote>
The SUID/SGID files are also meaningless on device nodes, FIFOs (named
pipes) and unix domain sockets; as well as "regular" non-executable
files and most scripts (text executables).  All of the permissions bits
are generally ignored on symlinks.
</blockQuote>

<!-- end 2 -->
<!--     .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.     -->
<A NAME="tag.3"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 3 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Wireless networking</H3>


<p><strong>From Ben Okopnik 
</strong></p> 
<p></strong></p>

<p align="right"><strong>Answered By:  Benjamin Okopnik, Jason Creighton, Thomas Adam
</strong></p>
<P><STRONG>
Hi, all -
</STRONG></P>
<P><STRONG>
I've finally had a chance to test out the wireless Ethernet on my
laptop - in fact, I'm sitting at the local airport right next to their
Air Port (that's a joke, dammit. You're s'posed to laugh.) The problem
is, the speeds that I'm getting in Linux and Wind0ws are <EM>wildly</EM>
disparate, with Linux being on the losing end. Of course, I have no way
to measure the exact speed in Wind0ws (other than maybe downloading a
large file and doing a little math), but the connection properties say
"11Mbps" and "Quality: excellent", and the Web pages <em>  snap  </em> onto the
screen like I've never seen before. Linux... [sigh] I've seen it get as
high as 29kB/S during an "apt-get" operation, and Web pages crawl.
</STRONG></P>
<P><STRONG>
I'm using "ndiswrapper" (possibly part of the problem - like everything
else on this damned Acer, the hardware (Intel PRO/Wireless LAN 2100) is
unsupported), so my whole initialization sequence goes like this:
</STRONG></P>

<pre><strong># ndiswrapper-specific stuff
modprobe ndiswrapper
loadndisdriver 8086 1043 /lib/windrivers/w70n51.sys /lib/windrivers/w70n51.inf

iwconfig wlan0 mode Managed
# Looking for a public access point
iwconfig wlan0 essid default
ifconfig wlan0 up

# get an IP via DHCP
pump -i wlan0
</strong></pre>
<P><STRONG>
"ifconfig wlan0" says:
</STRONG></P>

<pre><strong>wlan0     Link encap:Ethernet  HWaddr 00:04:23:72:F5:DC
          inet addr:X.X.X.XXX  Bcast:YY.Y.Y.YYY  Mask:255.255.255.0
          inet6 addr: fe80::204:23ff:fe72:f5dc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:55417 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34901 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:81279617 (77.5 MiB)  TX bytes:2375903 (2.2 MiB)
          Interrupt:11 Memory:d0000000-d0000fff
</strong></pre>
<P><STRONG>
Even my old trick of searching for the "parm" string in the module
doesn't produce anything useful:
</STRONG></P>

<pre><strong>strings ndiswrapper.ko | grep parm
parm=if_name:Network interface name (default: wlan0)
parm=proc_uid:The uid of the files created in /proc (default: 0).
parm=proc_gid:The gid of the files created in /proc (default: 0).
</strong></pre>
<P><STRONG>
Change the MTU, maybe? Invoke "iwconfig" in some different way? Or am I
just stuck with it?
</STRONG></P>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Thomas] 
If you haven't done so already, Ben, make sure you have disabled apci from
the kernel:
</blockQuote>
<blockQuote><BLOCKQuote>
linux noapic
</BLOCKQuote></blockQuote>
<blockQuote>
at the LILO prompt (by then you knew that 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">)
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Jason] 
Doesn't "modinfo" do the same thing?
</blockQuote>

<blockquote><pre>~$ modinfo sb
filename:    /lib/modules/2.4.20/kernel/drivers/sound/sb.o
description: "Soundblaster driver"
author:      &lt;none&gt;
license:     "GPL"
parm:        io int, description "Soundblaster i/o base address (0x220,0x240,0x260,0x280)"
parm:        irq int, description "IRQ (5,7,9,10)"
parm:        dma int, description "8-bit DMA channel (0,1,3)"
parm:        dma16 int, description "16-bit DMA channel (5,6,7)"
parm:        mpu_io int, description "Mpu base address"
parm:        type int, description "You can set this to specific card type"
parm:        sm_games int, description "Enable support for Logitech soundman games"
parm:        esstype int, description "ESS chip type"
parm:        acer int, description "Set this to detect cards in some ACER notebooks"
parm:        isapnp int, description "When set to 0, Plug &amp; Play support will be disabled"
parm:        isapnpjump int, description "Jumps to a specific slot in the driver's PnP table. Use the source, Luke."
parm:        multiple int, description "When set to 0, will not search for multiple cards"
parm:        pnplegacy int, description "When set to 1, will search for a legacy SB card along with any PnP cards."
parm:        reverse int, description "When set to 1, will reverse ISAPnP search order"
parm:        uart401 int, description "When set to 1, will attempt to detect and enable the mpu on some clones"
~$
</pre></blockquote>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Is ACPI such an all-around evil thing that you recommend turning it off
in all cases? It just doesn't seem relevant here, unless you have info
to the contrary.
</STRONG></P>

<font color="#000066"><blockquote><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Heather] I caution against confusing APIC (some sort of feature which SMP
processors all do, some uniprocessors happen to do, and some
CPU/motherboard combinations make poor Tux give up on herring for
Lent) with ACPI (which is what APM might be is you divided it into a few
levels of suspend then told each device to deal with sleepiness
themselves - kind of neat from an object oriented point of view, but
somewhat annoying to someone who just wants to be able to close the
lid safely without knowing why it works).  Both have their moments...
and their times to be set on fire 
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":(" 
		height="24" width="20" align="middle">
</blockquote></font>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Thomas] 
It is a complete nightmare from start to finish. It interferes with
everything. Whenever you get a HW problem such as this, I would always
look at seeing if turning it off solves it.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
Well! That's quite the characterization.
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Thomas] 
Humour me, at least. Then you can slowly remove your sunglasses and tell
me to think again 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</blockQuote>
<blockQuote>
<IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> [Ben] 
I was actually asking in a spirit of inquiry, not doubting you. It's
just these sunglasses make everyone suspicious. 
<IMG SRC="../gx/dennis/smily.gif" ALT=":)" 
		height="24" width="20" align="middle">
</blockQuote>
<blockQuote>
I'll check it out - should be back on in a few minutes.
</blockQuote>
<P><STRONG>
<IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	> 
Just tried it. The Wi-Fi and the Bluetooth lights now stay on
permanently (can't be turned off), and the speed is a bit lower if
anything (I'm copying a movie file from idgames, and it's running about
26kB/S.)
</STRONG></P>
<!-- end 3 -->
<P> <hr> </p>
<div id="articlefooter">
<H5 align="center">This page edited and maintained by the Editors
        of <I>Linux Gazette</I>
<br><a href="http://linuxgazette.net/copying.html"
        >Copyright &copy;</a> its authors, 2004
<BR>Published in issue 102 of <I>Linux Gazette</I> May 2004</H5>
<H6 ALIGN="center">HTML script maintained by
        <A HREF="mailto:star@starshine.org">Heather Stern</a> of
        Starshine Technical Services,
       <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
</H6>
</div>
<!-- end: articlecontent -->
</div>
<!--startcut ======================================================= -->
</BODY></HTML>
<!--endcut ========================================================= -->

</p>



<!-- *** BEGIN author bio *** -->
<!-- *** END author bio *** -->




<div id="articlefooter">




<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Retrospectives</h1>
<p id="by"><b>By <A HREF="authors/dennis.html">Jim Dennis</A></b></p>


</b>
</p>


<p>
<p>
I skipped my retrospectives article last month, but should be
in the regular swing of things again now.  So, 100 ssues ago,
in August of 1995, John M. Fisk published his 
<a href="../issue01to08/linux_gazette.aug.html">
second issue of the Linux Gazette</a>. He describe the 1990s as a time
when "we're supposed to be shallow." In retrospect I suppose it was the
a little the <a href="http://en.wikipedia.org/wiki/Fin_de_siecle">fin de
sie&egrave;le</a> for the 20th century; the "dot com" bubble was that century's <a
href="http://en.wikipedia.org/wiki/Swan_Song">swan song</a>.  </p>

<h3>Mailbag:</h3>

<p> We start with praise for the
"Keystroke-HOWTO" To me this calls to mind the <a
href="http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html"
target="_top">Keyboard-and-Console-HOWTO</a>, the <a
href="http://tldp.org/HOWTO/Accessibility-HOWTO/index.html"
target="_top">Accessibility-HOWTO</a> and perhaps the
<a href="http://www.tldp.org/HOWTO/Intkeyb/index.html"
target="_top">Intkeyb</a> (internationalization (i18n) of keyboards using
xmodmap and xkb support). The latter of these is quick to point out that
modern Linux systems have support for a LANG= environment variable and
that his HOWTO is a legacy from older systems.

</p><p> On the issue of accessibility I had to figure out how to set up 
sticky keys for a friend of mine years ago; before that HOWTO was written. 
He'd had as stroke and needed to be able to type with a single hand; the
sticky keys features allow one to type [Shift], [Ctrl], [Alt] and similar
keys as separate keystrokes which then apply to the the next "regular"
key pressed before reverting to their unpressed state. I set up the
keys on the left to be "sticky" and the keys on the right to be "locks"
(so the right [Alt], [Shift], and [Ctrl] keys would all act as toggles,
staying virtually pressed until they were tapped again). Now one might
just read the <a href="http://www.eklhad.net/linux/app/onehand.html"
>One Handed Typing</a> though my old approach would still work, too.
It was done at the console (using the <i>loadkeys</i> command, and in
X using Xmodmap).  
</p><p> 

Linux also supports a few voice recognition packages
though the best of these is almost certainly the commercial <a
href="http://www.ibm.com/software/voice/viavoice/">ViaVoice</a> from IBM.
However, there are other efforts out there as described by:
<a href="http://volker.dnsalias.net/linux/speechrec.html">Speech/Voice
Recognition for Linux</a>,
<a href="http://www.linuxjournal.com/article.php?sid=6383">
Linux Review: ViaVoice and XVoice: Providing Voice Recognition
</a>

</p><p>

Of course on the downside some people, some of the time might still need
to read the <a href="http://tldp.org/HOWTO/BackspaceDelete/index.html"
target="_top">BackspaceDelete</a> HOWTO.

</p><p> 

This same correspondent also offered a hint to users of the old sbpcd
(SoundBlaster Pro CD-ROM drives and adapaters). Thankfully all the CD-ROM,
CD-R, CD-RW, DVD-ROM, DVD+/-RW/+/-R drives on the market today are ATAPI
(IDE) or SCSI. So they just work now.

</p><p> 

And finally this correspondent had choice words about the peversity
and bloat of EMACS, the atavistic nature of vi and problems running an
ELF binary of xemacs. ('95 was back in the transition from a.out to ELF
binary formats in Linux --- ELF is executable linking format). A modern
Linux distribution would avoid those issues by simply providing packages
(RPMs or .deb files). Package management has come a long way in Linux.

</p><p> 

John's response referred to the (then upcoming) release of WordPerfect for
Linux by Novell (now the proud owners of S.u.S.E.) and Caldera (now known
as "The SCO Group" and currently embroiled in a lawsuits with Novell, IBM,
Red Hat, Daimler-Chrysler Corporation, AutoZone and others --- allegedly
over Linux issues; although each of these cases is really about contract
disputes, Lanham Act violations (akin to slander/libel) by SCOG , etc).

</p><p> I could go on at great length about The SCO Group or about the
failure of WordPerfect (which was eventually released for Linux by Corel
Inc; but seems to be basically unavailable now).


</p><p> However, today the obvious responses would be: text editing with
nedit for Linux X Windowing System users who don't like EMACS/xemacs
and vi/vim, and <a href="http://www.openoffice.org/">OpenOffice.org</a>
for the word processing and other office productivity operations.
At this point there are a significant number of organizations that are
deploying or at least evaluating deployment of OpenOffice or it's commercial
twin StarOffice on their MS Windows systems. This trend is far more
pronounced internationally and is, for many, a transitional phase in a
long term migration towards Linux on the desktop.
</p><p>

The next letter was from a user of multiple operating systems.  He gave a
list of his most important packages: 

<dl>
<dt><a 
href="http://www.igd.fhg.de/~aschaefe/fips/">fips</a></dt>
<dd>an MS-DOS program for splitting partitions without damaging FAT (file allocation table) filesystems residing on them.  This is the free alternative to <a 
href="http://www.powerquest.com/">Partition Magic</a> (now owned by
<a href="http://www.symantec.com">Symantec</a>).</dd>
<dt><a href="http://elserv.ffm.fgan.de/~lermen/">LOADLIN</a></dt><dd>a
utility to load a Linux kernel from an MS-DOS prompt.  It was later covered
in an article by Bill Bennet in <a 
href="../issue34/bennet.html">LG #34: LOADLIN.exe
Installer</a></dd>
<dt><a href="http://channels.netscape.com/ns/browsers/download.jsp">
Netscape Navigator</a></dt><dd>... which is still alive and kicking at
version 7.1, though <a href="http://www.mozilla.org">Mozilla</a> is more
popular among Linux users and there are many other browsers.
There are several scattered among the list of <a href="
http://www.linux.org/apps/all/Networking/WWW.html">WWW Applications</a> at
<a href="http://www.linux.org">Linux.org</a> and and there are other
lists like: <a href="http://linux.about.com/cs/softbrowser/">
this</a>, <a href= "http://linux.tucows.com/web_browsers_default.html">
this</a>, <a href="http://gcross.customer.netspace.net.au/browsers.html">
this</a>, and <a href=
"http://www.techtv.com/screensavers/linux/story/0,24330,3399999,00.html">
this article</a> by Chris DiBona
</dd>
<dt><a href="http://www.columbia.edu/kermit/">kermit</a></dt>
<dd>the classic communications software, known for robust file transfer over
serial lines, while its extensive scripting and networking features go
gravely under-appreciated.</dd>
<dt><a href="http://www.gnu.org/software/emacs/emacs.html">GNU EMACS</a></dt>
<dd>and its derivative <a href="http://www.xemacs.org/">XEmacs</a>, of course.
</dd>
</dl>
</p><p>
His only complaint related to data exchange between Linux and NT. Linux can
read and write NTFS with the latest
<a href="http://linux-ntfs.sourceforge.net/">Linux-NTFS</a> and even the newer
LDM (logical disk manager) features of MS Windows 2000 (and XP Pro).
</p>
<h3>More tar Tricks:</h3>
<p>
The old <a href="http://www.gnu.org/software/tar/tar.html">GNU tar</a>
utility is almost unchanged in the last several years. However, it's worth
noting that the support for <a href= "http://acl.bestbits.at/">
ACLs and EAs</a> (access control lists and extended attributes) in the
2.6 kernels means that many system administrators will need to consider
updated tools to store, transfer, and restore these additional forms of
meta-data.  This will be especially true of those using <a href=
"http://www.samba.org">Samba</a>, which support ACLs if they're available.
Samba provides filesharing services to MS Windows clients, which is a community
that expects ACLs to be available.

Luckily the necessary software has been around for a long time; Joerg
Schilling's <a href="http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html">star</a> has been around for a long time and
support ACLs and EAs in a POSIX-compliant fashion.  <i>star</i> has a number
of other advantages over GNU <i>tar</i> as well. (Not the least of which, it
can be forced to read past corrupt headers and recover the rest of the files
from an archive --- a glaring failure of GNU's version which is not present
in the .tar file support in star, cpio, pax, or any other modern utility that
can handle .tar archive files)!
</p>
<h3>Vim:</h3>
<p>
In his next article John sang the praises of <a href="http://www.vim.org/"
>vim</a> over other versions of <i>vi</i>.  While there are still three
camps keeping their torches burning in the <i>vi vs. emacs vs. <b>anything but either</b></i> flamewars, there is no need to fight. <i>De gustibus non est disputandum</i> (there's no accounting for matters of taste).
</p><p>
I personally have been the ultimate heretic in this particular religious war.
While I tend to use <i>vim</i> on systems I administer I often use
<i>XEmacs</i> in <b>viper</b> mode (<tt>M-x viper</tt> brings up a superb
emulation of the <i>vi</i> interface inside of <i>emacs</i> or <i>XEmacs</i>
while still providing access to the many features and modes of the 
<i>emacs</i> environment.
</p><p>
This is a key point that many people don't understand.  <i>emacs</i> is an
applications environment which happens to use text editing as its unifying
interface.  It has mail readers, web browsing, file and directory management
(including remote access and file management), and many programming tools
(especially features for checking files into and back out from several
different back-end revision control systems, and for comparing and merging
different revision).  When you think of emacs as a text applications
environment then you see that the choice of editing modes is less of an
issue.
</p><p>
What people don't understand about <i>vi</i> is that it's made for power
users who are likely to spend a large part of every day editing text files
and scripts on varied and diverse systems.  Thus, systems administrators
use <i>vi</i> and programmers tend to use <i>emacs</i>.
</p><p>
<i>vim</i> is the most powerful version of <i>vi</i> and supports many
extensions and integrates with several scripting languages.  One thing
that's evolved over the years since LG#2 is vim's syntax highlighting. You
can install a minimal version of vim but if you install the full package
and run it from a color-capable console or terminal emulator (such as the
Linux console, <i>xterm</i>, or <i>rxvt</i>) and enable the syntax
highlighting (<tt>:syntax on</tt> from inside it, or edit your <i>.exrc</i>
or <i>.vimrc</i> files) that many of the files you edit are parsed for
patterns and the text is set to various colors for different syntactic
contexts.  For example I'm editing this HTML in vim and all the HTML tags
show up in yellow, while main text is displayed in cyan on black (as set
by the <tt>-fg</tt> and <tt>-bg</tt> options to my <i>xterm</i>.  Inside of
anchor tags the <tt>href=</tt> is in green, the URLs are in red, and the
link text is in underlined purple.  <i>Italics</i> are in inverse video
(black on cyan) while <b>bold</b> is in a brighter (bold) cyan, and so on.
</p><p>
In other types of files the highlighting is set according to the syntax of
your C, shell scripting, Perl or Python, Makefile, or other code or content.
In e-mail and Netnews postings the headers are colorized and "quoted"
excerpts are distinct from your responses.  In some cases *emphasized*
text (that is text enclosed in <tt>*</tt>s is also set to a bold color.
Naturally this is all customizable and extensible.  The package comes with
a <i>.../syntax/</i> directory full of <tt>*.vim</tt> files while are simple
scripts that implement all of the parsing and highlighting.  Yes, you can use
<i>vim</i> to editing these <tt>.vim</tt> files and, of course, they will be
syntax highlighted by the code in the <tt>vim.vim</tt> file which is one of the largest <tt>.vim</tt> in my set.  There are about 400 of these files on my
system &mdash; which is just a typical copy of <a href=
"http://www.knoppix.net/">KNOPPIX</a>.
</p><p>
Of course syntax highlighting is a feature of all modern editors.  In emacs
this would be enabled with the <b>M-x global-font-lock-mode</b> and then
the <b>M-x html-mode</b> for HTML files, and so on.  Of course all of that
magic is hidden in the <tt>.emacs</tt> file or under the <tt>.emacs.d</tt>
directory in an <b>emacs</b> user's home directory.
</p><p>
The question of GUI vs. text mode text editors comes up frequently, too.  
Emacs and XEMacs will detect a <b>DISPLAY</b> environment variable and
automatically come up in a graphical window if possible.  This can be
over-ridden with the <tt>-nw</tt> (no windowing) command line switch.  There's
<tt>gvim</tt> which is a GUI wrapper around <i>vim</i>. Amusingly, <i>vi</i>
started as a curses wrapper around the <i>ex</i> "extension" to the <i>ed</i>
line mode editor; thankfully it's still possible to run <i>vim</i> in <i>ex</i>
mode.  Rarely necessary but still handy when you really need it (i.e. your
terminal emulation and curses support libraries are badly mangled).
</p><p>
In the <b>anything but <i>vi</i> or <i>emacs</i></b> camp I suggest <a href=
"http://www.nedit.org">Nedit</a>.  It's simple enough for the most novice
computer user.  Yet powerful enough
that one needn't outgrow its features.  Nedit is GUI-only (there's no
terminal-mode support).
</p><p>
Personally I still recommend that system administrators still learn <i>vi</i>
because it's been available on every UNIX-like system for thirty years.  As
sysadmins, we are frequently called upon to edit files on new and minimal
systems which might not have any GUI libraries or other editors installed.
I don't go so far as to push people towards proficiency in <i>ex</i>, but
a half hour running through the <b><i>vimtutor</i></b> tutorial (included as
an interactive wrapper script with the <i>vim</i> package) is an investment
that any systems administrator will find rewarding.
</p><p>
He also mentions <a href="http://xcoral.free.fr/">xcoral</a>, and 
<a href="http://www.identicalsoftware.com/xwpe/">xwpe</a> as IDEs (integrated
development environments).  I hadn't heard of them for years, but quick 
<a href="http://www.google.com">Google!</a> searches shows that they're
still actively maintained by their niche communities. 
</p><p>
Of course the new kid on the IDE block now is the 
<a href="http://www.eclipse.org/">Eclipse</a> project.  This may eventually
become the mainstream IDE for Linux and other open source operating systems.
However, its fate and future are tied inextricably to those of the
<a href="http://java.sun.com">Java</a> platform even though the tool can be
used in developing any sort of code.  In many ways Eclipse seems to be an
effort by Java developers to "eat their own brand" and to prove to a broader
developer community that a suite of user interface intensive programs written
in Java can offer the performance, stability, and native graphical "feel"
that's comparable to those compiled from C/C++ and other "native" sources.
</p><p>
The differences between full-featured text editors and "integrated 
development environments" have always been somewhat blurred.  
As I've said, <i>emacs</i> is more of an environment (development
and for other uses) while <i>vi</i> and <i>nedit</i> tend to be less
integrated with the rest of the developer's toolchain.  Since they are
powerful, extensible editors with scripting languages built-in (or available
as plug-ins in the case of <i>vim</i>) they can be as integrated with other
tools as anyone cares to make them.
</p>
<h3>PPP Scripts:</h3>
<p>
All I can say about this is: <b>Wow! I'm glad I've got a broadband
connection!</b>  It's not about speed.  I only get 144Kbps over my ISDL
(DSL over ISDN) line.  However, it's always up and running, no waiting
for dialing and connecting; and the latency is lower than any modem ever
was.  Of course many Linux users still need to rely on dial-up and the
old PPP package is still well supported.  Many users would prefer to use
<a href="http://open.nit.ca/wiki/?page=WvDial">wvdial</a> perhaps with
one of its GUI wrappers like <a href="http://www.mtoussaint.de/qtwvdialer.html"
>QtWvDialer</a> or <a href="http://www.lika.de/open/x-wvdial/">X-wvdial</a>,
<a href="http://docs.kde.org/en/3.2/kdenetwork/kppp/">KPPP</a> for 
<a href="http://www.kde.org/">KDE</a>.
</p><p>
A quick <a href="http://freshmeat.net/search/?q=PPP&section=projects">Freshmeat
search: PPP</a> lists over a hundred utilities and packages related to PPP.
Very few people should have to fuss with custom chat scripts any more and the
many other packages can log, generate statistics and help with other aspects
of PPP.  Thankfully, SLIP (serial line IP) is a fading memory (though there
are still 20 packages that mention it at <a href="http://www.freshmeat.net"
>Freshmeat</a>.
</p>
<h3>Pine+popclient:</h3>
<p>
While the <a href="http://freshmeat.net/redir/pine/8102/url_homepage/pine"
>pine</a> mail reader (MUA, mail user agent) is still maintained and available,
many users have switched to <a href="http://www.mutt.org/">mutt</a>.  The
<i>popclient</i> utility seems to have disappeared completely, though the
<a href="http://www.catb.org/~esr/fetchmail/">fetchmail</a> package has taken
up the slack.  Of course there are many GUI mail readers and the needs of
Microsoft Outlook users go beyond simple text mail interfaces.  For them
there is <a href="http://www.ximian.com/products/evolution/"
>Ximian Evolution</a> or any of over a hundred others found on 
<a href="http://linuxmafia.com/~rick/">Rick Moen's</a> list of
<a href="http://linuxmafia.com/faq/Mail/muas.html">MUAs</a>.
</p><p>
Of course all those instructions for building pine from source are generally
unnecessary now. Pine is widely available in RPM format and one can find
<i>apt-get</i>i-able <a href="http://www.debian.org/">Debian</a> packages 
can be with a <a href="http://www.apt-get.org/search.php?query=pine">search</a>
at <a href="http://www.apt-get.org/">www.apt-get.org</a>.  (This is the
general way of finding unofficial sources for Debian packages; for programs
that aren't quite free enough, or aren't among the 12 thousand packages in
the official Debian archive/mirror system).
</p><p>
On a broader level the big issues in e-mail these days are spam and the
plethora viruses that infest MS Windows networks and flood my inbox with about
a thousand pieces of trash every day.  (That is no exaggeration, I get
1000 slices of spam, virus, or erroneous bounce/error e-mail every day).
Tools like <a href="http://www.spamassassin.org/">spamassassin</a> and
<a href="http://www.clamav.net/">ClamAV</a> only solve about 95% of that
problem for me. Many more tools are available, but deploying and maintaining
them gets harder as you intertwine more of them together.  Your risks of
hitting false positives (blocking legitimate mail) increase as we take more
aggressive anti-spam and anti-virus measures.

</p><p>
For years I just "leaned on the <tt>[d]</tt> key" manually deleting it all.
However, I got the the point where I was sure that I was more likely to
err out of sheer numbed mind exhaustion than any decent anti-spam tools
were out of over-aggressive pattern matching.  So now I can't use e-mail
at home without spamassassin.

</p><p>
The average Linux user is increasingly less likely to run his or her own
mail server.  However, it's a battle that professional sysadmins fight every
day (and mostly lose).  Many users rely on free webmail services such as
those provided by Microsoft at <a href="http://www.hotmail.com">hotmail</a>,
or <a href="http://mail.yahoo.com">Yahoo Mail</a> or the exciting new <a 
href="http://gmail.google.com/gmail/help/about.html">Google Mail</a>. 
Also any accounts with <a href="http://www.aol.com">AOL</a>, 
<a href="http://www.msn.com">MSN</a>, or other major ISPs will also include
some spam blocking features.
</p><p>
I'll continue to suffer the pain of managing my own e-mail, but mostly
as an investment in maintaining my skill set for my consulting customers.
Otherwise I'd probably just subscribe to an account with
<a href="http://www.imap-partners.net/">IMAP Partners</a> and outsource
my mail hassles my friends that run it.

</p><h3>Configuring X:</h3><p>

Configuring the X Windowing System is no longer a rite of passage for the
Linux newbie.

</p><p>
Mostly I think we can thank the advent of PCI which makes the automated
identification of video cards and other adapters in a PC or other computer
a simple automated affair.  Automatic detection of a VGA monitor's
capabilities via the <a href="http://www.vesa.org/summary/sumvbeddc11.htm"
>VESA VBE/DDC standards</a> has also helped quite a bit.

</p><p>
But, most of all we can thank the countless thousands of man hours spent by
volunteers, on building databases used by 
<a href="http://john.fremlin.de/programs/linux/read-edid/">
read-edid</a> and similar utilities.  You might never run <i>read-edid</i>
yourself, but the chances are pretty good that your free operating system's
installation and configuration tools used that code to make a formerly
painful "rite of passage" into a simple routine click of the mouse or tap
on your <tt>[Enter]</tt> key.
</p><p>

Of course most of customization hints in John's article are still valid
today.  They're somewhat obscure and generally not necessary for someone
using the <a href="http://www.gnome.org/">GNOME</a> or <a href=
"http://www.kde.org">KDE</a> environments.  However, today's Linux users
can still customize X and run <a href="http://www.fvwm.org/">fvwm</a> or
<a href="http://www.plig.org/xwinman/vtwm.html">twm</a> for a minimalist and
traditional X-perience.

</p><h3>Customizing X with vgaset:</h3><p>

I don't remember the <i>vgaset</i> utility; I think it was completely
superceded by <a href="http://www.xfree86.org/4.4.0/xvidtune.1.html"
>xvidtune</a>.  We rarely resort to using that these days either.  However,
if you should need to use it be sure to read the <a 
href="http://www.tldp.org/HOWTO/text/XFree86-Video-Timings-HOWTO"
>XFree86 Video Timings HOWTO</a> and the <a href=
"http://www.tldp.org/HOWTO/text/XWindow-User-HOWTO">XWindows User HOWTO</a>.


</p><h3>Customizing X with the Xaw3d libs:</h3><p>
Here also used the dreaded "blink" tag (HTML) in his exhortation for
Linux supporters to subscribe to the Linux Journal.  I still think LJ
is the best printed magazine for Linux; but for my money the most important
Linux subscription these days would be <b>online</b> at 
<a href="http://www.lwn.net">LWN</a> (though slackers can still wait a
couple weeks to see all of their content for free).

</p><p>
As for the old Xaw3d libraries, they're just included with every mainstream
distribution and have been for many years.  The most you'd have to do is
run an RPM command to install them when some other package barked about
a missing dependency.  (Of course <i>apt-get</i> would just resolve the
dependency for you, too).  Most of us probably have had it installed on our
desktop machines for years and been blithely unaware of it; as it should be
with libraries, for users.

</p><h3>Conclusion:</h3><p>

Looking over the many links I've included in this retrospective, we see
again that UNIX and Linux programs can stand the test of time. John's
articles didn't include links to many of these projects, and many of those
old links would certainly have been obsolete; but we find that almost all
of those old free packages are still available, and maintained.
</p><p>

Of course there are many new packages, too.  GNOME, KDE, OpenOffice.org,
Abiword, Gnumeric, Evolution, even the ability to run Microsoft Windows
programs via WINE and Crossover-WINE, VMWare among others.
</p><p>

Despite all of those advances, I think the most profound effect of Linux
and the GNU project has little to do with software!
</p><p>

Early in this column I made a couple of literary references.  Perhaps you
followed those links out of curiosity, even if you were familiar with
idioms like "fin de si&egrave;cle" and "swan song."  These lead to <a href=
"http://www.wikipedia.org">Wikipedia</a> a collaborative world-wide
encylopedia.  The whole notion of a free general-topic encycopedia
which is maintained by <em>anyone with a web browser and access to the
Internet</em> was almost unthinkable back in 1995!  Now it is not only a
reality but almost unremarkable!  It has grown over the last five years
to include a quarter of a million articles in English (a half dozen of
which where initially written by me; and about a 100 of which I've
touched at some point or another).  There are other articles in many
other languages and there are sibling projects such as the 
<a href="http://en.wiktionary.org/wiki/Main_Page">Wiktionary</a> dictionaries,
for English and many other languages, and 
<a href="http://quote.wikipedia.org/wiki/Main_Page">Wikiquote</a> a 
dictionary of famous and notable quotations.
</p><p>

While Wikipedia and it's siblings are probably hosted on Linux (I honestly
don't know), and the <a href="http://meta.wikipedia.org/wiki/Mediawiki"
>Mediawiki</a> software package that runs all of these sites is free and
open-source software, relying heavily on <a href="http://www.mysql.com"
>MySQL</a>, one of the two major free SQL RDBMS (relational database
management system) packages &ndash; this is not about the software.  What
is more important is that the information is <em>free</em> and that sites
like Wikipedia are becoming an information utility.
</p><p>

Regardless of the software base for Mediawiki it seems that the philosophy
of <em>freedom</em> and <em>collaboration</em> is the real accomplishment
of the last decade.  Even through the infamous "dot com bomb"  (and the
shallowness that John dismissed with such levity), the social movement of
people contributing their work and knowlege in ways that the enjoy survives and
seems to be thriving.  </p><p>

Another resource that I used extensively is <a href="http://www.google.com"
>Google</a>.  In fact I used Google to find the latest and most authoritative
URL for almost every link I used in this column.
</p><p>

Google is, of course, a commercial entity.  They are a advertising medium,
just like a radio station or your TV broadcasters.  However, they've also
become an indispensable utility on the Internet.  Linux is a key enabling
force for them; primarily for economic rather than technical reasons.  Google
runs over 10,000 (<em>ten thousand</em>) Linux nodes to provide various
aspects of their indexing and searching services.
</p><p>

To me Google is more and more indispensable resource, but Wikipedia is the
more impressive accomplishment.
</p><p>

Meanwhile I continue to see articles that try to depict the Linux movement
as a war against Microsoft in particular and against commercial software
in general.  These are journalists that just don't get it.  Sure, some
participants are motivated by animosity or disgust.  However, more of us
are simply doing our part to build something that we want for ourselves,
and the gyrations of the multi-national behemoths is irrelevant to the degree
that they don't interfere with that.

</p>

</p>



<!-- *** BEGIN author bio *** -->
	<P> Jim is a Senior Contributing Editor for Linux Gazette, and the
founder of The Answer Guy column (the precursor to The Answer Gang).

<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
Jim has been using Linux since kernel version 0.97 or so.  His first
distribution was 
SLS (Soft Landing Systems).  Jim taught
himself Linux while working on the technical support queues at
Symantec's Peter Norton Group.
He started by lurking alt.os.minix and alt.os.linux on USENET
netnews (before the creation of the comp.os.linux.* newsgroups), reading them
just about all day while supporting Norton Utilities, and
for a few hours every night while waiting for the rush-hour traffic to subside.

<P> Jim has also worked in other computer roles, and also as an electrician and
a crane truck operator.  Jim has also worked in many other roles.  He's been a
graveyard dishwasher, a janitor, and a driver of school buses, taxis, pizza
delivery cars, and even did some cross-country, long-haul work.

<P> He grew up in Chicago and has lived in the inner city, the suburbs,
and on farms in the midwest.  In his early teens he lived in Oregon--
Portland, Clackamas, and the forests along
the coast (Brighton).  In his early twenties, he moved to 
the Los Angeles area "for a summer job" (working for his father, and learning
the contruction trades).  

<P> By then, Jim met his true love, Heather, at a 
science-fiction convention.  About a year later they started 
spending time together, and they've now been living together for
over a decade.  First they lived in Eugene, Oregon, for a year, but now they 
live in the Silicon Valley.

<P> Jim and Heather still go to SF cons together.

<P> Jim has continued to be hooked on USENET and technical mailing 
lists.  In 1995 he registered the <A
HREF="http://starshine.org">starshine.org</A> domain as a birthday gift to
Heather (after her nickname and favorite Runequest persona).  He's participated
in an ever changing array of lists and newsgroups.

<P> In 1999 Jim started a book-authoring project (which he completed
after attracting a couple of co-authors).  That book <I>Linux System
Administration</I> (published 2000, New Riders Associates) is not
a rehash of HOWTOs and man pages.  It's intended to give a high-level
view of systems administration, covering topics like 
Requirements Analysis, Recovery Planning, and Capacity Planning.
His book intended to build upon the works of Aeleen Frisch 
(<I>Essential Systems Administration</I>, O-Reilly & Associates) and 
Nemeth, et al (<I>Unix System Administrator's Handbook</I>, Prentice
Hall).

<P> Jim is an active member of a number of Linux and UNIX users' groups 
and has done Linux consulting and training for a number of companies
(Linuxcare) and customers (US Postal Service).  He's also presented
technical sessions at conferences (Linux World Expo, San Jose and 
New York).  

<P> A few years ago, he volunteered to help with misguided technical 
question that were e-mailed to the editorial staff at the Linux
Gazette.  He answered 13 questions the first month.  A couple 
months later, he realized that these questions and his responses had
become a regular column in the Gazette.  

<P> "Darn, that made me pay more attention to what I was saying!  But I
did decide to affect a deliberately curmudgeonly attitude; I didn't
want to sound like the corporate tech support 'weenie' that I was
so experienced at playing.  That's not what Linux was about!"
(<A HREF="http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=curmudgeon">
curmudgeon</A> means a crusty, ill-tempered, and usually old man,
according to the 
<A HREF="http://www.m-w.com/">Merriam-Webster OnLine dictionary</A>.
The word hails back to 1577, origin unknown, and originally meant miser.)

<P> Eventually, Heather got involved and took over formatting the column,
and maintaining a script that translates "Jim's e-mail markup hints"
into HTML.  Since then, Jim and Heather have (finally) invited other
generous souls to join them as The Answer Gang.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/dennis.html">Jim Dennis</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Ecol</h1>
<p id="by"><b>By <A HREF="authors/malonda.html">Javier Malonda</A></b></p>


</b>
</p>


<p>
The Ecol comic strip is written for <A
HREF="http://escomposlinux.org">escomposlinux.org</A> (ECOL), the web site that
supports es.comp.os.linux, the Spanish USENET newsgroup for Linux.  The
strips are drawn in Spanish and then translated to English by the author.
<P>
<EM>These images are scaled down to minimize horizontal scrolling.
	To see a panel in all its clarity, click on it.</EM>


<P>

<A HREF="misc/ecol/ecol-157-e.pmg">
<IMG ALT="[cartoon]" SRC="misc/ecol/ecol-157-e.pmg" 
	WIDTH="640" HEIGHT="240"></A>
<BR CLEAR="all">

<A HREF="misc/ecol/ecol-155-e.png">
<IMG ALT="[cartoon]" SRC="misc/ecol/ecol-155-e.png" 
	WIDTH="640" HEIGHT="240"></A>
<BR CLEAR="all">






<P>

All Ecol cartoons are at
<A HREF="http://tira.escomposlinux.org/">tira.escomposlinux.org</A> (Spanish),
<A HREF="http://comic.escomposlinux.org/">comic.escomposlinux.org</A> (English) 
and
<A HREF="http://tira.puntbarra.com/">http://tira.puntbarra.com/</A> (Catalan).
The Catalan version is translated by the people who run the site; only a few
episodes are currently available.

<P> <SMALL>These cartoons are copyright Javier Malonda.  They may be copied,
linked or distributed by any means.  However, you may not distribute
modifications.  If you link to a cartoon, please <A
HREF="mailto:jmr@escomposlinux.org">notify</A> Javier, who would appreciate
hearing from you.
</SMALL>

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<!-- P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
</em>
<br CLEAR="all" -->
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/malonda.html">Javier Malonda</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>A Shell Named Westley</h1>
<p id="by"><b>By <A HREF="authors/ford.html">Theresa L Ford</A></b></p>


</b>
</p>


<p>
<p>I think of the different shells as clones of little worker guys. sh drinks
beer, sports a nice beer belly, and is quite content to do what you ask him to.
bash drinks beer AND smokes cigars. ksh is an outdoor barbeque type who likes
food and sports with whatever drink is handy. csh only drinks dry martinis and
has a dark sense of humor. Each of these worker types speaks a slightly
different dialect and gets confused if you offer him beer when he distinctly
requires a dry martini. Each has his own unique DNA (sometimes referred to as
initialization scripts).

<p>You can change which shell worker type you want to order around on a routine
basis using a magic wand etched with the word 'chsh' to point at the one you
want to come running first. This doesn't limit you, though, because you can
always clone a new one of any type by saying his name. The conscription of new
workers can even be done inside files using a #! whip.

<p>Each worker does his job at a minimum wage of $0, but may require some
training and additional $'s, maybe 1-9, and will tell you how much you gave as
a simple $#. If you overpay him, you might have to shift his wages a little.
Sometimes, the worker can be paid in special loot like gems, $* (equivalent to
all given), or $@ (also equivalent to all given but requires that the worker
spend proceeds only after careful consideration of all estimate quotes).

<p>Additionally, each worker operates under specific user permissions and may
have problems if you tell him to do something he isn't allowed to do. He has a
distinct personality and only sometimes likes to interact with you; in fact,
these workers can hide from you in the background (sly buggers, these shells!)
or let you watch them operate.

<p>Each worker can request another worker clone (of any installed type), called
its child, through a process named 'spawning'. He can learn a specialized
vocabulary (if you define each new word as a variable) and is even capable of
sharing his vocabulary with his children, but only if you specifically tell him
to! Though he'll forget some of his words if you unsettle him.

<p>If you give him enough $$, he'll tell you who he is. If he's hiding, you
have to shout ($!) to get his attention so he'll tell you who he is. You can
ask him a question ($?) and he will tell you how he did at his task. In all, I
think I shall name all my shell worker clones "Westley", call them "Farm Boy",
and expect them to respond, "As you wish..."


<h2>Additional Information</h2>

<UL>
<LI> <a href="http://www.computerbits.com/archive/1997/1100/lnx9711.html">A
Survey of Unix Shells</a><br> <a
href="http://www.freeos.com/guides/lsst/">Linux Shell Scripting Tutorial
v1.05r3 A Beginner's handbook</a>

<LI> <a
href="http://www.google.com/search?q=shells&btnG=Google+Search&domains=linuxgazette.net&sitesearch=linuxgazette.net">Shells
mentioned at Linux Gazette</a>

<LI> <a
href="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=%22shell+programming%22+site%3Atldp.org&btnG=Google+Search">Shell
programming at the Linux Documentation Project</a>

<LI> The three quotes at the end are from
<A HREF="http://www.imdb.com/title/tt0093779/">The Princess Bride</A> movie.
<A HREF="http://www.imdb.com/title/tt0093779/quotes">[more quotes</A>]
</UL>

<BLOCKQUOTE><EM>
    [See also the author's <A
    HREF="http://www.cattail.nu/origami.html">origami page</A> with animated
    GIFs.  -Editor.]
    </EM></BLOCKQUOTE>

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
Easily amused by many things, Theresa L. Ford plays with computers,
origami, wild plants, hydroponics, writing, and games.  You can peek into her
mind at her website: <a href="http://www.cattail.nu/">Cattail.nu</a>.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/ford.html">Theresa L Ford</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Songs in the Key of Tux: More Songwrite</title></h1>
<p id="by"><b>By <A HREF="authors/oregan.html">Jimmy O'Regan</A></b></p>


</b>
</p>


<p>
<p>
This is supposed to be a series, and to be so, it requires at least a second article.
In my defence, I haven't had Internet access since the last week of November last&mdash;a
few days since I submitted my <A HREF="../07/oregan.html">last article</A>, in
fact.
</p>

<p>
In the meantime, I've had plenty of time to get to know Songwrite better.
Since December I've been using it exclusively for tablature; I haven't
booted Windows once since then. So I have two goals for this article: to pass on
what I've picked up in the past four months, and to correct the inaccuracies of
my last article.
</p>

<p>
 Songwrite has found a new home. It can now be found at
<a href="http://oomadness.nekeme.net/en/songwrite/index.html">http://oomadness.nekeme.net/en/songwrite/index.html</a>
</p>

<h2>Corrections</h2>

<p>
First things first: corrections. In my last article I said that Songwrite
doesn't support whammy bar dives. This isn't <em>strictly</em> true: Songwrite
supports downward bends, just not to the extent that a whammy bar
can&mdash;Songwrite can only support down bends of two semitones. If you try to
bend lower than this, it <em>might</em> do it for you, but it'll bend up again,
which is rarely what is intended. I'll describe entering bends a bit later.
</p>

<p>
I also said that Songwrite doesn't support tempo changes.  Not only is this
incorrect, it's also not what I meant to say. I had meant that it didn't
support tempo changes when importing GuitarPro files, but, in fact, it does
(though it did miss on the few examples I tried when writing the article, it
was successful in later tests more often than not). There <em>is</em> one
problem when importing GuitarPro files&mdash;the tempos are too fast. This is
not Songwrite's fault though, as MIDI files I converted with GuitarPro play too
fast as well.  </p>

<p>
Lastly, I said that Songwrite added an extra string to a file I was working on. I must have done
that myself, because repeated use has shown that Songwrite simply doesn't do that. It will,
however, maintain the notes which were pasted over the "edge" of the staff, so that the notes
can be dragged into the correct location.
</p>

<p>
One thing to watch out for when using Timidity with Songwrite is that the "Distortion Guitar"
sound is an octave too low. This is <em>not</em> a Songwrite problem, though Songwrite uses
Timidity for playback (it can also use playmidi, or any other MIDI player). It's not even
Timidity's fault, it's the soundfont. Guitar is traditionally transcribed an octave higher
than it sounds, and whoever added the "Distortion Guitar" sound was a bit overhelpful.
</p>

<h2>Tablature Basics</h2>

<p id="simpleentry">
I've already discussed basic note entry, though it's worth noting that you can navigate
around the tablature using the arrow keys, instead of having to reach for the mouse every
time you want to enter a note. Most features are available from the keyboard - to add a
hammer-on or pull-off, press 'h'; to slide, press 's' (for these effects, you need to have a
target - Songwrite won't let you hammer-on to nothing); for tremolo, 't'; for bend, 'b'; for
roll, 'r'; and to reset to normal, 'n'. You can also set a note's properties by double-clicking
on the note and selecting the property you wish to change, or by selecting 'Note->Properties...'.
You can also raise and lower the pitch of a note by pressing '+' and '-', respectively, or
by simply pressing 'Enter' to get an open note. (Note: This is 'Enter' on the numeric keypad;
the other 'Enter' marks a note as "strong").
</p>

<p id="bends">
When you enter a bend, either by using the keyboard or the note properties, you can then
select the note properties to set the extent of the bend; 0.5 is a semitone, 1.0 is a whole
tone, -1.0 bends down a whole tone etc. Bear in mind that if you have used the note
properties to set the bend, you have to dismiss the dialogue and reopen it. Songwrite only
supports bends between -1.0 and 1.0 without bending back in the opposite direction though,
so watch out!
</p>

<h2>Note placement</h2>

<p>
Placing notes in Songwrite is very simple, as I've said before; rather than requiring that
the user enter notes and rests linearly, Songwrite simply lets you enter the note where it's
required, and there isn't a way to enter rests - simply leave the space blank.
</p>

<p>
When pasting or moving notes with the mouse, the note duration currently selected determines
where you can place the notes. For most music, this means selecting a sixteenth duration
before selecting the piece you wish to move/paste&mdash;and I mean <em>before</em>, as
selecting a different note duration while notes are selected changes their duration (well,
what did you expect?). If you forget this, don't worry! Songwrite has a great Undo/Redo
facility!
</p>

<h2>Tied notes</h2>

<p>
Songwrite's support for tied notes is so simple and obvious that my months of using other
tablature programs hid it from me: you don't tie the notes. If you've got a syncopated riff
which starts with an eighth note which plays a sixteenth before the beat, you simply place
the note a sixteenth before the end of the previous bar, and enter an eighth note. If you're
using hammer-ons or pull-offs in a chord, you set the rest of the chord to the entire
duration, and simply change the notes where the hammer-on occurs. Songwrite then puts in
the rests when you export to Lilypond or MIDI.
</p>

<h2>Tuning</h2>

<p>
Songwrite is set up by default for standard tuning (EADGBE), which is fine for most
guitarists, but I use quite a lot of tunings - Drop D from my Helmet rip-off days,
Eb from my Slayer rip-off days, C# from my death metal phase (i.e. right now), etc.
etc.
</p>

<p>
The tunings dialogue (or "dialog" if you must) in Songwrite (available from each
instrument's 'Properties' button, above the tablature staff) is easy to understand -
select the string you wish to tune, and move the slider to the correct note. There
is, however, one problem - some notes don't show up on the slider! For example, if
I want to use Drop-D tuning, I would expect to be able to just move the slider to
'D', but it skips straight from D# to Db. To get around this, at first I tried
creating a blank file, saving it, and then manually editing the file to get the
correct tuning. As you might expect, this got really tedious, so I decided to change
the source to add the tunings I use regularly.
</p>

<p>
Since Songwrite is written in Python, the source is installed by default, so I
didn't have to go digging in backup CDs for the tarball. By default, Songwrite
comes with two guitar tunings available from the 'Partition' menu--'Guitar Standard'
and 'Guitar DADGAD'. 'DADGAD' seemed unique, and the only instance I found was
exactly what I was looking for: the area where the tunings are defined, in
tablature.py
</p>

<pre class="code">
guitar_view_type = view.ViewType("tab", _("Guitar"       ), Tablature, \
{ "strings_args": ((64, 0), (59, 0), (55, 0), (50, 1), (45, 1), (40, 1)) }, 24)
view.ViewType("tab", _("Guitar DADGAD"), Tablature, { "strings_args": \
((62, 0), (57, 0), (55, 0), (50, 1), (45, 1), (38, 1)) }, 24)
view.ViewType("tab", _("Bass"         ), Tablature, { "strings_args": \
((43, 0), (38, 0), (33, 1), (28, 1)) }, 33)
view.ViewType("tab", _("Banjo 5G"     ), Tablature, { "strings_args": \
((62, 0), (59, 0), (55, 0), (50, 0), (Banjo5GString, 67, 0)) }, 105)
</pre>

<p>
Now, I've never used Python before, but this looked straightforward enough, so I dove
in and made my changes (after making a copy of the original file, obviously), ran
Songwrite and enjoyed my new tunings.
</p>


<pre class="code">
guitar_view_type = view.ViewType("tab", _("Guitar"       ), Tablature, { \
"strings_args": ((64, 0), (59, 0), (55, 0), (50, 1), (45, 1), (40, 1)) }, 24)
view.ViewType("tab", _("Guitar DADGAD"   ), Tablature, { "strings_args": \
((62, 0), (57, 0), (55, 0), (50, 1), (45, 1), (38, 1)) }, 24)
# Helmet, Metallica, Nirvana, Van Halen etc.
view.ViewType("tab", _("Guitar Dropped D"), Tablature, { "strings_args": \
((64, 0), (59, 0), (55, 0), (50, 1), (45, 1), (38, 1)) }, 24)
# Hendrix, Slayer etc.
view.ViewType("tab", _("Guitar Eb"       ), Tablature, { "strings_args": \
((63, 0), (58, 0), (54, 0), (49, 1), (44, 1), (39, 1)) }, 24)
# My crappy Strat copy. I've set this 'cause the tuning dialogue won't let me
# set the correct tuning on the G string. Set to overdriven guitar by default.
# Slayer's later albums use this tuning.
view.ViewType("tab", _("Guitar C#"       ), Tablature, { "strings_args": \
((61, 0), (56, 0), (52, 0), (47, 1), (42, 1), (37, 1)) }, 29)
view.ViewType("tab", _("Bass"            ), Tablature, { "strings_args": \
((43, 0), (38, 0), (33, 1), (28, 1)) }, 33)
#My brother has a 5 string bass as well as a normal bass.
view.ViewType("tab", _("5 String Bass"   ), Tablature, { "strings_args": \
((43, 0), (38, 0), (33, 1), (28, 1), (23, 1)) }, 33)
#I read about this in Guitar World. Possibly an April issue :)
view.ViewType("tab", _("Bassitar"        ), Tablature, {"strings_args": ((43, 0), \
(64, 0), (59, 0), (38, 0), (55, 0), (50, 1), (33, 1), (45, 1), (50, 1), (28, 1)) }, 33)
view.ViewType("tab", _("Banjo 5G"        ), Tablature, { "strings_args": \
((62, 0), (59, 0), (55, 0), (50, 0), (Banjo5GString, 67, 0)) }, 105)
</pre>

<p>
The only parts of that I really understand are "Bassitar" etc. are the names which appear in
the menu, and the <tt>(64, 0)</tt> stuff is the tuning details: one per string, starting with
the lowest string; the number for the note (the number which appears in the tuning dialogue);
and the "tuning direction" (which doesn't seem to do anything).
</p>

<h2>Lyrics</h2>

<p>
Entering lyrics is as simple and logically arranged as everything else - to enter lyrics,
you first need to enter the vocal melody. Songwrite then arranges the words beneath the
corresponding note. Pressing space or tab moves the cursor underneath the next note, as
does entering '-', which cuts the word (which are reassembled in Lilypond's output).
'Enter' brings you on to the next line (though you need to place a double backslash before
the newline to have each line show up correctly when printed - see below).
</p>

<h2>Song Properties</h2>

<p>
Now, like most other tablature programs out there, Songwrite lets you add information about
the song. Unlike other programs, Songwrite uses Lilypond and LaTeX to generate its printed
output. A nice side effect of this is that you can write whole articles in Songwrite, with
a nice subset of LaTeX. (Which explains why you need to escape newlines in lyrics).
</p>

<p>
This feature, which seems to be accidental, offers many great possibilities: for a guitar
arrangement of a piece of music, you can include the original piece in the comments for
comparison; for an article about a piece of music, you could have a scale layout in the
printout to correspond with the solo, or show earlier versions of a riff within the
document. The best part is, you don't even need to be able to write Lilypond, just use
"Export->LaTeX+Lilypond" from another window.
</p>

<h2>Gnometab</h2>

<p>
I briefly mentioned Gnometab at the end of my last article; I thought I'd mention it again.
Gnometab is <em>very</em> different to Songwrite: it can only be used for laying out
tablature - it offers no playback, so if you don't know how to write note durations, you
can't use it effectively; it also allows you to write several notes on top of each other, 
which isn't much help for the beginner.
</p>

<p>
If, however, you are serious about producing printed tablature, Gnometab produces better
looking tablature than Lilypond (which Songwrite uses for printing); and if you've already
produced your tab with Songwrite, it's pretty east to redo it using Gnometab regardless of
music knowledge.
<p>

<h2>Examples</h2>

<p>
I did some conversions from the examples which accompanied my last article, but mainly
where I had forgotten to add a part, or to fix something. Since then, I've come up with
quite a few riffs which were edited directly in Songwrite. You can find them <a href="misc/oregan/examples.tar.bz2">here</a>.
</p>

<h2>Conclusions</h2>
<p>
As I mentioned earlier, I haven't had internet access for a while - over six months in fact - 
and this article was written during that time. Since this article was written, I have gotten 
Internet access again, and I would like to mention some things in passing.
</p>

<ul>
<li>If you have a Palm Pilot, and play guitar, you might be interested in <a href="http://www.mennigmann.com/fretboard/">Fretboard</a>, an application which shows several different scales and tunings.</li>

<li>If you've been using Songwrite, you may interested to note that Songwrite uses Python's
httplib to open files, so you can have Songwrite open files straight from the Internet.</li>

<li><b><a href="http://tablature.sourceforge.net/">Tablature</a></b> is a Java-based (and therefore
cross platform) tablature editor. It's features are basic though.  Since Songwrite is 
written in Python, with Tk for its GUI, it should be able to run on any platform capable of
running Java.</li>
</ul>

<p>
The next article in this series (and there will be another one, honest!!) will
cover recorded sound: the temptations offered by <a
href="http://ardour.org/">Ardour</a> and <a
href="http://www.wakkanet.fi/~kaiv/ecasound/welcome.html">Ecasound</a>, coupled
with the discovery of a record lable <a href="http://www.magnatune.com/">that
isn't evil</a>, That's what I am working on right now, so watch this space!
</p>

</em></p>

<p><em>
</em></p>

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
Jimmy has been using computers from the tender age of seven, when his father was left an
Amstrad PCW8256. He was shown a Unix box several years later, and instantly fell in love.
But it could never be, as Unix vendors tended to demand first-born children, and when
Mark came along in 1997, the trade didn't seem worth it.


<p>
Within weeks of starting college, Shane, a fellow first year student, started a computer
society and so Jimmy found his introduction to Linux. Jimmy was made an admin pretty
quickly, because Shane figured he'd get the root password one way or another.


<p>
Jimmy has since reformed his l33t wayz, and could pass for a productive member of society
in dim lighting, at a distance, if you're only looking out of the corner of your eye.
In "Moving Pictures", Terry Pratchett wrote:</em>
<BLOCKQUOTE>Of course, it is very important to be sober when you take an exam.
Many worthwhile careers in the street-cleaning, fruit-picking and
subway-guitar-playing industries have been founded on a lack of understanding
of this simple fact.</BLOCKQUOTE>
<em>Jimmy hadn't read these words of wisdom. Jimmy now works in a meat factory.
Jimmy plays guitar, but his dream of playing in a subway is on hold, pending
the construction of a subway in his locality.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/oregan.html">Jimmy O'Regan</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Debian dumps drivers, documentation</h1>
<p id="by"><b>By <A HREF="authors/oregan.html">Jimmy O'Regan</A></b></p>


</b>
</p>


<p>
<p>
On the 26th of April, the Debian project announced the results of a vote
it held between the 11th and 25th of April. The result of this vote is the
modification of <a href="http://www.debian.org/social_contract">Debian's
Social Contract</a>. Where the social contract had previously read "free
software", these references have been changed to refer to free items in
general. This change was deemed necessary because several people thought
the social contract ambiguous when used in terms of non-software items,
such as documentation and content, and items which are not necessarily
software, such as firmware.

<p>
This decision means that non-free documentation and firmware are to be
removed from the Debian distribution, and placed in non-free, which will
result in a <a
href="http://groups.google.com/groups?safe=images&ie=UTF-8&oe=UTF-8&as_umsgid=1P6nW-4CL-19@gated-at.bofh.it">serious delay in the release of
Sarge</a>: the firmware will have to be split from the kernel and the
installer rewritten to handle the separate packages. In addition, many
important GNU packages, such as GCC and glibc, will not have
documentation.

<p>
Last month, Debian announced the <a
href="http://lists.debian.org/debian-vote-0403/msg00920.html">result of a
vote</a> to remove non-free. The vote, conducted from March 7th to 21st,
is the result of years of discussion, prompted by rms (Richard Stallman).
Unlike most other Linux distributions, Debian has always kept free and non-free
software separate. According to section 5 of Debian's Social Contract, however,
Debian maintains a non-free section as a convenience for its users. Any
software which does not comply with the <a
href="http://www.debian.org/social_contract#guidelines">Debian Free Software
Guidelines</a> can be packaged as part of non-free, if it can be distributed at
all.

<p>
This policy has caused arguments between Debian developers and developers
of several open source projects. KDE was not distributed by Debian until
KDE 3.0, because the Qt toolkit which KDE is built upon used licences
which were incompatible with the GPL used by many parts of KDE. The most
recent loud argument has been with the developers of MPlayer (<a
href="http://lists.debian.org/debian-legal/2004/debian-legal-200403/msg002
35.html">now resolved</a>), because MPlayer did not include licence
details, and in many cases did not comply with section 2a of the GPL for
projects it included (i.e. did not provide changelogs).

<p>
The latest vote was brought about by two main factors: discussions about
the GNU FDL (<a href="http://www.gnu.org/licenses/fdl.html">Free
Documentation License</a>), and binary firmware in the
kernel. The issue of firmware had been known for a <a
href="http://lwn.net/Articles/3467/">long time</a>; Richard Stallman had
been <a href="http://kerneltrap.org/node.php?id=204">concerned</a> about
this issue, as it meant Linux device drivers could not be used by the
Hurd.

<p>
The issue of the GNU FDL is more recent and possibly the most
responsible for the recent change. Debian had long ago decided that
several of the clauses in the FDL were non-free: Invariant Sections and
Cover Texts in particular, but campaigning by members of the Free Software
Foundation to have documentation considered differently than software
caused more attention to be paid in the examining of this <a
href="http://lists.debian.org/debian-legal/2003/debian-legal-200305/thread
s.html">licence</a>. A <a
href="http://lists.debian.org/debian-legal-0308/msg01031.html">survey</a>
taken by Branden Robinson showed that the majority of Debian developers
considered the FDL non-free, and Manoj Srivastava prepared a <a
href="http://people.debian.org/~srivasta/Position_Statement.html">draft
Position Statement</a> about the GFDL.

<p>
The FDL issue is more easily solved, however, at least in the case of GNU
manuals. Debian will most likely start its own project to bring older
versions of the GNU manuals, which used a different licence, up to date.
The firmware issue, however, is the most likely to cause pain among Debian
users.

<p>
Debian users can be (roughly) split into two categories: those who
appreciate Debian's technical excellence, and those who appreciate
Debian's stance on free software. Even outside of Debian, users of free
software feel the impact of Debian's efforts.

<p>
On a technical level, poor comparisons against Debian's apt have driven
RPM-based distributions to adapt similar systems for easily downloading a
package from wherever it resides (using a merged prioritized list of
repositories); and both Red Hat and Mandrake have adopted Debian's alternatives
system, which allows multiple packages of a similar nature to peacefully
coexist on a system.

<p>
On a free-software level, many people have benefited from Debian's
campaigning software authors to use free licencing terms. But on a greater
level, the <A HREF="http://opensource.org/">Open Source Definition</A>, the
document by which open source licences are judged, is based on Debian's Free
Software Guidelines. The licence dissections performed on the debian-legal
mailing list provide a valuable service to the community, as vague or non-free
terms are located and queried.

<p>
There's a growing trend among some Debian developers, however, to give
less leeway when interpreting licences.

<p>
Three or four years ago, before I was cast back to the land of the modem,
I put myself into the New Maintainer queue, to become a package developer.
I passed the test to determine whether or not I understood the free
software guidelines; in fact, all I needed to do was get my GPG key
signed. It came, therefore, as a shock to see the interpretation of the
guidelines become so narrow, that clauses previously dismissed as merely
obnoxious are now being seen as non-free outright.

<p>
One example of this is the licence with the Bitstream fonts, which does
not allow you to sell the software <b>on its own</b>. Previously, the
default reaction was to say "fine, we add scripts and a README to the
package anyway", but a there is a group who would wish to see this sort of
licence rejected outright. (It is, however, still acceptable. For now.)

<p>
To sum up: Debian is stripping out binary firmware and documents which use
the GNU FDL (and the OPL [<a
href="http://lists.debian.org/debian-legal/2004/debian-legal-200402/msg002
83.html">OPL</a>]). Non-free is staying, though, so you can still get the
packages. <tt>vrms</tt> would complain, but vrms will be discarded as the
real rms would consider many of these packages to be free. Debian will be
harder to install, but since they're making great strides with installers,
it'll probably be about the same. People will be divided over whether to
think Debian a bunch of free-software purists, or free-software zealots.
There will be great upheaval, resulting in things looking pretty much the
same. There will be some mocking headlines ("Open source operating system
not so open after all") but we'd have those anyway.

<p>
<sub>Because of the objections to the OPL, I'd like to state that I make no
requirements against printed versions of this artice.  Anyone who makes
modifications to it may identify themselves with a nickname, initial, number, or
significant white space.  To provide the location of the original document, you
can tell people to go google.</sub> 

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
Jimmy has been using computers from the tender age of seven, when his father was left an
Amstrad PCW8256. He was shown a Unix box several years later, and instantly fell in love.
But it could never be, as Unix vendors tended to demand first-born children, and when
Mark came along in 1997, the trade didn't seem worth it.


<p>
Within weeks of starting college, Shane, a fellow first year student, started a computer
society and so Jimmy found his introduction to Linux. Jimmy was made an admin pretty
quickly, because Shane figured he'd get the root password one way or another.


<p>
Jimmy has since reformed his l33t wayz, and could pass for a productive member of society
in dim lighting, at a distance, if you're only looking out of the corner of your eye.
In "Moving Pictures", Terry Pratchett wrote:</em>
<BLOCKQUOTE>Of course, it is very important to be sober when you take an exam.
Many worthwhile careers in the street-cleaning, fruit-picking and
subway-guitar-playing industries have been founded on a lack of understanding
of this simple fact.</BLOCKQUOTE>
<em>Jimmy hadn't read these words of wisdom. Jimmy now works in a meat factory.
Jimmy plays guitar, but his dream of playing in a subway is on hold, pending
the construction of a subway in his locality.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/oregan.html">Jimmy O'Regan</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Benchmarking Filesystems</h1>
<p id="by"><b>By <A HREF="authors/piszcz.html">Justin Piszcz</A></b></p>


</b>
</p>


<p>
<h2>INTRO</h2>

I recently purchased a Western Digital 250GB/8M/7200RPM drive and wondered
which journaling file system I should use.  I currently use ext2 on my other,
smaller hard drives.  Upon reboot or unclean shutdown, e2fsck takes a while on
drives only 40 and 60 gigabytes.  Therefore I knew using a journaling file
system would be my best bet.  The question is: which is the best?  In order to
determine this I used common operations that Linux users may perform on a
regular basis instead of using benchmark tools such as Bonnie or Iozone.  I
wanted a "real life" benchmark analysis.  A quick analogy: Just
because the Ethernet-Over-Power-Lines may advertise 10mbps (1.25MB/s), in real
world tests, peak speed is only 5mbps (625KB/s).  This is why I chose to run my
own tests versus using hard drive benchmarking tools.

<h2>SPECIFICATIONS</h2>

<h3>HARDWARE</h3>

<PRE>
    COMPUTER: Dell Optiplex GX1
         CPU: Pentium III 500MHZ
         RAM:  768MB
        SWAP: 1536MB
  CONTROLLER: Promise ATA/100 TX - BIOS 14 - IN PCI SLOT #1 
 DRIVES USED: 1] Western Digital 250GB ATA/100 8MB CACHE 7200RPM
              2] Maxtor 61.4GB ATA/66 2MB CACHE 5400RPM
DRIVE TESTED: The Western Digital 250GB.
</PRE>

<h3>SOFTWARE</h3>

<PRE>
 LIBC VERSION: 2.3.2
       KERNEL: linux-2.4.26
COMPILER USED: gcc-3.3.3
         EXT2: e2fsprogs-1.35/sbin/mkfs.ext2
         EXT3: e2fsprogs-1.35/sbin/mkfs.ext3
          JFS: jfsutils-1.1.5/sbin/mkfs.jfs
     REISERFS: reiserfsprogs-3.6.14/sbin/mkreiserfs
          XFS: xfsprogs-2.5.6/sbin/mkfs.xfs
</PRE>

<h3>TESTS PERFORMED</h3>

<PRE>
001] Create 10,000 files with touch in a directory.
002] Run 'find' on that directory.
003] Remove the directory.
004] Create 10,000 directories with mkdir in a directory.
005] Run 'find' on that directory.
006] Remove the directory containing the 10,000 directories.
007] Copy kernel tarball from other disk to test disk.
008] Copy kernel tarball from test disk to other disk.
009] Untar kernel tarball on the same disk.
010] Tar kernel tarball on the same disk.
011] Remove kernel source tree.
012] Copy kernel tarball 10 times.
013] Create 1GB file from /dev/zero.
014] Copy the 1GB file on the same disk.
015] Split a 10MB file into 1000 byte pieces.
016] Split a 10MB file into 1024 byte pieces.
017] Split a 10MB file into 2048 byte pieces.
018] Split a 10MB file into 4096 byte pieces.
019] Split a 10MB file into 8192 byte pieces.
020] Copy kernel source tree on the same disk.
021] Cat a 1GB file to /dev/null.

NOTE1: Between each test run, a 'sync' and 10 second sleep   
       were performed.
NOTE2: Each file system was tested on a cleanly made file
       System.
NOTE3: All file systems were created using default options.
NOTE4: All tests were performed with the cron daemon killed   
       and with 1 user logged in.
NOTE5: All tests were run 3 times and the average was taken,  
       if any tests were questionable, they were re-run and 
       checked with the previous average for consistency.
</PRE>

<h3>CREATING THE FILESYSTEMS</h3>

<h4>EXT2</h4>

<PRE>
root@p500:~# mkfs.ext2 /dev/hdg1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
30539776 inodes, 61049000 blocks
3052450 blocks (5.00%) reserved for the super user
First data block=0
1864 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@p500:~# 
</PRE>

<h3>EXT3</h3>

<PRE>
root@p500:~# mkfs.ext3 /dev/hdg1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
30539776 inodes, 61049000 blocks
3052450 blocks (5.00%) reserved for the super user
First data block=0
1864 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@p500:~# 
</PRE>

<h4>JFS</h4>

<PRE>
root@p500:~# mkfs.jfs /dev/hdg1
mkfs.jfs version 1.1.5, 04-Mar-2004
Warning!  All data on device /dev/hdg1 will be lost!

Continue? (Y/N) y
   \

Format completed successfully.

244196001 kilobytes total disk space.
root@p500:~# 
</PRE>

<h4>REISERFS</h4>

<PRE>
root@p500:~# ./mkreiserfs /dev/hdg1
mkreiserfs 3.6.14 (2003 www.namesys.com)

A pair of credits:
Nikita Danilov  wrote  most of the core  balancing code, plugin infrastructure,
and directory code. He steadily worked long hours, and is the reason so much of
the Reiser4 plugin infrastructure is well abstracted in its details.  The carry 
function, and the use of non-recursive balancing, are his idea.

Lycos (www.lycos.com) has a support contract with us that consistently comes in
just when  we would otherwise miss payroll,  and  that they keep doubling every 
year. Much thanks to them.


Guessing about desired format.. Kernel 2.4.26 is running.
Format 3.6 with standard journal
Count of blocks on the device: 61048992
Number of blocks consumed by mkreiserfs formatting process: 10075
Blocksize: 4096
Hash function used to sort names: "r5"
Journal Size 8193 blocks (first block 18)
Journal Max transaction length 1024
inode generation number: 0
UUID: 8831be46-d703-4de6-abf3-b30e7afbf7d2
ATTENTION: YOU SHOULD REBOOT AFTER FDISK!
        ALL DATA WILL BE LOST ON '/dev/hdg1'!
Continue (y/n):y
Initializing journal - 0%....20%....40%....60%....80%....100%
Syncing..ok

Tell your friends to use a kernel based on 2.4.18 or later, and especially not a
kernel based on 2.4.9, when you use reiserFS. Have fun.

ReiserFS is successfully created on /dev/hdg1.
</PRE>

<h4>XFS</h4>

<PRE>
root@p500:~# mkfs.xfs -f /dev/hdg1
meta-data=/dev/hdg1              isize=256    agcount=59, agsize=1048576 blks
         =                       sectsz=512  
data     =                       bsize=4096   blocks=61049000, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=29809, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=65536  blocks=0, rtextents=0
root@p500:~# 
</PRE>

<h3>BENCHMARK SET 1 OF 4</h3>

<P>
<img src="misc/piszcz/image001.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">In the first test, ReiserFS takes the lead, possibly due to its
balanced B-Trees.  <EM>(If the images are hard to read on your screen, here's
a <A HREF="misc/piszcz/lg-102-piszcz-images.tar.gz">tarball</A> containing
larger versions of them.)</EM>

<P>
<img src="misc/piszcz/image002.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">All of the files systems faired fairly well when finding 10,000
files in a single directory, the only exception being XFS which took twice as
long.

<P>
<img src="misc/piszcz/image003.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Both ext versions 2 and 3 seem to reap the benefits of removing
large numbers of files faster than any other file system tested.

<P>
<img src="misc/piszcz/image004.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">To make sure this graph was accurate; I re-benchmarked the ext2
file system again and got nearly the same results.  I was surprised to find how
much of a performance hit both ext2 and ext3 take during this test.

<P>
<img src="misc/piszcz/image005.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Finding 10,000 files seemed to be the same except for XFS;
however directories are definitely handled differently between the tested file
systems.  Oddly enough, ReiserFS takes the largest performance hit in this
area.

<P>
<img src="misc/piszcz/image006.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">All of the file systems performed well in this area with the
exception of ext3.  I am not sure what could cause such an overhead for ext3
over all of the other file systems tested.

<P>
<img src="misc/piszcz/image007.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">As expected, ext2 wins here because it does not journal any of
the copied data.  As many would suspect, XFS handles large files well and takes
the lead for journaling file systems in this test.

<P>
<img src="misc/piszcz/image008.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This benchmark represents how fast the tar ball can be read
from each file system.  Surprisingly, ext3 matches the speed of XFS.

<P>
<img src="misc/piszcz/image009.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Surprisingly, ReiserFS wins, even over the non-journaling
filesystem ext2.

<P>
<img src="misc/piszcz/image010.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">The best journaling file system here is ReiserFS; however, ext3
comes in at a close second.

<P>
<img src="misc/piszcz/image011.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">ReiserFS once again surprises everyone and takes the lead; it
appears JFS has some serious issues removing large numbers of files and
directories.

<P>
<img src="misc/piszcz/image012.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Obviously ext2 wins here as it does not need to journal its
copies but XFS is a close second, able to handle large files fairly well.

<P>
<img src="misc/piszcz/image013.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">If one must deal with consistently large files, XFS seems to be
the best choice for a journaling file system.

<P>
<img src="misc/piszcz/image014.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Once again on the journaling side, XFS performs well with large
files; however, JFS wins by a hair.

<P>
<img src="misc/piszcz/image015.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This test probably surprised me the most, so much so I re-ran
the test several times and got consistent results each time.  Both ext2 and
ext3 have serious problems splitting files into small pieces, while JFS,
ReiserFS and XFS do not seem to have a problem.

<P>
<img src="misc/piszcz/image016.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">I figured people would ask for this test if I did not do it, so
here it is.  It appears that ReiserFS's balanced B-Tree's allow it to
outperform all tested file systems including ext2!

<P>
<img src="misc/piszcz/image017.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">JFS takes this test benchmark by storm; I was surprised that it
had performed so well.  However, once again dealing with large files, XFS is a
close second.


<h3>BENCHMARK SET 2 OF 4</h3>

<P>
<img src="misc/piszcz/image018.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Here is a line chart of representing all of the timed tests.

<P>
<img src="misc/piszcz/image019.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">Here is a line chart representing the CPU utilized during each
test.

<h3>BENCHMARK SET 3 OF 4</h3>

<P>
<img src="misc/piszcz/image020.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">A bar graph for all the timed tests.

<P>
<img src="misc/piszcz/image021.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">A bar graph of combined CPU usage.

<h3>BENCHMARK SET 4 OF 4</h3>

<P>
<img src="misc/piszcz/image022.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image023.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image024.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image025.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image026.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image027.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image028.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image029.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image030.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image031.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image032.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image033.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image034.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image035.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.

<P>
<img src="misc/piszcz/image036.jpg" title="" alt="" style="width: 450px; height: 450px; height: 300px;">
<br clear="all">This graph was calculated by the previous tests.



<h3>CONCLUSION</h3>

<P> For those of you still reading, congrats!   The conclusion is obvious by the
"Total Time For All Benchmarks Test."  The best journaling file system to
choose based upon these results would be: JFS, ReiserFS or XFS depending on
your needs and what types of files you are dealing with.  I was quite surprised
how slow ext3 was overall, as many distributions use this file system as their
default file system.  Overall, one should choose the best file system based
upon the properties of the files they are dealing with for the best performance
possible!</P>

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<!-- P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
I have completed my A.S. in Computer Science at a local community college
and plan to pursue either a C.S. or B.S. degree at a local university this
fall.  I have been using UNIX on and off since 1989.  I grew up around
both Apple and Macintosh computers.  In late 1996 however, I became
frusturated with Macs and how unstable the operating system was.  So in
December, 1996 I installed LinuxPPC R3, this is when I began using Linux
daily.   This  distrubution came with kernel 2.1.24, and KDE 0.2 I believe,
but I primarily used the CLI because xpmac and Gnome/KDE were not quite
complete yet.  Then in 1998 I built a good x86 box, and now use Red Hat
for my desktop machine and Slackware for my Linux router/server.  I have
been using Linux every day since then.  I currently run Slackware 9.1 on
a 2.6GHZ P4 HT w/2GB of ram and 4GB of swap utilizing the (currently)
latest stable 2.6 kernel, 2.6.5.
</em>
<br CLEAR="all" -->
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/piszcz.html">Justin Piszcz</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Thinking about Caching</h1>
<p id="by"><b>By <A HREF="authors/pramode.html">Pramode C.E</A></b></p>


</b>
</p>


<p>
<p>
Cache memory is an integral part of every
modern microprocessor system. The way
your program accesses memory does have an
impact on run time, especially if you are accessing
data sets which are bigger than what can be
stored in the cache. In this article, I outline 
an experiment which I did on my Athlon XP system
running Linux to get a `feel' of some of the performance
issues associated with the cache. I wrote a simple device driver
to read the Athlon performance monitoring
counters.  The driver monitors user-space data-cache accesses made by 
programs which  reference a one dimensional array
in different ways.  The results give quantitative evidence
of the importance of `locality of reference'.

<h2>Why have a cache?</h2>
<p>
Instructions (as well as data) are stored in RAM.  Memory access is
much slower than the CPU speed.  It's possible to have
faster memory - but then you can't have too much of it,
as cost would be higher. The solution is (as is the case
with almost all engineering solutions) a `compromise'. We
keep a small amount of high speed `cache' memory - and a much larger
amount of `main' memory. 
<p>
In a direct mapped cache, each location in RAM is mapped to one
and only one location in the cache.
<p>
<img src="misc/pramode/cache.png">
<p>
The figure shows 16 RAM cells mapped to 4 cells of cache memory.
The mapping is done as per the equation:
<p>
Address of cache cell = (Address of RAM cell) modulus (total number of cache cells)
<p>
We note that RAM locations 0, 4, 8, 12 are all mapped to location 0 in
cache. When the CPU first fetches data from memory location 0, a copy of
it is stored in the cache. If the same memory location is to be read
again, the read will be satisfied from the cache. But the question is,
how does the CPU know that the data in cache cell 0  corresponds to 
data in RAM cell 0 - it can as well correspond to data in RAM cells 4, 8 or
12. The solution is simple - together with the data, each cache cell also
maintains a tag which uniquely identifies the corresponding location in main
memory. In the above example, we note that main memory can be addressed using
4 bits and cache, using two bits. If we examine the main memory addresses
0, 4, 8 and 12 (0000, 0100, 1000, 1100 in binary) we see that the lower two
bits of all the addresses are 00 - all these addresses are mapped to cache
location 00. We use as `tag', the higher two bits of the main memory address.
Thus, if cache cell 0 contains data corresponding to main memory location 4, 
its tag bits would contain 01.

<h2>What is temporal and spatial locality of reference?</h2>
<p>
The cache is effective because it exploits `temporal and spatial locality
of reference'. Data which was accessed a  moment back might be 
accessed again and again (temporal locality); a typical example is
instructions in a loop. The instructions are stored in memory - and the
same instructions are executed over and over. When we step through an
array, we normally do it in sequence - when we read one byte of the
array, there is a high probability that the subsequent reads are going
to be from adjacent locations. Designers of cache systems exploit this
`spatial' locality of reference by loading not just the word being fetched
from memory, but also a few consecutive words into cache. The next few
accesses would be satisfied from the cache (a `cache hit') - provided they
access consecutive locations.

<h2>How much cache memory does your system have?</h2>
<p>
It's easy to find this out. Here is a part of the output generated
by running `dmesg' on my system:
<p>
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
</p>

<h2>How do you write a program which reveals the presence of
the cache?</h2>
<p>
Let's write a program which creates a really big array
and simply reads all the elements in it in sequence.
<p>

<a href="misc/pramode/1.c.txt">[Listing 1]</a>

<p>
The array-reading part of the program takes about one second to complete
on my Athlon XP system with a clock speed of 1463 MHz; the system has
256Mb of RAM and the program does not swap to disk.

<p>
Now we change the program a bit. Suppose we have a cache block of size
M bytes. We think of main memory as being divided into blocks of size
M bytes each. Reading the zero'th byte would result in bytes 0 to M-1
getting stored in a cache block. If the next M-1 accesses refer to locations
1 to M-1, then the references would be satisfied from the cache. But what
if the next referenced element is the one at main memory address M? Because
only elements 0 to M-1 are in the cache, we have a miss, and another M byte
block gets loaded into the cache (the block from M to 2*M-1). If we keep
on accessing this way (ie, 0, M, 2*M, 3*M etc), each access will result in a 
cache miss. If the array is fairly large compared to the cache size, we 
would very soon fill up the cache. Now, if we come back and try to read from
locations 1, M+1, 2*M+1, 3*M+1 etc, these elements would no longer be in the
cache as they have been replaced by elements present at the far right end of
the array - and so we again have cache misses. The figure below shows this kind
of access for M=4.

<p>
<img src="misc/pramode/array.png">
<p>

This makes up
for very inefficient use of the cache - our program does not show enough
`spatial locality of reference'. It would show up in the run time of the
modified program - I measured it to be around 9 seconds on my system.

<p>
<a href="misc/pramode/2.c.txt">[Listing 2]</a>
<p>

<h2>Using the performance counting registers</h2>
<p>

CPU's from Pentium onwards have special performance counting registers
which can be used for counting architectural events like a cache hit/miss,
TLB accesses etc. These registers can be accessed from kernel mode using
the macro's `rdmsr' and `wrmsr'. The Athlon XP CPU has four such 64 bit
counters located at 0xC0010004 to 0xC0010007. Each of these registers can
monitor one architectural event at a time. The events to be monitored, whether
monitoring is to be done for user mode events or kernel mode events etc are
controlled by four `event select registers' located from 0xC0010000 to 0xC0010003
- there is one event select register for each event count register.

<p>
Let's say we wish to count the DCACHE misses. We will use the first
performance counter at 0xC0010004, which is controlled by the event
select register 0xC0010000. We have to write a 32 bit number to the
event select register. Here is how the number is formed:
<ul>
<li> Least significant 8 bits (D0 to D7) should be the `event number'.
A DCACHE MISS  is event number 0x41.
<li> If bit 16 is set, user mode events are counted. If bit 17 is
set, kernel mode events are counted.
<li> Bit 22, when set, enables counting.
</ul>
Now, `wrmsr' can be invoked:
<pre>

wrmsr(0xC0010000, 0x41 | (1U &lt;&lt; 16) | (1U &lt;&lt; 22), 0)

</pre>
After this, executing `rdmsr' on 0xC0010004 would yield the
number of cache misses.
<pre>

unsigned int low, high;
rdmsr(0xC0010004, low, high);

</pre>

<p>

<a href="misc/pramode/perfmod.c.txt">[Listing 3]</a> implements a simple character
driver for reading/writing the performance count registers. A few 
macro definitions for use with this module are provided in 
<a href="misc/pramode/perf.h.txt">[Listing 4]</a>.

<h2>Taking measurements</h2>
<p>
<a href="misc/pramode/measure.c.txt">[Listing 5]</a> is  a simple program
which reads DCACHE misses before and after calling two functions,
one which which accesses an array in the normal manner - and
another which reads the array by jumping across blocks. Only
user space cache misses are counted. It should be noted that
other programs running on the system also contribute to the
count. Here is one set of outputs:
<pre>

low = e023d3ef, high = ffff
low = e047a944, high = ffff

-----------------------
low = e938fae5, high = ffff

</pre>

<h2>Further Reading</h2>
<p>
The book <i>Computer Architecture - a Quantitative Approach</i> by <b>Patterson
and Hennessy</b> is the definitive reference for all the clever tricks which
designers employ to push the limits of computing performance.
The <i>AMD Athlon Code Optimization Guide</i> details the use of
the performance counting registers and is available 
<a href="http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/22007.pdf">
here</a>. Similar documents are available for Intel CPUs also.

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
I am an instructor working for IC Software in Kerala, India. I would have loved
becoming an organic chemist, but I do the second best thing possible, which is
play with Linux and teach programming!
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/pramode.html">Pramode C.E</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Qubism</h1>
<p id="by"><b>By <A HREF="authors/harsem.html">Jon "Sir Flakey" Harsem</A></b></p>


</b>
</p>


<p>
<P>
<EM>These images are scaled down to minimize horizontal scrolling.
	To see a panel in all its clarity, click on it.</EM>


<P>

<A HREF="misc/qubism/qb-scoclaim.jpg">
<IMG ALT="[cartoon]" SRC="misc/qubism/qb-scoclaim.jpg" 
	WIDTH="640" HEIGHT="240"></A>
<BR CLEAR="all">

<A HREF="misc/qubism/qb-googleipo.jpg">
<IMG ALT="[cartoon]" SRC="misc/qubism/qb-googleipo.jpg" 
	WIDTH="640" HEIGHT="240"></A>
<BR CLEAR="all">






<P>

All Qubism cartoons are
<A HREF="http://www.core.org.au/modules.php?name=Cartoons">here</A>
at the CORE web site.

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
Jon is the creator of the Qubism cartoon strip and current
Editor-in-Chief of the 
<A HREF="http://www.core.org.au/">CORE</A> News Site.  
Somewhere along the early stages of
his life he picked up a pencil and started drawing on the wallpaper.  Now
his cartoons appear 5 days a week on-line, go figure. He confesses to
owning a Mac but swears it is for "personal use".
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/harsem.html">Jon "Sir Flakey" Harsem</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>Creating Animated Screenshots on Linux</h1>
<p id="by"><b>By <A HREF="authors/washko.html">Daniel S Washko</A></b></p>


</b>
</p>


<p>
<p>Capturing screenshots has been an invaluable
tool for users of graphical environments for a long time. Utilities like
<strong>import</strong>, the Gimp's acquire screenshot, and those included with
one's preferred window manager or desktop environment enable
users the ability to share screenshots of their desktop
and enhance tutorials by not just
writing about how to do something, but also providing images for
reference. </p>

<p>But how about taking this to the next level, and
instead of merely providing a static image, play a nice video clip
which clearly demonstrates the steps explained? Such a screen recording would
be an invaluable complement to tutorials and demonstrations, and have
many other practical purposes.</p>

<p>Unfortunately, a quick search on Google reveals that the choice of screen
recording applications on Linux is pretty sparse.
 While other Operating Systems have a wide
array of commercial and shareware applications available for
screen recording, Linux seems to come up short. 
But two applications rise to the surface as outstanding
utilities to fit this niche: vncrec and vnc2swf. What makes these
utilities even more useful is that they take advantage of
Virtual Networking Computing, commonly called VNC.  VNC was developed by Olivetti Research
Laboratory (ORL) and has been a staple tool for system administrators 
everywhere. VNC's greatest benefit is its cross-platform capability.</p>

<p>VNC makes use of thin-client technology to create a session  
between a VNC server and VNC
client via an IP connection.  This session allows the VNC client to either 
take control of the VNC server, watch what is happening on 
the VNC server, or engage in a group view where any 
number of VNC clients connect to a VNC server.
Both the VNC server and client run on most modern operating systems.  
You can run the server on a Windows workstation and connect with the client running
on Linux.  Or, you can run the client on NetBSD and the server on Mac OSX.  
</p>

<p>This article assumes you know the basics of running both the vncviewer and vncserver.  For
 complete documentation on VNC consult the <a href="http://www.realvnc.com">Real VNC</a>
 website and documentation files included with VNC.</p>

<p>With vncrec and vnc2swf the capabilities of VNC are taken to
another level by allowing the recording of VNC sessions for
future use. This is one of the rare screen recording applications
that is not limited to capturing a single platform, as you
can easily record Windows, Linux, OS X, and Solaris sessions. Currently, though,
vncrec and vnc2swf only run on Linux, OS X, the BSD's, and other Unix based OS's.</p>


<h2>vncrec</h2>

<h3>Installation and Basics</h3>

<p>Vncrec was developed by Yoshiki Hayashi and released under the
GNU GPL. The source code is available at <a href=
"http://www.sodan.org/~penny/vncrec">www.sodan.org/~penny/vncrec</a>.
The current version is 0.2 and very stable. The
only requirement to compile vncrec is Xvnc which is included in 
the download of VNC from <a href="http://www.realvnc.com/">Real VNC</a>.
After fulfilling the requirement and unpacking the sources, vncrec 
is built issuing these commands in the <i>vncrec-0.2</i> directory:</p>

<pre>
	xmkmf
	make World
</pre>
       
After a successful compile vncrec will be ready for use in that
directory, or you can run <i>make install</i> as root to install
vncrec.</p>
 

<p>Vncrec is used to both record and play back a vncrec session. 
If you are familiar with vncviewer's (the VNC client
program) options you will notice that vncrec adds three more parameters for
recording and playback of vncrec sessions:

<ul>
<li>-record <i>filename</i></li>
<li>-play <i>filename</i></li>
<li>-movie <i>filename</i></li>
</ul>

Record does just that, it will record the VNC session and name it
whatever filename provided. Once you start a vncrec recording
session you can end the session in one of three ways: 1) Pressing
F8 and selecting exit, 2) Closing the vncviewer window, or 3) ctrl-c
in the terminal where vncrec was executed.</p>

<p>The play option will play back a recorded VNC session. 
Playback of a recorded VNC session is optimal if the playback is
done on the same machine that performed the recording. Many times 
 playback on other machines fails to produce a viewable
session. There tends to be extreme distortion, or just a black
screen.</p>

<p>Vncrec's third option: -movie will extract each frame of the
recorded session out to an .xpm file. Before you call this option it
is recommended that you do so in a separate directory dedicated for
these frame exports only.</p>

<p>To start recording a VNC session simply enter the following
command:

<pre>
	vncrec -record filename servername
</pre>

For example:

<pre>
	vncrec -record session1.vnc 192.168.0.130
</pre>

You will be prompted for the VNC server's password. After authentication
 you will connect to the VNC server much like
you would with vncviewer. When you are ready to terminate your
session press F8 which will produce the following menu:<br />

<img src="misc/washko/vnc_f8menu.png" width="220" height="233" alt="vncrec f8 menu graphic"><br />
Choose quit to exit the session and stop the
recording.</p>
 
<p>Now that you have captured your first session, enjoy the
playback:

<pre>
	vncrec -play session.vnc
</pre>

Your recorded session will now be played through vncrec.
If you watch the session all the way through it will
close upon completion.  To terminate the session before completion
 press ctrl-c in the terminal
you issued vncrec from (the F8 menu is not accessible during playback).</p>

<p>In addition, the homepage for <a href=
"http://www.sodan.org/~penny/vncrec">vncrec</a> and the README
included with the sources provides some other examples on how to
use vncrec. As always,
<i>vncrec -help</i> will produce the basic usage and outline
the accepted options.</p>

<p>There are a handful of different options you can pass to vncrec
just like you can pass to the regular vncviewer, such as 
depth, geometry, shared, and fullscreen. These options generally do
not produce the desired results when issued with vncrec. For
instance, you can try to specify a different geometry for vncrec to
use but it will drop back (or up) to the screen size run by the
server. The same will occur with depth. If you pass the fullscreen
option you will still get a screen size and a recording screen size
that equals the geometry of the server screen. If the geometry of
the server is smaller than that of the workstation you are running
the recording session from, the vncrec session will be centered on
the screen with the excess screen real estate forming a black
border around the session (which will not be recorded). Playback
using the fullscreen option will produce the expected results: Full
screen with a border should the recording geometry be smaller than
that your workstation's geometry.</p>

<p>There are some options that do make a difference. One of those
is the truecolour option. Particularly when connecting to other
operating systems that are using a "truecolour" screen depth
(usually 24 or 32 bit color depth), specifying truecolour can help
reduce any anomalies in the session. This is particularly pertinent 
 when recording sessions connected to Windows
workstations.</p>

<p>Both the vncviewer and vncrec support the viewonly options
where the client connects to the VNC server but only for viewing
purposes. There is no keyboard or mouse control passed between
the server and the client. The viewonly options would be practical 
to record a session where a third party is conducting a demonstration.</p>

<p>Vncrec cannot export the session to a video format like mpeg or avi. 
<a href="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">Transcode</a>
provides the necessary codecs for converting a vncrec session into
any other video codec supported by Transcode.</p>

<p>Vncrec does not record audio as VNC
does not support audio transfer. Users can work around this limitation
by employing Transcode to stream an audio track, created separately, into the
final video. </p>

<h3>Exporting vncrec Files</h3>

<p>This section will cover how to convert a vncrec session
to a video codec supported by transcode or mencoder. We will also
cover the -movie option of vncrec. To follow along with the
examples you will need a current version of <a href=
"http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">Transcode</a>
(version 0.6.12 is the current stable as of this writing but any
version from 0.6.9 should work),<a href=
"http://www.mplayerhq.hu/homepage/design6/news.html">Mplayer</a>
(version 1.0pre3 is the latest), and a recent version of
<a href="http://www.imagemagick.org/">ImageMagick</a> (version
5.5.7 was installed on the testing workstation).</p>

<p>The greatest advantage of exporting the vncrec session to a
video codec is portability. This allows your recorded session
to be usable outside of the vncrec application and on
other workstations that run a video player supporting the codec
used to encode the vncrec session. Transcoding a vncrec
 session into a cross-platform viewable video
file requires that you have compiled transcode or installed a
binary package of transcode compiled with the necessary codecs
acceptable for use by the other operating system. Inquisitive
 readers are directed
to the <a href="">Transcode website</a> for more information.</p>

<p>There is a wonderful example of using transcode to encode a vncrec 
session into an avi file that was created by Tilmann Bitterberg and is
available from the <a href="http://www.sodan.org/~penny/vncrec/">vncrec website</a>.
This section will expand on that video and hopefully add some useful 
information.</p>

<p>The basic syntax for transcoding a vncrec session into an avi file is:

<pre>
	transcode -i session.vnc -g 800x600 -y xvid -o session.avi -k -z
</pre>

The -i switch designates the input file and -g declares the video stream frame size, which
in this case is 800x600.  Inclusion of the -g switch may be required depending on the
version of transcode you are using and how it was compiled.  Not declaring the 
video stream frame size may produce an error message like this:

<pre>
	[transcode] critical: static framebuffer allocation failed
</pre>

The -y switch declares the video export module, in this case xvid.  The output file, 
designated by -o, is session.avi.  The -k and -z switches are optional, but may be necessary
for proper output.  The -z switch will "flip video frame upside down," so if you 
your output video looks like a mirror image of what you are expecting, you need to pass
this switch.  -k will swap the red/blue in the video frame to produce more accurate
colors.</p>

<p>Transcode has more extensive features and will even allow you to include an 
audio channel in the final output.  Thus, one could include audio commentary or instruction 
to the video.  Curious readers 
are encouraged to visit the <a href="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">
transcode site</a> and documentation for more information.</p>

<p>If for some reason the playback of your transcoded session is not optimal, there
may be some artifacts or distortions along the bottom and left edges of the 
video.  You may want to try resizing the video during the transcode process.  
Standard video sizes follow an aspect ratio divisible by 32, 16, 8, 4, or 2.  Typical
sizes include 800x600, 640x480, 720x480, 480x260, 320x172, and 240x128.</p>

<p>Resize the vcnrec session with transcode  can be 
 accomplished using the -Z switch:
 
<pre>
	transcode -i session.vnc -g 800x600 -y xvid -Z 720x480 -o session.avi -k -z
</pre>

In this example the original 800x600 session is reduced to an avi file that is 
720x480.  There is more to the -Z switch, like the capability of augmenting 
the type of filtering.  Furthermore, there are other resizing switches one
may want to employ.  These switches are explained in the transcode man page.
</p>

<p>Remember that the resize value should be a factor of 32, 16, 8, 4, or 2.  Some of
the resize switches used by transcode require a strict ration be applied.  Consult 
the <a href="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/">
Transcode website</a> for in depth coverage and examples.</p>

<p>Finally, keep in mind that clarity of the video reduces proportionally to size. 
Transcoding an 800x600 vncrec session to a 240x128 sized .AVI file will produce 
a video that is next to impossible to watch, especially if there is text to be read.</p>

<p>Creating cross-platform compatible videos using transcode can be difficult.  In fact, 
the author and colleagues had a problem doing this.  You must use a codec that 
is available on the target system[s].  If your video is made available as a 
download to the public, it may be difficult to guarantee that the recipient[s] will
have the necessary codecs installed.</p>

<p>Another quirk found with transcode is a tendency for 
the transcoding process to bail out before completing.  One particular problem is when 
the vncrec session involved browsing the Internet.  When the browser window 
changes in the vncrec session transcode exits without an error.  (This was tested 
on multiple machines with consistent results.)  A possible reason is that the 
workstations did not have enough memory and processor speed to handle 
what was required by transcode.  Transcoding a vncrec session of a browser using a 2ghz machine 
produced the desired results.  Interestingly, the sample video created by a 
transcoded vncrec session showed the creator using a web browser, albeit Netscape 2.1.</p>

<p>Successful conversion of a vncrec session does not depend on transcode alone.  If your 
vncrec session suffers from the drop out problem described above, you may 
want to give mencode a shot.</p>

<p>Vncrec has an option to dump out each frame from of the vncrec session to a .xpm file.  By using the 
-movie switch each frame will be dumped out in sequential order give an appropriate file name to 
maintain that order:

<pre>
	vncrec -movie session.vnc
</pre>

Before executing this command it is recommended you start in an empty directory, or 
alternately a directory created for the purpose of holding these files, as this 
command will most likely generate up to a few thousand files.</p>

<p>Once you have the vncrec session exported to individual frames you will 
convert these frames to a format mencoder can handle. (For the purposes of this article 
jpeg will be the format used.)  This is easily accomplished using mogrify (part 
of the ImageMagick suite):


<pre>
	mogrify -format jpg *.xpm
</pre>

Mogrify will convert each .xpm file to a .jpg file.  This can take some time
 depending on the number of files and the hardware
specifics of your workstation.</p>

<p>Once the conversion process is finished, use mencoder to 
sequentially encode them into the video format of choice:


<pre>
	mencoder \*.jpg -mf on:fps=8 -o session.mpg -ovc lavc -lavcopts vcodec=mpeg1video
</pre>

The "-mf on:fps=8" tells mencoder to turn on the multiple files option and encode
at 8 frames per second all the jpg files in the same directory.  The output file, -o, 
will be session.mpg.  Mencoder will use the lavc (libavc codec) as the output video
codec (-ovc) and pass the lavc option (-lavcopts) to create a mpeg1 video.  Once the conversion 
process is finished, the resulting video should be playable on any media player capable 
of playing mpeg1 video.  Furthermore, the file size should be very small.</p>
</p>

<p>In summary, the vncrec utility makes it a snap to capture vnc sessions on any platform
the server is running on.  File sizes of the sessions tend to be small.    There is a tendency
for the recorded session to only playback on the machine it was recorded from.  Although 
there is no native export to standard video codecs, vncrec sessions 
can be encoded to a video using transcode. Additionally, individual frames can 
be exported from the session and later pulled together using mencoder.
</p>

<h2>vnc2swf</h2>

<p>The second screen recording utility examined can be considered a cousin to 
vncrec:  Vnc2swf.  Vnc2swf exports the screen recording to Flash format for playback, 
either embedded in a web page using a browser with the Macromedia Flash plug-in, or a 
standalone Flash player.</p>

<h3>Installation and Basics</h3>

<p>Vnc2swf, distributed under the GNU GPL, can be downloaded from <a href="http://www.unixuser.org/~euske/vnc2swf/">http://www.unixuser.org/~euske/vnc2swf</a> 
and requires that you have the <a href="http://ming.sourceforge.net">Ming library</a> installed.  
The Ming library allows applications to export to the Flash format.  As of this writing 
the latest version of ming-0.3alpha2 will not work with the current version vnc2swf (version 0.3),   
Ming version 0.2a had no problems.  I strongly recommend starting with Ming 0.2a.</p>

<p>After extracting the Ming library, you may want to edit the Makefile and change some
parameters (like installation destination).  To compile simply:

<pre>
	make
	make install (root access required)
</pre>

There are more installation scenarios for Ming such as integrating with PHP and Python.  
Review the README file for more information.  The above provides the basic installation 
necessary for vnc2swf.</p>

<p>Compiling vnc2swf takes three steps:

<pre>
	./configure
	make
	make install (root access required)
</pre>

</p>

<p>Like vncrec, vnc2swf has similar command parameters to vncviewer, with some added 
options for recording the session.  Unlike vncrec you do not have to start 
recording the vnc session right away; you can start the recording via the F8 menu.  This 
also means you can stop a recording without closing the session and even pause, then 
resume the recording later on--two features not available in vncrec.  Another interesting 
feature is the ability to record a sound file in conjunction with the session.  Right 
now the mp3 format is supported and must be generated beforehand.  You can 
pipe in live miked audio, but this requires patching the Ming Libraries.  The
patch and directions are provided with the vnc2swf sources.  See the README
file for more information</p> 

<p>Execution of vnc2swf is as simple as vncrec.  For example:

<pre>
	vnc2swf -truecolour -startrecording sample.swf localhost:1
</pre>

This starts recording (-startrecording) a vnc session to the server running on 
localhost:1 using the truecolour parameter and outputting to sample.swf.  If we did not 
specify the startrecording parameter, then we would need to start the 
recording via the F8 menu, which is a bit different than that for vncrec:
<br />

<img src="misc/washko/vnc2swf_f8.png" width="247" height="342" alt="vnc2swf f8 menu graphic"><br />

The additional options are "Recording" (F9 is the hot key to toggle) which will allow you to start and stop the recording.  
When vnc2swf is recording this option will be highlighted.  In the image above, the session is 
not recording.  You can switch from the current color settings to 8bit color and  
back to original by toggling the "8 bit" option.  "Switch Recording Method" 
toggles between recording every image update immediately (default) to  record only one
image per update frame. The latter will reduce the size of the generated Flash file.  You can 
toggle the recording method using the F10 key.</p>

<p>Vnc2swf will allow you to loop in a pre-recorded mp3 file using the -soundfile option:

<pre>
	vnc2swf -soundfile music.mp3 sound_sample.swf localhost:1
</pre>

Notice that the -startrecording option was not used in this example.  This means that 
recording would have to be started in the vnc2swf session either by the F8 menu or pressing
F9.  The mp3 file is looped into the Flash output only when the vnc2swf session is 
recording.  Thus, the mp3 will start recording into the flash when recording starts on 
the vnc2swf session.  Furthermore, if you pause the recording, the mp3 recording will also 
pause.  Upon resuming the recording, the mp3 will continue from the point it was left off.</p>
 
 
<h2>Tips for Creating a Tutorial Session With an Audio Track</h2>

<p>Adding an audio track to a tutorial session can be a bit tricky.  Getting the audio to sync 
with the video is key for proper effect.  The best option is to follow the directions in the vnc2swf 
README file to patch the Ming library and allow live miked audio to be recorded by vnc2swf through a 
pipe.  But there are other methods to accomplish this task.</p>

<p>First and foremost, you should carefully plan your tutorial.  You may want to create 
some story boards and even script a dialog.  Adequate preparation is essential
for a polished product. </p>

<p>Once your script is complete you will record an audio session.  Most Linux distributions 
have some recording software installed.  Sox is a command line utility that will record 
audio in from your sound card to a .WAV file.  Both Gnome and KDE have recording applications. 
There are also a number of graphical programs like <a href="http://audacity.sourceforge.net/">
Audacity</a> and <a href="http://rezound.sourceforge.net/">ReZound</a> that are excellent choices.  
Use any one of these to create a .WAV file of your script.  Be careful not to rush through your 
script.  Leave pauses long enough to account for your actions and how long they may take to 
execute in the session.  It is also recommended to create a seperate 
count-down .WAV file (a recording counting down from 5 is adequate).</p>

<p>After creating a .WAV of your script use an encoder like Lame to convert the .WAV to an 
.MP3 file for use by vnc2swf.</p>

<p>The difficulty is in making sure the audio is synced with the video.  Since vnc2swf 
will not play the audio while recording the session, you will need to play the audio 
through another program while recording.  I.e.; the recommendation for two files.
Furthermore, creating the count down audio will provide enough time to start the recording.  You 
may want to reherse the process before recording using vncviewer instead of vnc2swf 
with the next few steps.</p>

<p>Open up two xterm sessions:  One to run the vnc2swf session and the other to play the 
scripted audio so you can follow along.  In the first xterm start your vnc2swf session without
the -startrecording option and make sure you specify the audio file with the -soundfile 
option:

<pre>
	vnc2swf -audiofile audio.mp3 session.swf :1
</pre>

In the second xterm set up to play the count down and .WAV version of the audio file.  You may 
also want to add a few extra buffer seconds to give you time to switch back to your vnc2swf session 
by using the sleep command:

<pre>
	sleep 5; play countdown.wav audio.wav
</pre>

At the end of the count down press the F9 key to start the recording and follow the 
directions of your audio script.  Upon completion press the F9 key to stop 
the recording and then exit vnc2swf.  Play the Flash session back in a web 
browser or through gflashplayer.</p>

<p>If you stop recording the vnc2swf session, but do not exit, this will pause the audio
recording.  Resuming the recording will continue to record the audio into the session from
where it was left off.  Should your tutorial contain needless filler like internet downloads or 
program compiles, you can break the audio file you are following up into parts and repeat 
the above steps toggling the F9 key to pause each part until the filler completes.</p>

<p>Getting the audio and video to sync can be a tricky process.  You may need to repeate 
the vnc2swf recording process above a few times until you get the hang of it.</p>

 
<h2>Embedding Vnc2swf Sessions in a Web Page</h2>
<p>Once your Flash recording has been created you should embed the Flash 
in some HTML code, specifying the height and width value of the Flash file.  Failure to do 
so will result in distorted playback.  Here is sample code:
 
<pre>
	&lt;embed src="sample.swf" width="800" height="600" loop="false" quality="high" 
	pluginspage="http://www.macromedia.com/go/getflashplayer" 
	type="application/x-shockwave-flash"&gt;
</pre>

This code should work without a problem on Mozilla-based browsers.  For Internet 
Explorer you will need to make use of the &lt;object&gt; tag.  Notice that the 
width and height values of the Flash file are specified.  Also, the loop="false" will prevent
your Flash from looping continuously.  You can also specify a numeric value to have the 
Flash loop "x" number of times.  For more information on embedding a Flash file in a 
web page check out <a href="http://www.macromedia.com/support/flash/ts/documents/tn4150.html">Macromedia's
Technote on Object and Embed Tag Syntax</a>.

The vnc2swf session can be played in a standalone Flash player (i.e.; <a href="http://macromedia.mplug.org/">
gflashplayer</a>).  Playback will suffer the same distortions as when played
in a web browser without embedding the Flash in HTML and specifying the height 
and width, unless you specify playing at 100%.  The 100% option is available under the View 
menu.

<p>Hopefully this overview of VNC recording utilities has sparked some interest
in playing with these tools and putting them to practical application.  This article has 
only scratched the surface, the rest is up to your exploration.  For instance, you can record 
real-time audio with vnc2swf, but this requires patching Ming (hint:  see the 
vnc2swf README file).  You can also add audio to transcoded vncrec sessions for which one 
is directed to the transcode documentation.  As always, have fun.</p>

<h2>Postscript</h2>

<p>O'Reilly has an excellent article in their Linux DevCenter site on creating
a bash script that uses applications standard in most Linux distributions to
create screen recordings.  For more information read the article: <a
href="http://www.linuxdevcenter.com/lpt/a/4602"> Making Screen-Capture
Movies</a> by Robert Bernier.</p>

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<img ALIGN="LEFT" ALT="[BIO]" SRC="../gx/2002/note.png">
<em>
Dann is die-hard Slackware enthusiast who lives in Bethlehem, Pennsylvania,
USA.  About 6 years ago he decided it was time for a career change and left the
field of Psychology for Computers and Network administration.  Taking a job on
the "bench" at a local office supply chain for ground level experience, he
stumbled upon a boxed copy of Red Hat Linux 6.0.  After that there was no
turning back.  a few months later Dann co-founded the <a
href="http://www.thelinuxlink.net/lvlinux">Lehigh Valley Linux Users Group</a>
which is still running strong today.  In addition to the LVLUG, Dann operates
his own domain <a href="http://www.thelinuxlink.net">thelinuxlink.net</a> which
strives to be a portal to Linux and Open Source happenings in and around the
Lehigh Valley, PA, USA.  He is one of three hosts for the weekly <a
href="http://www.thelinuxlink.net/tllts">Linux Link Tech Show</a>, a streamed
web radio show.  Dann is currently employed as an Applications Specialist for a
local school district.  His wife and two daughtes do their best to tolerate his
technology addiction.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/washko.html">Daniel S Washko</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>The Back Page, part 1</h1>
<p id="by"><b>By <A HREF="authors/orr.html">Mike Orr (Sluggo)</A></b></p>


</b>
</p>


<p>
<P> <EM>It's been <A HREF="../issue96/lg_backpage.html">six months</A> since
I've been able to do a Back Page.  It hasn't been for lack of material -- I've
got 3 megs worth of the funniest messages from The Answer Gang and the Gazette
mailbox accumulated.  It's just finding time to select and format them.  I
wanted to leave you a good Back Page for my last issue, so I took a weekend and
went through them.  It came out to four articles' worth.  There's two Wacko
Topics of the Month ("The Shift Key FAQ", "Domestic vs Wild OSes"), the usual
Not The Answer Gang (now called "The Linux Laundrette"), two long Laundrette
threads I've put in separate articles (one about American vs British English,
the other about buoys -- or at least it started as a thread about buoys but
then it meandered to the Netherlands' history and then again to music), some
Non-Linux Links, and a World of Spam.  And there's still 52 KB after that for a
future issue!  I've put all four articles in this issue, one right after the
other.  Enjoy!</EM>

<H4>In this article:</H4>
<ul>
<li><a HREF="#shift">The Shift Key FAQ</a>
<li><a HREF="#oses">Domestic vs Wild OSes</a>
<li><a HREF="#nottag">Not The Answer Gang</a>
</ul>

<a name="shift"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">The Shift Key FAQ<BR></font></H2></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

By Alan Meiss, ameiss from indiana.edu <BR>
Version 0.001

<H3>Unleash the Power of Shift!</H3>

<P> <STRONG>Q. My shift keys have little arrows on them. Does that mean the
*real* shift keys are located above them, and these keys are just little signs
to point them out?</STRONG>

<P> A. Nope, they're the Real McCoy. The little arrows mean "up", as 
in "look up at the screen". Your keyboard is telling you to learn to 
touch type and quit staring at your fingers. 

<P> <STRONG>Q. What happens if I press both shift keys?</STRONG>

<P> A. Even bigger letters may show up on your screen. You should not use 
this feature, however, because these letters are also brighter, and may 
cause Screen Burn-In, which would be particularly embarrassing if you 
were typing something naughty at the time. You might consider obtaining 
the author's Shift Key Burn-In Protector program for only $139.95. Or 
you might not, it's your computer, but don't say I didn't warn you. 

<P> <STRONG>Q.  My religion prohibits the use of shift keys. how can i type
capital letters and punctuation.</STRONG>

<P> A. Discuss alternatives to the shift key with your spiritual advisor. 
Perhaps your deity would not be angered by repeated use of the Caps Lock 
key, or maybe you can retain a consultant to depress the shift for you. 
You might also consider replacing punctuation marks that require the 
use of shift keys with lower case expressions; replace ? with "huh" 
and ! with "zowie". 

<P> <STRONG>Q. I PRESSED SHIFT AND IT"S STUCK DOWN NOW&gt;</STRONG>

<P> A. Do small children with a fondness for peanut butter use your keyboard 
frequently? If so, you may want to clean it off for more reliable 
operation. First, disconnect your keyboard by gripping each of its ends 
firmly and pulling as hard as you can. Next, immerse the keyboard in 
warm water and scrub thoroughly with your favorite lemon-scented detergent 
and lots of steel wool. Finally, you need to dry the keyboard. Either 
dry it to touch with a handheld blowdryer, or place it it the dryer 
for not less than 60 minutes. Be sure to clean the lint screen when you 
are finished. 

<P> <STRONG>Q. Why are there are no "shift" keys on my keyboard, but there are
two keys labelled "hif"?</STRONG>

<P> A. Again, you may want to consider cleaning your keyboard, and washing 
your hands more frequently for that matter. 

<P> <STRONG>Q. Are there shift keys on my Macintosh?</STRONG>

<P> A. Yes, although instead of the notation "shift", the key may be labelled 
with an excited Mac face, something like :O . Press this key to use 
shift, and be thankful you're using a friendly Mac instead of a mean old 
PC with all them confusin' words 'n stuff on it. 

<P> <STRONG>Q. I'm sick of pushing the shift key every single time I want big
letters.  Is there any other way to do this?</STRONG>

<P> A. This is the Modern Age of Convenience, and you may be able to activate 
the shift key merely with the power of your voice! Check to see whether 
your computer is equippped with speech-recognition equipment by saying 
the word "shift" very clearly and slowly into its speaker. Then watch the 
keyboard closely to see if the Shift key moves down. Note that you may 
have to repeat this action several times to "train" the computer to 
recognize your voice before the feature works reliably. 

<P> <STRONG>Q. There are two shift keys, which should I use?</STRONG>

<P> A. Avoid unnecessary wear on either shift key by alternating between the 
two. Keep track of your usage of each key so that you press them in 
equal amounts. Your keyboard may be equipped with a small notepad; you 
should use this to make little tally marks in two columns for each time 
you shift. Remember, it's better to go to a little trouble than wind up 
with a broken shift key. 

<P> <STRONG>Q. Why are the shift keys bigger than the other keys?</STRONG>

<P> A. They aren't. This is simply an optical illusion. Just as the moon 
appears much larger when it is close to the horizon, your shift keys 
look larger because of their proximity to other keys. To verify this, 
go out in a large field at night with your keyboard, place it in an 
upright position, and view it from a distance of 200 yards. Sure enough, 
the keys all look the same size! 

<P> <STRONG>Q. If I press the shift key at the wrong time, or too many times,
will my computer explode?</STRONG>

<P> A. No. Well, generally no. Not unless you are using a NEC laptop. Or 
vt100 terminal emulation. But even then, hardly ever. Really, don't 
worry about it. Forget I mentioned it. Just type softly. Move along, 
next question. 

<P> <STRONG>Q. No matter what I do, the shift key just doesn't seem to work.
What's wrong?</STRONG>

<P> A. Have you ever considered that the problem may not be your keyboard, 
the problem may be YOU? Perhaps God Himself has suspended the operation 
of these keys to send you a Message that you have strayed from the path 
of righteousness. Use this as an opportunity to reflect on your life. 
Before rushing blindly ahead with a lot of shifting, consult the spiritual 
advisor of your choice for help in dealing with any unresolved issues 
in your relationship with the Almighty. 

<a name="oses"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">Domestic vs Wild OSes<BR></font></H2></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

<P>
<STRONG>[Thomas]</STRONG> 
I received this from my LUG.  "So which OSes are wild and which are domestic?
'Jim' replied...
Ok, let's see now:

<BLOCKQUOTE>
<STRONG>MacOSX:</STRONG> Sort of like a pedigree persian cat.
Very sleek, very sexy, but a little too prone to
going cross-eyed, biting you on your thumb and
then throwing up on your trousers.

<P> <STRONG>Windows XP:</STRONG> Big cow. Stands there, not
especially malevolent but constantly crapping on
your carpet. Eventually you have to open a
window to let the crap out or you die.

<P> <STRONG>Windows 2000:</STRONG> Smaller cow. Just as much crap.

<P> <STRONG>THEOS:</STRONG> Mad cow. Utterly fucking insane cow, in
fact. A cow so mad it thinks it's a tetapot. The
swamp dragon of the OS world.

<P> <STRONG>Linux:</STRONG> Horse. Like a wild horse, fun to ride.
Also prone to throwing you and stamping you into
the ground because it doesn't like your socks.

<P> <STRONG>TRSDOS:</STRONG> Friendly old lizard. Or, at least,
content to sit there eating flies.

<P> ..and continued later...

<P> <STRONG>(FREE|OPEN) BSD:</STRONG> Shire horse. Solid, reliable,
only occasionally prone to crushing you against
a wall and then only because you've told it to
without knowing.

<P> <STRONG>Solaris:</STRONG> Shire horse that dreams of being a race
horse, blissfully unaware that its owners don't
quite know whether to put it out to grass, to
stud, or to the knackers yard.
</BLOCKQUOTE>


<a name="nottag"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">Not the Answer Gang<BR>
<SMALL>--OR--</SMALL><BR>
The Linux Laundrette</font></H2></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

<H3>Redirection and noclobber</H3>

<P>
<STRONG>[Sluggo]</STRONG> 
Stray files called "!" mean I did a command in bash using zsh (csh)
syntax.  "COMMAND &gt;! FILE" in zsh means "redirect to FILE and overwrite
it dammit!"  But in bash it creates a file called "!".
The corresponding syntax in bash is "COMMAND &gt;| FILE".

<P>
<STRONG>[Ben]</STRONG> 
Oh, now I get what you mean. This is only useful if you've done "set -o
noclobber" or "set -C"; otherwise, "COMMAND &gt; FILE" works fine.

<P>
<STRONG>[Sluggo]</STRONG> 
Of course I have 'noclobber' set.  Doesn't everybody?  It's a standard
safety precaution.  Or do you follow the "Real Men Don't Need No Stinkin
'noclobber'" theory?  But considering Woomert and Frink use the -w switch
in Perl more than I do, I doubt it....

<P>
<STRONG>[Ben]</STRONG> 
Redirection in shells is Wyrd and Arcane.

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->

<H3>Ben's army days</H3>

<P>
<STRONG>[Ben]</STRONG> 
When taking the Army entry tests WBW, I found out I don't do well with
red-on-green patterns. However, there was a "compensating" factor (that is,
compensating for the Army, not too good for me!) - I can see OD green (and
hence, all forest-pattern camouflage) against a green background as clearly as
if it was, say, a light gray against black....  Care to guess who was *always*
made point man in my infantry basic training and AIT??? Good thing it was only
training.
  
<P>
<STRONG>[Jimmy]</STRONG> 
AIT? Damn, it stands for half a million things! I'll just assume it's 
"Something Something Training"

<P>
<STRONG>[Ben]</STRONG> 
One time I managed to prevent a buddy from tripping off a string of practice
grenades by yanking him back just in time. The tripwire was colored standard
Army OD green...

<P>
<STRONG>[Jimmy]</STRONG> 
Hmm... practise or no, I think grenades are definitely something best 
avoided, unless you're the one counting.

<P>
<STRONG>[Ben]</STRONG> 
On the other hand, my platoon was _never_ successfully ambushed...

<P>
<STRONG>[Jimmy]</STRONG> 
Mental note: never engage in jungle combat with Ben.

<P>
<STRONG>[Ben]</STRONG> 
ATI stands for "Advanced Individual Training". Basic was the same
(theoretically, but not at all) for everybody; AIT was the training you got for
your MOS (Military Occupational Specialty.) I went in as a grunt (11B), got
retrained as a 52C (Turbine Engine/HVAC mechanic) when they found out they
couldn't send me overseas (I wasn't a citizen yet!), then got snagged by the
Military Intelligence (a non-sequitur) when they found out I could do Russian.
A lot of history in between all of that, including being a medic for a short
stretch....

<P>
<STRONG>[Jimmy]</STRONG> 
I realise it's a faux pas to shoot a medic, but weren't you worried 
about the similarity between a red cross and, say, a crosshair?

<P>
<STRONG>[Ben]</STRONG> 
Nah. I was unkillable back then; we all were.

<P>
<STRONG>[Jimmy]</STRONG> 
(If you're gonna reminisce, I'm gonna go right ahead and whip out the 
Full Metal Jacket quotes.)
"This is my rifle, this is my gun. This is for fighting, this is for fun".

<P>
<STRONG>[Ben]</STRONG> 
Congrats - you've won a beer, collectable when we happen to share a
geographical location! <IMG ALT=":)" SRC="../gx/dennis/smily.gif" WIDTH="20" HEIGHT="24">

<P>
<STRONG>[Jimmy]</STRONG> 
There's always a catch, isn't there? Sure, I'll fly a few thousand miles 
for a beer.

<P>
<STRONG>[Ben]</STRONG> 
Hey, you never know what might happen! I might be over your way visiting
one day (it's a long-distance plan), or you just might end up here - and
there you are, a beer all ready for you. None of that Buttweiser or
Willer, either; Sam Adams at the very least. On the other hand, I'm a
fan of Young's Luxury Double Chocolate Stout, so you never know what
might happen...

<P>
<STRONG>[Jimmy]</STRONG> 
That reminds me... Arthur Guinness is in the bar in heaven, and he bumps 
into Eberhard Anheuser, Adolphus Busch and Carl Conrad. The four start 
reminiscing about their lives as beer producers while they wait for the 
waiter. Anheuser offers to pay for the round, and orders a Budweiser, as 
do Busch and Conrad. Guinness orders a milk. After a while, there's a 
lull in the conversation, and Anheuser turns to Guinness.
"Arthur, I hope you don't mind me asking, but when we ordered, we 
ordered Budweiser, because that was our company. Why didn't you order a 
Guinness?"

<P>
Arthur looks at each man in turn, and says "I would have, but if none of 
you were going to have a beer, then neither was I".

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>Anchors aweigh!</H3>

It's blowing a full gale here in St. Augustine [Florida], and there are lots of
boats dragging (the soft mud bottom here makes for lousy holding.) Early
this morning, mine joined the drag race - I've fought her to a
standstill, but need to get my anchors up (this is, mildly put, not easy
in a gale - particularly by yourself) and get her moved to a safer
location. I'm taking a break for the moment - I've been helping other
folks get theirs under control - but I'll be pretty busy for a while.

<P>
<STRONG>[Jim Dennis]</STRONG> 
When I expressed a hope that the wind would fill your sails, THAT'S NOT
WHAT I MEANT! 

<P>
<STRONG>[Ben]</STRONG> 
Careful what you wish for, Jim. At least for me. 

<P>
<STRONG>[Thomas]</STRONG> 
BBC Radio4 said that gales would be quite common, but they weren't sure
how severe :( Seems you've hit the brunt of it, alas.

<P>
<STRONG>[Ben]</STRONG> 
It's still blowing 35 kt., gusting over 40; a full gale, and just a bit
short of a storm. The northeasterly wind has a nice long run ("fetch")
down the river, and has built up some good-sized seas; "Ulysses"' bow is
heaving through (estimated) a 5' range. The surf is literally exploding
against the town's seawall.

<P>
<A HREF="misc/backpage/Gale-surf.jpg">Image of seawall</A>

<P>
<STRONG>[Sluggo]</STRONG> 
I've never seen a boat with a bicycle on it before.

<P>
<STRONG>[Thomas]</STRONG> 
ROFL...
Either that, Mike, or it is one hell of an expensive pedallo to hire.

<P>
<STRONG>[Sluggo]</STRONG> 
A what?  Checking www.m-w.com to see if pedallo is as nasty as bordello
or fellatio, I see 'pedalo' (one 'l') is:
<BLOCKQUOTE>
   chiefly British : a small recreational paddleboat powered by pedals
</BLOCKQUOTE>

<P>
<STRONG>[Thomas]</STRONG> 
Yes, one 'l'...damn kbdrate. Must fix that.  Hmm...certainly not
fellatio, Mike.  Unless, that is a euphamism for which I was previously
unaware?

<P>
Indeed, they're yellow and one paddles them out to sea...hence the bicycle
reference. Sigh..... I doubt whether my humo[u]r will *ever* be
appreciated.

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>Acrophobia</H3>

On Fri, Jan 09, 2004 at 07:16:15PM -0500, Ben Okopnik wrote:
<P>
<STRONG>[Thomas]</STRONG> 
 I hate heights.

<P>
<STRONG>[Ben]</STRONG> 
Perhaps you should consider taking an intro jump, then, or an intro
flying lesson. I got myself over the fear of heights by dangling my legs
from the edge of a 12-story high building I'd sneaked into when I was 8
or 9... and it seems to have stuck.

<P>
<STRONG>[Frodo]</STRONG> 
Or he could do what I did: build bridges during summer break.  It wasn't
so much being 40 - 80 feet off the ground that breaks you of the fear,
more like walking along a beam less than a foot wide.  Not on the beam
per se, but rather on the half inch rebar (reinforcing bars of steel)
sticking out of the beam.

<P>
<STRONG>[Ben]</STRONG> 
[wink] Epiphanies and recovering your life from fear are *definitely*
worthwhile goals.

<P>
<STRONG>[Frodo]</STRONG> 
I'm still afraid of heights; it just doesn't stop me...


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>No acid today</H3>

<P>
<STRONG>[Sluggo]</STRONG> 
<PRE>
% lsd
zsh: command not found: lsd
</PRE>

<P>
<STRONG>[Pete Jewell]</STRONG> 
<PRE>
pete@pete:~$ apt-cache search lsd
kmerlin - Instant messaging (IM) client for the MSN messenger network
libsdl-ocaml - OCaml bindings for SDL - runtime files
libsdl-ocaml-dev - OCaml bindings for SDL - development files
lsdb - The Lovely Sister Database (email rolodex) for Emacs
patchutils - Utilities to work with patches
</PRE>

<P>
<STRONG>[Sluggo]</STRONG> 
I was just trying to type 'ls'.  Really.

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>TAG titles of honor</H3>

<P>
<STRONG>[Thomas]</STRONG> 
Well, if I can have "axlzrinhjaxxtqppht ibyf celfeejrqkjhywejtbnusjmpkveedvd  q
cg szngmqlfglyghux  n"
as a string of qualifications after my name, I'm *in*.

<P>
-- Thomas Adam, axlzrinhjaxxtqppht ibyf celfeejrqkjhywejtbnusjmpkveedvd  q
cg szngmqlfglyghux  n 

<P>
<STRONG>[Ben]</STRONG> 
Thomas! You should be ashamed of yourself, young man. You have to _earn_
those titles before you can use them! I mean, can you imagine the chaos,
the sheer anarchy of a society where people used a distinguished title
like "axlzrinhjaxxtqppht ibyf celfeejrqkjhywejtbnusjmpkveedvd q cg
szngmqlfglyghux n" without at least 200 credit-hours of study?

<P>
Young people nowadays. They have _no_ shame.


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>TAG firing squad</H3>

<P>
<STRONG>[Jay]</STRONG> 
Nice to know I can get *something* right today.
Cause, overall, the line up-against-the-wall is growing quickly, and
without bounds.

<P>
<STRONG>[Ben]</STRONG> 
Cheer up, Jay - that means there's an infinitely small chance that
they'll pick you out.

<P>
<STRONG>[Jay]</STRONG> 
You misunderstand.  I was the one with the gun.

<P>
<STRONG>[Ben]</STRONG> 
Oh. Well, what are you complaining about, then? Seems to me like the
perfect entertainment on a nice day like today. Just make sure you have
plenty of those explosive slugs (on sale by the billion at your local
Pentagon) and remember to drag a few of the bodies home (what with the
Atkins diet and all, meat prices have become outrageous!)

<P>
<STRONG>[Jay]</STRONG> 
Local Pentagon my eye! There's only one! And the service is horrible!
They always ask you *why* you need large quantities of C4. Avoid if at
all possible.

<P>
<STRONG>[Ben]</STRONG> 
Oh, not at all! It's very simple, actually: if you tell them it's for
Freedom, or God, or Apple Pie, or Mother, their eyes glaze and they just
hand it over, as much as you want. Makes you _really_ wonder about their
relationship with Mom, and their apple pie must taste awful...


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>Polite virus detector</H3>

<PRE>
Subject: Warning: E-mail viruses detected

Our virus detector has just been triggered by a message you sent:-
  To: robos@muon.de
  Subject: [TAG] Status (tag@linuxgazette.net)
  Date: Wed Apr  7 16:44:19 2004

One or more of the attachments are on the list of unacceptable attachments
for this site and will not have been delivered.

Consider renaming the files or putting them into a "zip" file to avoid
this constraint.

The virus detector said this about the message:
Report: Shortcuts to MS-Dos programs are very dangerous in email in message.pif
</PRE>

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>When does politeness get to be too much?</H3>

<P>
<STRONG>[Bradley Chapman]</STRONG> 
Mr. Okopnik,

<P>
<STRONG>[Ben]</STRONG> 
[blink] Am I being called on the carpet, or is this an official inquiry?
 I understand your desire to be polite, Brad, but "politeness" =/=
"formality", which can make people uncomfortable.

<BLOCKQUOTE>
    "Trumpet in a herd of elephants; crow in the company of cocks;
    bleat in a flock of goats."
    <BR><CITE> -- Malayan Proverb</CITE>
</BLOCKQUOTE>

<P>
<STRONG>[Thomas]</STRONG> 
Mr, Okopnik -<BR>
You are hereby formally invited to attend National Refuse Day. This will
require a mass cleanup of the city. Please wear your best attire. You'll
want to look good.

<P> P.S. We politely request no sunglasses.

<P>
<STRONG>[Ben]</STRONG> 
That being the case, I Refuse.


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>Test</H3>


<P>
<STRONG>[Ben]</STRONG> 
<PRE>
Subject: [Lgang] Test - do not open, or you'll see dire things!

dire things!
</PRE>


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>TAG processing</H3>

<P>
<STRONG>[Heather Stern]</STRONG> 
<PRE>
Subject: [Lgang] TAG processing has begun
</PRE>

<P>
<STRONG>[Jason]</STRONG> 
You know what a food processor does to food, right?

<P>
<STRONG>[Heather]</STRONG> 
Precisely that.  Ask the scissors.

<P>
<STRONG>[Jason]</STRONG> 
Oh!  You're going to process the TAG *messages*, not TAG itself! That's a
relief! :-)


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->
<H3>The fate of Thomas</H3>

<P>
<STRONG>[Bradley]</STRONG> 
BTW, has this mlist ever gotten any Linux spam?

<P>
<STRONG>[Thomas]</STRONG> 
Oh yes, I help publish all Ben's ans... I mean... oh---

<P>
<STRONG>[Sluggo]</STRONG> 
Ben, put Thomas down!  Or at least open the window before you throw
him through it.

<P>
<STRONG>[Ben]</STRONG> 
Yes, defenestration is too good for the likes of him!... oh, wait -
he's already thrown Wind0ws out, so I suppose that qualifies.
No, no, I'll just have to let Thomas live; if I rub him out by tossing
him through the window, the resulting pun would be just TOO horrible.

<P>
<STRONG>[Sluggo]</STRONG> 
Who's gonna write the Weekend Mechanic column if you kill him?

<P>
<STRONG>[Heather]</STRONG> 
Besides, if bad puns get you rubbed out around here I guess I'd better
defend myself, too...<BR>
/me sets phaser to "pun".<BR>
There, now I'm ready.

<P>
<STRONG>[Ben]</STRONG> 
Darn. Well, *OK* then. [grumble] Nobody lets me have any _fun_.

<P> There's a reason that the Mafia doesn't toss people out of windows as a
general practice.<BR>
"Thomas? Yeh, he did Da Wrong Ting. Now he's sleepin' wid da boids."

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<IMG ALT="picture" SRC="../gx/2003/authors/orr.jpg" WIDTH="235" HEIGHT="333"
   ALIGN="left"  HSPACE="10" VSPACE="10">
<em>
Mike is the Editor-in-Chief of <I>Linux Gazette</I>.  You can read what he has
to say on the Back Page of many issues.  He has been a Linux enthusiast
since 1991 and a Debian user since 1995.  Non-computer interests include
wrestling, ska and oi! and ambient music, and the international language
Esperanto.  He's been known to listen to Dvorak, Schubert, Mendelssohn, and
Khachaturian too.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/orr.html">Mike Orr (Sluggo)</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>The Back Page, part 2</h1>
<p id="by"><b>By <A HREF="authors/orr.html">Mike Orr (Sluggo)</A></b></p>


</b>
</p>


<p>
<a name="nottag"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">The Linux Laundrette, continued</font></H2></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>


<H3>Words, Words, Words</H3>


<P>
<STRONG>[Jason Creighton]</STRONG> 
My bad.

<P>
<STRONG>[Thomas Adam]</STRONG> 
I keep hearing that phrase... WHAT DOES IT MEAN???
Your 'bad' what? Foot, ankle, knee, head, eye???? Damn slang.

<P>
<STRONG>[Sluggo]</STRONG> 
Ooh, Thomas is getting frustrated with American slang.
It's a weird phrase.  I have no idea where it came from.  It just
appeared maybe three years ago.  I don't like it.

<P>
<STRONG>[Thomas]</STRONG> 
Three years ago? Good God, where have I been all that time? I only started
to hear it maybe within the last six months; and that's with my friends
using it.

<P>
<STRONG>[Jimmy O'Regan]</STRONG> 
It's ebonics. It's been around a lot longer than that. It means "my 
fault" or "my mistake". Just wait until you get up to "fo shizzle
dizzle". <IMG ALT=":)" SRC="../gx/dennis/smily.gif" WIDTH="20" HEIGHT="24">

<P>
<STRONG>[Ben Okopnik]</STRONG> 
&lt;laugh&gt; That's almost Cockney slang! Except... the thought of that
accent makes my brain hurt.

<P>
<STRONG>[Thomas]</STRONG> 
Cos, that's just like so typical of Americans.

<P>
<STRONG>[Jimmy]</STRONG> 
So you have no problem deciphering all of the many regional variants of 
English in England? The trend started before the Americans...

<P>
<STRONG>[Thomas]</STRONG> 
What makes me laugh though is that there is now a distinction between
English(US) and English(UK). You guys definitely have tainted? No..wrong
word to use, altered/destroyed the English language.

<H3>Thomas's assertion split into several different subthreads...</H3>

<P>
<STRONG>[Sluggo]</STRONG> 
<EM>NOW???</EM>  It's been happening ever since Noah Webster (1758-1843)
started writing 'color', 'draft', 'encyclopedia', and 'center' just to be
different.
 But the language my parents and schools taught me was called 'English',
not 'American'.  Deal with it.

<P>
<STRONG>[Rick Moen]</STRONG> 
Without us Yanks, you POMmies would still be struggling for words to
describe oregano, papaya, mesquite, barbecues, pecan, stampedes, calumet,
cafeterias, and poinsettias.  Not to mention jazz and the blues.  What
could you possibly have done without those?

<P>
<STRONG>[Ben]</STRONG> 
&lt;cough&gt; About half of the above are Spanish or American Indian.
"barbacoa" is bastardized island French, I believe. My favorite example
of that last being "buccaneer" - a "boucanier" was someone who used a
"boucan" (Arawak/Caribe word), a smoker, to preserve meat (make jerky)
for shipbord use, one of the standard things that pirates in the
Caribbean did during the slow season.

<P>
<STRONG>[Sluggo]</STRONG> 
Is that the pirate you bought the slingshot from?

<P>
<STRONG>[Rick]</STRONG> 
Stem-winder, cowcatcher, rubberneck, bunkum, has-been, roughhouse --
these are all gifts that enrich our tongue.  They're not just useful;
the have attitude.  

<P>
<STRONG>[Jimmy]</STRONG> 
A lot of American spellings have been adopted; gaol is archaic, for example. 
There are a few pages on Wikip[a]edia devoted to the topic. (And the 
talk pages are fairly lively; a lot of Americans have trouble accepting 
that "fanny" doesn't mean ass in British English).

How about "arse"? It's a great general purpose word:
<UL>
<LI> "Arse!" - Expression of dissatisfaction
<LI> "Stop arsing about" - stop playing around/wasting time
<LI> "You've made a real arse of that" - you've made a complete mess of that
as well as fulfilling the role of "ass":
<LI> "You're making an arse of yourself", "Stop being such an arse" etc
</UL>

<P>
<STRONG>[Ben]</STRONG> 
<BLOCKQUOTE>
    The problem with defending the purity of the English language is that
    English is about as pure as a cribhouse whore. We don't just borrow words;
    on occasion, English has pursued other languages down alleyways to beat
    them unconscious and rifle their pockets for new vocabulary.
    <BR><CITE>-- James Nicoll, rasseff</CITE>
   
   <P>
    Not only that, instead of the money, it escapes with the pocket lint.
    <BR><CITE>-- Don Roberts</CITE>
</BLOCKQUOTE>
  
<P>
<STRONG>[Jimmy]</STRONG> 
Hmm. The version I saw looks like this:

<BLOCKQUOTE>
    Not only does the English language borrow from other languages, it
    sometimes chases them through dark alleys, hits them over the head, and
    goes through their pockets.  
    <BR><CITE>-- Eddy Peter</CITE>
</BLOCKQUOTE>

<P>
<STRONG>[Jimmy]</STRONG> 
And to think it only took two words to start this thread!

<H3>Jimmy whinges about American terms creeping into Irish English</H3>

<P>
<STRONG>[Jimmy]</STRONG> 
It annoys me sometimes, because I don't watch soap operas, and words 
creep into usage here.... I'm waiting for the day that Scouse is 
declared an official language. <IMG ALT=":)" SRC="../gx/dennis/smily.gif" WIDTH="20" HEIGHT="24"> (Why not... Scots is)

<P>
<STRONG>[Thomas]</STRONG> 
LOL, if *that* happens, I'll emigrate to somewhere like Bolivia. Mind you,
Ireland isn't without its own set of interesting little phrases. Of
course, it's nothing compared to the Welsh...

    <BLOCKQUOTE><!-- begin Welsh -->

    <STRONG>[Sluggo]</STRONG> 
    In Ireland, "village" = city center.
    "I'm going to the village to get the messages" = I'm going to the pub for
    a drink (and maybe I'll stop at the post office too).

    <P> <STRONG>[Jimmy]</STRONG> 
    I've never heard any Welsh phrases.

    <P> <STRONG>[Sluggo]</STRONG> 
    I haven't heard any Welsh phrases, but written Welsh is a trip.
    See attached.  Misuse is "gamddefnydd"???

    <UL>
    <LI> <A HREF="misc/backpage/200207-1299.jpg">"Emergency Alarm" sign</A><BR>
    <LI> <A HREF="misc/backpage/200207-1234.jpg">Exit sign at train station</A>
    </UL>

    <P> <STRONG>[Jimmy]</STRONG> 
    Heh. I used to know how to say 
    Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch, back in 
    secondary school when I used to do table quizes. I can't be arsed now.

    </BLOCKQUOTE><!-- end Welsh -->

<P>
<STRONG>[Sluggo]</STRONG> 
What's Scouse?  Is that what they speak in <I>Trainspotting</I>?  I thought
that was Scots.

<P>
<STRONG>[Thomas]</STRONG> 
'Tis those people from Liverpool.  Scots is a completely different dialect.

<P>
<STRONG>[Jimmy]</STRONG> 
... Pejorative for Liverpudlians. Scots is recognised as being a separate 
language.  (Which is just as well, really.)

<P>
<STRONG>[Rick]</STRONG> 
A lot of people, especially 'Merkins, don't realise what the term
"Scots" refers to in the area of languages.  It's a collateral
descendent of Old English that the arriving Scottish tribes from Ireland 
picked up starting in the seventh century from the northern English 
already present in the lowlands -- picking up Anglo-Norman and
Scandinavian loan-words (brae, graith, lowp, nieve) starting a few
centuries later.  Even later, it picked up French vocabulary (fash,
ashet, leal, aumrie) and Dutch (loon, pinkie, golf, scone) through
trading and political alliances.  The poetry of Robert Henryson, William
Dunbar, and Gavin Douglas was from this era, and is easier than Chaucer
for modern readers, but still sometimes tough sledding:
<PRE>
  Ane cok sum tyme with feddram fresch and gay,
  Richt cant and crous, albeit he was bot pure,
  Fleu furth upon ane dunghill sone be day;
  To get his dennar set was al his cure.
  Scraipand amang the as be aventure
  He fand ane jolie jasp, richt precious,
  Wes castin furth in sweping of the hous.
</PRE>

<P> Starting around the Act of Union (1603), Scots became much more
anglicised, mostly through government and church efforts to weld the two
countries together.  Bobby Burns hails from that period:
<PRE>
   Poor Tammy Gage within a cage
   Was kept at Boston-ha', man;
   Till Willie Howe took o'er the knowe
   For Philadelphia, man;
   Wi' sword an' gun he thought a sin
   Guid Christian bluid to draw, man;
   But at New York, wi' knife an' fork,
   Sir-Loin he hacked sma', man. 
</PRE>
It also isn't the same as Scots Gaelic, a quite different third tongue.

<P>
<STRONG>[Jimmy]</STRONG> 
From what I'd read, there was a separate group of tribes from around 
Denmark who settled around Scotland, bringing a language which was 
similar to Anglo-Saxon, but different enough. After that, both languages 
followed a similar path. I think there was a slight influence of Pictish 
in there too.

<P> Yeah, Scots Gaelic is descended from Old Irish, and is supposed to be 
closer to Old Irish than modern Irish is.

<P>
<STRONG>[Rick]</STRONG> 
I still can't think of any Irish phrases though.  Peculiar usages, yes; 
words, yes; phrases, no.

<P>
<STRONG>[Jimmy]</STRONG> 
I suppose there's the old Oirish favourite "Go n&eacute;ir an b&oacute;thair
leat" (May the road rise with you).

<H3>Things take a turn toward the subjunctive</H3>

<P>
<STRONG>[Ben]</STRONG> 
Pshaw. Thomas, if anything, it's _you_ people that have introduced the
changes; language generally stop evolving once away from their source.
See "got-&gt;gotten" in current American usage, which I understand the Brits
dropped a couple of centuries back.

<P>
<STRONG>[Sluggo]</STRONG> 
Or the lingering traces of subjunctive in English(Am):
<BLOCKQUOTE>
   She turned up the radio in order that he hear it better.
</BLOCKQUOTE>

Which I understand English(Br) changes to:
<BLOCKQUOTE>
   She turned up the radio in order that he should hear it better.

         <BLOCKQUOTE>[What?  He "should" hear it?  Since when does he have a 
     moral obligation to hear it?]</BLOCKQUOTE>

   She turned up the radio in order that he hears it.

     <BLOCKQUOTE>[Possible if he does hear it, but technically incorrect
     because it's a goal, not a matter-of-fact statement.]</BLOCKQUOTE>
</BLOCKQUOTE>

<P>
<STRONG>[Jimmy]</STRONG> 
In Hiberno-English [Irish English], it'd be:
<BLOCKQUOTE>
"Why did she turn up the radio, you ask? Well, 'tis funny you should 
ask, and I'll tell you why...." etc. The story would include details on 
how the radio came to be purchased, what sort of weather they were 
having (including the inevitable complaints about the rain), why it was 
that she turned up the radio....
</BLOCKQUOTE>
    

<P>
<STRONG>[Ben]</STRONG> 
&lt;*blink*&gt; I'm astounded, Jimmy. You mean it actually gets to that last
part at some point?

<P>
<STRONG>[Jimmy]</STRONG> 
That gets mentioned in passing; why she did it, instead of him turning 
it up himself. All Irish stories have an end; it may not be the same 
ending as the last time you heard it, but they do have an end.

<H3>Sluggo tries to convince Thomas of the advantages of American spelling</H3>

<P>
<STRONG>[Sluggo]</STRONG> 
I know a Canadian who spells 'color' coz it's shorter.  Try it.  It's
not that difficult to write 'draft', 'plow', 'gram' and 'check'.  

<P>
<STRONG>[Thomas]</STRONG> 
Hehehe... *That* is lazy.
'Draught' (as in beer), 'Plough' (Horse and Cart mechanism), 'Gramme',
'Cheque'. 

<P> Of course the use of these words depends upon the context in
which you are using them.
One "drafts" an idea, but one does not drink a "draft", but rather a
"draught".
One writes a "cheque", but "checks" to make sure he has completed it.

<P>
<STRONG>[Sluggo]</STRONG> 
Once
you get used to it, you'll never look back.  The Brits should be
thanking us for getting rid of those cumbersome spellings.

<P>
<STRONG>[Thomas]</STRONG> 
LOL. Not at all.

<P>
<STRONG>[Jimmy]</STRONG> 
But thanks anyway, I think I'll stick to "colour", "draught", "plough", 
"gramme" and "cheque".  I find it comforting to know that I can trace the 
origin of a word through its spelling, or use it to make a reasonable 
guess.  If you have an idea of what "exchequer" means, and don't know 
what a "cheque" is, you have a better chance of making a reasonable 
guess with British spellings.

<BLOCKQUOTE><!-- begin DRAUGHT -->
    <P>
    <STRONG>[Sluggo]</STRONG> 
    Every time I see draught (as in beer), I pronounce it 'drot'.

    <P>
    <STRONG>[Thomas]</STRONG> 
    No, that is incorrect. It is pronounced "dra-aft". The fact that you're
    trying to pronounce it as "drot" suggests that your natural way of
    pronounciation is:
    "aught" == "rot". Hmm, *most* interesting.


    <P>
    <STRONG>[Sluggo]</STRONG> 
    Yes, aught is rot.  But normally I don't pronounce it at all.
    There was a curious article after the Millenium about what to call the
    2000-09 decade.  We still don't have a word for it, although I call it
    the "oh-OHs".  But these reporters asked several grandparents what they called
    1900-09, and without hesitation they said "the noughts".  But "nought"
    is another word we don't use, preferring "none" or "nothing" instead.

    <P>
    <STRONG>[Thomas]</STRONG> 
    Oh, excellent. I would say "naught" (pron: noor-t, stress on the first
    syllable), and I do indeed say the naught-naughts. "Oh-Ohs" to most people
    would either mean the letter or, umm, something associated with a sexual
    act, but it depends on the mind of the person to whom you are speaking to.
</BLOCKQUOTE><!-- end DRAUGHT -->

<P>
<STRONG>[Sluggo]</STRONG> 
Too bad we didn't get rid of "ph" too like Spanish and Italian did.
photo -&gt; foto

<H3>Thomas is, like, sick of 'like'</H3>

<P>
<STRONG>[Thomas]</STRONG> 
Golly, I am amazed by the response this thread has generated thus far. I
was *only* joking about you ruining the 'English' language, I assure you.
But, the response has been both interesting and enlightening. I've read
each and every one of them...

<P> But my original concept was the use of what I term 'American Slang'
filtering into the 'English' language. For instance, many people now use
the word 'like' as a noun:
<BLOCKQUOTE>
    "I was like walking, and there was like this huge like truck, with like
    this big flashing light....". 
</BLOCKQUOTE>
This is very American to me.

<P>
<STRONG>[Ben]</STRONG> 
Valley-girl-speak had its 15 minutes in the spotlight and died out here
(leaving, or course, an inevitable residue - mainly as linguistic
in-jokes, such as "fer-sure" and my own use of "yeeeew". It implies
something like "here's the blonde way of saying it".)

<P>
<STRONG>[Sluggo]</STRONG> 
What you call American slang we call Californa slang.  "like" was
popularized by Moon Zappa in the song "Valley Girl" although its use
goes farther back.  Like, totally, it's like SO bitchin', gag me with a
spoon.  That's how the high-school girls in the early 80s talked, those whose
major pastime consisted of shopping in the mall (Sherman Oaks Galleria)
in the San Fernando Valley north of Los Angeles.  Extreme use of 'like'
is Valley Girl style, but moderate use of 'like' goes all over the
country.  'totally' is more associated with San Francisco (cf. Amistead
Maupin's <I>Tales of the City</I>) but is also used everywhere.

<P> 'like' is an adverb, not a noun.  Many people hate it, but I think it
has a genuine use.  It softens things.  Sometimes it's too stark or
impolite to say something IS something, but if you say it LIKE IS
something, it sounds softer.  It also provides that needed touch of
uncertainty sometimes, like "about" or "approximately".

<P> 'totally' means "really, really yes", or "I understand" in the sense of
"I'm with you, brother", but sometimes it's just a substitute for "yes".
It also makes the speaker sound like a surfer boy or... I don't know
how to describe it, but the type of person who has a goatee and maybe
was a skater in the 90s.  But lots of other people say "totally" too.

<P>
When Heather was writing curdgemonly (sp?) to a clueless querent a
few years ago, she 
<A HREF="../issue64/lg_mail64.html#mailbag">said</A>, "Dude, get a new 'tude."
I said, "That must be a California expression."  She said, "Yes, <EM>very</EM>
California."

<P>
<STRONG>[Thomas]</STRONG> 
Mike, you miss the point, not to mention the fact that saying something
"like is" something else goes against my idea of grammar. First, I was
complaining about how the word: 'like' is being used as a connective between
everyother word. However, what you have just done is to try and rationalise its
existance....  Tut tut.

<P>
<STRONG>[Sluggo]</STRONG> 
Don't you "tut tut" me.  Overuse makes it a meaningless filler word, but
some people do use it carefully in the sense I described.

<P>
<STRONG>[Rick]</STRONG> 
It seems appropriate to cue William Safire's advice to authors:
<UL>
<LI> Don't use no double negatives.
<LI> Proofread carefully to see if you any words out.
<LI> Take the bull by the hand and avoid mixed metaphors.
<LI> If I've told you once, I've told you a thousand times, resist
  hyperbole.
<LI> "Avoid over use of 'quotation "marks."'"
<LI> Avoid commas, that are not necessary.
<LI> If you reread your work, you will find on rereading that a great deal
  of repetition can be avoided by rereading and editing.
<LI> Avoid cliches like the plague.
<LI> Never use a long word when a diminutive one will do.
<LI> Avoid colloquial stuff. 
</UL>

It reminds me of a story:  There's supposed to have been a college English
class where the professor was holding forth on grammatical structure.
He cited and discussed examples in English of double negatives -- and
then claimed _no_ similar examples exist of a corresponding
double-positive, whose meaning equates to a negative.

<P>
A voice rang out from the back row:  "Yeah right."

<P>
<STRONG>[Ben]</STRONG> 
Sure, whatever you say. 


</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<IMG ALT="picture" SRC="../gx/2003/authors/orr.jpg" WIDTH="235" HEIGHT="333"
   ALIGN="left"  HSPACE="10" VSPACE="10">
<em>
Mike is the Editor-in-Chief of <I>Linux Gazette</I>.  You can read what he has
to say on the Back Page of many issues.  He has been a Linux enthusiast
since 1991 and a Debian user since 1995.  Non-computer interests include
wrestling, ska and oi! and ambient music, and the international language
Esperanto.  He's been known to listen to Dvorak, Schubert, Mendelssohn, and
Khachaturian too.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/orr.html">Mike Orr (Sluggo)</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>The Back Page, part 3</h1>
<p id="by"><b>By <A HREF="authors/orr.html">Mike Orr (Sluggo)</A></b></p>


</b>
</p>


<p>
<a name="nottag"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">The Linux Laundrette, continued</font></H2></center>


<P> <HR> <P> 
<!--======================================================================-->
<P>

<H3>Buoys (and the Netherlands, and music)</H3>

<P>
<STRONG>[Sluggo]</STRONG> 
CBC's <I>As It Happens</I> did a story about Dial-a-Buoy, an experimental
program that lets boaters and kayakers call a phone number and get a
computer-collected hourly report of weather and ocean conditions from
any of ten buoys floating off the coast of Maine, Massachusetts, Nova
Scotia and Newfoundland.

<UL>
<LI> <A HREF="CBC News">http://www.cbc.ca/storyview/CBC/2003/11/07/buoys031107</A> 
<LI> <A HREF="http://www.ndbc.noaa.gov/dial.shtml">NOAA's Dial-a-Buoy HOWTO, US govt</A>
<LI> <A HREF="http://www.gomoos.org/news/dialabuoy.html">GoMOOS, Gulf of Maine Ocean Observation System</A>
  </UL>

But the radio talkbacks for the next three days focused not on this
technology or its uses, but on the proper pronunciation of buoy.  Some
argued "boo-ey", others "boy".
Yours truly has always heard boo-ey, but the most interesting call came
from a mariner in Nova Scotia who insisted the word came from Dutch
and should be pronounced boy.
(Webster accepts both.  OED Online wants $29.95/month to reveal the
true answer.)

<P>
<STRONG>[Frank Rodolf (Frodo)]</STRONG> 
While I don't know the exact pronunciation in English, I can confirm that
the word does come from Dutch. The Dutch spelling is "boei", and has two
meanings. The first being "buoy", the other being "shackle" (as used to
hold wrists or ankles in place, in old prisons).

<P> In Dutch, it is pronounced like boy, but with a "longer" o. So, kinda like
"booy".

<BLOCKQUOTE><!-- begin DUTCH -->
    <P>
    <STRONG>[Ben]</STRONG> 
    A lot of yachting terms (and quite a number of nautical terms in
    general) come from Dutch. After all, they started the whole yachting
    thing by giving a "jacht" ("hunter" - it was a fast-sailing ship
    designed to catch smugglers), "Mary", to Charles II on his restoration
    in 1660.

    <P> &lt;grin&gt; I only go with the best, of course. "Ulysses" was built in
    Holland (Hardewijk). 

    <P>
    <STRONG>[Frodo]</STRONG> 
    These days, the word "jacht" is used for just about any sail ship,
    longer than about 10 meters or so.

    <P>
    <STRONG>[Ben]</STRONG> 
    <grin> A friend of mine told me that the difference between a boat and a
    yacht was that yachts have a barbecue grill on the stern. I guess
    "Ulysses" is a yacht, then.

    <P>
    <STRONG>[Frodo]</STRONG> 
    Just a shame you call it Holland.

        <BLOCKQUOTE><!-- begin DUTCH NATIONALISM -->
        <P>
        <STRONG>[Ben]</STRONG> 
        &lt;blink&gt; I'm familiar with the term "Netherlands", but I wasn't
        aware that there was any reason to prefer one over the other. IIRC,
        Geert refers to the country as "Holland". Story, please?

        <P>
        <STRONG>[Frodo]</STRONG> 
        K - the short version...
        Netherlands is the official name of the country. Holland is part of the
        Netherlands.

        <P> Basically, Holland consists of two of the 12 Dutch provinces,
        although - in the past - the name was often used to indicate the "7
        provincien" (7 provinces), who were working together in the 17th and
        part of the 18th century[*], against the Spanish and other countries
        that for some reason or other wanted to take them over.

        <P> Nowadays, you will find that most people that say Holland instead of
        Netherlands are from those 7 provinces. I, being from Limburg, know
        better though. 
        <IMG ALT=":)" SRC="../gx/dennis/smily.gif" WIDTH="20" HEIGHT="24">

        <P> [*] - I might be off by a few years, but you get the idea.

        <P>
        <STRONG>[Ben]</STRONG> 
        Ah! OK, thanks. I've got a Flemish friend who gave me
        about a 20-page lesson on Flemish history when I asked what the
        difference was; wonderfully interesting, as European history tends to
        be.

            <BLOCKQUOTE><!-- begin MAASTRICHT -->
            <P>
            <STRONG>[Frodo]</STRONG> 
            Be glad I did not start telling you why Maastricht is part of the
            Netherlands, and not part of Belgium... *G*
            </BLOCKQUOTE><!-- end MAASTRICHT -->

        <P>
        <STRONG>[Sluggo]</STRONG> 
        I got a (friendly) lecture from a Luxemourgish oi singer when I made the
        heinous mistake of calling his band a German band on my web page.

        <P> I told him I'd been to Luxembourg City once and described this
        beautiful bridge, and he said he lived in the very same district.  I
        said I had seen screensavers with "unique letters" on them, i-umlaut,
        etc.  He said Luxemourg became independent when the Luxembourgers
        realized the various occupiers couldn't understand a word they were
        saying.

        <BLOCKQUOTE><!-- begin LUXEMBOURG HISTORY -->
            <P>
            <STRONG>[Frodo]</STRONG> 
            LOL - Actually, it is a bit different... In 1815, after Napoleon
            was finally sent away, what is now the Netherlands, Belgium and
            Luxembourg became one kingdom, under king William I.

            <P> In 1830, Belgium separated from the Netherlands, after a war,
            and became a separate kingdom. Luxembourg still had the Dutch
            monarch as its grand duke.  Only in 1890, when king William III of
            the Netherlands died, and left behind only a daughter, no son, did
            Luxembourg became a separate country.  In Luxembourg then only men
            could be the grand duke.  Luxembourg then "switched" to another
            branch of the house Nassau.

            <P> Till about 50 or so years ago, most Luxembourgeois still at the
            very least understood Dutch. Now only some old (read: over 80)
            people sometimes still understand it.
        </BLOCKQUOTE><!-- end LUXEMBOURG HISTORY -->

        <P>
        <STRONG>[Sluggo]</STRONG> 
        We also made a joke about "Luxembourgish" (as he said it) vs 
        "Luxembourgeois" (as printed on French brochures, which has an, ahem,
        unintended connotation in English).

        <P>
        <STRONG>[Frodo]</STRONG> 
        Uhm... Okay, it is clear I know too well, how it is pronounced in
        French... I have no idea how it would have an unintended connotation in
        English... lol


        <P>
        <STRONG>[Sluggo]</STRONG> 
        The last part looks like "bourgeois", which means, well, ask Ben.
        Capitalist oppressors, enemy of the proletariat, that sort of stuff.

        <P>
        <STRONG>[Jimmy]</STRONG> 
        Now taken as a synonym for the middle classes and their attitudes. (The 
        opinions of a minority of the middle class are the main form of 
        oppression felt by the working classes in many areas).
    </BLOCKQUOTE><!-- end DUTCH NATIONALISM -->

    <H4>Ben continues talking about his "yacht"</H4>

    <P>
    <STRONG>[Ben]</STRONG> 
    Of course, this means that I have to carry a Dutch
    dictionary on board for the manuals and such, but that's no hardship.

    <P>
    <STRONG>[Frodo]</STRONG> 
    Dutch is an easy language, so that should be no problem for you,
    whatsoever.
</BLOCKQUOTE><!-- end DUTCH -->

<H4>Jimmy continues talking about buoys</H4>

<P>
<STRONG>[Jimmy]</STRONG> 
I always thought this was another AE (boo-ey) vs. BE (boy) issue.
[American English vs British English]

<P>
<STRONG>[Sluggo]</STRONG> 
It could be.  That would explain why Canadians go back and forth.
Do any Americans pronounce "boy"?
Although I do think buoyant is universally pronounced "boy-ant".

<P>
<STRONG>[Ben]</STRONG> 
It just reflects the difference in the usage at sea. Of boys, I mean. <IMG ALT=":)" SRC="../gx/dennis/smily.gif" WIDTH="20" HEIGHT="24">

<BLOCKQUOTE><PRE>
  The cabin boy was Kipper,
  A dirty little nipper,
  They stuffed his arse with broken glass
  And circumcised the skipper.
  <BR><CITE>-- from "The Good Ship Venus", a Limey forebitter</CITE>
</PRE></BLOCKQUOTE>

<P>
<STRONG>[Jimmy]</STRONG> 
Is that where that's from?  I knew it from "Frigging in the Rigging" 
from the soundtrack to the Sex Pistols film.

<P>
<STRONG>[Ben]</STRONG> 
Shanteymen were singing that one long before the Sex Pistols were born.
 And the first verse does indeed say something about "Frigging in the
Rigging". Last Thursday or so, I was over at a local pub singing
shanties with "The Bilge Rats", the finest group of local singers that
ever banged a beer mug on a table.  (One of'em is from Lunnon-town, and a
damn fine fellow.)

<P> I should look up that film - it would be interesting to see the Sex Pistols
doing that one!

<P>
<STRONG>[Jimmy]</STRONG> 
They only did it as filler; Johnny Rotton had quit by then <IMG ALT=":)" SRC="../gx/dennis/smily.gif" WIDTH="20" HEIGHT="24"> I was 
pretty disappointed when I got that; though they do a good cover of 
"(Not Your) Stepping Stone". The film's called <I>The Great Rock 'N' Roll 
Swindle</I>.

<P>
<STRONG>[Ben]</STRONG> 
I never got into the Pistols, but it's now at least a small checkmark on
my hopelessly long media list. :)

<P>
<STRONG>[Sluggo]</STRONG> 
Oh, you want some records to listen to?

<BLOCKQUOTE><PRE>
[ska]
- Skinnerbox (or anything with King Django, a singer in Philly; the Stubborn
   All-Stars is his latest band).
- The Specials: Guilty Till Proved Innocent, plus "Man at C &amp; A", "Do the
  Dog", "Ghost Town".
- Madness: Madness
- The Selecter: Out in the Streets (live album)
- The Paragons: "Left With a Broken Heart" and "Got to Get Away" on the
    Skinhead Revolt comp (Trojan Records); I'm trying to find their
    other stuff -- it's a very unusual and mellow 1st-wave ska band.

[oi]
- 4-Skins
- Oi! This is England (3-CD comp for under $20, by Dressed to Kill records)
- Ultima Thule (Sweden)
- Retaliator, Condemned 84

[punk]
- Dead Kennedys: Fresh Fruit for Rotting Vegetables
- Banielle Rouge (France)

[rock]
- Radiohead: Hail to the Thief, OK Computer
- Striknien DC: Horses for Courses (Ireland)
- Flogging Molly (Irish from LA)

[ambient electronic]
- Orb: Cydonia, Orblivion
- Badorb: Bless You
- Future Sound of London
- Global Communication
- Dream Therapy
- Fuzzy Logic: Gray or Green Numbers
- (new "downtempo" bands)

[other electronic; techno]
- Kraftwerk: "Pocket Calculator"/"Taschenrechner", "Autobahn"/"Autobahn",
    "Metal on Metal"/"Metall auf Metall" -- the English versions are kind
    of forced; the German versions are much better
- Orbital: Back to Mine

[industrial]
- Einstuerzende Neubauten
- Front Line Assembly
- Front 242
- Skinny Puppy
- Digital Poodle (and scads of bands like that)

[classical]
- Dvorak: Seranades Op. 22 &gt; 44, New World Symphony, etc.
- Mendesohn: Italian symphony
- Schubert: Unfinished Symphony, Ave Maria, and lots more.
- Khachaturian: Armenian dances

[Russian]
- Bravo (Russia) -- pop with ska and jazz influences; Russia's #1 pop band
  in the late 80s and mid 90s
- Auction (Russia) -- rock band from St Petersburg

[other]
- Ray Charles (soul)
- Black Cat Orchestra (inspired by tango, klezmer, east european music)
- Damien Jurado (vocalist) -- plug for my friend's band

SUMMRAY:
- If you buy one album, get Radiohead.
- If you buy one classical album, get Dvorak.
- If you buy one ambient album, get Orb.
</PRE></BLOCKQUOTE>

<P>
<STRONG>[Thomas]</STRONG> 
OK, so I couldn't resist replying to this.  I'd add:

<BLOCKQUOTE><PRE>
[punk]
- The Ramones: The Ramones
- The Sex Pistols: Never Mind the B*llocks
 
[rock]
- Radiohead: The Bends, Pablo Honey
- The Horslips
- The Cranberries
- Caravan
- Captain Beefheart
- REM
- Elastica
- Screaming Trees

[ambient electronic]
Air: The Virgin Suicides

[other]
- AntiFolk (A huge movement from New York)
- Jeffrey Lewis
- Leonard Cohen
</PRE></BLOCKQUOTE>


<P>
<STRONG>[Jimmy]</STRONG> 
And I'd add Minor Threat: Complete Discography, but I suppose that'd be 
hardcore punk.

<H3>Re "if you buy one album, get Radiohead"</H3>

<BLOCKQUOTE>
    <P>
    <STRONG>[Thomas]</STRONG> 
    If you want to kill yourself, listen to Radiohead.

    <P>
    <STRONG>[Jimmy]</STRONG> 
    There are more depressing bands out there.
</BLOCKQUOTE>

<H3>Re "if you buy one classical album, get Dvorak"</H3>

    <BLOCKQUOTE>
    <P>
    <STRONG>[Thomas]</STRONG> 
    What? Good, god... You cannot possibly say that, in my opinion.  Mine
    would be Schubert's Trout Quintet, or definitely Wagner.
    </BLOCKQUOTE>

<H3>Re "if you buy one ambient album, get the Orb"</H3>

    <BLOCKQUOTE>
    <P>
    <STRONG>[Thomas]</STRONG> 
    I'd prefer "The humidifier"
    </BLOCKQUOTE>

<H3>Continuing...</H3>

<P>
<STRONG>[Jimmy]</STRONG> 
In the early 80s Oi! was hijacked by the BNP in Britain, and for a long 
time was firmly associated with racism.

<P>
<STRONG>[Sluggo]</STRONG> 
... in the media's mind.  But many oi fans and bands hotly resented the
hijacking.  Is the Union Jack fascist just because the BNP abused it too?
The National Front even tried to claim *Madness* as one of its own,
against the wishes of the band, saying that white bandmembers = white
power.  Madness not only denied the charges but played in the
"Rock Against Racism" concerts.  

<P>
<STRONG>[Jimmy]</STRONG> 
The media pounced on punk in general, as far as I can remember. I can't say I'd
heard that about Madness before though. They must've really been clutching at
straws to come up with that!

<P> I presume nobody else listens to metal, but the essential albums are:

<BLOCKQUOTE><PRE>
[metal]
Slayer: Reign In Blood
Metallica: Master of Puppets
Megadeth: Rust In Peace
Carcass: Heartwork
Opeth: Blackwater Park
In Flames: Clayman
Sepultura: Chaos A.D.
Nine Inch Nails: The Downward Spiral
Ministry: Psalm 69
Tool: Lateralus
Helmet: Betty
</PRE></BLOCKQUOTE>

<P> If you can't deal with metal, I'd suggest the first Apocalyptica
album (I can't remember what it's called) - Metallica songs played by a
string quartet.

<P> Or grunge:

<BLOCKQUOTE><PRE>
[grunge]
Soundgarden: Superunknown
Nirvana: Nevermind
Alice In Chains: Dirt
Smashing Pumpkins: Siamese Dream
Pearl Jam: Ten

[misc]
Teenage Fanclub: Bandwagonesque
Slint: Spiderland
Big Black: The Rich Man's Eight Track
</PRE></BLOCKQUOTE>



<P>
<STRONG>[Sluggo]</STRONG> 
I don't like metal, but I will admit to having listened to it in junior
high (early 1980s).  Black Sabbath, Dio, Iron Maiden, Ozzy Osbourne, Judas
Priest -- that must all be music to Jimmy's ears.

<P>
<STRONG>[Jimmy]</STRONG> 
Ew, no. I hate all that 80s hair metal crap.  I started off with grunge
(1993), moved on to punk, then hardcore, then metal.  First I got into Nirvana,
then the Sex Pistols. I bought a punk compilation, and fell in love with
Discharge.  At that point, I hated metal. Then I listened to Pantera - "Fucking
Hostile" is a hardcore punk song and Sepultura - Chaos AD is as even a mix of
hardcore and metal you'll ever find.  I mostly stick to metal where the punk
lineage is still in some way present (e.g., Carcass' guitarist started off in a
Discharge-influenced band, Napalm Death started as a punk band etc etc).  At
first I started listening to death metal to improve my guitar playing, but now
I actually like it. I've started trying to play jazz guitar recently, but I
still can't listen to most of it!

<P> Even with metal, which is commonly derided as idiotic, you get
stuff like death metal, thrash metal, melodic death metal, black metal,
symphonic black metal, NWOBHW, grunge etc etc.

<P>
<STRONG>[Sluggo]</STRONG> 
"symphonic" metal?  "melodic" metal?  Aren't those oxymorons?

<P>
<STRONG>[Jimmy]</STRONG> 
That's symphonic black metal and melodic death metal. Black metal is an
even faster version of death metal, with overtly Satanic lyrics.
Symphonic black metal is black metal using orchestras.

<P>
<STRONG>[Sluggo]</STRONG> 
Metal using orchestras???  Mendelssohn and Schubert must be turning over
in their graves.  I may have to hear this once in my life.

<P>
<STRONG>[Jimmy]</STRONG> 
Black Sabbath were a blues band.

<P>
<STRONG>[Sluggo]</STRONG> 
Blues???  "My honey won' come home, my honey won' come home, I ain't
married no more" blues?  Very vaguely maybe.

<P>
<STRONG>[Jimmy]</STRONG> 
It's true. Listen to "Planet Caravan".

<P>
<STRONG>[Sluggo]</STRONG> 
Metal was too satanic.

<P>
<STRONG>[Jimmy]</STRONG> 
Heh. As Ozzy Osbourne said, "The only black magic you'll find us messing
with is the chocolates".

<P>
<STRONG>[Sluggo]</STRONG> 
<EM>[Reading several Wikipedia articles linked under
"<A HREF="http://en.wikipedia.org/wiki/Heavy_metal_music">heavy metal
music</A>".]</EM>  It says metal is a progression from psychedelic rock (the
Beatles "Sergeant Pepper" and "Helter Skelter", Jimi Hendrix) and hard rock
(Led Zeppelin, AC/DC).  That seems to pull in a lot of things that we
considered totally separate from metal in the 80s.  I guess if you consider
metal and hard rock as two subgenres of "non-danceable rock", it makes sense.

<H3>The next day...</H3>

<P>
<STRONG>[Sluggo]</STRONG> 
I was listening to Frontline Assembly last night and realized
themes and cover art of them and Skinny Puppy do have a strong resemblance to
Iron Maiden, and the chords/distortion too.  But what I like about industrial
and not about metal is the way the chords are clipped (stacatto) rather than
whiny (a la Hendrix).  Then I remembered that "Murders in the Rue Morgue" had a
similar clipped style.  Darn it Jimmy, now you've made me say I appreciate Iron
Maiden!

<P>
<STRONG>[Jimmy]</STRONG> 
If it makes you feel better, they were possibly the first metal band to
take a punk influence. Given that they also had a huge prog rock
influence, you may scoff at that, but most of their riffs have
punk-like, simple progressions.

<P>
<STRONG>[Sluggo]</STRONG> 
That does make me feel better.  Interesting that I gravitated toward a similar
sound years before I got into punk.

<P>
Since I don't know what "prog rock" means, I don't know whether to scoff or
not.  Is that a typo?

<P>
<STRONG>[Jimmy]</STRONG> 
Progressive Rock. Pink Floyd, Yes etc. I think Rush are prog rock, but
I've never heard them.

<P>
<STRONG>[Jimmy]</STRONG> 
You haven't heard Rush???  Well, I haven't heard at least half the bands you
mentioned.  Rush is known for the excellent drumming and perceptive
double-metaphor lyrics of Neal Peart.  The first four albums (1974-76) were
hard rock, or you might call it metal with clipped chords and without the
gratuitous satanism (never mind the burning pentagram on <I>2112</I>).  Geddy
Lee screamed like the metalheads but the music was much more interesting.  But
they always did their own thing rather than pandering to market expectations
(or so they claimed).

<P> Then with the ninth album <I>Signals</I> (1982), Rush totally changed
direction.  Gone was the screaming, the hard rock, the flirting with metal.
The sound was much more poppy, but again unique.  <I>Grace Under Pressure</I>
is good.  "Between the Wheels":

<BLOCKQUOTE><PRE>
You know how that rabbit feels sliding under your spinning wheels
Bright images flashing by like windshields toward the fly
Frozen in the fatal climb, but the wheels of time just pass you by
Wheens can take you around, wheels can cut you down
We can go from boom to bust, from dreams to a bowl of dust
We can fall from rockets' red glare to "Brother can you spare
Another war, another wasteland, and another lost generation.
</PRE></BLOCKQUOTE>

<P> "Superconductor" on <I>Presto</I> shows Peart's double imagery.

<BLOCKQUOTE><PRE>
Watch his every move
SUPERCONDUCTOR
Orchestrate illusions
SUPERCONDUCTOR
Watch his every move
SUPERCONDUCTOR
Hoping you'll believe
Designing to deceive
That's entertainment
</PRE></BLOCKQUOTE>

<P> You must have heard "Tom Sawyer" (<I>Moving Pictures</I>); that was their
most famous song.  It was my favorite song in high school for a while.  

<BLOCKQUOTE><PRE>
A modern-day warrier, mean mean strude, today's Tom Sawyer mean mean pride

... No his mind is not for rent to any god or government
Always hopeful yet discontent, he knows changes aren't permanent ---
But change is

What you say about his company is what you say about society
Catch the witness, catch the wit, catch the spirit, catch the spit
The world is the world is, love and life are deep
Maybe as his eyes are wide
</PRE></BLOCKQUOTE>

<P> Notable instrumental songs: "YYZ", "La Villa Strangiato", "Jacob's Ladder".
<A HREF="http://www.2112.net/xanadu/">Fan site with discography and
lyrics.</A>

<P>
<STRONG>[Jimmy]</STRONG> 
Wow. Those are some of the best rock lyrics I've ever seen. I generally
don't pay attention to lyrics (it's a guitarist thing), but Tool have
lyrics of a similar calibre (I've seen Tool cite Rush).

<H3>Epilogue: editor's note</H3>

<P> When I reviewed Jimmy's 
<A HREF="oregan.html">article about Songwrite</A> for this issue, I
followed the link to <A HREF="http://magnatune.com/">magnatune.com</A>,
the record company that isn't evil.  (All their songs are available as free
MP3s, you can buy higher-quality sound files for $5/album, they give the artist
50% off the top, and they don't demand an exclusive license to sell.)  I browsed 
around and found several good ambient bands: Rapoon, Paul Augerinos, and
Psychetropic.  The Wretch (industrial) and Pizzle (punk) also deserve
mention.  Be warned that many of their "punk" stuff is misclassified.

</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<IMG ALT="picture" SRC="../gx/2003/authors/orr.jpg" WIDTH="235" HEIGHT="333"
   ALIGN="left"  HSPACE="10" VSPACE="10">
<em>
Mike is the Editor-in-Chief of <I>Linux Gazette</I>.  You can read what he has
to say on the Back Page of many issues.  He has been a Linux enthusiast
since 1991 and a Debian user since 1995.  Non-computer interests include
wrestling, ska and oi! and ambient music, and the international language
Esperanto.  He's been known to listen to Dvorak, Schubert, Mendelssohn, and
Khachaturian too.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/orr.html">Mike Orr (Sluggo)</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />


<div class="content twdtarticle">


<h1>The Back Page, part 4</h1>
<p id="by"><b>By <A HREF="authors/orr.html">Mike Orr (Sluggo)</A></b></p>


</b>
</p>


<p>
<ul>
<li><a HREF="#links">Non-Linux Links</a>
<li><a HREF="#spam">World of Spam</a>
<li><a HREF="#ode">Ode to Ben</a>
<li><a HREF="#conclusion">Conclusion</a>
</ul>


<a name="links"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">Non-Linux Links</font></H2></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

<A
HREF="http://blort.org/~kgasso/images/how-to-catch-script-kiddies.gif">How to
catch script kiddies</A>.  (Image)

<P> <A HREF="http://www.linuxstolescocode.com/">Stolen SCO code in Linux</A>
(Bogus HTTP 404 message; read it carefully)

<a name="spam"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H2><font color="maroon">World of Spam</font></H2></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

<P> <STRONG>
Subject: Re: psychoanalysis
 
<P> What would you do if Ebay started depositing thousands of dollars into your
bank account every month?  </STRONG>

<BLOCKQUOTE>
    <STRONG>[Jason Creighton]</STRONG> 
    Freak out. Then I'd call them to ask why they were doing that, and when
    I was told it was a "computer error" I'd move on with my life.

    <P><FONT COLOR="blue">
    <STRONG>[Heather Stern]</STRONG> 
    I would wonder how LinuxGazette got a bank account considering the
    domain hassles last year.
    </FONT>
</BLOCKQUOTE>

<P> <STRONG> Thats what it is doing for 50,000 + other people each month... And
It Can Happen To You Too!</STRONG>

<BLOCKQUOTE>
    So remember kids: Look each way before you cross the street!

    <P> <FONT COLOR="blue"> There might be some sort of burn cream we can get to
    prevent this.  </FONT>
</BLOCKQUOTE>

<P> <STRONG> The Best way to describe eBay is this: It's a private money
machine in your house or apartment.  </STRONG>

<BLOCKQUOTE>
    Private, except, of course, for all the *other* people you send this
    spam too.
</BLOCKQUOTE>

<P> <STRONG> Really! There are people making so much money that it is quite
simply hard to believe and it is easy!</STRONG>

<BLOCKQUOTE>
    Yes, hard to believe. No, not easy.

    <P><FONT COLOR="blue"> The FBI know about this?</FONT>
</BLOCKQUOTE>

<P> <STRONG> You Want a Piece of It? Well Now's Your Chance! </STRONG>

<BLOCKQUOTE>
    No. Go away.
</BLOCKQUOTE>

<P> <STRONG> eBay... a corvette sold every 3 hours. A diamond ring every 6
minutes. A digital camera every 90 seconds. An article of clothing every 3
seconds!  </STRONG>

<BLOCKQUOTE>
    <FONT COLOR="blue">Hey bub, eBay iz da truck what deze tings fell offa.
    Wanna buy a Rolex?</FONT>
</BLOCKQUOTE>

<P> <STRONG> The MyAuctionBiz Video Courses & Tutorials will show YOU step by
step how to literally Rake In The Profits with eBay Auctions, even while on
vacation! </STRONG>
 
<BLOCKQUOTE>
    <FONT COLOR="blue">Freshmeat has plenty of sniper software already, thanks
    anyway.</FONT>
</BLOCKQUOTE>

<P> <STRONG> eBay is a virtual goldmine if you know what you're doing, </STRONG>
 
 <BLOCKQUOTE>
    <FONT COLOR="blue">Don't forget to take a canary with you. </FONT>
</BLOCKQUOTE>

<P> <STRONG> You will learn:</STRONG>
 
 <BLOCKQUOTE>
    <FONT COLOR="blue">Things that everyone else figured out by reading eBay's
    FAQ.</FONT>
</BLOCKQUOTE>

<P> <STRONG> With All these amazing benefits, you can't afford to miss out.
eBay is exploding, </STRONG>

<BLOCKQUOTE>
    Well, I certainly hope people keep their distance while it explodes.
</BLOCKQUOTE>

<P> <STRONG> and people want your stuff! In fact, people want just about
anything anyone starts an auction for, it's a phenomenon and it's in YOUR house
NOW! </STRONG>

<BLOCKQUOTE>
    Ack! Get that exploding website out of my house!
</BLOCKQUOTE>

 
<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->

<STRONG>
<P> Microsoft Customer

<P> this is the latest version of security update, the
"November 2003, Cumulative Patch" update which resolves
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run code on your computer.
This update includes the functionality
of all previously released patches.

<P> System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:<BR>
 - MS Internet Explorer, version 4.01 and later<BR>
 - MS Outlook, version 8.00 and later<BR>
 - MS Outlook Express, version 4.01 and later

<P> Recommendation: Customers should install the patch
at the earliest opportunity.<BR>
How to install: Run attached file. Choose Yes on displayed dialog box.<BR>
How to use: You don't need to do anything after installing this item.
</STRONG>

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->

<STRONG>
<P> Hi Emanuel,<BR>
If you received this email then whatever s.p.a.m filter your using is not
working properly. 

<P> If your one of those people that are sick and tired of sifting through your
in.box looking for the "good" emails then we have the product for you. Your
time is valuable, so having your inbox flooded with junk messages is not only
annoying, but also costly. 

<P> The answer to all your problems is here...

<P> http://ads.msn.com/ads/adredir.asp?image=/ads/IMGSFS/nfzh7goeasl4sj06.gif&amp;
url=http://www.m%69cr%6Fwh%6Fl%65s%61l%65d%69sc%6F%75nts.%69nf%6F%2F%732/?AFF%5FID=%78whh076mzt
</STRONG>

<BLOCKQUOTE>
<P>
    <STRONG>[Jimmy O'Regan]</STRONG> 
    I like it, in a perverse way. What next, doctors coming around to your 
    house with a baseball bat... *crack*... "Perhaps you would like to take 
    advantage of my special rates in plaster casting?"


    <P>
    <STRONG>[Sluggo]</STRONG> 
    There was an episode of <I>I Love Lucy</I> where Lucy was a door-to-door
    vacuum saleswoman.  Some lady opened the door and Lucy immediately threw
    some dirt on her floor.  So the lady would have to let her demonstrate the
    vacuum as she cleaned it up.  Unfortunately the apartment she picked had
    new owners and the electricity hadn't been turned on yet.
    (<A HREF="http://www.lucystore.com/episodes/season2.html">episode #45, "Sales Resistance"</A>)

    <P>
    <STRONG>[Jason]</STRONG> 
    It's more like people walking into your house and saying "The door's
    unlocked! And you really ought to have a security system! But don't
    worry, I just happen to have some products availible...."
</BLOCKQUOTE>

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->

<STRONG>
<P>
From: "Microsoft" &lt;security@microsoft.com&gt;<BR>
Subject: Use this patch immediately !<BR>

<P>
Dear friend , use this Internet Explorer patch now!
There are dangerous virus in the Internet now!
More than 500.000 already infected!
</STRONG>

<BLOCKQUOTE><!-- begin Level 1 -->
    <P>
    <STRONG>[Sluggo]</STRONG> 
    <BR>Dear Answer Gang,<BR>
    This patch doesn't work.  I tried running it as suggested and it said:

<PRE>
ben@baldur# /tmp/patch.exe
/tmp/patch.exe: /tmp/patch.exe: cannot execute binary file
</PRE>

    Please respond immediately.  I don't want to get a virus.  Why do you
    computer guys send out software that doesn't work?  Also, my other
    computer is having trouble with Access.  You'd better fix it right away.

    <BLOCKQUOTE><!-- begin Level 2 -->
        <P>
        <STRONG>[Ben Okopnik]</STRONG> 
<PRE>
ben@baldur# /tmp/patch.exe
^^^^^^^^^^
</PRE>

        You *creep!* Sure, I know your kind; you'd be _glad_ to expose me to all
        those viruses, .exe files, and other sorts of nastiness. You'd probably
        replace my "vi" with "edlin" if you could, wouldn't you?

        <P>
        <STRONG>[Jason]</STRONG> 
        Did you try rebooting it?
    </BLOCKQUOTE><!-- end Level 2 -->

    <P>
    <STRONG>[Heather Stern]</STRONG> 
    Yes, but it still didn't patch internet explorer onto my Linux.  

    <BLOCKQUOTE><!-- begin Level 2 -->
        <P>
        <STRONG>[Pete Jewell]</STRONG> 
        That's because you got the syntax wrong, it's - 
<PRE>
ben@baldur# wine /tmp/patch.exe
</PRE>
        Sorry, couldn't resist ;-)
    </BLOCKQUOTE><!-- end Level 2 -->
</BLOCKQUOTE><!-- end Level 1 -->


<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->

<PRE>
Just like any g e n e r i c pharmaceutical We
Mrose Have you Seen
G.e.n.e.r.i.c: 

V i a g r a, A m b i e n, L i p i t o r, 
N e x i u m, P a x i l, P h e n t e r m i n e.,
V i o x x, and X a n a x to just name a few.

Just like any generic pharmaceutical, 
our products are less expensive than 
the brand name equivalents.

Generic viagra, at cheap prices.
Most places charge $20, we charge $3. 

Quite a difference, huh? with guarantees to.
</PRE>

<HR WIDTH="80% NOSHADE"><!-- ***************************************** -->

<PRE>
On Fri, Apr 02, 2004 at 12:53:28AM +0000, Genevieve Proctor wrote:
&gt; glwsihdkskrfoi pg fhw
&gt; fbgiy lnbynhp sauspdszuq
&gt; lcfdjycw   n kx
</PRE>

<BLOCKQUOTE>
    <STRONG>[Thomas Adam]</STRONG> 
    Well. Genevi&egrave;ve must be a doctor; they used to scribble absolutely
    indecipherable prescriptions by hand - but now they've brought that
    skill forward into the computer age! Amazing how some things never
    change.

    <P> On the other hand, that could be a message from my stock broker to tell
    me which stocks I need to buy... or is that sell? I keep getting
    confused, which is why I've ended up with a small fortune from playing
    the stock market. Oh, did I mention that I started with a large one?

    <P> /me walks off, past a guy with dark, dark sunglases. I know this guy.....
</BLOCKQUOTE>


<a name="ode"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H3><font color="maroon">Ode to Ben</font></H3></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

I couldn't leave without singing an ode to LG's new Editor, our resident
Russian spy.  It's another Rush song, "Red Lenses", from <I>Grace Under
Pressure</I> (1984), lyrics by Neal Peart.

<BLOCKQUOTE>
<H4><A HREF="http://www.2112.net/xanadu/lyrics/gup.html#redlenses">Red Lenses</A></H4>

<PRE>
I see red
it hurts my head
guess it must be something
that I read

it's the colour of your heartbeat
a rising summer sun
the battle lost --- or won
the flash to fashion
and the pulse to passion ---
feels red
inside my head
and truth is often bitter ---
left unsaid
said red red
thinking about the overhead ---
the underfed
-- couldn't we talk about
something else instead?

we've got mars on the horizon
says the national midnight star
(it's true)
what you believe is what you are
a pair of dancing shoes ---
the soviets are the blues ---
the reds
under your bed
lying ---
in the darkness
dead ahead

and the mercury is rising
barometer starts to fall
you know it gets to us all
the pain that is learning
and the rain that is burning ---
feel red
still --- go ahead
you see black and white ---
and I see red
(not blue) 
</PRE></BLOCKQUOTE>

<P> Yes, Ben, I know you don't know how to thank me for that song.  Cash will
be fine.  Just think of it as a little brib^H^H^H^Hcontribution for keeping my
mouth shut when Heather asked us all if there was any reason not to let Ben 
near LG's big red "Publish" button.

<a name="conclusion"></a>
<P> <hr> <P> 
<!--====================================================================-->

<center><H3><font color="maroon">Conclusion</font></H3></center>

<P> <HR> <P> 
<!--======================================================================-->
<P>

<P> If that's not enough for you, here's my favorite previous Back Pages.
It started as just a "Not Linux" section at the bottom
of the Back Page, but when the author bios moved to the separate Author
pages, the "Not Linux" section it kind of expanded like a supernova.
<UL>
<LI> <A HREF="../issue96/lg_backpage.html">#96</A> (ACK!; fish and water)
<LI> <A HREF="../issue81/lg_backpage.html">#81</A> (LG in England; Belwulf)
<LI> <A HREF="../issue76/lg_backpage.html">#76</A> (is Tux male or female?)
<LI> <A HREF="../issue74/lg_backpage.html">#74</A> (ext2 and Esperanto)
<LI> <A HREF="../issue70/lg_backpage.html">#73</A> (the great riffle caper; 1001
uses for a dead hard drive)
<LI> <A HREF="../issue72/lg_backpage.html">#72</A> (using the Hack button)
<LI> <A HREF="../issue71/lg_backpage.html">#71</A> (Red Bat Linux; how to crack your
school's computers)
<LI> <A HREF="../issue70/lg_backpage.html">#70</A> (how to set up an Internet
caf&eacute;)
<LI> <A HREF="../issue67/lg_backpage.html">#67</A> (rhubarb)
<LI> <A HREF="../issue64/lg_backpage.html#notlinux">#64</A> (Windows box
picture)
<LI> <A HREF="../issue63/lg_backpage.html#notlinux">#59</A> (MS Office
screenshots)
<LI> <A HREF="../issue59/lg_backpage.html#notlinux">#59</A> (Amish virus)
</UL>


<P> <STRONG><EM>Happy Linuxing!</EM></STRONG>


</p>



<!-- *** BEGIN author bio *** -->
	<!-- *** BEGIN bio *** -->
<P>
<IMG ALT="picture" SRC="../gx/2003/authors/orr.jpg" WIDTH="235" HEIGHT="333"
   ALIGN="left"  HSPACE="10" VSPACE="10">
<em>
Mike is the Editor-in-Chief of <I>Linux Gazette</I>.  You can read what he has
to say on the Back Page of many issues.  He has been a Linux enthusiast
since 1991 and a Debian user since 1995.  Non-computer interests include
wrestling, ska and oi! and ambient music, and the international language
Esperanto.  He's been known to listen to Dvorak, Schubert, Mendelssohn, and
Khachaturian too.
</em>
<br CLEAR="all">
<!-- *** END bio *** -->

<!-- *** END author bio *** -->




<div id="articlefooter">



<p>
Copyright &copy; 2004, <A HREF="authors/orr.html">Mike Orr (Sluggo)</A>. Copying license 
<a href="http://linuxgazette.net/copying.html">http://linuxgazette.net/copying.html</a>
</p>



<p>
Published in Issue 102 of Linux Gazette, May 2004
</p>

</div>




</div>

<br />





</body>
</html>