File: balsa.xml

package info (click to toggle)
balsa 2.3.13-3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 16,032 kB
  • ctags: 7,261
  • sloc: ansic: 79,348; sh: 8,731; xml: 4,721; makefile: 485; awk: 60
file content (4848 lines) | stat: -rw-r--r-- 151,254 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS/DTD DocBookXML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY mdash "--">
<!-- replace with actual application  version number-->
<!ENTITY version "2.2"> 
<!ENTITY Balsa "<application>Balsa</application>"> 
<!ENTITY Mutt "<application>Mutt</application>"> 
<!ENTITY GnomeCard "<application>GnomeCard</application>"> 
<!ENTITY Pine      "<application>pine</application>">
<!ENTITY procmail  "<application>procmail</application>">
<!ENTITY balsalist "http://mail.gnome.org/mailman/listinfo/balsa-list">
<!ENTITY IMAP 
'<glossterm linkend="glossary-imap"><acronym>IMAP</acronym></glossterm>'>
<!ENTITY LDAP
'<glossterm linkend="glossary-ldap"><acronym>LDAP</acronym></glossterm>'>
<!ENTITY POP3
'<glossterm linkend="glossary-pop"><acronym>POP3</acronym></glossterm>'>
<!ENTITY SMTP
'<glossterm linkend="glossary-smtp"><acronym>SMTP</acronym></glossterm>'>
<!ENTITY VCARD
'<glossterm linkend="glossary-vcard"><acronym>VCARD</acronym></glossterm>'>
]>
<!-- the update instructions:
The usual way the .SGML file is split into .html files is by section
of the first order (sect1).

The stuff that should always be in separate sections is:
- main window     (win-main)
- compose window  (win-composer)
- message window  (win-message).
- each page of the preferences. (preferences-[page-title])
  (when editing/correcting the source, emphasize the page title).
- mailbox configuration. (folder-config)
- toolbar customization (toolbars).
- identities (identities).

Extra sections of general character are presently:
- introduction
- getting started.
- mbox-formats.
- common-tasks
- its-not-working
- authors

General advices:

* If you use emacs, you will find View /hide all tags menu option very
  useful.

* Use entities to make the source more readable.
-->

<article id="index" lang="en">

<articleinfo>

<title>Balsa User's Guide</title>

<copyright>
  <year>1997-2006</year>
  <holder>Stuart Parmenter and others, see AUTHORS for a list of people
  </holder>
</copyright>

<legalnotice id="license">
  <para>
    Permission is granted to make and distribute verbatim copies of
    this manual provided the copyright notice and this permission
    notice are preserved on all copies.
  </para>

  <para>
    Permission is granted to copy and distribute modified versions of
    this manual under the conditions for verbatim copying, provided
    that the entire resulting derived work is distributed under the
    terms of a permission notice identical to this one.
  </para>

  <para>
    Permission is granted to copy and distribute translations of this
    manual into another language, under the above conditions for
    modified versions, except that this permission notice may be
    stated in a translation approved by the Free Software Foundation.
  </para>

  <para> UNIX is a trademark of X/Open Group.</para>
  <para> Linux is a trademark of Linus Torvalds.</para>
  <para> X Window System is a trademark of X Consortium, Inc.</para>
  <para> Windows is a trademark of Microsoft Corp.</para>
  <para> Macintosh and Apple are trademarks of Apple Computer, Inc.</para>
  <para> All other trademarks are property of their respective owners.</para>
</legalnotice>

<releaseinfo> 
This is version 2.721 of the &Balsa; manual.
</releaseinfo>

<revhistory><revision><date>26 February 2006</date></revision></revhistory>

</articleinfo>

<abstract>

<para>
  &Balsa; is a graphical mail client. While it is in active
  development, &Balsa; has many features such as: &IMAP; and
  &POP3; support;
  sendmail or direct &SMTP; support;
  optional multi-threaded retrieval and sending of messages; support
  for all configurations of local mail folders; automatic mail
  checking; mail printing; inline attachment viewing; and the
  proverbial much, much more.
</para>

<para>
  This document will introduce a person who understands mail to using
  &Balsa;. However, it will not explain email
  to a confused individual. If you're looking for that, try asking a
  friend or visiting the <ulink
  url="http://www.cs.queensu.ca/FAQs/email/" type="http">Email
  FAQ</ulink>.
</para>
</abstract>

<!-- ################################################################# -->
<!--                   GENERAL STUFF                                   -->
<!-- ################################################################# -->

<sect1 id="introduction">
<title>Introduction</title>
    
<graphic fileref="figures/balsa_logo.png" format="PNG" srccredit="tigert"></graphic>

<para>
  &Balsa; is a graphical mail client similar to Eudora on Windows. It
  supports the standard features of any good reader and has new
  features added continually. See the abstract above for a quick
  feature rundown.
</para>

<para>
  &Balsa; is written using <acronym>GTK+</acronym> and
  <acronym>GNOME</acronym>. Originally based on libmutt, the back end code
  to &Mutt;, &Balsa; now uses a combination of GMime for handling Mime
  messages, and its own drivers for local and remote mailstores.
</para>

<para>
  If you want to learn more about &Balsa;, your best bet is the
  mailing list <email>balsa-list@gnome.org</email>, which can be
  subscribed to by going to the website <ulink
  url="&balsalist;">&balsalist;</ulink> or by sending a message with a
  subject of <emphasis>subscribe</emphasis> to
  <email>balsa-list-request@gnome.org</email>. Bugs can be reported
  via <application>bug-buddy</application>, <application>gnome-bug
  </application> or to <email>submit@bugs.gnome.org</email>.
</para>
</sect1> <!-- id=introduction -->

<!-- ################################################################# -->
<sect1 id="getting-started">
<title>Getting Started with &Balsa;</title>

<para>
  If you're starting &Balsa; for the first time, the first thing
  you'll see is a <glossterm
  linkend="glossary-druid">Druid</glossterm> that will set up
  &Balsa;'s basic settings. &Balsa; can guess most of what it needs to
  know about you. It will also create five standard local mailboxes:
  the Inbox, Outbox, Sentbox, Draftbox, and Trash. (These can be
  changed to be &IMAP; mailboxes later.)
</para>

<figure>
  <title>&Balsa; Start Druid</title>
  <screenshot>
    <mediaobject> 
      <imageobject><imagedata
    	fileref="figures/druid-start.png" format="PNG"/> 
      </imageobject>
    </mediaobject>
  </screenshot>
</figure>

<para>
  Don't worry. &Balsa; cooperates with other <glossterm
  linkend="glossary-mua"><acronym>MUA</acronym></glossterm>'s very
  well.  They share the same locking semantics for mailboxes. If
  &Balsa; shares the same mail directory as
  &Pine; or &Mutt;,
  it will detect new folders as they are created. So if you have to
  telnet in to your mail machine, you won't be stuck.
</para>

<para>
  There are many more settings in &Balsa;'s
  <link linkend="preferences">preferences window</link>, but most of them do
  not need to be changed.
</para>

<para>
  Once &Balsa; is configured, you will proceed on to the
  <link linkend="win-main">main window</link>.
</para>
</sect1> <!-- id=getting-started -->

<!-- ################################################################# -->
<!--                 SECTION: MAIN WINDOW                              -->
<!-- ################################################################# -->
<sect1 id="win-main">
<title>The Main Window</title>

<figure>
<title>Main Window</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/main-window.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<para>
  &Balsa;'s main window has three major areas. To the left is the
  <link linkend="subwin-mblist">mailbox list</link>.
  This displays all the mailboxes
  &Balsa; knows about; it will scan for ones in your local mail
  directory. (This means &Balsa; works well with &procmail;.)  It will
  also list &IMAP; mailboxes that you have configured.  If
  the <guilabel>Show Mailbox Info</guilabel> preference is set,
  two columns will also be
  displayed next to the mailbox names containing the number of unread
  and total messages in each mailbox that has unread messages.  (The
  other mailboxes will not have their contents probed.) Also, any
  mailboxes that contain unread messages will be shown in a bold font.
</para>

<para>
  At the top-right is a view of the currently open mailbox, called the
  <link linkend="subwin-msgindex">message index</link>. You can
  browse messages and manipulate them here.
</para>

 <para>
  At the bottom-right of &Balsa;'s main window is the
  <link linkend="subwin-msgview">message view</link>.
  This displays the message selected in the message listing. You
  can save attachments, view attachments, and read incoming email
  here.
</para>

  <sect2 id="menubar">
  <title>Menu &amp; Toolbar</title>

  <figure>
  <title>Main Window Toolbar</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/main-window-toolbar.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
  </figure>

  <para>
    The menu bar, located at the top of the Main Window,
    provides the following commands:
  </para>

  <variablelist>
  <varlistentry>
  <term><menuchoice><guimenu>File</guimenu></menuchoice></term>

  <listitem>
    <para>This menu contains basic commands.</para>

    <itemizedlist>
      <listitem>
	<variablelist>
	  <varlistentry>

    <term>
      <menuchoice>
        <guimenu>File</guimenu><guisubmenu>New</guisubmenu>
      </menuchoice>
    </term>
		    
    <listitem>
      <itemizedlist>
	<listitem>
	  <para>
	    <menuchoice>
              <shortcut><keysym>M</keysym></shortcut>
	      <guimenu>File</guimenu>
 	      <guisubmenu>New</guisubmenu>
	      <guimenuitem>Message...</guimenuitem>
	    </menuchoice> &mdash; 
			    
	    Create a new message, and display a new window to type the
	    message in.
	  </para>
	</listitem>
			
	<listitem>
	  <para>
	    <menuchoice>
	      <guimenu>File</guimenu>
	      <guisubmenu>New</guisubmenu>
	      <guimenuitem>Mailbox...</guimenuitem>
	    </menuchoice> &mdash; 
			    
	    Open a dialog box to create a new mailbox.  There are
	    various items like this, corresponding to the different
	    types of mailbox that &Balsa; supports. See the <link
	    linkend="mbox-formats">discussion of different mailbox
	    formats</link> and their advantages and disadvantages.
	  </para>
	</listitem>
			
	<listitem>
	  <para>
	    <menuchoice>
	      <guimenu>File</guimenu>
	      <guisubmenu>New</guisubmenu>
	      <guimenuitem>Remote IMAP folder...</guimenuitem>
	    </menuchoice> &mdash; 
		    
	    Open a dialog box to create a folder for an account on an
	    IMAP server.  This <link linkend="folder-config">IMAP
	    folder properties</link> dialog can also be used to change
	    the details of the account.
	  </para>
	</listitem>
			
	<listitem>
	  <para>
	    <menuchoice>
	      <guimenu>File</guimenu>
	      <guisubmenu>New</guisubmenu>
	      <guimenuitem>Remote IMAP
	        subfolder...</guimenuitem>
	    </menuchoice> &mdash; 
		    
	    Open a dialog box to create a new subfolder in an existing
	    IMAP folder tree. This <link
	    linkend="subfolder-config">IMAP subfolder
	    properties</link> dialog can also be used to rename or
	    move a subfolder.
	  </para>
	</listitem>
      </itemizedlist>
    </listitem>

  </varlistentry>
</variablelist>
</listitem>

<listitem>
  <para>
    <menuchoice>
      <shortcut><keysym>C</keysym></shortcut>
      <guimenu>File</guimenu>
      <guimenuitem>Continue</guimenuitem>
    </menuchoice> &mdash; 

    Continue a postponed message.
  </para>
</listitem>
      
<listitem>
  <para>
    <menuchoice>
    <shortcut>
              <keycombo><keysym>Ctrl</keysym><keysym>M</keysym></keycombo>
	    </shortcut>
	    <guimenu>File</guimenu> 
	    <guimenuitem>Get New Mail</guimenuitem> 
	  </menuchoice> &mdash;
		  
	  This causes &Balsa; to attempt to retrieve any new messages
	  from the &POP3; server. </para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>T</keysym></keycombo>
	    </shortcut>
	    <guimenu>File</guimenu>
	    <guimenuitem>Send Queued Mail</guimenuitem>
	  </menuchoice> &mdash; 
	  Send all mail waiting in the Outbox mailbox to the
	  mail server now.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>B</keysym></keycombo>
	    </shortcut>
	    <guimenu>File</guimenu>
	    <guimenuitem>Send and Receive Mail</guimenuitem>
	  </menuchoice> &mdash; 
	  Send all mail waiting in the Outbox mailbox to the
	  mail server now and retrieve any new messages.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Print</guimenuitem>
	  </menuchoice> &mdash; 

	  Print the currently selected message (displayed in
	  the message view pane.)
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>B</keysym></shortcut>
	    <guimenu>File</guimenu>
	    <guimenuitem>Address Book</guimenuitem>
	  </menuchoice> &mdash; 
	  Open &Balsa;'s address book.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Exit</guimenuitem>
	  </menuchoice>
	  &mdash; Exit the program.
	</para>
      </listitem>
    </itemizedlist>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guimenu>Edit</guimenu></term>
  <listitem>
    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Copy</guimenuitem>
	  </menuchoice> &mdash; 
	  
	  Copy selected text to the clipboard.
	</para>
     </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Select All</guimenuitem>
	  </menuchoice> &mdash; 
	  Select all text in the currently displayed message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Find</guimenuitem>
	  </menuchoice> &mdash; 
	  Find messages in the current mailbox that match a given
	  set of conditions, using the
	  <link linkend="win-search">search mailbox window</link>.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Find next</guimenuitem>
	  </menuchoice> &mdash; 
	  Find the next matching message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Filters</guimenuitem>
	  </menuchoice> &mdash; 
	  Open up the
	  <link linkend="win-filters">filters window</link>.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Export filters</guimenuitem>
	  </menuchoice> &mdash; 
	  Open up a window for exporting filters in the Sieve format.
	</para>
      </listitem>

    </itemizedlist>

  </listitem>
</varlistentry>

<varlistentry>
  <term><guimenu>View</guimenu></term>
  <listitem>
    <para>Menu for changing how messages are viewed.</para>

    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>View</guimenu>
	    <guimenuitem>Show Mailbox Tree</guimenuitem>
	  </menuchoice> &mdash; 

	  Toggle the display of the mailbox tree in the main window.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>View</guimenu>
	    <guimenuitem>Show Mailbox Tabs</guimenuitem>
	  </menuchoice> &mdash; 

	  Toggle the display of tabs for all open mailboxes.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>View</guimenu>
	    <guimenuitem>Wrap</guimenuitem>
	  </menuchoice> &mdash; 

	  Toggle the display of messages using word wrap.  The column
	  to which the message is wrapped is set in the
	  <link linkend="preferences">Preferences</link> window.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>View</guimenu> <guimenuitem>No
	    Headers</guimenuitem> </menuchoice>,
	  <menuchoice>
	    <guimenuitem>Selected Headers</guimenuitem>
	  </menuchoice>, 
	  <menuchoice>
	    <guimenuitem>All Headers</guimenuitem>
	  </menuchoice> &mdash; 

	  Select the headers to display in the message pane.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>View</guimenu>
	     <guimenuitem>Flat index</guimenuitem>
	  </menuchoice>,
        <menuchoice><guimenuitem>Simple threading</guimenuitem></menuchoice>,
        <menuchoice><guimenuitem>JWZ threading</guimenuitem>
	  </menuchoice> &mdash; 

	  Select the type of threading used to sort the messages in the list pane.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>E</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Expand All</guimenuitem>
	  </menuchoice> &mdash; 
	  Expand all threads in the currently displayed mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>L</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Collapse All</guimenuitem>
	  </menuchoice> &mdash; 
	  Collapse all threads in the currently displayed mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>View</guimenu>
	     <guimenuitem>Zoom In</guimenuitem>
	  </menuchoice>,
        <menuchoice><guimenuitem>Zoom Out</guimenuitem></menuchoice>,
        <menuchoice><guimenuitem>Zoom 100%</guimenuitem>
	  </menuchoice> &mdash; 

	  Alter the font size of HTML messages.
	  Plain text messages will always use the font specified in the
	   <link linkend="preferences">Preferences</link> window.
	</para>
      </listitem>

    </itemizedlist>

  </listitem>
