File: XBanner_Users_Manual.html

package info (click to toggle)
xbanner 1.31-13
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,108 kB
  • ctags: 832
  • sloc: ansic: 5,084; sh: 263; csh: 168; makefile: 150
file content (1685 lines) | stat: -rw-r--r-- 71,116 bytes parent folder | download | duplicates (8)
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
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<title>XBanner Users Manual</title>
</head>

<body bgcolor="#F82866">

<h1>XBanner Users Manual</h1>

<p>Last revised: 25-April-1997 <!-- AS-TOC_BEGIN{ --> </p>

<h1 align="center">Table of Contents</h1>

<ol>
    <li><a href="#as-h2-15110">Purpose Of XBanner</a> </li>
    <li><a href="#as-h2-15111">Legal Information</a> </li>
    <li><a href="#Platforms">Tested Platforms</a> </li>
    <li><a href="#limits">Features and Limitations</a></li>
    <li><a href="#Compilation">Compiling XBanner</a> </li>
    <li><a href="#as-h2-15112">The Programs In This Package</a> </li>
    <li><a href="#Installing">Installing XBanner into XDM's
        scripts</a> </li>
    <li><a href="#as-h2-15113">Setting Up Default Configuration
        Resources</a> </li>
    <li><a href="#as-h2-15114">Creating A New Configuration
        Resource File</a> <ul>
            <li><a href="#res_types">Resource Types</a> </li>
        </ul>
    </li>
    <li><a href="#design_consider">Design Considerations</a> </li>
    <li><a href="#fonts">Getting Scalable Fonts</a> </li>
    <li><a href="#classnames">Using Class Names For Multiple
        Configurations</a> </li>
    <li><a href="#Configuring">Configuring XBanner</a> <ul>
            <li><a href="#Cfg_Text">The Text</a> <ul>
                    <li><a href="#cfg_text_label">The label
                        Resource</a> </li>
                    <li><a href="#cfg_text_font">The font
                        Resource</a> </li>
                    <li><a href="#cfg_text_placement">The
                        placement Resource</a> </li>
                    <li><a href="#cfg_text_xy">The x and y
                        resources</a> </li>
                    <li><a href="#cfg_text_effect">The effect
                        Resource</a> </li>
                    <li><a href="#cfg_text_underlined">The
                        underlined Resource</a> </li>
                    <li><a href="#cfg_text_underlinecolor">The
                        underlineColor Resource</a> </li>
                    <li><a href="#cfg_text_underlinethickness">The
                        underlineThickness Resource</a> </li>
                    <li><a href="#cfg_text_glint">The glint
                        Resource</a> </li>
                    <li><a href="#cfg_text_glintspeed">The
                        glintSpeed Resource</a> </li>
                    <li><a href="#cfg_text_glintminmax">The
                        glintMin / glintMax Resources</a> </li>
                    <li><a href="#cfg_text_glinttimeminmax">The
                        glintTimeMin / glintTimeMax Resources</a>
                    </li>
                    <li><a href="#cfg_text_cornermask">The
                        cornerMask Resource</a> </li>
                </ul>
            </li>
            <li><a href="#Cfg_BG">The Background</a> <ul>
                    <li><a href="#cfg_bg_style">The bgStyle
                        Resource</a> </li>
                    <li><a href="#cfg_bg_fill">The Fill Options</a>
                    </li>
                    <li><a href="#cfg_bg_dofill">The bgFill
                        Resource</a> </li>
                    <li><a href="#cfg_bg_autofill">The autoFillBg
                        Resource</a> </li>
                    <li><a href="#cfg_pix">The doPixmap Resource</a>
                    </li>
                    <li><a href="#cfg_pix_fname">The pixFile
                        Resource</a> </li>
                    <li><a href="#cfg_pix_loc">The Pixmap
                        Location</a> </li>
                </ul>
            </li>
            <li><a href="#Cfg_Cycle">The Color-Cycling Options</a>
                <ul>
                    <li><a href="#cfg_cyc_cyclecolors">The
                        cycleColors Resource</a> </li>
                    <li><a href="#cfg_cyc_cyclespeed">Selecting
                        Cycle Speed</a> </li>
                    <li><a href="#cfg_cyc_dir">Changing Cycle
                        Direction</a> </li>
                </ul>
            </li>
            <li><a href="#Cfg_Misc">Miscellaneous Options</a> </li>
        </ul>
    </li>
    <li><a href="#as-h2-15115">XBanner On The Net</a> </li>
    <li><a href="#as-h2-15116">Tips And Tricks</a> <ul>
            <li><a href="#as-h3-15117">Speed Issues</a> </li>
            <li><a href="#as-h3-15118">Other Ideas</a> </li>
        </ul>
    </li>
    <li><a href="#as-h2-15119">Credits</a> </li>
    <li><a href="#as-h2-151110">Contacting Me</a> </li>
</ol>
<!-- AS-TOC_END} -->
<h2><a name="as-h2-15110">Purpose Of XBanner</a></h2>

<p>The purpose of XBanner is to make the XDM login screen
beautiful, as opposed to the dull and gray login screen that the
vanilla XDM gives. The idea came from Digital's login screen
which displays the Digital logo nicely. I use Linux and wanted to
run XDM, but XDM's login screen was such a boring thing, so I
wrote XBanner! </p>

<p>XBanner is definitely <b>not</b> Linux-specific! It is not
even Unix specific. Please refer to the <a href="#Platforms">Platforms</a>
section about tested platforms. </p>

<h2><a name="as-h2-15111">Legal Information</a></h2>

<p>I am releasing this program to the public, in the hope that
many people use it, and enjoy it. To make sure it stays free, I
decided to distribute this program under the <a
href="COPYING-2.0">GNU Public License (GPL) version 2</a>. </p>

<p>All I ask is that you contact me and tell me you are using it.
My preferred way is a postcard of your home area. This is just an
encouragement thing. It will encourage me to continue and enhance
and maybe even add new effects, etc. Email is also possible. My
addresses:<br>
Email - <a href="mailto:amitm@netvision.net.il">amitm@netvision.net.il</a>.<br>
</p>

<address>
    <u>Snail-Mail</u>:<br>
    <br>
    Amit Margalit<br>
    27 Bar-Ilan st. Apt#10<br>
    Ra'anana, 43700<br>
    ISRAEL<br>
    
</address>

<p><br>
(Thanks!) </p>

<p>I would also like to specify that I wrote this for myself, and
that I disclaim all and any liability bla bla bla... etc. In
short: </p>

<p><code>#include &lt;Legal/disclaim.h&gt;</code> </p>

<h2><a name="Platforms">Tested Platforms</a></h2>

<p>XBanner can compile under any X11 environment from release 4
(X11R4) and up. XBanner can also display its graphics on any
server that conforms to release 4 or up. </p>

<p>Before compiling under X11R4, see the <a href="#Compilation">Compilation</a>
section for details about compiling in R4 environments.<br>
If displaying over to a X11R4 server is desired, a large font (or
fonts) is needed, which are difficult to come by since X11R4 did
not support true scalable fonts. The same is true for OpenVMS
users. The OpenVMS X-Server is an X11R5 server, but does not
support scalable fonts. In general, I am able to help by taking a
freely-available scalable font, and generating a <code>.BDF</code>
file from it. Please <a href="maito:amitm@netvision.net.il">email
me</a> for help on this. </p>

<p>Here is a short list of platforms I have tested XBanner on,
and ones I have received success reports with: </p>

<ul>
    <li>Linux (x86) running XFree86 3.2 / Metro-X 3.1 /
        Accelerated-X (X11R6) </li>
    <li>Linux/SPARC with XFree86 (X11R6) </li>
    <li>Linux/AXP with XFree86 (X11R6) </li>
    <li>Solaris 4.3 running OpenWindows (X11R5) </li>
    <li>Ultrix 4.4 running DEC's Xwst3d (X11R4) </li>
    <li>Digital Unix v3.2c (X11R5) / V4.0 (X11R6)<sup>1</sup> </li>
    <li>AIX v3.2.5 (X11R5) </li>
    <li>SGI IRIX v5.3 (X11R5)<sup>2</sup> </li>
    <li>VAXstation 4000-60 running OpenVMS 6.1 (X11R4/5)<sup>3</sup>
    </li>
    <li>DEC-3000 AXP running OpenVMS 7.0 (X11R5)<sup>3</sup> </li>
