1flag(6x) XScreenSaver manual flag(6x)
2
3
4
6 flag - draws a waving flag, containing text or an image
7
9 flag [-display host:display.screen] [-foreground color] [-background
10 color] [-window] [-root] [-mono] [-install] [-visual visual] [-ncolors
11 integer] [-delay microseconds] [-cycles integer] [-size integer] [-text
12 string] [-font font] [-bitmap xbm-file]
13
14
16 The flag program draws a waving flag that contains text or a bitmap.
17
19 flag accepts the following options:
20
21 -window Draw on a newly-created window. This is the default.
22
23 -root Draw on the root window.
24
25 -mono If on a color display, pretend we're on a monochrome display.
26
27 -install
28 Install a private colormap for the window.
29
30 -visual visual
31 Specify which visual to use. Legal values are the name of a
32 visual class, or the id number (decimal or hex) of a specific
33 visual.
34
35 -ncolors integer
36 How many colors should be used (if possible). Default 200.
37
38 -cycles integer
39
40
41 -count integer
42
43
44 -size integer
45 How large the pixels in the flag should be, from 1 to 8. If
46 this is a negative number, the pixel size is chosen randomly
47 from the range 1 to -size. Default -7.
48
49 -text text
50 The text to display in the flag. Multiple lines of text are
51 allowed; the lines will be displayed centered atop one another.
52 Default: none. If the text is the magic string "(default)",
53 then the text used will be the local machine name; a newline;
54 and the local OS version.
55
56 -bitmap xbm-file
57 The bitmap to display in the flag; this must be an XBM file
58 (color XPMs are not allowed.) Default: none. If the bitmap is
59 the magic string "(default)", then the bitmap used will be a
60 charming little picture of J. R. "Bob" Dobbs.
61
62 If neither -text nor -bitmap are specified, then either the
63 builtin text or the builtin bitmap will be chosen randomly.
64
65 -font font
66 The font in which to draw the text; the default is "-*-hel‐
67 vetica-bold-r-*-240-*".
68
70 DISPLAY to get the default host and display number.
71
72 XENVIRONMENT
73 to get the name of a resource file that overrides the global
74 resources stored in the RESOURCE_MANAGER property.
75
77 X(1), xscreensaver(1), xlock(1)
78
80 Copyright © 1996 Charles Vidal.
81
82 Permission to use, copy, modify, and distribute this software and its
83 documentation for any purpose and without fee is hereby granted, pro‐
84 vided that the above copyright notice appear in all copies and that
85 both that copyright notice and this permission notice appear in sup‐
86 porting documentation.
87
88
90 Charles Vidal <vidalc@univ-mlv.fr>, 1996.
91
92 Ability to run standalone or with xscreensaver, and the -text and -bit‐
93 map options, added by Jamie Zawinski <jwz@jwz.org>, 24-May-97.
94
95
96
97X Version 11 5.05-3 (06-Apr-2008) flag(6x)