</varlistentry>

<varlistentry>
  <term><guimenu>Mailbox</guimenu></term>
  <listitem>
    <para>For manipulating mailboxes.</para>
    <itemizedlist>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>N</keysym></shortcut>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Next</guimenuitem>
	  </menuchoice> &mdash; 

	  Select the next message in the current mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>P</keysym></shortcut>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Previous</guimenuitem>
	  </menuchoice> &mdash; 

	  Select the previous message in the current mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>N</keysym></keycombo>
	    </shortcut>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Next Unread</guimenuitem>
	  </menuchoice> &mdash; 

	  Select the next unread message in the current mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo>
	        <keysym>Ctrl</keysym><keysym>Alt</keysym><keysym>F</keysym>
	      </keycombo>
	    </shortcut>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Next Flagged</guimenuitem>
	  </menuchoice> &mdash; 

	  Select the next flagged message in the current mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Hide messages</guimenuitem>
	  </menuchoice> &mdash; 

	  A submenu listing all the types of messages that may be hidden and
	  unhidden in the current mailbox.  Types in the submenu are toggled
	  when selected.  A Checkmark indicates it is currently hidden.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Reset Filter</guimenuitem>
	  </menuchoice> &mdash; 

	  Resets to the mailbox filter.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Select All</guimenuitem>
	  </menuchoice> &mdash; 

	  Selects all messages in the current mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Edit...</guimenuitem>
	  </menuchoice> &mdash; 

	  Edit mailbox properties.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Delete...</guimenuitem>
	  </menuchoice> &mdash; 
	  
	  Delete the currently selected mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Expunge Deleted Messages</guimenuitem>
	  </menuchoice> &mdash; 

	  Physically remove from the backing mailstore all messages
	  marked as deleted.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Close</guimenuitem>
	  </menuchoice> &mdash; 

	  Close the currently selected mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Empty Trash</guimenuitem>
	  </menuchoice> &mdash; 

	  Delete all messages from the <symbol>Trash</symbol> mailbox.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Mailbox</guimenu>
	    <guimenuitem>Select Filters</guimenuitem>
	  </menuchoice> &mdash; 

	  Pop up a dialog that allows you to control which filters are
          applied to this mailbox, and optionally to apply them.
	</para>
      </listitem>

    </itemizedlist>

  </listitem>
</varlistentry>

<sect2 id="subwin-messagemenu">
<varlistentry>
  <term><guimenu>Message</guimenu></term>
  
  <listitem>
    <para>This menu has commands for manipulating messages.</para>
    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>R</keysym></shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Reply...</guimenuitem>
	  </menuchoice> &mdash; 
	  Reply to the currently selected message(s).
        </para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>A</keysym></shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Reply to All...</guimenuitem>
	  </menuchoice> &mdash; 

	  Reply to the currently selected message(s), sending the
	  reply to all senders and recipients of the message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>G</keysym></shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Reply to Group...</guimenuitem>
	  </menuchoice> &mdash; 

	  Reply to a mailing list, instead of the sender to that list.
	</para>
      </listitem>

      <listitem>
	<para><menuchoice>
	    <shortcut><keysym>F</keysym></shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Forward attached...</guimenuitem>
	  </menuchoice> &mdash; 

	  Forward the currently selected message(s) as an attachment.
	</para>
      </listitem>

      <listitem>
	<para><menuchoice>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Forward inline...</guimenuitem>
	  </menuchoice> &mdash; 

	  Forward the currently selected message(s), quoted inline.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>.</keysym></keycombo>
	    </shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Next Part</guimenuitem>
	  </menuchoice> &mdash; 

	  View the next part of the message (if the message is
	  multi-part).
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>,</keysym></keycombo>
	    </shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Previous Part</guimenuitem>
	  </menuchoice> &mdash; 

	  View the previous part of the message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
              <keycombo><keysym>Ctrl</keysym><keysym>S</keysym></keycombo>
	    </shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Save Current Part...</guimenuitem>
	  </menuchoice> &mdash; 

	  Save the currently selected part of the message to a file.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
              <keycombo><keysym>Ctrl</keysym><keysym>U</keysym></keycombo>
	    </shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>View Source...</guimenuitem>
	  </menuchoice> &mdash; 

	  Opens a new window that displays the raw message as received from the 
       <glossterm linkend="glossary-mta">MTA</glossterm>.
   </para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Copy</guimenuitem>
	  </menuchoice> &mdash; 
	  
	  Copies to the clipboard any text selected in the message view of
	  the current message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Select Text</guimenuitem>
	  </menuchoice> &mdash; 
	  
	  Selects the entire text of the current message in the message view.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>D</keysym></shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Move to Trash</guimenuitem>
	  </menuchoice> &mdash; 
	  
	  Moves the currently selected message(s) to the Trash.
	</para>
      </listitem>

    <listitem>
      <itemizedlist>

	<variablelist>
	  <varlistentry>
    <term>
      <menuchoice>
        <guimenu>Message</guimenu><guisubmenu>Toggle flag</guisubmenu>
      </menuchoice>
    </term>

	<listitem>
	  <para>
	    <menuchoice>
         <shortcut><keysym>X</keysym></shortcut>
	      <guimenu>Message</guimenu>
 	      <guisubmenu>Toggle flag</guisubmenu>
	      <guimenuitem>Flagged</guimenuitem>
	    </menuchoice> &mdash; 
			    
	  Toggle the flag on the currently selected message(s).  This
	  is shown as an exclamation mark next in the message index.
	  </para>
	</listitem>

	<listitem>
	  <para>
	    <menuchoice>
         <shortcut>
           <keycombo><keysym>Ctrl</keysym><keysym>D</keysym></keycombo>
         </shortcut>
	      <guimenu>Message</guimenu>
	      <guisubmenu>Toggle flag</guisubmenu>
	      <guimenuitem>Deleted</guimenuitem>
	    </menuchoice> &mdash; 
			    
	  Marks the message as set for deletion.  The message will be
	  actually removed from the backing mailstore when it is
          <quote>expunged</quote> either manually, or as specified in the
	  <link linkend="preferences">Preferences</link>.
	  The icon is a small trash can.
	  </para>
	</listitem>
			
	<listitem>
	  <para>
	    <menuchoice>
         <shortcut>
           <keycombo><keysym>Ctrl</keysym><keysym>R</keysym></keycombo>
         </shortcut>
	      <guimenu>Message</guimenu>
	      <guisubmenu>Toggle flag</guisubmenu>
	      <guimenuitem>New</guimenuitem>
	    </menuchoice> &mdash; 

		 Marks a message that has been read as new, and vice-versa.
		 The message will display the standard icon and font for a
		 new message.
	  </para>
	</listitem>
			
	<listitem>
	  <para>
	    <menuchoice>
	      <guimenu>Message</guimenu>
	      <guisubmenu>Toggle flag</guisubmenu>
	      <guimenuitem>Answered</guimenuitem>
	    </menuchoice> &mdash; 

       Toggles the reply icon for a message.
	  </para>
	</listitem>

	  </varlistentry>
	</variablelist>

      </itemizedlist>
    </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut><keysym>S</keysym></shortcut>
	    <guimenu>Message</guimenu>
	    <guimenuitem>Store Address...</guimenuitem>
	  </menuchoice> &mdash; 

	  Add the sender of the currently selected message to
	  your address book.
	</para>
      </listitem>
	      
    </itemizedlist>
  </listitem>
</varlistentry>
</sect2>

<varlistentry>
<term><guimenu>Settings</guimenu></term>

  <listitem>
    <para>Menu for changing &Balsa;'s configuration.</para>

    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Settings</guimenu>
	    <guimenuitem>Preferences...</guimenuitem>
	  </menuchoice> &mdash; 
		  
	  Open the <link linkend="preferences">Preferences</link>
	  window to change the settings of &Balsa;.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Settings</guimenu>
	    <guimenuitem>Toolbars...</guimenuitem>
	  </menuchoice> &mdash;
	  
	  Open the <link linkend="toolbar-prefs">Toolbars</link>
     window to modify the content and arrangement of the toolbars in &Balsa;.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Settings</guimenu>
	    <guimenuitem>Identities...</guimenuitem>
	  </menuchoice> &mdash;
	  
	  Open the <link linkend="identities">Identities</link>
     window to customize how you present yourself to the rest of the world.
	</para>
      </listitem>
    </itemizedlist>
  </listitem>
</varlistentry>
</variablelist>      
</sect2>


<sect2 id="subwin-mblist">
<title>The Mailbox List</title>

<para>
  The mailbox list in the main window lists all of your mailboxes.
  &Balsa; will automatically detect your local mailboxes by searching
  for mailboxes under your local mail directory (probably
  ~/mail). This lets &Balsa; coexist with &Pine; and &procmail;
  without causing problems.
</para>
      
<para>
  Your mailboxes will be displayed as a tree view, with mailboxes in
  subdirectories of your local mail directory initially hidden but
  accessible by expanding the tree. &IMAP; mailboxes will also be
  displayed as being at the top level of the tree. &POP3; mailboxes
  are not displayed.
</para>

</sect2>

<sect2 id="subwin-msgindex">
<title>The Message Index</title>

<para>
  The message index displays the messages in the current folder, and
  lets you choose which messages to view. Click on the notebook tabs,
  or click on a folder in the <link linkend="subwin-mblist">mailbox list</link>
  to bring it to the front.
</para>
      
<para>
  From the message index you can do a lot. Clicking on a message will
  cause it to be displayed in the message view. Right-clicking on it
  will give a pop-up menu letting you reply to the message (or forward
  it, etc.) and move it to another folder (using the
  <guimenuitem>Move to</guimenuitem> menu
  item).  Double-clicking on a message will open it in a separate
  window.  Also, it is possible to drag and drop messages from the
  index to other mailboxes in the mailbox list and open mailbox
  tabs.
</para>

<para>The pop-up (context) menu contains the following items:</para>

<itemizedlist>
      <listitem>
	<para>
    <menuchoice><guimenuitem>Reply</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Reply To All</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Reply To Group</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Forward Attached</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Forward Inline</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Store Address</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Delete</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Undelete</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Move To Trash</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Toggle Flagged</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Toggle Unread</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>Move to</guimenuitem></menuchoice>,
    <menuchoice><guimenuitem>View Source</guimenuitem></menuchoice> &mdash;

     These perform the same actions as their counterparts in the
     <link linkend="subwin-messagemenu">message menu</link>.
	</para>
      </listitem>
</itemizedlist>

<itemizedlist>
<listitem>
  <para>
    <menuchoice>
      <guimenu>Move to</guimenu>
	  </menuchoice> &mdash;
	  
     Moves the currently selected message(s) to another mailbox.
     When this menu item is selected a list of available mailboxes
     is displayed from which the destination should be selected. 
  </para>
</listitem>
</itemizedlist>

</sect2>

<sect2 id="subwin-msgview">
<title>The Message View</title>

<para>
  This displays the email that is selected in the message
  index.  Message headers are displayed above the main text of the
  message, unless they have been disabled.  The text of the message is
  shown below the headers.
</para>

<para>
  If the message is multipart, an attachment icon will appear beside
  the headers.  Clicking this icon will display a list of the parts
  from which you may select one.  If &Balsa; is unable to display
  it, you will be given a choice of applications known to handle the
  part.  Additionally, there is always an option to save the attachment
  to a file.
</para>

<note>
  <para>
    Currently &Balsa; only supports viewing <acronym>HTML</acronym>
    messages when compiled with <application>gtkhtml</application>
    support. gtkhtml support is fairly stable nowadays and will be
    compiled in if gtkhtml-devel files is found.
  </para>
</note>

<para>
  You are not restricted to that pane either. Double-clicking on a
  message in the message index will open it in a <link
  linkend="win-message">separate window</link>.
</para>
</sect2>
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: COMPOSE WINDOW                           -->
<!-- ################################################################# -->
<sect1 id="win-composer">
<title>The Message Composer</title>

<figure>
  <title>Message Composition Window</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/newmsg-window.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>
    
<para>
  When the <guibutton>New Message</guibutton> or
  <guibutton>Reply</guibutton> or <guibutton>Forward</guibutton>
  action is selected, the message to be sent is brought up in the
  Message Composer.  This window is where you
  can type the text of the message, attach files, and specify
  recipients.  The window also provides an interface to spell check
  the message.  In the near future, it will be possible to perform
  signing and encryption of messages using
  <application>GnuPG</application> or
  <application><acronym>PGP</acronym></application>.
</para>

<para>
  When the message window first opens, you will see the several main
  sections:
</para>

<itemizedlist>
  <listitem><para>The menu bar</para></listitem>
  <listitem><para>Toolbar</para></listitem>
  <listitem><para>Mail headers</para></listitem>
  <listitem><para>The attachment box</para></listitem>
  <listitem><para>The message body</para></listitem>
</itemizedlist>

<para>These will each be covered in depth below:</para>

<sect2 id="win-composer-menu">
<title>Menu Bar</title>

<para>
  This contains all of the available commands for acting on the
  message, from selecting the headers to display to changing the
  character set of the message.  Some of the menu items are not always
  available, depending on what state the message is currently in.
</para>
      
<variablelist>
<varlistentry>
  <term><guimenu>File</guimenu></term>
  <listitem>
    <para>
      The file menu contains commands for manipulating the message as
      a whole.
    </para>

    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Include File...</guimenuitem>
	  </menuchoice> &mdash; 

	  Include a text file in the body of the message; only works
	  for plain text files.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Attach File...</guimenuitem>
	  </menuchoice> &mdash; 

	  Attach any kind of file to the message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Send</guimenuitem>
	  </menuchoice> &mdash; 

          Send the message.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Queue</guimenuitem>
	  </menuchoice> &mdash; 

          Queue the message in the outbox for sending later.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Postpone</guimenuitem>
	  </menuchoice> &mdash; 

	  Save the message in the <symbol>Draftbox</symbol> for later
	  revision and sending.  You will be unable to postpone a
	  message that is not currently valid.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>File</guimenu>
	    <guimenuitem>Print...</guimenuitem>
	  </menuchoice> &mdash; 
	  
	  Print a hard-copy of the current message.</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>W</keysym></keycombo>
	    </shortcut>
	    <guimenu>File</guimenu>
	    <guimenuitem>Close</guimenuitem>
	  </menuchoice> &mdash; 

	  Close and discard the current message.
	</para>
      </listitem>
    </itemizedlist>

    <note>
      <para>
         A message is considered valid (ready for sending) if it
	 contains only legal email addresses in the
	 <guilabel>To:</guilabel> field.
      </para>
    </note>

  </listitem>