</ul>

<p>Compilation under different environments is encouraged. Any
success report will be listed with the person's name attached.
Please <a href="maito:amitm@netvision.net.il">email</a> any
reports to me. (Thanks!). </p>

<p>Notes: </p>

<ol>
    <li>In <a name="CDE">CDE</a> environments there is a problem
        with the CDE login box thingy. You will have to move back
        to the old XDM <font face="Times New Roman"><code>:-(</code></font>
    </li>
    <li>This report comes from <a
        href="mailto:dejan@mit.fnal.gov">Dejan Vucinic
        &lt;dejan@mit.fnal.gov&gt;</a>, feel free to contact him.
    </li>
    <li>Compiling under OpenVMS requires DEC-C. Also, some of
        XBanner's features are not supported in OpenVMS. See the
        file <code>README</code> in the <code>VMS/</code>
        directory for complete details. </li>
</ol>

<h2><a name="limits">Features and Limitations</a></h2>

<p>XBanner contains many features. This list includes any
features which have non explicit limitations.</p>

<ol type="1" start="1">
    <li>Color Cycling of all sorts depend on Read/Write color
        cells in the X colormaps. These are usually not available
        at all in 15/16/24/32 bit displays. So if your display is
        set to 15/16/24/32 bits of color (HiColor / TrueColor)
        you will not be able to use Color Cycling, and attempting
        to do so will make XBanner generate a warning message,
        and of course, disable this feature.</li>
    <li>The Expose events handling is tricky. You can use it to
        have XBanner redraw areas that have been exposed. It is
        especially useful when using XDM-3D and setting it to
        move the login box every few seconds (like Windows NT
        does). However, if you are invoking XBanner more than
        once to display extra graphics, make sure that <strong>only
        the last invocation is handling expose events</strong>.</li>
    <li>At present, XBanner can only render one line of text. A
        future version will allow multi-line text.</li>
    <li>The included <font face="Times New Roman"><code>Imakefile</code></font>
        is not complete. It should contain many things more.
    <li>XBanner does not work well with CDE. </li>
</ol>

<h2><a name="Compilation">Compiling XBanner</a></h2>

<p>There are 3 ways to compile XBanner. The simplest way should
be to use the <tt>xmkmf</tt> utility which uses the supplied <tt>Imakefile</tt>.
However, the preferred method is the second method described
<A HREF="#second_meth">below</A>.
After <tt>xmkmf</tt> is finished, type <tt>make</tt> to compile, or
<tt>make install</tt> to install. You might want to edit the <tt>Imakefile</tt>
to ensure the install directory is correct.
However, the <tt>Imakefile</tt> is not yet complete, nor well checked.
This ought to work in any system, but is not
yet tested under any platform other than Linux. If you have X11
set up properly, this should work. If it works for you, please <a
href="mailto:amitm@netvision.net.il">email me</a>. </p>

<p><A NAME="second_meth">The second method</A> is through the supplied <tt>Makefile</tt>.
Typing <tt>make</tt> after checking the files that affect the
compilation, should be enough. </p>

<p>In general, there are 3 files which govern XBanner's
compile-time options. The file <code>xbanner.h</code> contains
all the defaults and does not affect compilation. XBanner's
default values can be changed from there. </p>

<p>The second file is <code>xb_config.h</code> which contains the
configuration options. This actually changes the output binary
according to compile-time conditionals. Here is a detailed
description of the options included in <code>xb_config.h</code>: </p>

<table border="2" bgcolor="#00FFFF" cols="2">
    <tr>
        <th>Definition</th>
        <th>Meaning / Who should use </th>
    </tr>
    <tr>
        <td valign="top"><code>#define PRGCLASS
        &quot;XBanner&quot;</code> </td>
        <td valign="top">This selects the program class-name. All
        resources can be looked for under this class-name. If
        changed to '<code>X_Logo</code>' then one could specify
        resources like '<code>X_Logo.Thickness: 1</code>' but
        XBanner will not recognize '<code>XBanner.*</code>'
        resources. </td>
    </tr>
    <tr>
        <td valign="top"><code>R4_RESOURCES</code> </td>
        <td valign="top">This definition will use X11R4
        Resource-Manager functions. This should only be used when
        <b>compiling</b> in a R4 environment. </td>
    </tr>
    <tr>
        <td valign="top"><code>EXPLICIT_REGISTER_VARIABLES</code>
        </td>
        <td valign="top">This is good for systems that don't have
        GCC. If using GCC, then the -O2 option will simply ignore
        the <code>register</code> keyword, because GCC thinks it
        probably knows better. I have experimented a little, and
        found which routines could use explicit <code>register</code>-defined
        variables, and set them. This speeds up a bit on systems
        that don't have GCC. </td>
    </tr>
    <tr>
        <td valign="top"><code>HAS_USLEEP</code> </td>
        <td valign="top">If this line is commented out, XBanner
        will compile its own version of <code>usleep()</code>,
        because some systems don't have it (Ultrix for example).
        Linux has <code>usleep()</code>. </td>
    </tr>
    <tr>
        <td valign="top"><code>HAS_STRCMPI</code> </td>
        <td valign="top">If your system has the <code>strcmpi()</code>
        function or <code>strcasecmp()</code>, then make sure
        this line is not commented. Linux users should leave this
        line not commented. </td>
    </tr>
    <tr>
        <td valign="top"><code>INT_PLASMA</code> </td>
        <td valign="top">Commenting out this line causes XBanner
        to use floating-point arithmetic to generate
        PlasmaClouds. This is about 40% slower on Pentia, but
        looks a bit better. For Pentium-166MHz, or a 166MHz
        AlphaStation, this is probably not an issue. </td>
    </tr>
    <tr>
        <td valign="top"><code>OTHER_FRAND()</code> </td>
        <td valign="top">Under Linux, XBanner uses the Linux
        C-Library <code>drand48()</code> function to generate
        random numbers for the PlasmaCloud effects. On other
        systems, it approximates this by using <code>rand()</code>,
        casting the result to float, then dividing by <code>RAND_MAX</code>.
        This is slower and not as accurate. If your system has
        another function that generates random floating-point
        numbers between 0.0 and 1.0, define it here.<br>
        Example:<br>
        <code>#define OTHER_FRAND() drand48()</code> </td>
    </tr>
</table>

<p>The last file one might want to edit is the <code>Makefile</code>.
There are 3 things to edit in the <code>Makefile</code>: </p>

<ol>
    <li>The command definitions for the variables <code>CC</code>,
        <code>RM</code>, <code>INSTALL</code>, <code>CP</code>, <code>TAR</code>,
        and <code>GZIP</code>. Most importantly, if your system
        doesn't have <code>gcc</code>, define CC differently!
        Please make sure GZIP is defined as '<code>compress</code>'
        if your system doesn't have the <code>gzip</code>
        utility. </li>
    <li>The directory definitions for <code>BINDIR</code> (where
        the binary gets installed), and <code>XLIBDIR</code>
        (where your <code>libX11.a</code> resides). </li>
    <li>The XPM support defines (<code>XPM</code> and <code>XPMLIB</code>).
        Simply comment them out if your system doesn't have the <code>XPM</code>
        library. If your <code>libXpm.a</code> is not in <code>ld</code>'s
        library path, it is possible to change the definition
        from <pre>
  XPMLIB  =-lXpm
</pre>
        <p>to be: </p>
        <pre>
  XPMLIB  =/usr/home/amitm/LIBS/libXpm.a
</pre>
        <p>or something similar. </p>
    </li>
</ol>

<p>That's it. Type '<code>make</code>' and it should compile.
Then '<code>make install</code>' will strip and copy the binaries
to the binary directories. Note that the <code>random_effect</code>
binary is not installed by '<code>make install</code>'. </p>

<p>The last way is by hand. See the <tt>QuickStart</tt> file for
this. </p>

<h2><a name="as-h2-15112">The Programs In This Package</a></h2>

<dl>
    <dt><code>xbanner</code> </dt>
    <dd>This is the main executable. It performs all the
        graphics, resource-parsing, coloring etc. as well as the
        glints, and color-cycling, if requested. </dd>
    <dt><code>freetemp</code> </dt>
    <dd>Usually when an X application exits, all the resources it
        had allocated on the X server (colormap entries, fonts,
        cursors, etc.) are made available immediately to all
        other applications. XBanner prevents this from happening
        and asks the server to keep those resources temporarily
        after it exits. The <code>freetemp</code> program will
        free those resources. It is <b>mandatory</b> to use <code>freetemp</code>
        if using any of the Glint / Linger / Color-cycling
        features. </dd>
    <dt><code>xb_check</code> </dt>
    <dd>This is a small utility program that reads <code>stdin</code>
        expecting a resource-file format. It looks for lines
        resembling XBanner resources and tries to check that they
        are valid. (I haven't tested this on OpenVMS yet). </dd>
    <dt><code>random_effect</code> </dt>
    <dd>This utility reads a file that lists different XBanner
        resource-files, selects one by random, and runs <code>xbanner
        -file &lt;res-file&gt;</code> for it. </dd>
</dl>

<h2><a name="Installing">Installing XBanner into XDM's scripts</a></h2>

<p>These instructions are written for people of the lowest level
of experience, so if you feel you are above this level, simply
follow the numbered steps (lines in <b>bold</b>). It is assumed
that you already successfully compiled XBanner and it is already
in the path. </p>

<p>For Debian 1.1 users, a Debian package (<tt>xb_13.deb</tt>) is
available in the FTP directory and from the download page. If you
are using the Debian distribution, and have Debian 1.1 already
installed, please click <a href="README.Debian">here</a>. </p>

<p>If you have Digital Unix, you need to disable DEC's greeter
library. Click here to read the <a href="README.DEC_Unix"><tt>README.DEC_Unix</tt></a>
file on how this is done. After doing this, just follow the
normal XBanner instructions. (This was not tested under CDE!). </p>

<p>OpenVMS installation instructions are in the file <code>XBanner1.3/VMS/README</code>
in the source distribution. </p>

<p>If the following does not work on your system, or if you are
unsure, you can take a look at the file <code>samples/_other_ideas/My_Home_Setup.tar</code>
which contains the entire setup for my home system including the <code>Xsetup_0</code>
and <code>Xsession</code> scripts, so you can rummage through
them. </p>

<p>Installing XBanner to work with XDM the way it should is
fairly simple. The process involves modifying 2 script files,
that's it. </p>

<p><u>A bit about XDM</u>: </p>

<p>XDM is a short for <b>X</b><i>Windows</i> <b>D</b><i>isplay</i>
<b>M</b><i>anager</i>. As such it is a tool for managing
different displays. Managing means that XDM takes over the
display, does several initializations, puts on a login-box, and
let's the user log in to the machine it is running <b><i>from</i></b>.
After the user is successfully authenticated against the password
file, XDM runs a script which eventually loads the
window-manager. When the window-manager exits, the script ends,
XDM does a reset, and starts over (initializations, login-box,
etc.). </p>

<p>We need to put several lines into the script which XDM runs to
do the initializations. This is most usually placed in <code>/usr/lib/X11/xdm</code>
but some Linux distributions have it at <code>/etc/X11/xdm</code>.
The file is usually called <code>Xsetup_0</code>. But these are
just the usual, not necessarily the right ones for your system.
Here's a step-by-step guide to finding these files: </p>

<dl>
    <dt><b>Step 1: Type '</b><code><b>more
        /usr/lib/X11/xdm/xdm-config</b></code><b>'</b> </dt>
    <dd>Look for two lines. The one begins with: <pre>DisplayManager._0.setup:</pre>
        <p>The other begins with: </p>
        <pre>DisplayManager*session:</pre>
        <p>Note the names of the files they point to. These will
        usually be <code>Xsetup_0</code> and <code>Xsession</code>.
        I will hereafter refer to these by those names. </p>
    </dd>
</dl>

<p>These are the files we need to change. The one is the
initialization script, which on some machines runs a <code>xconsole</code>
so you'll have one with the login-box. </p>

<dl>
    <dt><b>Step 2: Edit </b><code><b>Xsetup_0</b></code> </dt>
    <dd>You should add 2 lines into this file. The first is a
        line that runs <code>freetemp</code>. This is a
        precautionary measure, but will save you if something
        really bad happened when the previous session ended. The
        second line is to run <code>xbanner</code> itself. Notice
        that the directory where <code>xbanner</code> and <code>freetemp</code>
        are installed in might not be in the path. In this case,
        specify the complete path to the programs (i.e. <code>/usr/local/bin/X11/xbanner</code>).
        <br>
        Both lines ought to appear around the end of the file. </dd>
</dl>

<dl>
    <dt><b>Step 3: Edit </b><code><b>Xsession</b></code> </dt>
    <dd>A line to run <code>freetemp</code> from here as well.
        This should be done near the top of the file. Preferably
        before anything else. </dd>
</dl>

<h2><a name="as-h2-15113">Setting Up Default Configuration
Resources</a></h2>

<p>The purpose of an <code>app-defaults</code> is to serve as a
default configuration. Some of the things that XBanner tries to
do require some resources to be set for them to work properly. </p>

<p>The supplied <code>samples/XBanner.ad</code> can be used as a
good default (assuming it works flawlessly for you), as well as a
good starting point for new setups. After typing <code>make</code>
try to test this setup by typing <code>./xbanner -file
samples/XBanner.ad</code>. If the font cannot be found, refer to
the <a href="#fonts">fonts</a> section. </p>

<p>After you have edited it to suit your taste, copy the file <code>XBanner.ad</code>
to <code>/usr/lib/X11/app-defaults</code>, and make sure you
rename it to <code>XBanner</code> and not leave it there with the
<code>.ad</code> suffix. </p>

<h2><a name="as-h2-15114">Creating A New Configuration Resource
File</a></h2>

<p>The simplest way to create a new resource file is to take <code>XBanner.ad</code>
and work your way by modifying it. This is good because <code>XBanner.ad</code>
contains a list of supported keywords near every resource that
takes keywords. </p>

<p>However, sometimes you want to create your own resource file.
First, please look at the different types of resources that
XBanner can accept. The same type-names are used in the <a
href="Resource_Reference.html">Resource Reference</a> and in fact
throughout the documentation. </p>

<h3><a name="res_types"><u>Resource Types</u></a></h3>

<dl>
    <dt><b><i>Numeric</i></b> </dt>
    <dd>This is an integer number. Some resources have
        bounds-checking. Those that don't will most likely work
        OK anyway. </dd>
    <dt><b><i>Float</i></b> </dt>
    <dd>This is a floating-point number. While XBanner uses the <code>atof()</code>
        function to read this value, and allows the use of
        scientific notation, the <code>xb_check</code> program
        checks it itself, and allows only the simple XX.YY
        notation. </dd>
    <dt><b><i>Boolean</i></b> </dt>
    <dd>A true/false resource. See the <a
        href="Resource_Reference.html#boolean">Resource Reference</a>
        about this. </dd>
    <dt><b><i>String</i></b> </dt>
    <dd>This is simply a string of characters. Anything can be
        used. I don't believe anyone will use a string of more
        than the internal limit because even on a 1600x1200
        screen using the smallest font imaginable, you'd still
        get less than 1024 chars. </dd>
    <dt><b><i>Keyword</i></b> </dt>
    <dd>This is a character string comprising a special name
        known to XBanner. The <a href="Resource_Reference.html">Resource
        Reference</a> lists the possible keywords accepted by
        each resource. </dd>
    <dt><b><i>Keyword-list</i></b> </dt>
    <dd>This is a comma-separated list of Keyword's. </dd>
    <dt><b><i>ColorSpec</i></b> </dt>
    <dd>This can be the name of a color known to the X-Server, or
        a RGB specification. Specifying RGB values can be done
        either as '<code>#RRGGBB</code>' or '<code>#RRRRGGGGBBBB</code>'.
        The RGB components are given in Hexadecimal. </dd>
    <dt><b><i>GradSpec</i></b> </dt>
    <dd>This is a comma-separated list of ColorSpec's. </dd>
</dl>

<h2><a name="design_consider">Design Considerations</a></h2>

<p>There are quite a few things to consider when designing a
login screen. Here is a list of things it's good to keep in mind:
</p>

<ol>
    <li>The type of display you are running on. If you have a
        TrueColor display, then you cannot use any of the
        color-cycling features, since TrueColor displays do not
        support Read/Write color-cells. </li>
    <li>If you have a PseudoColor display (almost <b><i>any</i></b>
        256-color X-Server is a PseudoColor display), then you
        have the color-cycling features, but you are limited in
        the number of colors that you can use. </li>
    <li>Some people use <code>xdm-photo</code>, a XDM variant
        that shows people's faces, and you click your face, and
        type the password. If you are using <code>xdm-photo</code>,
        you are probably even more limited in the number of
        colors you can use. Also, it was brought into my
        attention that <code>xdm-photo</code> draws its login-box
        <i>before</i> running the <code>Xsetup_0</code> script,
        and this causes various problems with <i>image</i>-type
        effects (see <a href="#Cfg_Text">below</a>). </li>
    <li>Which fonts do you have? Do you have Adobe Type1 fonts?
        Do you have Speedo fonts? If you don't have real scalable
        fonts, then only very squarish fonts will look OK. See
        the <a href="#fonts">fonts</a> section. </li>
    <li>Machine speed is a crucial factor. Some effects are very
        slow. Notably, Coin, and the PlasmaCloud effects are very
        slow. </li>
    <li>Don't over colorize. You must select your login screen
        colors with taste. Filling the screen with a zillion
        colors and gradients can be dazzling, but annoying to see
        after a while. </li>
    <li>I cannot over-emphasize this: <b>Do NOT make excessive
        use of color-cycling</b>! This tends to be extremely
        irritating. I suggest using slow-speed cycles and do it
        on &quot;shallow&quot; color gradients (e.g. gradients
        from blue to dark-blue, not from black to white). </li>
</ol>

<h2><a name="fonts">Getting Scalable Fonts</a></h2>

<p>XBanner is a neat program, and does a whole lot of things. But
it needs a good scalable font to do all the wonders that it can.
What is a scalable font? A scalable font is a font that has an
attribute that defines it as scalable. It might be a vector-font
which means it will look smooth at any size, or it might be a set
of bitmap fonts for various sizes, which the X-Server will pick
from and scale up or down to get the exact size you require. </p>

<p>So how do you know if you have scalable fonts at all? How do
you know which ones are scalable? All of these questions are
answered in a separate document I wrote. <a href="fonttips.html">Here</a>
it is. Please read it thoroughly and make sure that you have
scalable fonts, and you know their names before we can continue
with the rest of this guide. </p>

<h2><a name="classnames">Using Class Names For Multiple
Configurations</a></h2>

<p>X11 resources are the main system of passing options to an X11
application. In X11 each resource has a class-name. An
application has its instance-name (usually the name of the binary
executable file) and a class-name. An application can refer to a
resource name (signifying a configuration option), through its
class-name or its instance name. </p>

<p>Usually, class names have their first letters capitalized.
Application class-names are also capitalized, unless the
application name starts with X in which case, by convention, the
first 2 letters are capitalized. Hence XBanner's instance name is
usually '<code>xbanner</code>' and its class-name is usually '<code>XBanner</code>'.
</p>

<p>In general, instance names take precedence over class names.
XBanner is no exception to this rule. It is possible to exploit
this mechanism in various ways. For instance, it is possible to
create a single resource file, that will bind in it all the
necessary information to create a two-line login-screen. </p>

<p>Here is an example resource file that does exactly that. This
file assumes that you have a link from <code>xbanner</code> to <code>xb_line2</code>
and that the script runs <code>xbanner</code> before <code>xb_line2</code>:
</p>

<pre>
! XBanner 1.3 resource file
!
! Resources common to both lines
!
XBanner.DefOffset:	20
XBanner.ShadowOffset:	12
XBanner.ShowErrors:	True
XBanner.Font:		-*-charter-bold-i-normal--76-*-*-*-p-*-iso8859-1
XBanner.ShadowColor:	DarkBlue
!
! Resources for first line
!
xbanner.label:		This is my first line
xbanner.effect:		FgPlasma
xbanner.fgPlasmaGrad:	Red,Yellow
xbanner.bgStyle:	TopDown
xbanner.bgGrad:		Red,Yellow
xbanner.barSize:	12
!
! Resources for second line
!
xb_line2.label:		This is the second line
xb_line2.effect:	Shadowed-Outline
xb_line2.shadowColor:	White
xb_line2.HiColor:	Red
xb_line2.Surround:	4
</pre>

<p>Let's analyze what I am doing. The common options use the <code>XBanner</code>
application class name, and resource class names. This provides
for specific overrides by the instance names. The lines </p>

<pre>
XBanner.DefOffset:	20
XBanner.ShadowOffset:	12
XBanner.ShowErrors:	True
XBanner.Font:		-*-charter-bold-i-normal--76-*-*-*-p-*-iso8859-1
XBanner.ShadowColor:	DarkBlue
</pre>

<p>will set the default minimum distance from the screen edges to
20 pixels, define the shadow right- and down- offsets from the
text to be 12 pixels, make both invocations of XBanner (one as <code>xbanner</code>
the other as <code>xb_line2</code>) show errors / warnings if any
exist, select a font, and a ShadowColor. </p>

<p>The next bit defines the label for the invocation as '<code>xbanner</code>'
as well as the effect, the color-gradient required by that
effect, and the background style and its required color gradient.
</p>

<p>I then define the options specific to the invocation as '<code>xb_line2</code>'.
This includes overriding the ShadowColor with its instance name,
and defining Surround which is a common class. </p>

<h2><a name="Configuring">Configuring XBanner</a></h2>

<p>There are four almost independent parts to XBanner. They are <a
href="#Cfg_Text">The Text</a>, <a href="#Cfg_BG">The Background</a>,
<a href="#Cfg_Cycle">Color Cycling</a>, and <a href="#Cfg_Misc">Miscellaneous</a>.
</p>

<p>Note: Resources are given in their instance-names, with the
&quot;<code>XBanner.</code>&quot; prefix stripped. You may click
each resource to find related resources, usage and keyword
information. </p>

<hr>

<h3><a name="Cfg_Text">The Text</a></h3>

<p>The Text part is subdivided into these categories: </p>

<ul>
    <li><code>The </code><a href="#cfg_text_label"><code>Label</code></a>
    </li>
    <li><code>The </code><a href="#cfg_text_font"><code>Font</code></a>
    </li>
    <li><code>The </code><a href="#cfg_text_placement"><code>Placement</code></a><code>
        On The Screen</code> </li>
    <li><code>The </code><a href="#cfg_text_effect"><code>Effect</code></a><code>
        Rendered</code> </li>
    <li><code>The </code><a href="#cfg_text_underlined"><code>Underline</code></a><code>
        Feature</code> </li>
    <li><code>The </code><a href="#cfg_text_glint"><code>Glint</code></a><code>
        Feature</code> </li>
</ul>

<hr>

<h4><a name="cfg_text_label"></a>The <a
href="Resource_Reference.html#.label"><code>label</code></a>
Resource</h4>

<p>This resource selects the text that will appear on the screen.
You may use double-quotes to add leading spaces. </p>

<p>Using an empty string (e.g. <code>XBanner.Label: &quot; &quot;</code>)
is also allowed, in which case XBanner will choose the <code>fixed</code>
font which is guaranteed, and force the <a
href="#cfg_text_effect">effect</a> to be <a
href="#cfg_text_effect_none"><code>None</code></a>. </p>

<p>The label text can contain environment variables. Use <code>$VAR_NAME</code>
or <code>${VAR_NAME}</code> to insert the environment variable
value into the label text. To get a single <code>$</code> sign,
use <code>$$</code>. </p>

<p>The above is especially useful to display the operating system
name and version without changing the resource file every time
you change versions. The following script does that in the most
simplistic way, through command-line switches, but you can use
the <code>label</code> resource as well. </p>

<p>For <code>sh</code>-style shells (<code>sh</code>, <code>ksh</code>,
<code>bash</code>...): </p>

<pre>
#!/bin/sh
OSVERSION=`uname -s -r`
xbanner -label '$OSVERSION'
</pre>

<p>For <code>csh</code>-style shells (<code>csh</code>, <code>tcsh</code>...):
</p>

<pre>
#!/bin/csh
setenv OSVERSION `uname -s -r`
xbanner -label '$OSVERSION'
</pre>

<hr>

<h4><a name="cfg_text_font"></a>The <a
href="Resource_Reference.html#.font"><code>font</code></a>
Resource</h4>

<p>Use this resource to choose the font for the <a
href="#cfg_text_label">text</a> that XBanner draws. For more
information about finding fonts click <a href="#fonts">here</a>. </p>

<hr>

<h4><a name="cfg_text_placement"></a>The <a
href="Resource_Reference.html#.placement"><code>placement</code></a>
Resource</h4>

<p>This chooses where the text will be drawn. Most of the
placement types are pretty self-explanatory: </p>

<pre>
   TopLeft     TopCenter      TopRight
   
                 Center

   BottomLeft BottomCenter BottomRight
</pre>

<p>The other 2 types are: </p>

<p><code>XY</code><br>
This simply uses two other resources, <a href="#cfg_text_xy">x</a>
and <a href="#cfg_text_xy">y</a> to select the location of the
top-left corner of the text's bounding-box. </p>

<p><code>CenteredOnY</code><br>
This uses only the <a href="#cfg_text_xy">y</a> resource to
select the location of the top-line of the text's bounding-box,
and centers the line on that Y position. You might want to try
running XBanner from the command-line with <a
href="#cfg_text_showcalc"><code>-showcalc</code></a> command line
option, which displays information about the location of the
top-left corner of the text's bounding-box, and the size of the
bounding-box. </p>

<h4><a name="cfg_text_xy"></a>The <a
href="Resource_Reference.html#.x"><code>x</code></a> and <a
href="Resource_Reference.html#.x"><code>y</code></a> resources</h4>

<p>These resources choose the location of the text. The <code>x</code>
resource chooses where the left side of the text's bounding box
will be. The <code>y</code> resource chooses where the top line
of the text's bounding box will be. </p>

<hr>

<h4><a name="cfg_text_effect"></a>The <a
href="Resource_Reference.html#.effect"><code>effect</code></a>
Resource</h4>

<p>This the resource that governs how the text will look. If it
will have a shadow or not, etc. There are currently 3 major types
of resources. The effects marked <i>simple</i> are effects that
use only X11 drawing functions, all on the server-side. The
effects marked <i>image</i> are effects which transfer an image
of part of the screen from the X-Server to the program,
manipulate the image using pixel-functions, and then copy the
processed image back. These are <i>usually</i> slower. </p>

<p>Each rendering style (effect) is affected by different
resources, depending on what parts of that effect can be
controlled. Here is a list of the effects, each with an
explanation of what it is and reference to the resources that
govern its behaviour. Notice that all effects can be underlined,
and therefore the underlining feature appears separately after
this section. </p>

<dl>
    <dt><a name="cfg_text_effect_3dshd"><code>3D-Shadow</code></a>
        (<i>simple</i>) </dt>
    <dd>This effect draws the text, outlined, with several copies
        of it beneath it as shadows. The shadows' outlines are a
        different color.<br>
        The following resources apply: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
                - front text outline color. </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
                - outline color of text beneath front text. </li>
            <li><a href="Resource_Reference.html#.shadowXOffset"><code>shadowXOffset</code>
                / <code>shadowYOffset</code></a> </li>
            <li><a href="Resource_Reference.html#.shadows"><code>shadows</code></a>
            </li>
            <li><a href="Resource_Reference.html#.surroundMin"><code>surroundMin</code>
                / <code>surroundMax</code></a> </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_backlight"><code>Backlight</code></a>
        (<i>image</i>) </dt>
    <dd>This effect simply draws many outlines around the text.
        Each outline is given a different color according to a
        color gradient you select.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
            <li><a href="Resource_Reference.html#.backlightGrad"><code>backlightGrad</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_coin"><code>Coin</code></a> (<i>image</i>)
    </dt>
    <dd>This effect looks very much like the <a
        href="#cfg_text_effect_standout"><code>StandOut</code></a>
        effect, but here the text has a thin &quot;rim&quot; of
        opposite colors. The rim is always 1/3 of the <a
        href="Resource_Reference.html#.thickness"><code>thickness</code></a>
        value.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_fade"><code>Fade</code></a> (<i>image</i>)
    </dt>
    <dd>This one is the same as <a
        href="#cfg_text_effect_backlight"><code>Backlight</code></a>
        only the gradient is drawn only to pixels which are
        diagonally right and down from pixels of the text.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
            <li><a href="Resource_Reference.html#.fadeGrad"><code>fadeGrad</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_fattext"><code>FatText</code></a>
        (<i>image</i>) </dt>
    <dd>This effect draws outlines or rather inlines. It recolors
        the outer lines of the text, going inwards.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.fatTextGrad"><code>fatTextGrad</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowXOffset"><code>shadowXOffset</code>
                / <code>shadowYOffset</code></a> </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_fggrad"><code>FgGrad</code></a>
        (<i>image</i>) </dt>
    <dd>This effect simply recolors the text such that there is a
        visible color gradient from the top line of the text to
        the bottom.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.fgGradGrad"><code>fgGradGrad</code></a>
            </li>
            <li><a href="Resource_Reference.html#.fgGradBarSize"><code>fgGradBarSize</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowXOffset"><code>shadowXOffset</code>
                / <code>shadowYOffset</code></a> </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_fgplasma"><code>FgPlasma</code></a>
        (<i>image</i>) </dt>
    <dd>This effect is like having your text become a window into
        an area filled with PlasmaClouds.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowXOffset"><code>shadowXOffset</code>
                / <code>shadowYOffset</code></a> </li>
            <li><a href="Resource_Reference.html#.fgPlasmaGrad"><code>fgPlasmaGrad</code></a>
            </li>
            <li><a href="Resource_Reference.html#.fgPlasmaGrain"><code>fgPlasmaGrain</code></a>
            </li>
            <li><a href="Resource_Reference.html#.fgPlasmaNCol"><code>fgPlasmaNCol</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_funnyoutline"><code>FunnyOutline</code></a>
        (<i>image</i>) </dt>
    <dd>This effect is like the <a
        href="#cfg_text_effect_outline"><code>Outline</code></a>
        effect only that instead of coloring outside the text we
        color inside the text.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_none"><code>None</code></a> (<i>simple</i>)
    </dt>
    <dd>This simply draws the text as-is. You use the <a
        href="Resource_Reference.html#.foreground"><code>foreground</code></a>
        resource to choose the color of the text. </dd>
    <dt><a name="cfg_text_effect_outline"><code>Outline</code></a>
        (<i>simple</i>) </dt>
    <dd>This draws an outline around the text. The color of the
        outline is chosen by the <a
        href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
        resource. Use the <a
        href="Resource_Reference.html#.surroundMin"><code>surroundMin/Max</code></a>
        resources to select the form of the outline. </dd>
    <dt><a name="cfg_text_effect_popart"><code>PopArt</code></a>
        (<i>image</i>) </dt>
    <dd>This draws 1-pixel outlines with colors alternating
        between <a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
        and <a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_shadow"><code>Shadow</code></a>
        (<i>simple</i>) </dt>
    <dd>Simple text with a simple shadow under it.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowXOffset"><code>shadowXOffset</code>
                / <code>shadowYOffset</code></a> </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_shdoutl"><code>Shadowed-Outline</code></a>
        (<i>simple</i>) </dt>
    <dd>This is simply the <a href="#cfg_text_effect_outline"><code>Outline</code></a>
        effect with a shadow like in the <a
        href="#cfg_text_effect_shadow"><code>Shadow</code></a>
        effect.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowXOffset"><code>shadowXOffset</code>
                / <code>shadowYOffset</code></a> </li>
            <li><a href="Resource_Reference.html#.surroundMin"><code>surroundMin/Max</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_shake"><code>Shake</code></a> (<i>image</i>)
    </dt>
    <dd>This effect makes the text seem very shaky, as if
        vibrating. The idea came from the infamous &quot;Nervous?
        Tense? Tired?&quot; sign. This effect is not very
        controllable at the moment. Should such request come up,
        I will add some options.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_standinout"><code>StandIn/Out/2</code></a>
        (<i>image</i>) </dt>
    <dd>The <code>StandOut</code> effect basically looks like
        Motif buttons. It makes the text seem 3D. This is done by
        drawing outlines then figuring which angles need to get a
        light color and which get dark. The <code>StandIn</code>
        effect is the same with the colors inverted. The effects <code>StandIn2</code>
        and <code>StandOut2</code> are the same as their
        counterparts with one difference: the coloring is done
        into the thickness of the font not outside it.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
        </ul>
    </dd>
    <dt><a name="cfg_text_effect_thick"><code>Thick</code></a> (<i>simple</i>)
    </dt>
    <dd>This is simple thick text. The letters appear thick.<br>
        Resources: <ul>
            <li><a href="Resource_Reference.html#.foreground"><code>foreground</code></a>
            </li>
            <li><a href="Resource_Reference.html#.hiColor"><code>hiColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.shadowColor"><code>shadowColor</code></a>
            </li>
            <li><a href="Resource_Reference.html#.thickness"><code>thickness</code></a>
            </li>
        </ul>
    </dd>
</dl>

<hr>

<h4><a name="cfg_text_underlined"></a>The <a
href="Resource_Reference.html#.underlined"><code>underlined</code></a>
Resource</h4>

<p>This is a <a href="Resource_Reference.html#boolean">boolean</a>
resource that selects whether or not an underline will be drawn
under the text. You can choose its color, and its thickness: </p>

<h4><a name="cfg_text_underlinecolor"></a>The <a
href="Resource_Reference.html#.underlineColor"><code>underlineColor</code></a>
Resource</h4>

<p>This sets the color of the underline. A special keyword '<code>FGC</code>'
is recognized and makes the underline use the same color as the <a
href="Resource_Reference.html#.foreground"><code>foreground</code></a>
color. This is good because some of the effects get rendered on
the underline in this case. For example, if you use a <code>.foreground:
green</code> and <code>.underlineColor: green</code> in the <code>StandOut</code>
effect, then you will see that the text looks nice and 3D, but
the underline is a simple line. If you use the '<code>FGC</code>'
keyword for the <a href="Resource_Reference.html#.underlineColor"><code>underlineColor</code></a>
then the underline will be 3D as well. </p>

<h4><a name="cfg_text_underlinethickness"></a>The <a
href="Resource_Reference.html#.underlineThickness"><code>underlineThickness</code></a>
Resource</h4>

<p>This positive value sets the line width of the underline. </p>

<hr>

<h4><a name="cfg_text_glint"></a>The <a
href="Resource_Reference.html#.glint"><code>glint</code></a>
Resource</h4>

<p>This is a <a href="Resource_Reference.html#boolean">boolean</a>
resource that enables the glint feature, which makes the text
appear to glint. The stars of the glint are white, and they
appear every random number of milliseconds which greater or equal
to the <a href="#cfg_text_glinttimeminmax"><code>glintTimeMin</code></a>
resource and equal or less than the <a
href="#cfg_text_glinttimeminmax"><code>glintTimeMax</code></a>
resource. The speed of appearance for each glint star is
selectable through the <a href="#cfg_text_glintspeed"><code>glintSpeed</code></a>
resource. The size of each star is selected randomly in the range
<a href="#cfg_text_glintminmax"><code>glintMin</code></a> - <a
href="#cfg_text_glintminmax"><code>glintMax</code></a>. </p>

<p>One also has control over which corners are allowed to glint
through the use of the <a href="#cfg_text_cornermask"><code>cornerMask</code></a>
resource. </p>

<h4><a name="cfg_text_glintspeed"></a>The <a
href="Resource_Reference.html#.glintSpeed"><code>glintSpeed</code></a>
Resource</h4>

<p>This resource selects the speed of appearance (and
disappearance) of the glint stars. There are 3 different
possibilities:<br>
<i>Positive Value</i> - simply makes the star grow in larger
steps.<br>
<i>Negative Value</i> - runs an idle loop for delay, which is
different for each computer.<br>
<i>The Value Zero</i> - causes the star to blink - to appear at
max size and disappear.<br>
</p>

<h4><a name="cfg_text_glintminmax"></a>The <a
href="Resource_Reference.html#.glintMin"><code>glintMin</code></a>
/ <a href="Resource_Reference.html#.glintMax"><code>glintMax</code></a>
Resources</h4>

<p>These select the maximum / minimum size for the glint stars. </p>

<h4><a name="cfg_text_glinttimeminmax"></a>The <a
href="Resource_Reference.html#.glintTimeMin"><code>glintTimeMin</code></a>
/ <a href="Resource_Reference.html#.glintTimeMax"><code>glintTimeMax</code></a>
Resources</h4>

<p>These resources select the minimum and maximum amounts of time
between glints. This is selected in milliseconds. </p>

<h4><a name="cfg_text_cornermask"></a>The <a
href="Resource_Reference.html#.cornerMask"><code>cornerMask</code></a>
Resource</h4>

<p>This resource is a <a
href="Resource_Reference.html#keyword_list">keyword-list</a>
resource which defines which corners can have glint stars on
them. The <a href="Resource_Reference.html#.cornerMask">Resource
Reference</a> has the complete description of the keywords. You
can use any combination of keywords to produce the desired
results. </p>

<p>Since the default is all corners, to glint only on upper-right
corners you would have to use: </p>

<pre>
XBanner.cornerMask:	NoDownLeft,NoDownRight,NoUpLeft
</pre>

<hr>

<h3><a name="Cfg_BG">The Background</a></h3>

<p>The Background and its related features is divided into the
following categories: </p>

<ul>
    <li>The <a href="#cfg_bg_style">Style</a> Of Background </li>
    <li>The <a href="#cfg_bg_fill">Fill</a> Options </li>
    <li>The <a href="#cfg_pix">Pixmap-Paste</a> Feature </li>
</ul>

<hr>

<h4><a name="cfg_bg_style"></a>The <a
href="Resource_Reference.html#.bgStyle"><code>bgStyle</code></a>
Resource</h4>

<p>The <code>bgStyle</code> resource selects the type of
background that XBanner will render. Listed here are the allowed
keywords and their related resources. Notice that all of the
background styles require the <a
href="Resource_Reference.html#.bgGrad"><code>bgGrad</code></a>
resource and it is therefore not mentioned. The only exceptions
are the <code>None</code>, <code>Fill</code>, and <code>BgPix</code>
background styles. </p>

<p>For a complete description of the background styles, see the <a
href="Resource_Reference.html#.bgStyle">Resource Reference</a>. </p>

<p>Here's the list of supported background style: </p>

<dl>
    <dt><code>BgPix</code> </dt>
    <dd>This takes a <code>.XPM</code> file and tiles the entire
        background with it. Use the <a
        href="Resource_Reference.html#.bgPixFile"><code>.bgPixFile</code></a>
        resource to set the file name. <br>
        <font size="2">(Does not use <code>.bgGrad</code>)</font>
    </dd>
    <dt><code>Fan</code> </dt>
    <dd>This keyword makes XBanner draw a fan. You can control
        the fan with the following resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>Fill</code> </dt>
    <dd>This simply fills the background with a single color
        selectable through the <a
        href="Resource_Reference.html#.bgFillColor">.bgFillColor</a>
        resource. <br>
        <font size="2">(Does not use <code>.bgGrad</code>)</font>
    </dd>
    <dt><code>LeftDiagonal</code> </dt>
    <dd>This background style is affected by the following
        resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>LeftRight</code> </dt>
    <dd>This background style is affected by the following
        resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>LeftSplit</code> </dt>
    <dd>This background style is affected by the following
        resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>None</code> </dt>
    <dd>This suppresses background rendering (but not the <code>bgFill</code>
        feature). <br>
        <font size="2">(Does not use <code>.bgGrad</code>)</font>
    </dd>
    <dt><code>Plasma</code> </dt>
    <dd>This background style uses the following resources: <ul>
            <li><a
                href="Resource_Reference.html#.plasmaNumColors"><code>.plasmaNumColors</code></a>
            </li>
            <li><a href="Resource_Reference.html#.graininess"><code>.graininess</code></a>
                - sets the graininess factor. </li>
        </ul>
    </dd>
    <dt><code>RightDiagonal</code> </dt>
    <dd>This background style is affected by the following
        resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>RightSplit</code> </dt>
    <dd>This background style is affected by the following
        resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>Ripples</code> </dt>
    <dd>The controling resources for the <code>Ripples</code>
        background style are: <ul>
            <li><a href="Resource_Reference.html#.ripples"><code>.ripples</code></a>
                - the number of ripples. </li>
            <li><a href="Resource_Reference.html#.rippleColors"><code>.rippleColors</code></a>
            </li>
        </ul>
    </dd>
    <dt><code>TopDown</code> </dt>
    <dd>This background style is affected by the following
        resources: <ul>
            <li><a href="Resource_Reference.html#.bgGradRepeat"><code>.bgGradRepeat</code></a>
            </li>
            <li><a href="Resource_Reference.html#.barSize"><code>.barSize</code></a>
            </li>
        </ul>
    </dd>
</dl>

<hr>

<h4><a name="cfg_bg_fill">The Fill Options</a></h4>

<p>The fill options are basically the ability to fill the screen
and set the root window's background color before rendering any
complicated background effect. This is useful so that when XDM
removes the login-box, the now exposed area is repainted in some
color, not the usual gray. </p>

<p>There are 2 different things you can use: <a
href="#cfg_bg_dofill"><code>bgFill</code></a> and <a
href="#cfg_bg_autofill"><code>autoFillBg</code></a>. </p>

<h4>The <a name="cfg_bg_dofill"><code></code></a><a
href="Resource_Reference.html#.bgFill"><code>bgFill</code></a>
Resource</h4>

<p>This resource, when set to <b>True</b> simply tells XBanner to
fill the background before drawing any colorful patterns on it.
The color used for this filling is set by the <code>bgFillColor</code>
resource. </p>

<h4>The <a name="cfg_bg_autofill"><code></code></a><a
href="Resource_Reference.html#.autoFillBg"><code>autoFillBg</code></a>
Resource</h4>

<p>This resource does an interesting job. Its work can be seen as
to set <code>doPixmap: True</code> and select the <code>bgFillColor</code>
automatically. The selection of the color is done by simply using
a color from the background's color gradient whose index is half
of the number of colors in the gradient. </p>

<p>The above mechanism is especially good for situations when the
login box is approximately at the center of the screen, the
gradient contains only 2 anchors (from one color to another, but
not more), and these colors' overall brightness is not too
different. </p>

<p>But why do that? The answer is simple. If the above conditions
are met, then when the login box disappears, the resulting empty
box seems to have a color gradient that is opposite that of the
rest of the screen. This is a &quot;feature&quot; of your eyes
and brain. </p>

<hr>

<h4><a name="cfg_pix"></a>The <a
href="Resource_Reference.html#.doPixmap"><code>doPixmap</code></a>
Resource</h4>

<p>This <a href="Resource_Reference.html#boolean">boolean</a>
resource tells XBanner that you want to load a pixmap file (<code>.XPM</code>)
and paste it somewhere on the screen. This handles the XPM '<code>None</code>'
color specification properly. You need to specify the <a
href="#cfg_pix_fname">file name</a> and the <a
href="#cfg_pix_loc">location on screen</a>. </p>

<h4><a name="cfg_pix_fname"></a>The <a
href="Resource_Reference.html#.pixFile"><code>pixFile</code></a>
Resource</h4>

<p>This is a string signifying the absolute path to the pixmap
you wish to load and display on the screen. This pixmap is
displayed after all else is drawn. </p>

<p><a name="listfile"></a>If this string begins with the '<code>@</code>'
character, this name is instead interpreted as the name of a file
containing a list of pixmaps to display. Each line contains a
full pathname, followed by a space, the <code>X</code> position
of the pixmap, another space, and the <code>Y</code> position.
Nesting is not allowed, error condition checks are minimal. </p>

<h4><a name="cfg_pix_loc">The Pixmap Location</a></h4>

<p>The location on screen of the pixmap can be set using the <a
href="Resource_Reference.html#.pixmapX"><code>pixmapX</code></a>
and <a href="Resource_Reference.html#.pixmapY"><code>pixmapY</code></a>
resources. </p>

<p>Note that these resources have no effect if you use a pixmap
list-file, since that file contains the <code>X</code> and <code>Y</code>
positions for each pixmap listed in it. See the <a
href="#listfile"><code>pixFile</code></a> resource. </p>

<hr>

<h3><a name="Cfg_Cycle">The Color-Cycling Options</a></h3>

<p>Color cycling is achieved by specifying the program <a
href="#cfg_cyc_cyclecolors">entities</a> to be cycled, and then
modifying the <a href="#cfg_cyc_cyclespeed">cycle speed</a>, and <a
href="#cfg_cyc_dir">direction</a> if necessary. </p>

<hr>

<h4><a name="cfg_cyc_cyclecolors"></a>The <a
href="Resource_Reference.html#.cycleColors"><code>cycleColors</code></a>
Resource</h4>

<p>In general, the different things that you can cycle are all
the ones that use color gradients. Well, almost all of them. </p>

<p>Use a comma separated list of the following keywords: </p>

<dl>
    <dd><code>Backlight</code> </dd>
    <dt>This cycles the <a
        href="Resource_Reference.html#.backlightGrad"><code>.backlightGrad</code></a>.
    </dt>
    <dd><code>BG</code> </dd>
    <dt>Cycle the background. This actually cycles the <a
        href="Resource_Reference.html#.bgGrad"><code>.bgGrad</code></a>.
        Notice that the <code>BgPix</code>, <code>Fill</code> and
        <code>None</code> background styles cannot be cycled. </dt>
    <dd><code>Fade</code> </dd>
    <dt>This cycles the <a
        href="Resource_Reference.html#.fadeGrad"><code>.fadeGrad</code></a>.
    </dt>
    <dd><code>FatText</code> </dd>
    <dt>This cycles the <a
        href="Resource_Reference.html#.fatTextGrad"><code>.fatTextGrad</code></a>.
    </dt>
    <dd><code>FG</code> </dd>
    <dt>This cycles the <a
        href="Resource_Reference.html#.fgCycleGrad"><code>.fgCycleGrad</code></a>.
        The effect of this is that the entire foreground color of
        the text changes along a color gradient. </dt>
    <dd><code>FgGrad</code> </dd>
    <dt>This cycles the <a
        href="Resource_Reference.html#.fgGradGrad"><code>.fgGradGrad</code></a>.
    </dt>
    <dd><code>FgPlasma</code> </dd>
    <dt>This cycles the <a
        href="Resource_Reference.html#.fgPlasmaGrad"><code>.fgPlasmaGrad</code></a>.
    </dt>
    <dd><code>None</code> </dd>
    <dt>This suppresses all color cycling. </dt>
</dl>

<hr>

<h4><a name="cfg_cyc_cyclespeed">Selecting Cycle Speed</a></h4>

<p>The value of <a href="Resource_Reference.html#.cycleSpeed"><code>.cycleSpeed</code></a>
resource divides the time that XBanner waits between consecutive
cycles. Since each such wait is followed by a check to see if <code>freetemp</code>
has been called, the overhead is huge. This means that if <code>.cycleSpeed:
2</code> caused the cycling speed to double, it still does not
mean that <code>.cycleSpeed: 4</code> will be 4 times faster. </p>

<hr>

<h4><a name="cfg_cyc_dir">Changing Cycle Direction</a></h4>

<p>There are 2 different resources which set the direction of
color cycling. Usually only the <a
href="Resource_Reference.html#.reverseCycle"><code>.reverseCycle</code></a>
will be used. But for overriding reasons a <a
href="Resource_Reference.html#.forwardCycle"><code>.forwardCycle</code></a>
also exists. </p>

<p>A new feature in XBanner 1.4 enables you to make the rendering
effect of the text or the background's color gradients change
their cycling direction every fixed number of steps. Use the <a
href="Resource_Reference.html#.effectSteps&quot;"><tt>.effectSteps</tt></a>
resource to select the number of steps for the foreground color
gradient, and the <a
href="Resource_Reference.html#.bgGradSteps&quot;"><tt>.bgGradSteps</tt></a>
resource to select the number of steps for the background. </p>

<hr>

<h3><a name="Cfg_Misc">Miscellaneous Options</a></h3>

<dl>
    <dt><a href="Resource_Reference.html#.defXOffset"><code>.defXOffset</code></a>
        / <a href="Resource_Reference.html#.defYOffset"><code>.defYOffset</code></a>
    </dt>
    <dd>These two resources are the size of the margin on every
        side where the text is not allowed to appear. This should
        solve some bad cases where XBanner mistakenly tries to
        draw outside the screen. </dd>
    <dt><a href="Resource_Reference.html#.linger"><code>.linger</code></a>
    </dt>
    <dd>This asks XBanner to leave a process running with an open
        display until <code>freetemp</code> gets run. This option
        must be set to <b>True</b> if XBanner is generating a
        background for a XDM Chooser. Using Linger or
        Color-Cycling implies this resource is set to <b>True</b>.
    </dd>
    <dt><a href="Resource_Reference.html#.expose"><code>.expose</code></a>
    </dt>
    <dd>This asks XBanner to leave a process running which will
        redraw areas of the screen which become exposed (the
        login box for example disappears when you succeed in
        logging in). You will have to run <code>freetemp</code>! </dd>
    <dt><a href="Resource_Reference.html#.showErrors"><code>.showErrors</code></a>
    </dt>
    <dd>This enables a feature of XBanner that draws a single
        line of text close to the top-left corner of the screen,
        indicating any warnings / errors that have occured.
        Enabling this means that if something goes wrong, the
        user will start getting a white rectangle with text
        inside it stating the problem. </dd>
    <dt><a href="Resource_Reference.html#.dumpRes"><code>.dumpRes</code></a>
    </dt>
    <dd>You may have XBanner dump the entire set of resources
        that it &quot;sees&quot; to a file. Set this to <b>True</b>,
        and select the file name with the <a
        href="Resource_Reference.html#.dumpResFile"><code>.dumpResFile</code></a>
        resource. </dd>
</dl>

<h2><a name="as-h2-15115">XBanner On The Net</a></h2>

<p>The XBanner Home Page is at: <a
href="http://physics.fullerton.edu/XBanner/">http://physics.fullerton.edu/XBanner/</a>
</p>

<p>Anonymous FTP is at: <a
href="ftp://physics.fullerton.edu/pub/Linux/XBanner/">ftp://physics.fullerton.edu/pub/Linux/XBanner/</a>
</p>

<p>Other FTP sites are <a
href="ftp://sunsite.unc.edu/pub/Linux/X11/xutil">ftp://sunsite.unc.edu/pub/Linux/X11/xutil</a>
and all its mirror sites. </p>

<h2><a name="as-h2-15116">Tips And Tricks</a></h2>

<h3><a name="as-h3-15117">Speed Issues</a></h3>

<ol>
    <li>All of the effects using the <code>.thickness</code>
        resource are slow. Decreasing the size of the <code>thickness</code>
        resource helps a lot. </li>
    <li>The <code>Coin</code> effect is much slower than <code>StandOut</code>
        (and its variants) althought it is very very similar. You
        should use <code>StandOut</code> instead if things are
        too slow. </li>
    <li>A large scalable font takes time to scale up to a large
        size. Try a smaller font for better speed. </li>
</ol>

<h3><a name="as-h3-15118">Other Ideas</a></h3>

<ol>
    <li>Many of the effects get an interesting touch by removing
        the shadow. This is done simply by setting <a
        href="Resource_Reference.html#.ShadowOffset"><code>.ShadowOffset</code></a>
        to zero. </li>
    <li>Try experimenting with asymmetric outlines. Try a
        foreground color equal to the background color, with a <code>.surroundMin:
        0</code> and <code>.surroundMax: 4</code> and the outline
        color in sharp contrast with the background color. </li>
</ol>

<h2><a name="as-h2-15119">Credits</a></h2>

<p>I will attempt to list here the many who have helped, donated
ideas, and time. </p>

<p>First, thanks to Ofer Gan and Eli Lopian without whom I would
not have started learning X11 programming in the first place. </p>

<p>Other special thanks go to a very special friend of mine: Oren
Tirosh &lt;orenti@hiker.org.il&gt;. Oren has been helping me with
XBanner since day one. His ideas have influenced the majority of
the code. Oren's contribution includes the <code>StandOut</code>
effect (and all derived work), the <code>Ripples</code>
background style, and many many more. </p>

<p>Others who have given ideas, reported important bugs, made
suggestions or contributed in other ways: </p>

<p>Frank Wuebbeling &lt;wuebbel@escher.uni-muenster.de&gt;, Marc
&lt;mwelz@cs.uct.ac.za&gt;, Christopher Everett
&lt;ceverett@cyberramp.net&gt;, Kyle Ferrio
&lt;kylef@engin.umich.edu&gt;, Thilo Wunderlich
&lt;c15o@zfn.uni-bremen.de&gt;, Rich McClellan
&lt;richmc@seneca.fullerton.edu&gt;, Zachary Sigma Vonler
&lt;zvonler@jove.acs.unt.edu&gt;, Chris Yeo
&lt;yeo@duke.usask.ca&gt;, Ben Spade
&lt;bspade@asic.qntm.com&gt;, Rubinstein Dmitry
&lt;dimrub@nsof.co.il&gt;, Prof. Dasharath Singh
&lt;hsdsingh@hss.iitb.ernet.in&gt;, Eric Darchis
&lt;Eric.Darchis@ping.be&gt;, Dejan Vucinic
&lt;dejan@mit1.fnal.gov&gt;, Landon Boyd
&lt;landon@ccn.cs.dal.ca&gt;, Uwe Khatchikian
&lt;khatchik@buche.informatik.uni-dortmund.de&gt; </p>

<p>And a few others. </p>

<h2><a name="as-h2-151110">Contacting Me</a></h2>

<p>Here are complete details for contacting me:<br>
<br>
Amit Margalit</p>

<table border="0" cols="2">
    <tr>
        <td>Email:</td>
        <td><a href="mailto:amitm@netvision.net.il">amitm@netvision.net.il</a></td>
    </tr>
</table>

<p>Snail-Mail:</p>

<address>
    Amit Margalit<br>
    34 Sheshet-Hayamim st.<br>
    Kefar-Sava, 44269<br>
    ISRAEL<br>
    <br>
    Phones:
</address>

<table border="0">
    <tr>
        <td>Home:</td>
        <td>+(972)-9-7417996 </td>
    </tr>
    <tr>
        <td>Work:</td>
        <td>+(972)-9-9593140 </td>
    </tr>
    <tr>
        <td valign="top">Fax:</td>
        <td valign="top">+(972)-9-9546325<br>
        Please <b>ATTN: Amit Margalit</b> </td>
    </tr>
</table>

<hr>

<p><a href="index.html">Back to documentation index</a>. </p>

<hr>

<p><a href="../index.html">Back to top</a>. <br>
<br>
<a href="mailto:amitm@netvision.net.il"><img src="email.gif"
alt="[email]" align="baseline" width="89" height="26">Please
email me for any comments.</a> </p>
</body>
</html>