version 4, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
XScreenSaver |
| |
|
2 |
!!!XScreenSaver |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
ENVIRONMENT |
| |
|
8 |
SEE ALSO |
| |
|
9 |
COPYRIGHT |
| |
|
10 |
AUTHOR |
| |
|
11 |
---- |
| |
|
12 |
!!NAME |
| |
|
13 |
|
| |
|
14 |
|
| |
|
15 |
flag - draws a waving flag, containing text or an image |
| |
|
16 |
!!SYNOPSIS |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
__flag__ [[-display ''host:display.screen''] |
| |
|
20 |
[[-foreground ''color''] [[-background ''color''] |
| |
|
21 |
[[-window] [[-root] [[-mono] [[-install] [[-visual ''visual''] |
| |
|
22 |
[[-ncolors ''integer''] [[-delay ''microseconds''] |
| |
|
23 |
[[-cycles ''integer''] [[-size ''integer''] [[-text |
| |
|
24 |
''string''] [[-font ''font''] [[-bitmap |
| |
|
25 |
''xbm-file''] |
| |
|
26 |
!!DESCRIPTION |
| |
|
27 |
|
| |
|
28 |
|
| |
|
29 |
The ''flag'' program draws a waving flag that contains |
| |
|
30 |
text or a bitmap. |
| |
|
31 |
!!OPTIONS |
| |
|
32 |
|
| |
|
33 |
|
| |
|
34 |
''flag'' accepts the following options: |
| |
|
35 |
|
| |
|
36 |
|
| |
|
37 |
__-window__ |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
Draw on a newly-created window. This is the |
| |
|
41 |
default. |
| |
|
42 |
|
| |
|
43 |
|
| |
|
44 |
__-root__ |
| |
|
45 |
|
| |
|
46 |
|
| |
|
47 |
Draw on the root window. |
| |
|
48 |
|
| |
|
49 |
|
| |
|
50 |
__-mono__ |
| |
|
51 |
|
| |
|
52 |
|
| |
|
53 |
If on a color display, pretend we're on a monochrome |
| |
|
54 |
display. |
| |
|
55 |
|
| |
|
56 |
|
| |
|
57 |
__-install__ |
| |
|
58 |
|
| |
|
59 |
|
| |
|
60 |
Install a private colormap for the window. |
| |
|
61 |
|
| |
|
62 |
|
| |
|
63 |
__-visual__ ''visual'' |
| |
|
64 |
|
| |
|
65 |
|
| |
|
66 |
Specify which visual to use. Legal values are the name of a |
| |
|
67 |
visual class, or the id number (decimal or hex) of a |
| |
|
68 |
specific visual. |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
__-ncolors__ ''integer'' |
| |
|
72 |
|
| |
|
73 |
|
| |
|
74 |
How many colors should be used (if possible). Default |
| |
|
75 |
200. |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
__-cycles__ ''integer'' |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
__-count__ ''integer'' |
| |
|
82 |
|
| |
|
83 |
|
| |
|
84 |
__-size__ ''integer'' |
| |
|
85 |
|
| |
|
86 |
|
| |
|
87 |
How large the pixels in the flag should be, from 1 to 8. If |
| |
|
88 |
this is a negative number, the pixel size is chosen randomly |
| |
|
89 |
from the range 1 to -size. Default -7. |
| |
|
90 |
|
| |
|
91 |
|
| |
|
92 |
__-text__ ''text'' |
| |
|
93 |
|
| |
|
94 |
|
| |
|
95 |
The text to display in the flag. Multiple lines of text are |
| |
|
96 |
allowed; the lines will be displayed centered atop one |
| |
|
97 |
another. Default: none. If the text is the magic string |
| |
|
98 |
'''', then the text used will be the |
| |
|
99 |
local machine name; a newline; and the local OS |
| |
|
100 |
version. |
| |
|
101 |
|
| |
|
102 |
|
| |
|
103 |
__-bitmap__ ''xbm-file'' |
| |
|
104 |
|
| |
|
105 |
|
| |
|
106 |
The bitmap to display in the flag; this must be an XBM file |
| |
|
107 |
(color XPMs are not allowed.) Default: none. If the bitmap |
| |
|
108 |
is the magic string '''', then the |
| |
|
109 |
bitmap used will be a charming little picture of J. R. |
| |
|
110 |
'' |
| |
|
111 |
|
| |
|
112 |
|
| |
|
113 |
If neither ''-text'' nor ''-bitmap'' are specified, |
| |
|
114 |
then either the builtin text or the builtin bitmap will be |
| |
|
115 |
chosen randomly. |
| |
|
116 |
|
| |
|
117 |
|
| |
|
118 |
__-font__ ''font'' |
| |
|
119 |
|
| |
|
120 |
|
| |
|
121 |
The font in which to draw the text; the default is |
| |
|
122 |
!!ENVIRONMENT |
| |
|
123 |
|
| |
|
124 |
|
| |
|
125 |
__DISPLAY__ |
| |
|
126 |
|
| |
|
127 |
|
| |
|
128 |
to get the default host and display number. |
| |
|
129 |
|
| |
|
130 |
|
| |
|
131 |
__XENVIRONMENT__ |
| |
|
132 |
|
| |
|
133 |
|
| |
|
134 |
to get the name of a resource file that overrides the global |
| |
|
135 |
resources stored in the RESOURCE_MANAGER |
| |
|
136 |
property. |
| |
|
137 |
!!SEE ALSO |
| |
|
138 |
|
| |
|
139 |
|
| 4 |
perry |
140 |
X(1), xscreensaver(1), |
| 1 |
perry |
141 |
xlock(1) |
| |
|
142 |
!!COPYRIGHT |
| |
|
143 |
|
| |
|
144 |
|
| |
|
145 |
Copyright 1996 Charles Vidal. |
| |
|
146 |
|
| |
|
147 |
|
| |
|
148 |
Permission to use, copy, modify, and distribute this |
| |
|
149 |
software and its documentation for any purpose and without |
| |
|
150 |
fee is hereby granted, provided that the above copyright |
| |
|
151 |
notice appear in all copies and that both that copyright |
| |
|
152 |
notice and this permission notice appear in supporting |
| |
|
153 |
documentation. |
| |
|
154 |
!!AUTHOR |
| |
|
155 |
|
| |
|
156 |
|
| |
|
157 |
Charles Vidal |
| |
|
158 |
|
| |
|
159 |
|
| |
|
160 |
Ability to run standalone or with ''xscreensaver'', and |
| |
|
161 |
the -text and -bitmap options, added by Jamie Zawinski |
| |
|
162 |
'' |
| |
|
163 |
---- |