</varlistentry>
	
<varlistentry>
<term><guimenu>Edit</guimenu></term>

  <listitem>
    <para>The Edit menu contains commands which are used to
      modify the body of the message.</para>
    
    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
              <keycombo><keysym>Ctrl</keysym><keysym>X</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Cut</guimenuitem>
	  </menuchoice> &mdash; 

	  Cut the selected text to the clipboard.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>C</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Copy</guimenuitem>
	  </menuchoice> &mdash; 

	  Copy the selected text to the clipboard
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>V</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Paste</guimenuitem>
	  </menuchoice> &mdash; 

	  Paste the contents of the clipboard to the current position
	  of the cursor.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>A</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Select All</guimenuitem>
	  </menuchoice>
	</para>
      </listitem>
	      
      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>Z</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Wrap Body</guimenuitem>
	  </menuchoice>

	  &mdash; Cause all the lines in the message to be wrapped to
	  the specified outgoing mail wrap column.
        </para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo><keysym>Ctrl</keysym><keysym>R</keysym></keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Reflow Paragraph</guimenuitem>
	  </menuchoice> &mdash; 

	  Cause all the lines in the paragraph the cursor is
	  in to be wrapped to the specified outgoing mail wrap
	  column.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo>
                <keysym>Ctrl</keysym><keysym>Shift</keysym><keysym>R</keysym>
	      </keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Reflow Message</guimenuitem>
	  </menuchoice> &mdash; 

	  Cause all the lines in the message to be wrapped to the
	  specified outgoing mail wrap column.
        </para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <shortcut>
	      <keycombo>
		<keysym>Ctrl</keysym><keysym>Shift</keysym><keysym>S</keysym>
	      </keycombo>
	    </shortcut>
	    <guimenu>Edit</guimenu>
	    <guimenuitem>Check Spelling</guimenuitem>
	  </menuchoice> &mdash; 

	  Start spell checking the current message.
	</para>
      </listitem>
    </itemizedlist>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guimenu>Show</guimenu></term>
  <listitem>
    <para>
      The Show menu is used to control which headers are displayed in
      the composer window for editing.
    </para>

    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>From</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>From</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>To</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>To</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Subject</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Subject</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Cc</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Cc</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Bcc</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Bcc</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Fcc</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Fcc</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Reply To</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Reply-To</literal> header.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Attachments</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Attachments</literal> box.
	</para>
      </listitem>

      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Comments</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Comments</literal> header.
	</para>
      </listitem>
	      
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Show</guimenu>
	    <guimenuitem>Keywords</guimenuitem>
	  </menuchoice>
	  &mdash; Display the <literal>Keywords</literal> header.
	</para>
      </listitem>

    </itemizedlist>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guimenu>Language</guimenu></term>
  <listitem>
    <para>
      The Language menu allows you to set the language to use for the
      composing the message.  Currently, &Balsa; does not support
      multiple character sets in a single message.  The current
      language in use is shown at the bottom of the menu, along with
      the character set in use. 
    </para>

    <para>The available languages include:</para>

    <itemizedlist>
      <listitem><para>Brazilian</para></listitem>
      <listitem><para>Catalan</para></listitem>
      <listitem><para>Chinese</para></listitem>
      <listitem><para>Czech</para></listitem>
      <listitem><para>Danish</para></listitem>
      <listitem><para>Dutch</para></listitem>
      <listitem><para>English</para></listitem>
      <listitem><para>Estonian</para></listitem>
      <listitem><para>Finnish</para></listitem>
      <listitem><para>French</para></listitem>
      <listitem><para>German</para></listitem>
      <listitem><para>Greek</para></listitem>
      <listitem><para>Hungarian</para></listitem>
      <listitem><para>Italian</para></listitem>
      <listitem><para>Japanese</para></listitem>
      <listitem><para>Korean</para></listitem>
      <listitem><para>Norwegian</para></listitem>
      <listitem><para>Polish</para></listitem>
      <listitem><para>Portugese</para></listitem>
      <listitem><para>Russian</para></listitem>
      <listitem><para>Slovak</para></listitem>
      <listitem><para>Spanish</para></listitem>
      <listitem><para>Swedish</para></listitem>
      <listitem><para>Turkish</para></listitem>
      <listitem><para>Ukranian</para></listitem>
    </itemizedlist>
    <para>and more may have been added.</para>

  </listitem>
</varlistentry>

<varlistentry>
  <term><guimenu>Options</guimenu></term>

  <listitem>
    <itemizedlist>
      <listitem>
	<para>
	  <menuchoice>
	    <guimenu>Options</guimenu>
	    <guimenuitem>Request Disposition Notification</guimenuitem>
	  </menuchoice>

	  &mdash; If checked &Balsa; will include the
          <literal>Disposition-Notification-To</literal> header line
          with your <literal>From</literal> address.  Please note that
          the handling of this request depends on the receiving mail
          program and that it not guaranteed that this notification
          will be sent back.
	</para>
      </listitem>
    </itemizedlist>
  </listitem>
</varlistentry>
</variablelist>
</sect2>


<sect2 id="win-composer-toolbar">
<title>Toolbar</title>

<para>
  The toolbar contains buttons for the most commonly used functions
  when sending messages, including Send, Attach File..., and Save.  As
  with the menu bar, some buttons are disabled if the message is not
  correctly setup to be sent.
</para>

<figure>
  <title>Toolbar</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/newmsg-window-toolbar.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<variablelist>
<varlistentry>
  <term><guibutton>Send</guibutton></term>
  <listitem>
    <para>
      Send the current message.  Only available if the message is
      legal to be sent (i.e. proper email addresses).  This button may
      also be configured to queue the message in the outbox to be sent
      later (see the
      <link linkend="preferences-outgoing">Preferences</link> dialog).
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Attach</guibutton></term>
  <listitem>
    <para>
      Open a dialog to attach a file to the current message.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Postpone</guibutton></term>
  <listitem>
    <para>
       Postpone the message to the Draftbox for later revision and
       sending.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Check Spelling</guibutton></term>
  <listitem>
    <para>
      Start a spell check on the current message.  &Balsa; can currently
      use either the standard <application>ispell</application> or the
      newer <application>aspell</application> to do the
      spell checking.  Settings for this can be found in the <link
      linkend="preferences-spelling">Preferences</link> dialog.
    </para>
  </listitem>
</varlistentry>
	
<varlistentry>
  <term><guibutton>Print</guibutton></term>
  <listitem>
    <para>Print out the draft of the message.</para>
  </listitem>
</varlistentry>
	
<varlistentry>
  <term><guibutton>Cancel</guibutton></term>
  <listitem>
    <para>
      Close the composition window without saving or sending the
      message within.
    </para>
  </listitem>
</varlistentry>

</variablelist>
</sect2>

<sect2 id="win-composer-headers">
<title>Headers</title>

<para>
  The headers area is where the information regarding where the
  message is being sent to and from, as well as comments and keywords
  can be entered.  All of the available headers are not shown by
  default, but they can be turned on and off very quickly using the
  menu.
</para>

<variablelist>

<varlistentry>
  <term><guilabel>From</guilabel></term>
  <listitem>
    <para>
      <literal>From</literal> is used to indicate the origin of the
      message, &Balsa; automatically fills this in for you if you have
      entered your name and email address in the <link
      linkend="identities">identities</link> window.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>To</guilabel></term>
  <listitem>
    <para>The <literal>To</literal> header is used to indicate
      the intended recipient of the message; &Balsa; automatically
      fills this in for you if you are replying to a
      message.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Subject</guilabel></term>
  <listitem>
    <para>
      The <literal>Subject</literal> header is used to summarize the
      topic of the message.
     </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Cc</guilabel></term>
  <listitem>
    <para>
      The &quot;Carbon Copy&quot; header.  A comma separated list of
      recipients other than the main recipient should go here.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Bcc</guilabel></term>
  <listitem>
    <para>
      The <literal>Bcc</literal>, or &quot;Blind Carbon Copy&quot;
      header.  Similar to the Cc header, except that email addresses
      placed in this header will not appear as recipients to readers
      of the message.  Also known as a &quot;silent&quot; carbon copy.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Fcc</guilabel></term>
  <listitem>
    <para>
      The <literal>Fcc</literal> header stands for
      &quot;Folder Carbon Copy&quot;, and it is used to specify
      any folders that you want the message copied to after
      being sent.  It is presented as a drop-down combo box with
      a list of all available mailboxes, simply select the
      destination.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Reply-To</guilabel></term>
  <listitem>
    <para>
      The <literal>Reply-To</literal> header is for specifying what
      email address you want any replies to go to.</para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Comments</guilabel></term>
  <listitem>
    <para>
      Although not widely used, the <literal>Comments</literal> header
      can be used to specify short comments for email's.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Keywords</guilabel></term>
  <listitem>
    <para>
      Again, not a very widely used header, this can be used to embed
      general information about the content of the message in the
      email, to allow for easier searching or filtering at a later
      date.</para>
  </listitem>
</varlistentry>

</variablelist>

<sect3 id="specify-addresses">
<title>Specifying Addresses</title>
	
<para>
  &Balsa; supports many different methods of selecting email addresss.
  All of the headers that can contain addresses have a small colored
  book to the right of them that will open up &Balsa;'s
  address book. 
</para>

<para>
  However, &Balsa; will also attempt to guess what the headers should
  contain depending on what context the composition window is opened in,
  so it may not be neccessary to fill
  them in most of the time.
</para>

<tip>
  <para>
    Also, &Balsa; supports alias expansion.  As you type a name, &Balsa;
    will guess the e-mail address from all the entries in the
    &GnomeCard; application.  To enable this feature, read the section
    on <link linkend="ct-alias-expansion">Alias Expansion</link>.  In
    addtion, the composition window supports drag-and-drop of
    addresses from the &GnomeCard; application.
  </para>
</tip>
</sect3>
</sect2>

<sect2 id="win-composer-attachments">
<title>Attachments</title>
      
<figure>
  <title>List of Attachments</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/newmsg-window-attachments.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<para>
  Below the headers may be a large box displaying a list of
  attachments;  this view can be toggled in the
  <guimenu>Show</guimenu> menu.
</para>

<para>
  When there are attachments displayed, it is possible to
  right-click on one of them to access an option menu.
  <guimenuitem>Inline</guimenuitem> and
  <guimenuitem>Attachment</guimenuitem>
  are mutually exclusive options that will display to the recipient
  either the attachment inline with the rest of the message,
  or separately as an attachment.  Selecting
  <guimenuitem>Reference</guimenuitem> will send a MIME external
  part reference (a kind of link) in lieu of the actual file.
  <guimenuitem>Remove</guimenuitem>, and any available
  <guimenuitem>Open with</guimenuitem> options are also available.
</para>

</sect2>

<sect2 id="win-composer-body">
<title>Message Body</title>
      
<para>
  Finally, below the attachment list is the main area of the window
  where the text of the message is displayed.  The text editing
  capabilities are very basic, but it supports cut, copy, and paste so
  it is possible to write a message in your favorite editor and simply
  paste it in.
</para>

<para>
  If the message is a reply or forward, the referenced message will be
  displayed in the body text widget, with the prefix specified in the
  <link linkend="preferences-outgoing">Preferences</link> dialog.
</para>
</sect2>

<sect2 id="win-composer-spellcheck">
<title>Spell Checker</title>

<para>
  Once the spell check has been started, it will take a moment to load
  the text and spell checking module, and then it will automatically
  begin checking the message.  If it finds any words that are
  incorrect, the word will be highlighted and a panel will be shown
  that offers a number of suggestions and available courses of action.
</para>

<figure>
  <title>Spell Checking Panel</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/spell-check.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<para>
  As shown above, the panel consists of a list of two panes, one the
  left containing a list of suggestions and an entry box, while the
  right contains several buttons to choose your action.  The list on
  the left is re-generated for each incorrect word, with all the
  suggestions the spell check program comes up with.  You can choose
  what program you want to use through loadable modules, selectable in
  the <link linkend="preferences-spelling">Preferences</link> dialog.  The
  entry box above the list is what will be used to replace the current
  word, and usually reflects the current selection in the list, but
  can be edited by hand if you wish to make manual changes.
</para>

<para>
  The buttons on the left control the actions to take for each
  incorrect word.  The buttons include:
</para>

<variablelist>
<varlistentry>
  <term><guibutton>Change</guibutton></term>
  <listitem>
    <para>
      Change the incorrect word with the currently selected suggested
      word or the user's edited word.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Change All</guibutton></term>
  <listitem>
    <para>
      Change all occurances of the current incorrect word with the
      currently selected suggestion.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Ignore</guibutton></term>
  <listitem>
    <para>
       Ignore the current incorrect word and continue to the next one.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Ignore All</guibutton></term>
  <listitem>
    <para>
      Ignore all occurrances of the current word, and continue to the
      next incorrect word.
     </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Learn</guibutton></term>
  <listitem>
    <para>
      Add the current incorrect word to your personal dictionary.
      This will cause it to be considered correct for all future spell
      checks.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Done</guibutton></term>
  <listitem>
    <para>
      Stop the spell check at the current point, keeping all changes
      so far and returning to the normal message window
      interface.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Cancel</guibutton></term>
  <listitem>
    <para>
      Stop the spell check at the current point, reverting all changes
      so far, including any words added to your personal dictionary.
    </para>
  </listitem>
</varlistentry>
</variablelist>

</sect2>
    
<sect2 id="addr-book-buttons">
<title>Address Book</title>

<para>
   When composing a message, clicking on any of the colored book
   icons next to a destination field (To, Cc, Bcc) will bring up the
   &Balsa; address book.  It helps you to select recipients for your
   messages quickly and easily.
</para>

<figure>
  <title>Address Book Window</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/address-book.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<para>
  The address book provides two panes, the one on the left consisting
  of all available addresses, while the one on the right contains the
  intended recipients of your message.  Addresses are added to the
  recipient list by selecting them in the left pane and clicking the
  arrow button pointing to the right, or by simply double-clicking on
  the address.  This will remove the address from the left pane, so
  they cannot be added more than once.  If you decide that you no
  longer want to send the message to a particular address, simply
  select it in the right-hand pane and click the left-arrow button, or
  double-click it again, to move it back.
</para>

<para>
  If, while selecting people to send your message to, you decide to
  add someone new to the address book, it is a simple matter to click
  on the <guibutton>Run GnomeCard</guibutton> button.  This will bring
  up the &GnomeCard; application, allowing you to easily manipulate
  your contact list.  After any changes have been made using the
  address book, they can be forced to show up in the left hand pane by
  clicking on the <guibutton>Re-Import</guibutton> button.
</para>
</sect2>
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: MESSAGE WINDOW                           -->
<!-- ################################################################# -->
<sect1 id="win-message">
<title>The Message Window</title>

<para>
  In addition to the preview pane, &Balsa; can display messages in
  separate windows.  Simply double-click on the desired message from
  the message index in the main window, or select the message and press
  the space bar.  Any number of windows may be
  opened, although only one per unique message.
</para>

<para>
  The message window has a menu and toolbar containing commands
  pertinent to an individual message.  Commands are as described in
  the <link linkend="win-main">main window</link>.
  Below the menu and toolbar are the message headers in a box,
  followed by the message body.
</para>

