version 5, 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 |
phosphor - simulates an old terminal with long-sustain phosphor |
| |
|
16 |
!!SYNOPSIS |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
__phosphor__ [[-display ''host:display.screen''] |
| |
|
20 |
[[-window] [[-root] [[-install] [[-visual ''visual''] [[-font |
| |
|
21 |
''font''] [[-scale ''int''] [[-ticks ''int''] [[-delay |
| |
|
22 |
''usecs''] [[-program ''command''] |
| |
|
23 |
!!DESCRIPTION |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
The ''phosphor'' program draws text on the screen in a |
| |
|
27 |
very large pixellated font that looks like an old low |
| |
|
28 |
resolution dumb tty. The pixels flare and fade out as if the |
| |
|
29 |
phosphor was very long-sustain. |
| |
|
30 |
!!OPTIONS |
| |
|
31 |
|
| |
|
32 |
|
| |
|
33 |
''phosphor'' accepts the following options: |
| |
|
34 |
|
| |
|
35 |
|
| |
|
36 |
__-window__ |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
Draw on a newly-created window. This is the |
| |
|
40 |
default. |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
__-root__ |
| |
|
44 |
|
| |
|
45 |
|
| |
|
46 |
Draw on the root window. |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
__-install__ |
| |
|
50 |
|
| |
|
51 |
|
| |
|
52 |
Install a private colormap for the window. |
| |
|
53 |
|
| |
|
54 |
|
| |
|
55 |
__-visual__ ''visual'' |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
Specify which visual to use. Legal values are the name of a |
| |
|
59 |
visual class, or the id number (decimal or hex) of a |
| |
|
60 |
specific visual. |
| |
|
61 |
|
| |
|
62 |
|
| |
|
63 |
__-font__ ''font-name'' |
| |
|
64 |
|
| |
|
65 |
|
| |
|
66 |
The X font to use. Phosphor can take any font and scale it |
| |
|
67 |
up to pixellate it. The default is |
| |
|
68 |
''fixed''. |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
__-scale__ ''int'' |
| |
|
72 |
|
| |
|
73 |
|
| |
|
74 |
How much to scale the font up: in other words, the size in |
| |
|
75 |
real pixels of the simulated pixels. Default 6. |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
__-ticks__ ''int'' |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
The number of colors to use when fading to black. Default |
| |
|
82 |
20. |
| |
|
83 |
|
| |
|
84 |
|
| |
|
85 |
__-delay__ ''usecs'' |
| |
|
86 |
|
| |
|
87 |
|
| |
|
88 |
The speed of the terminal: how long to wait between drawing |
| |
|
89 |
each character. Default 50000, or about 1/20th |
| |
|
90 |
second. |
| |
|
91 |
|
| |
|
92 |
|
| |
|
93 |
__-program__ ''sh-command'' |
| |
|
94 |
|
| |
|
95 |
|
| |
|
96 |
The command to run to generate the text to display. This |
| |
|
97 |
option may be any string acceptable to /bin/sh. The program |
| |
|
98 |
will be run at the end of a pipe, and any characters that it |
| |
|
99 |
prints to ''stdout'' will be printed on phosphor's |
| |
|
100 |
window. The characters will be printed artificially slowly, |
| |
|
101 |
as per the ''-delay'' option above. If the program exits, |
| |
|
102 |
it will be launched again after 5 seconds. |
| |
|
103 |
|
| |
|
104 |
|
| |
|
105 |
Note that phosphor is ''not'' a terminal emulator: |
| |
|
106 |
programs that try to directly address the screen will not do |
| |
|
107 |
what you might expect. Phosphor merely draws the characters |
| |
|
108 |
on the screen left to right, top to bottom. Lines wrap when |
| |
|
109 |
they reach the right edge, and the screen scrolls when |
| |
|
110 |
characters reach the bottom. |
| |
|
111 |
|
| |
|
112 |
|
| 5 |
JohnMcPherson |
113 |
In other words, programs like fortune(6) will work, |
| 1 |
perry |
114 |
but programs like top(1) won't. |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
Here's a good trick, to get phosphor to display recent web |
| |
|
118 |
search terms: |
| |
|
119 |
|
| |
|
120 |
|
| |
|
121 |
phosphor -program \ |
| 3 |
perry |
122 |
'wget -qO- http://webcrawler.com/cgi-bin/!SearchTicker' |
| 1 |
perry |
123 |
!!ENVIRONMENT |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
__DISPLAY__ |
| |
|
127 |
|
| |
|
128 |
|
| |
|
129 |
to get the default host and display number. |
| |
|
130 |
|
| |
|
131 |
|
| |
|
132 |
__XENVIRONMENT__ |
| |
|
133 |
|
| |
|
134 |
|
| |
|
135 |
to get the name of a resource file that overrides the global |
| |
|
136 |
resources stored in the RESOURCE_MANAGER |
| |
|
137 |
property. |
| |
|
138 |
!!SEE ALSO |
| |
|
139 |
|
| |
|
140 |
|
| 4 |
perry |
141 |
wget(1), X(1), |
| 1 |
perry |
142 |
xscreensaver(1) |
| |
|
143 |
!!COPYRIGHT |
| |
|
144 |
|
| |
|
145 |
|
| |
|
146 |
Copyright 1999 by Jamie Zawinski. Permission to use, copy, |
| |
|
147 |
modify, distribute, and sell this software and its |
| |
|
148 |
documentation for any purpose is hereby granted without fee, |
| |
|
149 |
provided that the above copyright notice appear in all |
| |
|
150 |
copies and that both that copyright notice and this |
| |
|
151 |
permission notice appear in supporting documentation. No |
| |
|
152 |
representations are made about the suitability of this |
| |
|
153 |
software for any purpose. It is provided |
| |
|
154 |
!!AUTHOR |
| |
|
155 |
|
| |
|
156 |
|
| |
|
157 |
Jamie Zawinski |
| |
|
158 |
---- |