<figure>
  <title>Message Window</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/message-window.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<para>
  If your copy of &Balsa; has cryptographic support, there will be
  an icon in the header box depicting an envelope with a lock and a
  check mark.  Clicking the icon will check the key used to sign the
  message.  The message body will contain an icon and some
  descriptive text noting whether the signing key is valid, invalid,
  or unchecked.
</para>

<para>
  If the message contains attachments or more than one part of any
  kind, an attachment icon will be present in the header box as
  shown below.  Clicking this icon will show a menu of all available
  parts.  Selecting a part will update the display of the message
  body accordingly.
</para>

<figure>
  <title>Selecting a Message Part</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/msg-part-select.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>

<para>
  The <guimenuitem>complete message</guimenuitem> selection will 
  do its best to render all
  parts at once, but some may have to be selected individually or
  opened in an external program.  Parts which cannot be rendered
  within &Balsa; will instead display a list of options for opening
  external programs or saving the data.  Right-clicking on a part
  will also provide a menu with these options.
</para>

<para>
  Navigation between messages is possible without returning to the
  index in the main window.  Next unread being quite useful for
  checking all new mail.  Deleting the current message will
  automatically display the next unread one.  This behavior can be
  changed in the <link linkend="preferences">preferences</link>.
</para>

</sect1>

<!-- ################################################################# -->
<!--                 SECTION: PREFERENCES                              -->
<!-- ################################################################# -->
<sect1 id="preferences">
<title>The Preferences Window</title>

<para>
  &Balsa; has many more options than the initial <glossterm
  linkend="glossary-druid">Druid</glossterm> reveals.  To access the
  Preferences window, select
  <menuchoice>
      <guimenu>Settings</guimenu> <guimenuitem>Preferences</guimenuitem>
  </menuchoice>.
  In the Preferences window, options are organized into groups,
  and related groups are shown on individual pages.
  The pages and groups are explained below.
</para>

<!--
<figure>
  <title>Preferences Window</title>
  <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/preferences-window.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
  </screenshot>
</figure>
-->
</sect1>

<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/MAIL SERVERS              -->
<!-- ################################################################# -->
<sect1 id="preferences-mail-options">
<title>Mail Servers</title>

<para>
  This page lets you specify how you get POP3 mail, send mail, etc.
</para>

<variablelist>
  <varlistentry>
    <term><guilabel>Remote Mailbox Servers</guilabel></term>
   
  <listitem>
    <para>
      These are &IMAP; and &POP3; servers that you receive email
      from. The three buttons let you create, modify, and remove
      records. &POP3; mailboxes will not show up in the mailbox list.
      You can specify multiple servers, when adding a server you will
      be asked to give:

      <itemizedlist>
	<listitem><para>mailbox name that will identify the mailbox
        </para></listitem>

	<listitem><para>The server you have the POP mailbox on.
	</para></listitem>

	<listitem><para>The port that will be used to connect to the
	 server.  The port number is usually 110 but you may change it
	 if you for example use some kind of connection tunneling,
	 </para></listitem>

	<listitem><para>The user name on the mailbox server.
        </para></listitem>

	<listitem><para>Corresponding password.</para></listitem>
		
	<listitem><para>You can select the 'delete from server' button
          to remove the downoladed messages from the
          server.</para></listitem>
  
	<listitem><para>You can choose to have messages filtered through
                <application>procmail</application>.</para></listitem>

        <listitem><para>The <application>procmail</application> command.
        </para></listitem>

        <listitem><para>Whether to check for new mail.</para></listitem>

      </itemizedlist>
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Local Mail Directory</guilabel></term>
 
  <listitem><para> This is the directory that &Balsa; will scan
      looking for mail folders.</para></listitem>
</varlistentry>

<varlistentry>
    <term id="smtp-server-config">
        <guilabel>Outgoing Mail Servers</guilabel>
    </term>

  <listitem>
    <para>
      Most users will need only one outgoing mail server, but you may
      need to use more than one. &Balsa; allows you to set up as many as
      you need. The server used for a particular message is controlled
      by the <link linkend="identities">identity</link>
      you choose for the message.
    </para>
    <para>
      To view or change the details of a server, select it and click
      <guibutton>Modify</guibutton>. To create a new server, click
      <guibutton>Add</guibutton>.
      A dialog will open, showing the properties of the selected server.
      Specify the domain name and optionally the port for of the SMTP
      server you use for submitting mail.  Please note that the
      default port number is 587.  The syntax is hostname[:port].
      Port can be a decimal number or the name of the service as
      specified in <filename>/etc/services</filename>.  Typically you
      can just set this to <quote>localhost:smtp</quote>.
      &Balsa; can also break up a large message into fragments, which can
      be reassembled by &Balsa; or any RFC 2046-compliant mailer. This
      dialog allows you to set this option, and the size above which a
      message should be split.
    </para>
    <para>
        You will be asked to give:
      <itemizedlist>
	<listitem><para>A descriptive name that will identify the server
        </para></listitem>

	<listitem><para>The domain name and port
	</para></listitem>

	<listitem><para>The user name on the SMTP server.
      If the remote SMTP server requires authentication, enter your
      user name here.  Note that the exact format depends on the MTA
      in use.  For example, some systems expect a user name, others
      may require an email address.
        </para></listitem>

        <listitem><para>Corresponding pass phrase.
      If the remote SMTP server requires authentication, enter your
      pass phrase here.  Some systems refer to the pass phrase as a
      password.  Limitations on the length of the pass phrase depend
      on the SMTP server.
        </para></listitem>
		
	<listitem><para>When you want &Balsa; to use TLS.</para></listitem>

	<listitem><para>The TLS certificate pass phrase.</para></listitem>

	<listitem><para>Whether to split large messages, and the
                threshhold size.  </para></listitem>
      </itemizedlist>
    </para>
  </listitem>
</varlistentry>

</variablelist>
</sect1>
    
<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/MAIL OPTIONS              -->
<!-- ################################################################# -->
<sect1 id="preferences-incoming-and-outgoing-mail">
<title>Incoming and Outgoing Mail</title>

<para>
  Use this page to set the &Balsa;'s behaviour regarding incoming and
  outgoing messages.
</para>

<sect2 id="preferences-incoming">
<title>Incoming</title>
	
  <variablelist>
  <varlistentry>
    <term><guilabel>Check Mail Automatically</guilabel></term>
    <listitem>
      <para>If selected, &Balsa; will connect to your &POP3; servers
	at the given interval and check for mail.</para>	      
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Check IMAP mailboxes</guilabel></term>
    <listitem>
      <para>If selected, &Balsa; will
        include your <acronym>IMAP</acronym> mailboxes when
        checking for mail. You can also specify that INBOX is
        the only mailbox to be checked.</para>
      <para>Checking IMAP mailboxes can take some time; these
        options give you extra control over how long the mailbox
        check will take.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>Display message if new mail has arrived</guilabel>
    </term>
    <listitem>
      <para>If selected, &Balsa; will
        alert you when mail has arrived.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Do background check quietly</guilabel></term>
    <listitem>
      <para>If selected, &Balsa; will
        give you no indication that a background mail check is
        in progress.</para>
    </listitem>
  </varlistentry>


  <varlistentry>
    <term><guilabel>Wrap Incoming Text</guilabel></term>
    <listitem>
      <para>If selected, &Balsa; will
        wrap text of incoming messages at the specified line
        length.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>
        Reflow messages of type `text/plain;format=flowed'
      </guilabel>
    </term>
    <listitem>
      <para>The `format' parameter distinguishes two ways of
        representing paragraphs in messages of type `text/plain' (that
        is, simple text). The value `flowed' indicates that paragraphs
        have been broken into lines ended with `soft' line breaks: a
        space is left at the end of the line. A `hard' line break (one
        that is not preceded by a space) indicates the end of a
        paragraph.</para>
      <para>&Balsa; can reflow the paragraphs,
        quoted or otherwise, in a message of this type.  Reflowing
        eliminates the line fragments that are left when text is first
        wrapped at one length and then rewrapped to a shorter length,
        which are often misquoted.</para>
      <para>The only other value of `format' is `fixed', which is the
        value assumed by default when `format' is not specified, as with
        older mailers. In this case, all line breaks must be respected.
        If you do not select the `Reflow...' option,
        &Balsa; will treat all messages of type
        `text/plain' as if they were `format=fixed'. Long lines will
        still be wrapped, if the `Wrap Incoming Messages' option is
        selected, but this will usually leave unquoted line
        fragments.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>Message Disposition Notification request</guilabel>
    </term>
    <listitem>
      <para>You will sometimes receive a message whose sender has asked
        for notification that you have received or seen the message. You
        can specify how &Balsa; responds to
        these requests.</para>
    </listitem>
  </varlistentry>

</variablelist>
</sect2>

<!-- ################################################################# -->
<!--             SUBSECTION: PREFERENCES/MAIL OPTIONS/OUTGOING         -->
<!-- ################################################################# -->
<sect2 id="preferences-outgoing">
<title>Outgoing</title>"mail-options-outgoing

<variablelist>
  <varlistentry>
    <term><guilabel>Wrap Outgoing Text</guilabel></term>
    <listitem>
      <para>Have &Balsa; wrap all outgoing mail at the specified
	column.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>
        Send message as type `text/plain; format=flowed'
      </guilabel>
    </term>
    <listitem>
      <para>The `format' parameter distinguishes two ways of
        representing paragraphs in messages of type `text/plain'
        (that is, simple text). The value `flowed' indicates
        that paragraphs have been broken into lines ended with
        `soft' line breaks: a space is left at the end of the
        line. A `hard' line break (one that is not preceded by a
        space) indicates the end of a paragraph.</para>
      <para>&Balsa; can prepare the message
        using this convention, and a flowed-aware mailer
        receiving it can then reflow its paragraphs to fit its display
        without leaving misquoted line fragments. If you do not select
        this option, &Balsa; will use
        hard line breaks to end lines, and no receiving mailer
        will be able to identify paragraphs.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Reply prefix</guilabel></term>
    <listitem>
      <para>The string that &Balsa;
        should use as a prefix when quoting a message. Note: if
        you select `Send message as type text/plain;
        format=flowed', &Balsa; is
        required to use the one-character string ">".
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>Automatically quote original when replying</guilabel>
    </term>
    <listitem>
      <para>Have &Balsa; include the
        text of a message in the reply. The text will be
        prefixed as shown above.</para>
      <para>You can instead include the original message using an
        option on the `Edit' menu, or by dragging the message
        from the message index into the text area of the reply.
        If you prefer to include text this way, do not select
        the `Automatically quote...' option.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>
        Don't include HTML parts as text when replying or forwarding
        mail
      </guilabel>
    </term>
    <listitem>
      <para>Tell &Balsa; to be sensible.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term>
      <guilabel>
        Forward a mail as attachment instead of quoting it
      </guilabel>
    </term>
    <listitem>
      <para>If this option is selected, messages that are
        `Automatically quoted' will actually be attached
        unmodified, instead of included in the text of the reply,
        prefixed by the reply string.</para>
      <para>You can also attach any message to a new message 
        by dragging it from the message index into
        the attachment area of the new message (or, in fact, any
        part of the new message window except the text area or
        the address lines).</para>
    </listitem>
  </varlistentry>

  <varlistentry> 
    <term>
      <guilabel>
        Send button always queues outgoing mail in outbox
      </guilabel>
    </term>
    <listitem>
      <para>This option gives you control over when
        &Balsa; connects to a server to
        send messages.</para>
    </listitem>
  </varlistentry>

  <varlistentry> 
    <term><guilabel>Copy outgoing messages to sentbox</guilabel></term>
    <listitem>
      <para>Have &Balsa; save a copy of
        each message you send in the mailbox marked as the `Sentbox'.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
   <term><guilabel>Encoding</guilabel></term>
     <listitem>
       <para>Set the character encoding method to either 7 bit, 8
       bit, or what the quoted message is using.</para>
     </listitem>
  </varlistentry>
</variablelist>
</sect2>
</sect1>


<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/DISPLAY                   -->
<!-- ################################################################# -->
<sect1 id="preferences-display-options">
<title>Display Options</title>
      
<para>This page controls how &Balsa; appears to you.</para>
      
<sect2>
<title>Main Window</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Use Preview Pane</guilabel></term>
    <listitem>
      <para>Set whether to use the preview pane to display messages,
      or rely on the separate mail viewing window.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Show Mailbox Info</guilabel></term>
    <listitem>
      <para>This will allow the number of total and unread messages
      for each mailbox to be shown in the left pane of the &Balsa;
      main window. You can save space by not showing them; if you choose
  not to show them, &Balsa; will then show the number of unread
  messages (in parentheses) after the mailbox name.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Alternative Layout</guilabel></term>
    <listitem>
        <para>
            &Balsa;'s default layout has a full-height mailbox list on
            the left, and the message list above the preview pane on the
            right. You can choose an alternative layout, in which the
            mailbox list and the message list occupy the upper part of
            the window, and the preview pane is full-width below them.
        </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Automatic View</guilabel></term>
    <listitem>
        <para>
            Select this option if you want &Balsa; to open the first
            unread message when you open a mailbox. If no message is
            unread, &Balsa; opens the most recent message.
        </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Page Up and Page Down</guilabel></term>
    <listitem>
        <para>
            By default, the <keysym>Page Up</keysym> and
            <keysym>Page Down</keysym> keys scroll the message by whole
            pages. Use this option to choose a different amount.
        </para>
    </listitem>
  </varlistentry>

</variablelist>
</sect2>

<sect2>
<title>Message Window</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Moving a Message</guilabel></term>
    <listitem>
        <para>
            If you are reading a message in its own message window and
            you move it (to the trash, or another mailbox), &Balsa;
            can move on the next unread message or the next message in
            the same mailbox, or simply close the window.
        </para>
    </listitem>
  </varlistentry>
</variablelist>
</sect2>

<sect2 id="preferences-sort-and-thread">
<title>Sort and Thread</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Default sort column</guilabel></term>
    <listitem>
        <para>
            Choose the column by which you would like a new mailbox to
            be sorted.
      </para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Default threading style</guilabel></term>
    <listitem>
        <para>
            Choose the default threading style for a new mailbox.
      </para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Expand threads</guilabel></term>
    <listitem>
        <para>
            If you choose a threaded view of a mailbox, you can decide
            whether the threads should be expanded or collapsed when the
            mailbox is opened.
      </para>
    </listitem>
  </varlistentry>
</variablelist>
</sect2>

<sect2 id="preferences-message">
<title>Message</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Fonts</guilabel></term>
    <listitem>
        <para>
            Choose the fonts that you want to be used to display a
            message. You can choose a distinct font for the message's
            subject line.
      </para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Quoted Text Regular Expression</guilabel></term>

    <listitem>
      <para>The entry box allows you to set a <glossterm
        linkend="glossary-regular-expression">regular
        expression</glossterm> you would like to use to identify text
        that should be considered quoted for incoming messages.  The
        regular expression should match the beginning of line of
        quoted text a single level deep, the program will then use
        this to calculate the depth of quoting and alter the quoted
        text colors appropriately.  A default <abbrev>regexp</abbrev>
        is provided that should work in most situations.  </para>

      <para>This regexp affects both highlighting and spell checking,
	and uses the extended regular expression set.  For more
	information see the <command>grep</command>(1) manual or info
	page.</para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Alternative Parts</guilabel></term>
    <listitem>
        <para>
            You can choose whether &Balsa; should show a text/plain part
            or a text/html part, when a message contains both.
        </para>
    </listitem>
  </varlistentry>
</variablelist>
</sect2>

<sect2 id="preferences-colors">
<title>Colors</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Message Colors</guilabel></term>
    <listitem>
        <para>
            Choose the colors for quoted text.
        </para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Link Color</guilabel></term>
    <listitem>
        <para>
            &Balsa; uses this color to highlight a hyperlink in a message.
        </para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Composition Window</guilabel></term>
    <listitem>
        <para>
            When you are composing a message, &Balsa; uses color to
            show when one of the address fields is incomplete.
            Choose that color here.
        </para>
    </listitem>
  </varlistentry>
</variablelist>
</sect2>

<sect2 id="preferences-format">
<title>Format</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Date Encoding</guilabel></term> 
    <listitem>
      <para>
        Set the format used to display dates in &Balsa;.  This uses
	the same format string as <function>strftime</function>, a
	summary which is provided below:

      <itemizedlist>

	<listitem>
 	  <para><literal>%a</literal> &mdash; The abbreviated weekday
	    name.</para>
	</listitem>

	<listitem>
	  <para><literal>%A</literal> &mdash; The full weekday
	    name.</para>
	</listitem>

	<listitem>
	  <para><literal>%b</literal> &mdash; The abbreviated month
	    name.</para>
	</listitem>

	<listitem>
	  <para><literal>%B</literal> &mdash; The full month
	    name.</para>
	</listitem>

	<listitem>
	  <para><literal>%d</literal> &mdash; The day of the
	    month.</para>
	</listitem>

	<listitem>
	  <para><literal>%R</literal> &mdash; The time using a 24-hour
	    clock. (HH:MM)</para>
	</listitem>

	<listitem>
	  <para><literal>%r</literal> &mdash; The time using a 12-hour
	    clock (HH:MM AM/PM).</para>
	</listitem>

	<listitem>
	  <para><literal>%T</literal> &mdash; The time using a 24-hour
	    clock, with seconds (HH:MM:SS).</para>
	</listitem>

	</itemizedlist>

      <tip>
	<para>See the <function>strftime</function> manual page for a
	  full listing of conversion specifiers.</para>
      </tip>
  </para>

    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Selected Headers</guilabel></term>
    <listitem>
    <para>A space-separated list of the headers to display in the
      message window.</para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Fallback codeset</guilabel></term>
    <listitem>
        <para>
            Some messages contain national characters without
            specifying how they are encoded. You can choose whether
            &Balsa; displays such characters as '?', or tries a
            specific character set to display such messages.
    </para>
    </listitem>
  </varlistentry>

</variablelist>
</sect2>

<sect2 id="preferences-status-messages">
<title>Status Messages</title>
<variablelist>
  <varlistentry>
    <term><guilabel>Information Messages</guilabel></term>
    <listitem>
      <para>
          &Balsa; gives you information in the form of five different
          levels of messages. You can specify how you want all five
          levels to be presented to you.
      </para>
    </listitem>
  </varlistentry>
  <varlistentry>
    <term><guilabel>Display Progress</guilabel></term>
    <listitem>
      <para>
        This sets the behaviour of the dialog that is shown when
        &Balsa; retrieves messages from it's specified &POP3; servers.
        The dialog can be shown only while the messages are being
        retrieved, automatically closing after &Balsa; is finished.
        Or it can be set to stay active until manually closed.
        Finally, the dialog can not be displayed at all.
      </para>
    </listitem>
  </varlistentry>
</variablelist>
</sect2>

</sect1>

<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/SPELLING                  -->
<!-- ################################################################# -->
<sect1 id="preferences-spelling">
<title>Spelling</title>
<para>
    If &Balsa; is using GtkSpell, you can choose to have your spelling
    checked as you type. &Balsa; uses GtkSpell's default settings.
</para>

<para>
    If &Balsa; is not using GtkSpell, you can use
  this pane to setup &Balsa; spell check options.  &Balsa; uses the
  Portable Spell Checking library (<ulink
  url="http://pspell.sourceforge.net">pspell</ulink>) to provide an
  interface to the spell checking program of your choice.  Currently
  there are modules for ispell or aspell, both of which can be found
  at the pspell website.  For more information visit the &Balsa;
  homepage.
</para>

<variablelist>
<varlistentry>
  <term><guilabel>Pspell Module</guilabel></term>
	
  <listitem>
    <para>
      The Pspell library allows you to use whatever spell checking
      engine you prefer, though the use of loadable modules.
      Currently Pspell has support for two modules, the traditional
      ispell, and the newer and more advanced aspell.
    </para>

    <para>
        <application>Ispell</application>
        is most likely available on your system as it is a Unix
        standard; however <application>Aspell</application>
        is more advanced as it uses an advanced
      phonetics engine and adaptive techniques to learn how you tend
      to misspell words.  More information is available at the <ulink
      url="http://aspell.sourceforge.net">Aspell
      website</ulink>.
    </para>

    <para>
      &Balsa; will attempt to use whatever module you specify here,
      however if the module is not installed it will not work and
      generate an error.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Suggestion Mode</guilabel></term>

  <listitem>
    <para>The suggestion mode determines how hard the computer will
    search for suggestions for misspelled words.  There are three
    options:</para>

    <variablelist>
      <varlistentry>
	<term><guilabel>Fast</guilabel></term>

	<listitem>
	  <para>This mode quickly scans for replacements, which means
	    it might be used by a good speller who occasionally makes
	    typographical errors.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term><guilabel>Normal</guilabel></term>
	<listitem>
	  <para>The Normal mode is probably good enough for most
	    people; it should produce the correct suggestion in the
	    majority of cases.</para>
	</listitem>
      </varlistentry>

      <varlistentry>
	<term><guilabel>Bad Spellers</guilabel></term>
	<listitem>
	  <para>The Bad Spellers mode is the most thorough and
	    accurate mode; however, it also takes the longest to find a
	    list of suggestions.</para>
	</listitem>
      </varlistentry>
    </variablelist>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Ignore Length</guilabel></term>

  <listitem>
    <para>This provides the ability to ignore words shorter than a
      certain length.  It may be useful to automatically skip short
      acronyms that are normally flagged as incorrect.</para>
  </listitem>
</varlistentry>
</variablelist>
</sect1>

<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/ADDRESS BOOKS             -->
<!-- ################################################################# -->
<sect1 id="preferences-address-books">
<title>Address Books</title>

<para>
  &Balsa; supports the use of multiple address books, both local
  <glossterm linkend="glossary-vcard">VCARD</glossterm> and remote
  &LDAP; address books, both of which can be configured here.
  &GnomeCard; also uses VCARD address books, so this allows &Balsa; to
  share address books with other GNOME applications.
</para>

<para>
  The main portion of the preferences page is occupied by the list of
  current address books for &Balsa;.  The list shows the type of
  address book, the name, and whether it is included in automatic
  alias expansion when typing new messages.  There are also several
  buttons that manipulate the list of address books:
</para>

<variablelist>
<varlistentry>
  <term><guibutton>Add</guibutton></term>
  <listitem>
    <para>Using this adds a new address book for &Balsa; to use to
    find addresses.  It brings up a series of dialog boxes that step
    through the process of adding a new address book.</para>

    <figure>
      <title>Add Address Book Dialog (Step 1)</title>
      <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/address-book-start.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
      </screenshot>
    </figure>

    <para>If &Balsa; was not compiled with <acronym>LDAP</acronym>
    support it will not let you choose <acronym>LDAP</acronym> as an
    addressbook type.  Once the type of address book is selected you
    must specify the name and location of the address book.</para>

    <figure>
      <title><acronym>VCARD</acronym> Address Book Dialog
      (Step 2)</title>
      <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/address-book-vcard.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
      </screenshot>
    </figure>

    <para>With &LDAP; support, the dialog looks somewhat different,
    offering options to set the location of the directory instead of a
    file.</para>

    <figure>
      <title>&LDAP; Address Book Dialog (Step 2)</title>
      <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/address-book-ldap.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
      </screenshot>
    </figure>

    <para>In order to use a <acronym>LDAP</acronym> address book, you
    need to know the host name of the <acronym>LDAP</acronym>
    server. Depending on the server configuration, you may need also
    so called Base Domain Name which identifies your particular
    department. You can always try leaving Base Domain Name field
    empty and a default value will be used (OpenLDAP stores the
    default Base Domain Name in
    <filename>/etc/openldap/ldap.conf</filename>). If this does not
    work, you may need to ask your administrator for the value of
    this. The usual values are usually similar to:
    <quote>dc=theochem,dc=KTH,dc=se</quote> or <quote>o=Theoretical
    Chemistry, c=SE</quote>.</para>

  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Modify</guibutton></term>
  <listitem>
    <para>This enables you to change the properties of the selected
    address book.</para>

    <figure>
      <title>Modify an Address Book</title>
      <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/address-book-modify.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
      </screenshot>
    </figure>

    <para>It is possible to modify both the name and location for any
    address book.  Also, you can change whether the contents of the
    address book will be used when attempting to auto-complete an
    address when sending a message.</para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Delete</guibutton></term>
  <listitem>
    <para>Delete the selected address book.</para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guibutton>Set as Default</guibutton></term>
  <listitem>
    <para>Set the selected address book as default.</para>
  </listitem>
</varlistentry>
</variablelist>
</sect1>

<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/STARTUP                   -->
<!-- ################################################################# -->
<sect1 id="preferences-startup">
<title>Startup</title>

<variablelist>
<varlistentry>
  <term><guilabel>Open Inbox upon Startup</guilabel></term>
  <listitem>
    <para>If set, &Balsa; will open your system inbox upon startup.</para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Check Mail at Startup</guilabel></term>
  <listitem>
    <para>If set, &Balsa; will automatically attempt to download mail
      from the &POP3; mail server upon startup, and will check for new
      mail on an &IMAP; server.</para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Remember Open Mailboxes Between
      Sessions</guilabel></term>
  <listitem>
    <para>When marked, &Balsa; will remember and reopen mailboxes that
      were open when &Balsa; was last quit.</para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Folder Scanning</guilabel></term>
  <listitem>
    <para>Scanning a folder tree can be time-consuming, because of the
    need to explore an entire tree of subfolders. You can defer scanning
    the tree by setting the scan depth to 1. &Balsa; will then descend
    into the tree only far enough to discover whether any folders that
    you can see have subfolders. The first time you expand any subtree,
    &Balsa; will explore more of the tree.</para>
    <para> If you prefer to have the whole tree available from startup,
    choose a depth as great as that of your folder tree.
    Intermediate settings may also be used.</para>
    <para>You may set the depth for initial scanning separately for
    local and &IMAP; trees.</para>
  </listitem>
</varlistentry>

</variablelist>
</sect1>

<!-- ################################################################# -->
<!--                 SUBSECTION: PREFERENCES/MISC                      -->
<!-- ################################################################# -->

<sect1 id="preferences-miscellaneous">
<title>Miscellaneous</title>
      
<variablelist>
<varlistentry>
  <term><guilabel>Debug</guilabel></term>
  <listitem>
    <para>Toggle the output of debugging information.  Depending on
        what notification priority set for it in the
        <link linkend="preferences-display-options">Display</link> page,
    it can show up in
    list or dialog as the program runs.
    </para>
  </listitem>
</varlistentry>

<varlistentry>
  <term><guilabel>Empty Trash on Exit</guilabel></term>
  <listitem>
    <para>Set &Balsa; to delete all messages in the
      <symbol>Trash</symbol> mailbox when &Balsa; exits.</para>
  </listitem>
</varlistentry>

<varlistentry>
    <term><guilabel>Automatically close mailbox</guilabel></term>
  <listitem>
      <para>Set &Balsa; to close any mailbox that is unused for
	  more than the specified time. The currently displayed mailbox
	  is never automatically closed.
      </para>
  </listitem>
</varlistentry>

<varlistentry>
    <term><guilabel>Hide messages marked as deleted</guilabel></term>
  <listitem>
      <para>When a message is moved to another mailbox, including the
	  <symbol>Trash</symbol> mailbox, it is actually copied to the
	  destination, and the original is marked as deleted. Deleted
	  messages may either be shown in the mailbox index, with the
	  trashcan icon indicating that they are deleted, or hidden.
	  This item controls which of those actions is taken.
      </para>
      <para>A message may also be simply marked as deleted, without
	  copying it to another mailbox:
	    <menuchoice>
	      <guimenu>Message</guimenu>
 	      <guisubmenu>Toggle flag</guisubmenu>
	      <guimenuitem>Deleted</guimenuitem>
	    </menuchoice>.
	  Again, this item controls whether such a message is hidden.
      </para>
  </listitem>
</varlistentry>

<varlistentry>
    <term><guilabel>Expunge deleted messages on close</guilabel></term>
  <listitem>
      <para><quote>Expunging</quote> is the act of physically removing from the
	  backing mailstore all messages marked as deleted. You can
	  expunge messages manually:
	  <menuchoice>
	      <guimenu>Mailbox</guimenu>
	      <guimenuitem>Expunge deleted messages</guimenuitem>
	  </menuchoice>,
	  or you can set &Balsa; to expunge deleted messages when the
	  mailbox is closed (all mailboxes are closed when you exit
	  &Balsa;).
      </para>
  </listitem>
</varlistentry>

</variablelist>
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: CUSTOMIZING TOOLBARS                     -->
<!-- ################################################################# -->
<sect1 id="toolbar-prefs">
<title>Customizing Toolbars</title>

<para>
  &Balsa; allows you to change the layout of the toolbars on the three
  main types of window: the main window, message windows, and compose
  windows. You open the dialog with the
  <menuchoice>
  <guimenu>Settings</guimenu>
  <guimenuitem>Toolbars...</guimenuitem>
  </menuchoice>
  menu item.
</para>
<para>
  The dialog contains a notebook with a page for each type of window. On
  each page, you'll see a Preview of the toolbar, which changes as you
  change the layout. The list of <guilabel>Available buttons</guilabel> shows
  buttons that may be used on the toolbar, but aren't currently used,
  and the <guilabel>Current toolbar</guilabel> list shows the current layout,
  including both buttons and separators. You can add buttons to the
  current toolbar, remove them, or move them up or down in the list,
  using the controls in the central button box.
</para>
<para>
  Below the notebook is a checkbox for wrapping the button labels
  (the text that may accompany the buttons). This option applies to
  the toolbars on all three types of window. If you choose wrapping,
  long labels will be shown on two lines.  You control whether and where
  the labels are shown using the popup (right click) menu for any actual
  toolbar, not this dialog.
</para>
<para>
  This is an <quote>instant apply</quote> dialog: the changes you make
  take effect immediately, as shown in the Preview toolbar; actual
  toolbars are updated when you close the dialog. Immediately below the
  Preview toolbar you'll find a button that restores the standard layout
  for that toolbar. <emphasis>Note</emphasis> that the standard layout
  is the one that you see before the toolbar has been customized. If you
  use this option, all current <emphasis>and past</emphasis> changes
  will be undone.
</para>
</sect1>


<!-- ################################################################# -->
<!--                 SECTION: FOLDER CONFIGURATION                     -->
<!-- ################################################################# -->
<sect1 id="folder-config">
<title>IMAP Folder configuration</title>
    
<para>
  The folder configuration edit dialog allows you to configure entire
  mailbox sets on remote IMAP servers. Entire configuration is split
  into basic and advanced parts.
</para>

<sect2>
<title>Basic IMAP folder configuration</title>

<para>The basic IMAP folder configuration tab is probably the only
part you need to fill in.</para>

<itemizedlist mark="bullet">

  <listitem>
    <para>Descriptive name is the name of the root node that will be
    shown in the mailbox tree on the left side.</para>
  </listitem>

  <listitem><para>Server is the host name or IP number of the 
  IMAP server.</para></listitem>

  <listitem><para>User name is the name used for authorization on the
  IMAP server.</para></listitem>

  <listitem><para>Some servers allow anonymous access to bulletin
  boards or mailing list archives. Check this box if you want to use
  this mode - you will not be asked for password.</para></listitem>

  <listitem><para>Password is the password used for authorization on
  the IMAP server.</para></listitem>

  <listitem><para>Check box allows you to choose all mailboxes on the
  server, or only those you subscribed to.</para></listitem>
  
  <listitem><para>Prefix is the root mailbox on the server. You may
  leave it empty if you want to show all the folders on your server
  but if your IMAP server stores also other kind of files you may
  specify for instance &quot;mail&quot;.</para></listitem>
</itemizedlist>
</sect2>

<sect2>
<title>Advanced IMAP folder configuration</title>

<para>Sometimes, it is necessary to tune the folder configuration in
order to assure a secure connection, adjust to server limits or just
obtain better performance. This functionality is provided by the
Advanced IMAP folder configuration tab.</para>

<itemizedlist mark="bullet">
<listitem>
  <para>The <guilabel>Use SSL</guilabel> check box should be active if
    the connection
is to be made to IMAPS service on port 993. Connection to this port
will be encrypted from the start. Not all servers provide this service
- many provide only negotiated TLS encryption.</para>
</listitem>

<listitem>
<para>The <guilabel>Use TLS</guilabel> option list determines instruct balsa how
to negotiate the TLS encryption. &Balsa; can never attempt to negotiate
it, can start TLS encryption whenever it is supported by server, or
can abort the connection if TLS is inavailable or fails for some
reason.</para>
</listitem>

<listitem>
<para><guilabel>Max. number of connections</guilabel> limits the number of
concurrent connections open to the IMAP server. A number around 15-40
is a sane option as it avoids time-consuming and load-creating
reselections of imap mailboxes. Some IMAP servers -- notably Courier
-- limit the number of connections open from single IP number to 4 by
default. The limit in balsa has to be in such a case adjusted
accordingly.</para>
</listitem>

<listitem>
<para>The <guilabel>Enable persistent cache</guilabel> check box chooses whether
&Balsa; should try to store downloaded messages between sessions or
throw them away when it is closed. The optimal choice depends on the
local configuration. If the connection to the IMAP server is slow and
local storage in the home directory fast and cheap, it is recommended
to enable persistent message cache. If the home directory is slow
(eg. NFS-mounted) and the connection to the imap server - fast,
persistent cache becomes just a burden and should be disabled.</para>
</listitem>
</itemizedlist>
</sect2>

<sect2 id="subfolder-config">
<title>IMAP Subfolder Properties</title>
    
<para>
  The subfolder properties dialog allows you to manage folders on
  remote IMAP servers. Specifically, you can
  <emphasis>create</emphasis> a new subfolder,
  <emphasis>rename</emphasis> an existing subfolder, or
  <emphasis>move</emphasis> a subfolder within the folder tree.
</para>

<itemizedlist mark="bullet">

  <listitem><para><guilabel>Folder name</guilabel> is how the folder is shown
  in the mailbox tree on the left side.</para></listitem>

  <listitem><para><guilabel>Subfolder of</guilabel> indicates
  the immediate parent of
  the folder.</para></listitem>
</itemizedlist>

<para>
  When the dialog is opened from
  <menuchoice>
  <guimenu>File</guimenu>
  <guisubmenu>New</guisubmenu>
  <guimenuitem>Remote IMAP subfolder</guimenuitem>
  </menuchoice>,
  you can enter the folder name and browse IMAP
  trees to find the parent folder. If you had already selected a
  mailbox in an IMAP tree, only that tree is shown for browsing;
  otherwise, all IMAP trees will be shown.
</para>

<para>
  When the dialog is opened from
  <menuchoice>
  <guimenu>Mailbox</guimenu>
  <guimenuitem>Edit</guimenuitem>
  </menuchoice>
  with an IMAP folder selected, or by right-clicking on an IMAP
  mailbox and selecting
  <guimenuitem>Properties...</guimenuitem>,
  the mailbox may be:

  <itemizedlist mark="bullet">
    <listitem><para>Renamed, by editing the folder name;</para></listitem>
    <listitem><para>Moved, by browsing for a different parent folder
  	in the same tree.</para></listitem>
  </itemizedlist></para>
</sect2>
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: ADDRESS BOOK CONFIGURATION               -->
<!-- ################################################################# -->
<sect1 id="ab-conf">
<title>Address book configuration</title>
  <para>This is to be filled in.</para>

<sect2 id="CHOICE">
  <title>Address book type</title>
  <para>You can choose among several address book types.</para>
</sect2>

<sect2 id="EXTERN">
<title>External address book</title>
<!-- Balsa support for an external query addressbook -->
<!-- By Jelmer Vernooij <jelmer@nl.linux.org>        -->

<para>The balsa addressbook supports input from programs. Thus, you
can use (no importing needed!) for example your pine or mutt
addressbook. The mutt mailer (<ulink
url="http://www.mutt.org/">www.mutt.org</ulink>) uses an identical
system to retrieve addresses from programs.</para>

  <sect3 id="extern-existing-programs">
   <title>Existing programs</title>

<para>The following programs are compatible with the mutt mail reader
and /should/ be with balsa. Submit links to more programs.</para>

<itemizedlist>
<listitem><para>
<ulink url="http://www.spinnaker.de/lbdb/"
       type="http">http://www.spinnaker.de/lbdb/</ulink> - The little
brother database. Read emailaddresses and names from: finger,
/etc/passwd, incoming procmail email, NIS, fido, the abook program,
mutt addressbook, pine addressbook, palm addressbook, gnomecard
addressbook, big brother database, ldap database. 
</para></listitem>

<listitem><para>
<ulink url="http://www.fiction.net/blong/programs/mutt/"
       type="http">http://www.fiction.net/blong/programs/mutt/</ulink>
 - palm address database, ldapsearch wrapper, ph/qi server, UIUC, ph,
</para></listitem>
</itemizedlist>
</sect3>

<sect3 id="extern-load-scripts">
<title>Writing your own load scripts</title>

<para>&Balsa; ignores the first line of output from your program. You
might want to write comments or debug output on this line. The
remaining lines should have this format:</para>
<para><computeroutput>
e-mail address	full name	nickname
</computeroutput></para>

<para>The three fields should be separated by tabs. The third field is
currently not used by balsa, but might be in the future. It is also
kept to ensure compatibility with mutt. </para>

<para>&Balsa; executes your script with one argument: the pattern to
search for. A space (" ") is used as the first argument when creating
a list of all users.</para>

<para>All characters are allowed, except from the tab(\t), since that
is the field seperator. 
</para>

<para>An example output could be:</para>
<para><computeroutput>
lbdbq: 3 matches
</computeroutput></para>
<para><computeroutput>
balsa-list@gnome.org	Balsa List	balsa-list
</computeroutput></para><para><computeroutput>
jelmer@nl.linux.org	Jelmer Vernooij	jelmer
</computeroutput></para><para><computeroutput>
balsa-maintainer@theochem.kth.se	Pawel Salek	balsa-maintainer
</computeroutput></para>


<para>Your script/program should write it's output to stdout and not
to stderr! 
</para>
</sect3>

<sect3 id="extern-save-scripts">
<title>Writing your own save scripts</title>

<para>Adding addresses is also possible. Your script should receive 3
arguments. The first is an email address, the second a full name and
the third is an alias (currently not used and replaced by 'TODO').</para>

<para>Note that mutt does not have support for adding addresses and there is thus no compatibility in this case.</para>

<para>Comments are welcome: <email>jelmer@nl.linux.org</email></para>
</sect3> 
</sect2> <!-- EXTERN -->
</sect1> <!-- ab-conf -->

<!-- ################################################################# -->
<!--                 SECTION: IDENTITIES                               -->
<!-- ################################################################# -->
<sect1 id="identities">
<title>Identities</title>

<para>
  This dialog window lets you specify how you present yourself to the
  rest of the world through your email. The first page has your general
  information:
</para>

<variablelist>
  <varlistentry>
    <term><guilabel>Identity Name</guilabel></term>
    <listitem>
      <para>
        A unique title by which this identity will be named within &Balsa;.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Full Name</guilabel></term>
    <listitem>
      <para>
        This doesn't <emphasis>have</emphasis> to be your name, I
        guess. But it's the word prefixing your email address in mail
        you send.
      </para>
    </listitem>
  </varlistentry>
	
  <varlistentry>
    <term><guilabel>Mailing Address</guilabel></term>
    <listitem>
      <para>
        As you wish it to appear in your &quot;From&quot; header.
      </para>
   </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Reply-To address</guilabel></term>
    <listitem>
      <para>
        The address that you wish people to reply to your email with
        (if you have a home and a work address, for instance).
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Default Domain</guilabel></term>
    <listitem>
      <para>
        The domain that you wish to append to all e-mail entries where
        you did not specify the domain.  Normally you would use your
        local domain.  You need to enable
        <link linkend="preferences-address-books">Alias Expansion</link>
        for this to work.  
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Bcc</guilabel></term>
    <listitem>
      <para>
        The default value for the blind-carbon-copy field when using
        this identity.  Useful if you want to always send a copy of
        outgoing mail to another account.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Reply String</guilabel></term>
    <listitem>
      <para>
        The prefix for the subject line when replying to a message.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Forward String</guilabel></term>
    <listitem>
      <para>
        The prefix for the subject line when forwarding a message.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>SMTP server</guilabel></term>
    <listitem>
      <para>
          The <link linkend="smtp-server-config">SMTP server</link>
          to be used for this identity.
      </para>
    </listitem>
  </varlistentry>

</variablelist>

<para>You control the signature that &Balsa; appends to your messages on
    the second page:
</para>

<variablelist>
  <varlistentry>
    <term><guilabel>Signature Path</guilabel></term>
    <listitem>
      <para>
        The file containing the signature to append to all your messages.
        This can be generated in one of three ways:
      </para>
       <itemizedlist>
         <listitem>
           <para>
             From a regular file.  List the path to any regular file,
             and the text from that file will be appended to your
             messages.
           </para>
         </listitem>

         <listitem>
           <para>
             A named pipe or FIFO.  In this case, to &Balsa;, the file
             looks normal, but in reality, it is a pipe to a program
             that is generating the content.  List the path to the pipe.
           </para>
         </listitem>

         <listitem>
           <para>
             An executable program. &Balsa; will execute the program and
             read its output, appending that text to the message.  List
             the path to the program with a <quote>|</quote> prepended to it.
             For example:
           </para>
           <para><quote>|/home/user/dynsig.pl</quote></para>
         </listitem>
      </itemizedlist>
    </listitem>
  </varlistentry>

  <varlistentry>
  <term><guilabel>Execute Signature</guilabel></term>
    <listitem>
	   <para>
        Execute the instructions in the signature file and use the results
        as the signature to append to outgoing mail.  Select this when
        generating the signature from an executable program as outlined above
        in Signature Path.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
  <term><guilabel>Include Signature</guilabel></term>
    <listitem>
	   <para>
        Append the signature to the end of all outgoing mail.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
  <term><guilabel>Include Signature When Forwarding</guilabel></term>
    <listitem>
	   <para>
        Add the signature when forwarding an existing mail.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
  <term><guilabel>Include Signature When Replying</guilabel></term>
    <listitem>
	   <para>
        Add the signature when replying to a existing message.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
  <term><guilabel>Add Signature Separator</guilabel></term>
    <listitem>
	   <para>
        When checked, this has &Balsa; insert the standard signature
        separator before your signature.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
  <term><guilabel>Prepend Signature</guilabel></term>
    <listitem>
	   <para>
        Add the signature before the message text, rather than after it.
      </para>
    </listitem>
  </varlistentry>
</variablelist>

<para>Security settings are on the third page: </para>

<variablelist>

  <varlistentry>
    <term><guilabel>Sign messages by default.</guilabel></term>
    <listitem>
      <para>
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Encrypt messages by default.</guilabel></term>
    <listitem>
      <para>
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Default protocol.</guilabel></term>
    <listitem>
      <para>
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><guilabel>Always trust GnuPG keys when encrypting.</guilabel></term>
    <listitem>
      <para>
      </para>
    </listitem>
  </varlistentry>

</variablelist>

</sect1>

<!-- ################################################################# -->
<!--                 SECTION: FIND MESSAGES WINDOW                     -->
<!-- ################################################################# -->
<sect1 id="win-search">
  <title>The Search Mailbox Window</title>
  <para>
    You can search a mailbox to find and display messages that contain a
    given string in the To, From, Subject, or Cc headers,
    or in the message body. 
    This window allows you to specify the string for which you want to
    search and where &Balsa; should look.
  </para>
  <para>
      You can view the matching messages in two ways:
      <variablelist>
	  <varlistentry>
	      <term><guilabel>Show only matching messages</guilabel></term>
	      <listitem>
		  <para>
		      If you click the <guibutton>Apply</guibutton>
		      button, the mailbox view will be filtered to show
		      only the messages that match the conditions.
		      If you click the <guibutton>Clear</guibutton>
		      button, the filter will be cleared, 
		      and the mailbox view will be restored to 
		      show all messages.
		      You can also use 
		      <menuchoice>
			  <guimenu>Mailbox</guimenu>
			  <guimenuitem>Reset Filter</guimenuitem>
		      </menuchoice>
		      to restore the view.
		  </para>
	  </listitem>
  </varlistentry>
	  <varlistentry>
	      <term><guilabel>Open next matching message</guilabel></term>
	      <listitem>
		  <para>
		      Alternatively, you can step through the matching
		      messages, either forward or in reverse, and
		      optionally wrapping the search when it reaches the
		      end of the mailbox.
		      Click the <guibutton>OK</guibutton>
		      button to view the first matching message after
		      (or before) the current message.
		      Then you can use
		      <menuchoice>
                          <shortcut><keycombo><keysym>Ctrl</keysym><keysym>G</keysym></keycombo></shortcut>
			  <guimenu>Edit</guimenu>
			  <guimenuitem>Find Next</guimenuitem>
		      </menuchoice>
		      to step through the matching messages.
		  </para>
	  </listitem>
  </varlistentry>
  </variablelist>
  </para>
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: FILTERS WINDOW                           -->
<!-- ################################################################# -->
<sect1 id="win-filters">
  <title>The Filters Window</title>
  <para>
    This window is divided in two parts: the left part is the list of all
    filters. When you select one of them, the right part displays its
    properties. The right part is a two-page notebook
    (the <link linkend="wf-match-page">match page</link>, and the
     <link linkend="wf-action-page">action page</link>);
     their descriptions follow.
  </para>
  <para>
    There are two buttons under the filters list:
    <itemizedlist>
      <listitem>  
        <para>
            The <guibutton>New</guibutton> button:
            you click on it to create a new filter; the filter is
            initially
          named "New Filter", and contains no condition. Then you fill in
          the different fields in the notebook pages (in particular remember
          to change the name of the filter), add the conditions that will
          describe how this filters matches a message, and to confirm
          the modifications push the <guibutton>Apply</guibutton> button on the right hand side
          of the Filters window.
        </para>
      </listitem>
      <listitem>
        <para>
            The <guibutton>Remove</guibutton> button:
            removes the currently selected filter.
        </para>
      </listitem>
    </itemizedlist>
  </para>
  <sect2 id="wf-match-page">
    <title>The match page</title>

    <para>
      Each filter is made of one or several conditions; each condition represents
      a test to be applied to the messages. The results of these tests is
      then combined following the type of operation specified:
      <itemizedlist>
	<listitem>  
          <para>
            AND: all condition tests must be true to make the match.
          </para>
        </listitem>
	<listitem>  
          <para>
            OR: one condition test must be true to make the match.
          </para>
        </listitem>
      </itemizedlist>
    </para>
    <para>
      Then the page displays the name of the filter and the conditions that 
      describes how the filters matches a message. The list displays the
      type of the conditions (the conditions will be described later):
      <itemizedlist>
        <listitem>
	  <para>
              <guilabel>Simple</guilabel>:
              the match is done by a simple substring test.
	  </para>
        </listitem>
        <listitem>
        <para>
            <guilabel>Regular expression</guilabel>:
            the match uses regular expressions on the
          message headers.
        </para>
        </listitem>
        <listitem>
          <para>
              <guilabel>Date interval</guilabel>:
              the match is done by checking if the date of the
            message is within certain bounds.
          </para>
        </listitem>
        <listitem>
          <para>
              <guilabel>Flag condition</guilabel>:
              the match is done by checking the flags of the
            message: unread, replied, deleted, flagged.
          </para>
        </listitem>
      </itemizedlist>
      The three buttons under the list allows you to edit the selected
      condition, add a new one, or remove one. Editing or creating a 
      condition is done in the
      <link linkend="win-condition">condition window</link>,
      which pops up when you click on the <guibutton>Edit</guibutton> or
      the <guibutton>New</guibutton> button.
    </para>
    <para>
      The two buttons under the notebook at the right hand side of the window
      lets you manipulate the currently selected filter. The
      <guibutton>Apply</guibutton> button
      is used to confirm the modifications you have made on any field. If you
      make changes and select another filter without first clicking on the
      <guibutton>Apply</guibutton> button, all your changes will be lost.
    </para>
    <para>
        The <guibutton>Revert</guibutton> button cancels all previous changes:
        the current filter
        is reverted to its state just before the last click on the
        <guibutton>Apply</guibutton> button.
    </para>
  </sect2>
  <sect2 id="wf-action-page">
    <title>The action page</title>

    <para>
      This page describes the actions to take in case the filter matches. First
      you specify the notification to inform you that the one or several messages
      has matched the filter in the <guilabel>Notification</guilabel> frame.
      Then in the <guilabel>Action</guilabel> frame
      you tell what to do with the matching messages. You can ask &Balsa; to copy
      or move them to any mailbox, or to send them to the trash can. The other
      actions are not yet implemented.
    </para>
  </sect2>
  <sect2 id="win-condition">
    <title>The condition window</title>
    <para>
      This window is used to edit an existing condition or to create a new
      one. It displays all the information needed to describe the condition,
      it is launched when you click on the <guibutton>Edit</guibutton>
      or <guibutton>New</guibutton> buttons under the
      conditions list in the match page of the notebook in the right part
      of the
      <link linkend="win-filters">filters window</link>.
    </para>
    <para>
      This window is made of three frames:
      <itemizedlist>
        <listitem>
	  <para>
              The <guilabel>Match in</guilabel> frame:
              it's a set of check boxes, one per match
            field. For example if you want to match all messages that was
            sent by hotmail users, you just have to check the
            <guilabel>From</guilabel> box, or
            if you want to match all messages about &Balsa;, check the
            <guilabel>Subject</guilabel>
            box.
	  </para>
	  <warning>
	    <para>
                Be careful with <guilabel>Body</guilabel> match,
                this can take time for large messages.
            </para>
	  </warning>
	  <para>
            For advanced use you can also specify directly the name of the header
            to match on. A standard example the "X-Mailer" is a header added
            to your message by the MUAs with their name and versions.
          </para>
	  <para>
              The <guibutton>All</guibutton> button will check all
              boxes, whereas the <guibutton>Clear</guibutton> button will
            uncheck all boxes (as you might have guessed).
          </para>
	  <para>
            If you specify several headers, a message will match this condition
            if one of the header matches. For example if you want to filter all
            messages talking about &Balsa;, you should check the
            <guilabel>Body</guilabel> and the
            <guilabel>Subject</guilabel>
            boxes, so that all mails with the word <quote>Balsa</quote>
            in its subject or its
            body will match. You can also, if you're fed up with &Balsa; ;-), match
            all mails that does NOT contain the word
            <quote>Balsa</quote> in their subject and in
            their body neither. See the description of the search types to see
            how to do this.
          </para>
        </listitem>
        <listitem>
        <para>
            The <guilabel>Search Type</guilabel> frame:
            it's a list of the different condition types.
            You choose <guimenuitem>Simple</guimenuitem>,
            <guimenuitem>Regular expression</guimenuitem>,
            <guimenuitem>Date interval</guimenuitem>, or
            <guimenuitem>flag condition</guimenuitem>.
          Your choice will change the third frame so that it displays the fields
          needed by the type of match chosen.
        </para>
        </listitem>
        <listitem>
          <para>
            This part depends on the search type you've chosen:
            <itemizedlist>
              <listitem>
	        <para>
                    <guimenuitem>Simple</guimenuitem> type:
                    a text entry lets you input the string to look
                  for (case does not matter, the search is case-insensitive).
                  The button lets you specify if a message matches when the string
                  is or is NOT a substring of the specified headers, the sentence
                  above the text entry will be updated accordingly.
                </para>
	      </listitem>

              <listitem>
	        <para>
                    <guimenuitem>Regular expression</guimenuitem>:
                    you can input a list of regular expressions.
                  You type your regular expression in the text entry, then you click
                  on the <guibutton>Add</guibutton> button to put it into the
                  list. Of course the <guibutton>Remove</guibutton>
                  button destroys the selected regular expression in the list. The
                  last button <guibutton>One matches/None matches</guibutton>
                  lets you specify when a message
                  matches the condition: when one of the regular expression matches
                  or when none matches. The sentence above te list will be updated
                  accordingly.
                </para>
	      </listitem>

              <listitem>
	        <para>
                    <guimenuitem>Date</guimenuitem> interval:
                    you can input the interval by the mean of the two
                  text entries. A blank entry means no bound. The button tells to
                  match when the message date is within the bounds or not. The 
                  sentence above the text entries will be updated accordingly.
                </para>
	      </listitem>

              <listitem>
	        <para>
                    <guimenuitem>Flag condition</guimenuitem>:
                    the four check boxes let you select which messages
                  will match this condition. If you want to match all replied OR
                  unread messages, check the corresponding boxes. The button let you
                  specify that the match will be done when none of the specified flags
                  are set, the sentence above the check boxes will be updated accordingly.
                  For example if you want to filter all read and replied messages, check
                  the <guilabel>unread</guilabel> and
                  <guilabel>replied</guilabel> boxes, and click on the button.
                </para>
	      </listitem>

            </itemizedlist>
          </para>
        </listitem>
      </itemizedlist>
    </para>
  </sect2>
</sect1>

<sect1 id="win-run-filters">
    <title>The Select Filters Window</title>
    <para>
        This window is divided in two lists: the left one displays all
        available filters, and the right part displays all filters to be
        applied on the mailbox (the name of which is shown in the window
        title).  See the
        <link linkend="win-filters">filters window</link>
        section to see how to set up filters.
    </para>
    <para>
        The right list has three columns.
        The first one contains the filters name.
        The two others tells you if the filter will be automatically
        applied: e.g. if a dot is displayed in the second column
        (<guilabel>On reception</guilabel>),
        this tells you that whenever new messages
        arrived in this mailbox, they will be filtered by the
        corresponding filter (Note: the filter is applied only on
        the new messages, not the entire mailbox;
        this is similar to the use of procmail).
        In the same way, if a dot is displayed in the third column
        (<guilabel>On exit</guilabel>),
        the filter will be applied to the entire mailbox
        when you exit &Balsa;.
    </para>
    <para>
        Note: the <guilabel>On exit</guilabel> feature is not yet implemented.
    </para>
    <para>
        When you tell &Balsa; to apply several filters on the same mailbox
        (i.e. when you put several filters in the right list),
        only the first match counts: the filters are applied in the
        specified order and the first that matches on the current
        message will be applied but not the following ones.
    </para>
    <para>
    There are two buttons between the filters lists:
    <itemizedlist>
      <listitem>  
        <para>
            The <guibutton>Add</guibutton> button:
            moves the selected filters from the left list to the
	  right one, adding more filters to be applied to the mailbox.
        </para>
      </listitem>
      <listitem>
        <para>
            The <guibutton>Remove</guibutton> button:
            removes the currently selected filter in the right
	  list and puts it back in the left list.
        </para>
      </listitem>
    </itemizedlist>
  </para>
  <para>
      The <guibutton>Up</guibutton> and <guibutton>Down</guibutton>
      buttons under the right list serve to reorder
      the filters that are to be applied. This is a sort of priority
      between filters, because if several filters could match the
      current message, only the first one will be applied.
      The <guibutton>Apply Now</guibutton>
      button applies all filters of the right list to the
      entire mailbox immediately (be patient, this can take a quite a
      long time on big mailboxes or remote ones).
  </para>
  <para>
  You can also use this dialog to apply a filter to a mailbox without 
  actually attaching it to the mailbox.  Select one or more filters in the 
  left hand list, and click the <guibutton>Apply Selected</guibutton>
  button below that list.
  </para>
  <para>
    There are three buttons below the filters lists:
    <itemizedlist>
      <listitem>
        <para>
            The <guibutton>OK</guibutton> button:
            saves the list of filters associated to the mailbox.
	  Note that this does not apply the filters to the mailbox. It is useful
	  only when you have set up automatic filters, or when you have to manually
	  apply a lot of filters frequently to this mailbox: the next
          time &Balsa;
	  will reload the saved filters and you will only have to press
          the <guibutton>Apply</guibutton>
	  button.
        </para>
      </listitem>
      <listitem>
         <para>
             The <guibutton>Cancel</guibutton> button:
             this discards any changes and closes the dialog box.
        </para>
      </listitem>
      <listitem>
         <para>
             The <guibutton>Help</guibutton> button: opens this help window.
        </para>
      </listitem>
    </itemizedlist>
  </para>
 
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: OTHER GENERAL STUFF, FAQ etc.            -->
<!-- ################################################################# -->
<sect1 id="mbox-formats">
<title>Available mailbox formats</title>
<para>
  &Balsa; handles several mailbox formats, including mbox.
</para>
<para>
  The further information can be found in the following
  documents:
  <itemizedlist>
    <listitem>
    <para>
      Benchmarking mbox versus maildir <ulink type="http"
      url="http://www.courier-mta.org/mbox-vs-maildir/">http://www.courier-mta.org/mbox-vs-maildir/</ulink>
    </para>
    </listitem>

    <listitem>
      <para>Mailbox Format Characteristics
       <ulink type="http"
       url="http://www.washington.edu/imap/documentation/formats.txt.html">http://www.washington.edu/imap/documentation/formats.txt.html</ulink></para>
    </listitem>

    <listitem>
      <para>maildir(5) manual page (from qmail)
<ulink type="http" url="http://www.qmail.org/qmail-manual-html/man5/maildir.html">http://www.qmail.org/qmail-manual-html/man5/maildir.html</ulink></para>
    </listitem>

    <listitem>
      <para>Using maildir format
<ulink type="http" url="http://cr.yp.to/proto/maildir.html">http://cr.yp.to/proto/maildir.html</ulink></para>
    </listitem>

    <listitem>
      <para>mbox(5) manual page (from qmail)
<ulink type="http" url="http://www.qmail.org/qmail-manual-html/man5/mbox.html">http://www.qmail.org/qmail-manual-html/man5/mbox.html</ulink></para>
    </listitem>

    <listitem>
      <para>Mailbox formats (from Mail-Administrator HOWTO)
<ulink type="http" url="http://linuxdocs.org/HOWTOs/Mail-Administrator-HOWTO-3.html#ss3.5">http://linuxdocs.org/HOWTOs/Mail-Administrator-HOWTO-3.html#ss3.5</ulink></para>
    </listitem>
  </itemizedlist>
</para>
</sect1>

<!-- ################################################################# -->
<!--                 SECTION: COMMON TASKS                             -->
<!-- ################################################################# -->
<sect1 id="common-tasks">
<title>Common Tasks with &Balsa;</title>

<para>
  This section explains many of the things you might want to do with
  &Balsa;.
</para>

<itemizedlist mark="bullet">
  <listitem>
    <para><link linkend="ct-create-new-mb">Creating new
    mailboxes</link></para>
  </listitem>

  <listitem>
    <para><link linkend="ct-move-msg">Moving messages
    around</link></para>
  </listitem>

  <listitem>
    <para><link linkend="ct-main-folder-imap">Making one of the main
    folders IMAP-based</link></para>
  </listitem>

  <listitem>
    <para><link linkend="ct-alias-expansion">Expanding
    e-mail addresses automatically</link> </para>
  </listitem>

  <listitem>
    <para><link linkend="ct-ldap">Setting up LDAP address
    books</link></para></listitem>
  </itemizedlist>

  <sect2 id="ct-create-new-mb">
  <title>Creating New Mailboxes</title>

  <para>
    You can create new local and IMAP mailboxes by right-clicking in
    the mailbox list and selecting New Mailbox. This will start a
    dialog that will let you name the mailbox and specify its
    location.
  </para>

  <para>
    To create a new &POP3; mailbox, go to the configuration dialog,
    select the Mailboxes section, and click Add in the POP3 area. A
    dialog will be displayed that will let you set up the new mailbox.
  </para>

  <note>
    <para>
      Under <application>Sawfish</application>, this dialog has been
      known to become obscured, causing the appearance that &Balsa;
      has locked up. Move the configuration dialog and see if the new
      dialog was hidden.
    </para>
  </note>

</sect2>

<sect2 id="ct-move-msg">
  <title>Moving Messages</title>

  <para>
    There are several methods available for moving or copying messages
    from one mailbox to another.  The first is via the
    <guimenuitem>Transfer</guimenuitem> context menu, and the second
    is using drag and drop.
  </para>

  <para>To transfer messages using the
  <guimenuitem>Transfer</guimenuitem> menu, simply select the messages
  you desire to move from one mailbox, then bring up the context menu
  and select the <guimenuitem>Transfer</guimenuitem> submenu.  This
  will display a list of mailboxes similar to the mailbox list in the
  main window.  The list can be scrolled and trees expanded and
  collapsed, although these changes will not be reflected in the main
  list.  Selecting a mailbox will start the transfer.</para>

  <para>The other method of transferring messages is to simply drag
  and drop the message(s) from the message index to the desired
  destination.  Select the message(s) you wish to transfer, then drag
  them using the mouse until they are over the intended mailbox.  The
  destination can either be in the mailbox list in the main window, or
  if open mailbox tabs are enabled the messages can be dragged to
  them.  Messages are copied by default, but holding down the
  <keysym>Shift</keysym> key when dropping the messages will move them
  instead.</para>

</sect2>

<sect2 id="ct-main-folder-imap">
  <title>I want one of the main folders to be IMAP</title>

  <para>First, create the IMAP folder as you want it configured. Then,
  press right mouse button on the mailbox entry and select <guimenuitem>Mark
  as Inbox</guimenuitem>. That is all!</para>
</sect2>
	 
<sect2 id="ct-alias-expansion">
  <title>I want Balsa to guess my friends</title>

  <para>&Balsa; can expand the names of your contacts it finds in &Balsa;
      addressbooks. It will do this by any part of the contact's name
      or email address.
  </para>

  <para>As you type a username in any of the To:, Cc:, or Bcc: entry
  boxes in the <link linkend="win-composer">Compose window</link>, it
  will do a case insensitive search in the addressbook for a matching
  username, and pop up a list of matching complete addresses. Press
  <keysym>Cursor-Down</keysym> to highlight one of the addresses, and
  <keysym>Enter</keysym> to select it.
  </para>

  <!--
  This is best demonstrated
  with the following picture:</para>
 
  <figure>
    <title>Expanding Aliases</title>
    <screenshot>
	  <mediaobject> 
	    <imageobject><imagedata
		fileref="figures/example-alias.png" format="PNG"/> 
	    </imageobject>
	  </mediaobject>
    </screenshot>
  </figure>

  <para>The example shows what it looks like if <quote>Balsa Mailing
  List</quote> is in your address book, and you have typed
  &quot;ba&quot;</para>
-->

  <para>
    To enable this feature, you must select which address books you
    wish to be searched for aliases to expand.  This can be done in the
    <link linkend="preferences-address-books">Preferences</link>
    window, on the <guilabel>Address Books</guilabel> page.
    Also, some address books are expensive to lookup.
    You will need then to press
    <keysym>Escape</keysym> to explicitly expand the alias.
  </para>
</sect2>

<sect2 id="ct-ldap">
  <title>Setting up LDAP address books</title>

  <para>
    Only steps crucial for &Balsa; are described here. Some of the
    steps may be specific to OpenLDAP server. Whenever in doubt,
    consult the documentation provided with your LDAP server.
  </para>

  <itemizedlist>
    <listitem><para>Install the LDAP server software.</para></listitem>

    <listitem><para>Configure. In the case of OpenLDAP, edit
    <filename>/etc/openldap/ldap.conf</filename> and
    <filename>/etc/openldap/slapd.conf</filename>. Consult your LDAP
    configuration and other sources to choose the right Domain Name
    for your institution and authentication level apriopriate to your
    environment.</para></listitem>

    <listitem><para>Import data to your LDAP server. OpenLDAP comes
    with a set of migration tools but they do not create directly
    objects of standard <classname>inetOrgPerson</classname> class
    which is an apropriate type for address book entry. You may need
    to tune them.</para></listitem>

  </itemizedlist>
      
  <para>
    &Balsa; searches for objects having <property>mail</property>
    attribute. The search is done on the <property>cn</property>
    attribute and the search filter has a form
    <quote>(&amp;(mail=*)(cn=John D))</quote>.  &Balsa; uses
    <property>cn</property> (common name),
    <property>givenName</property> (given name),
    <property>sn</property> (surname) and <property>mail</property>
    (e-mail address) attributes of the found objects.
  </para>
</sect2>
</sect1>


<!-- ################################################################# -->
<sect1 id="its-not-working">
  <title>It's not Working!!!</title>

  <para>This is a FAQ for when &Balsa; appears to lock up, or other
   things that you think should be happening aren't. If you can't
   figure out how to do something but &Balsa; lets you do it, that's a
   bug. Report it.</para>

  <itemizedlist mark="bullet">
    <listitem><para><link linkend="inw-main-to-imap">I want one of the
    main folders to be IMAP </link></para></listitem>

    <listitem><para><link linkend="inw-frozen">&Balsa;'s frozen!
    </link></para></listitem>

    <listitem><para><link linkend="inw-didnt-delete">I thought I
    deleted that message!</link></para></listitem>

    <listitem><para><link linkend="inw-spooky-win">What's that window
    that flashed on the screen?  </link></para></listitem>

    <listitem><para><link linkend="inw-address-book">The address book
    doesn't import my addresses.  </link></para></listitem>
    </itemizedlist>

    <sect2 id="inw-main-to-imap">
      <title>I want a basic mailbox to use IMAP</title> <para>See
	<link linkend="ct-main-folder-imap">this section</link>.</para>
    </sect2>

    <sect2 id="inw-frozen">
      <title>&Balsa;'s frozen!</title>
      <para>Odds are it isn't. Watch out for:</para>
      <itemizedlist mark="bullet">
        <listitem><para>If you don't have threading, &Balsa; will stop
         responding when it sends and receives email. Use threading,
         if possible.</para></listitem>

        <listitem><para>&Balsa; is downloading a new message or
         closing a large mailbox. This could take a while, especially
         when this file is accessed via
         <acronym>NFS</acronym>.</para></listitem>

        <listitem><para>A dialog box is being displayed but it is
         obscured by another one. This seems to happen under
         Sawfish. Try moving the windows around and see if there's a
         hidden dialog somewhere.</para></listitem>
      </itemizedlist>
    </sect2>

    <sect2 id="inw-spooky-win">
      <title>What's that window that flashed on the screen?</title>

      <para>Were you checking your mail? Probably. This is the window
	that displays progress for retrieving &POP3;
	mail. If you don't have any &POP3; accounts,
	it will still appear -- but it'll disappear almost
	instantly. You can disable displaying this window in
	preferences.</para>
    </sect2>

    <sect2 id="inw-address-book">
      <title>The address book doesn't import my addresses.</title>

      <para>&Balsa; attempts to open the file 
        <filename>~/.gnome/GnomeCard.gcrd</filename>. If
	you're not using this file, you may need to create a symlink so that
	&Balsa; can open it.</para>

    <para>There have been slight changes in &GnomeCard;'s file format
      between its various versions. &Balsa; is known to work with at
      least &GnomeCard; version 1.0.10 and probably most other
      releases.
    </para>
  </sect2>
</sect1>

<!-- ################################################################# -->
<!--  SECTION: AUTHORS -->
<sect1 id="authors">
  <title>Authors</title>
    
  <para>
    &Balsa; is currently developed by (in alphabetical order):
    <itemizedlist>
		   
    <listitem>
     <para>Carlos Morgado (<email>chbm@chbm.nu</email>)</para>
    </listitem>	

    <listitem>
      <para>Pawel Salek (<email>pawsa@theochem.kth.se</email>)</para>
    </listitem>	
    </itemizedlist>
  </para>
  
  <para>In the past, numerous people contributed to balsa, including
    (in alphabetical order):

<itemizedlist>
 <listitem>
<para>Hector Garcia Alvarez (<email>hector@scouts-es.org</email>)</para>
</listitem>	

<listitem>
<para>Matthew Guenther (<email>guentherm@asme.org</email>)</para>
</listitem>

<listitem>
<para>Bruno Pires Marinho (<email>bapm@camoes.rnl.ist.utl.pt</email>)</para>
</listitem>

<listitem>
<para>Jay Painter (<email>jpaint@gimp.org</email>)</para>
</listitem>	
	
<listitem>
<para>Stuart Parmenter (<email>pavlov@pavlov.net</email>)</para>
</listitem>

<listitem>
<para>David Pickens (<email>dpickens@iaesthetic.com</email>)</para>
</listitem>	
	
<listitem>
<para>Peter Williams (<email>peter@newton.cx</email>)</para>
</listitem>	
	
</itemizedlist>
  To find more information about it, please visit the &Balsa; <ulink
  url="http://www.balsa.net/" type="http">Web page</ulink>.  Please
  send all comments, suggestions, and bug reports to the <ulink
  url="http://bugs.gnome.org/" type="http"><acronym>GNOME</acronym>
  bug tracking database</ulink>. Instructions for submitting bug
  reports can be found on-line at <ulink
  url="http://www.balsa.net/bugs.html" type="http">
  http://www.balsa.net/bugs.html</ulink>. If you are using
  <acronym>GNOME</acronym> 1.1 or later, you can also use command
  <command>bug-buddy</command> for submitting bug reports.
</para>

<para>
  Following people contributed to this manual:
  <itemizedlist>
  <listitem>
  <para>Peter Bloomfield (<email>peterbloomfield@bellsouth.net</email>)</para>
  </listitem>
  <listitem>
  <para>Matthew Guenther (<email>guentherm@asme.org</email>)</para>
  </listitem>
  <listitem>
  <para>Craig Routledge (<email>webstuff@craigroutledge.com</email>)</para>
  </listitem>
  <listitem>
  <para>Berend De Schouwer (<email>bds@jhb.ucs.co.za</email>)</para>
  </listitem>
  <listitem>
  <para>Pawel Salek (<email>pawsa@theochem.kth.se</email>)</para>
  </listitem>
  <listitem>
  <para>Peter Williams (<email>peter@newton.cx</email>)</para>
  </listitem>
  <listitem>
  <para>Jelmer Vernooij (<email>jelmer@nl.linux.org</email>)</para>
  </listitem>
  </itemizedlist>

  Please send all comments and suggestions regarding the manual to the
  <acronym>GNOME</acronym> Documentation Project at
  <email>docs@gnome.org</email> and the &Balsa; Discussion List
  <email>balsa-list@gnome.org</email>. You can also add your comments
  online by using <ulink url="http://www.gnome.org/gdp/doctable/"
  type="http"><acronym>GNOME</acronym> Documentation Status
  Table</ulink>.
  </para>
</sect1>

  <glossary id="glossary">
  <title>Glossary</title>

    <glossentry id="glossary-pop">
      <glossterm>POP</glossterm>
      <glossdef>
	<para>An acronym for &quot;Post Office Protocol&quot;, a
	simple method of retrieving mail messages from a remote mail
	server.  Widely used by mail clients from an Internet Service
	Provider's mail server to a user's machine for viewing.
	Currently most people use version three of the protocol,
	otherwise known as POP3.  A very simple protocol, and not very
	flexible, but simple to implement and ubiquitous throughout
	the internet.
	</para>
      </glossdef>
    </glossentry>
    
    <glossentry id="glossary-druid">
      <glossterm>Druid</glossterm>
      <glossdef>
	<para>The <acronym>GNOME</acronym> equivalent to Microsoft
	  Windows Wizards, a step by step dialog to guide the user
	  through a setup procedure.</para>
      </glossdef>
    </glossentry>

    <glossentry id="glossary-imap">
      <glossterm>IMAP</glossterm>
      <glossdef>
	<para>An acronym that stands for &quot;Internet Mail Access
	Protocol&quot;.  It is a newer method of accessing mail over
	the internet.  It is far more featureful than &POP3;,
	allowing for remote folders on the mail server, and more
	control over mail delivery.  However it is not as widely
	supported.</para>
      </glossdef>
    </glossentry>
    
    <glossentry id="glossary-ldap">
      <glossterm>LDAP</glossterm>
      <glossdef>
	<para>An acronym for &quot;Lightweight Directory Access
	Protocol&quot;.  It is a widely-accepted standard for
	accessing contact information over a network.  This enables
	organizations to store address information in a central
	database, but have many people able to access it.</para>
      </glossdef>
    </glossentry>

    <glossentry id="glossary-libmutt">
      <glossterm>libmutt</glossterm> <glossdef><para>The library based
	  on Mutt's code and used by previous versions of &Balsa; to
	  handle local mail and IMAP servers.</para></glossdef>
    </glossentry>
    
    <glossentry id="glossary-mailbox-list">
      <glossterm>mailbox list</glossterm> <glossdef><para>The list of
	  mailboxes found in &Balsa;'s left hand
	  pane.</para></glossdef>
    </glossentry>

    <glossentry id="glossary-message-index">
      <glossterm>message index</glossterm> <glossdef><para>The list of
	  messages in &Balsa;'s upper-right hand
	  pane.</para></glossdef>
    </glossentry>

    <glossentry id="glossary-message-view">
      <glossterm>message view</glossterm> <glossdef><para>The message
	  display in &Balsa;'s lower-right hand
	  pane.</para></glossdef>
    </glossentry>

    <glossentry id="glossary-mda">
      <glossterm>MDA</glossterm>
      <glossdef>
	<para>An acronym for &quot;Mail Delivery Agent&quot;, this
	type of program is also known as a Local Delivery Agent (LDA).
	It is responsible for delivering the mail recieved for someone
	on a machine to the mail folder of that person.
	&procmail; is an example of this type
	of program, although many <glossterm
	linkend="glossary-mta">MTA</glossterm>'s have their own MDA
	implementations.
	</para>
      </glossdef>
    </glossentry>

    <glossentry id="glossary-mta">
      <glossterm>MTA</glossterm>
      <glossdef>
	<para>An acronym for &quot;Mail Transfer Agent&quot;, this
	class of program is responsible for moving mail around between
	people, be they on the same computer, on on completely
	separate networks.  Examples of this type of program include
	<application>sendmail</application>,
	<application>qmail</application>, and
	<application>postfix</application>.</para>
      </glossdef>
    </glossentry>

    <glossentry id="glossary-mua">
      <glossterm>MUA</glossterm>
      <glossdef>
	<para>An acronym for &quot;Mail User Agent&quot;, this the
	program a user would use to read existing mail and create new
	messages.  MUAs are one of three types of programs that allow
	internet email to work.  The other two types of programs are
	<glossterm linkend="glossary-mta">MTA</glossterm>s and
	<glossterm linkend="glossary-mda">MDA</glossterm>s.
	&Balsa; is primarily an MUA, but it
	also functions as an MDA/MTA when retrieving mail from a
	remote server.</para>
      </glossdef>
    </glossentry>
    
    <glossentry id="glossary-regular-expression">
      <glossterm>Regular Expression</glossterm>
      <glossdef>
	<para>Often abbreviated as a <abbrev>regexp</abbrev>, this is
	a method of specifing a pattern to match in text.  Both very
	simple and very complex patterns can be easily matched using
	this method.  For information on how to understand and
	construct regular expressions the best source is the grep
	manual or info page.</para>
      </glossdef>
    </glossentry>

    <glossentry id="glossary-smtp">
      <glossterm>SMTP</glossterm>
      <glossdef>
	<para>An acronym that stands for &quot;Simple Mail Transfer
	Protocol&quot;, it is exactly that.  A standard that defines a
	simple an reliable way to transfer messages between computers
	on a network.  It is used by most, if not all, mail programs
	to transfer mail.</para>
      </glossdef>
    </glossentry>

    <glossentry id="glossary-vcard">
      <glossterm>VCARD</glossterm>
      <glossdef>
	<para>VCARD is a standard method of storing contact
	information for easy exchange between programs.  &Balsa;
	supports VCARD addressbooks, as does GnomeCard and 
	Evolution.  Many other programs are capable of
	exporting their contact lists in VCARD format as well.</para>
      </glossdef>
    </glossentry>
    
  </glossary>
</article>