source: trunk/third/xscreensaver/hacks/webcollage.man @ 20148

Revision 20148, 6.8 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20147, which included commits to RCS files with non-trunk default branches.
Line 
1.de EX          \"Begin example
2.ne 5
3.if n .sp 1
4.if t .sp .5
5.nf
6.in +.5i
7..
8.de EE
9.fi
10.in -.5i
11.if n .sp 1
12.if t .sp .5
13..
14.TH XScreenSaver 1 "17-Jun-99" "X Version 11"
15.SH NAME
16webcollage - decorate the screen with random images from the web
17.SH SYNOPSIS
18.B webcollage
19[\-display \fIhost:display.screen\fP]
20[\-root]
21[\-verbose]
22[\-timeout \fIsecs\fP]
23[\-delay \fIsecs\fP]
24[\-background \fIbg\fP]
25[\-no-output]
26[\-urls-only]
27[\-size \fIWxH\fP]
28[\-filter \fIcommand\fP]
29[\-filter2 \fIcommand\fP]
30[\-http\-proxy host[:port]]
31[\-dictionary \fIdictionary-file\fP]
32[\-driftnet [\fIcmd\fP]]
33.SH DESCRIPTION
34The \fIwebcollage\fP program pulls random image off of the World Wide Web
35and scatters them on the root window.  One satisfied customer described it
36as "a nonstop pop culture brainbath."  This program finds its images by
37doing random web searches, and extracting images from the returned pages.
38It places the images on the root window by using the
39.BR giftopnm (1),
40.BR djpeg (1),
41and
42.BR xli (1),
43.BR xv (1),
44or
45.BR xloadimage (1)
46tools.
47
48\fIwebcollage\fP is written in
49.BR perl (1)
50and requires Perl 5.
51
52It will be an order of magnitude faster if you also have
53the \fIwebcollage-helper\fP program installed (a GDK/JPEG image
54compositor), but \fIwebcollage\fP works without it as well.
55
56\fIwebcollage\fP can be used in conjunction with the
57.BR driftnet (1)
58program (the Unix equivalent of EtherPEG) to snoop images from traffic
59on your local subnet, instead of getting images from search engines.
60.SH OPTIONS
61.I webcollage
62accepts the following options:
63.TP 8
64.B \-root
65Draw on the root window.  This option is manditory, if output is being
66produced: drawing to a window other than the root window is not yet
67supported.
68.TP 8
69.B \-verbose \fRor\fP \-v
70Print diagnostics to stderr.  Multiple \fI-v\fP switches increase the
71amount of output.  \fI-v\fP will print out the URLs of the images,
72and where they were placed; \fI-vv\fP will print out any warnings,
73and all URLs being loaded; \fI-vvv\fP will print information on
74what URLs were rejected; and so on.
75.TP 8
76.B \-timeout \fIseconds\fP
77How long to wait for a URL to complete before giving up on it and
78moving on to the next one.
79Default 30 seconds.
80.TP 8
81.B \-delay \fIseconds\fP
82How long to sleep between images.  Default 2 seconds.  (Remember that
83this program probably spends a lot of time waiting for the network.)
84.TP 8
85.B \-background \fIcolor-or-ppm\fP
86What to use for the background onto which images are pasted.  This may be
87a color name, a hexadecimal RGB specification in the form '#rrggbb', or
88the name of a PPM file.
89.TP 8
90.B \-size \fIWxH\fP
91Normally, the output image will be made to be the size of the screen.
92This lets you specify the desired size.
93.TP 8
94.B \-no-output
95If this option is specified, then no composite output image will be
96generated.  This is only useful when used in conjunction
97with \fB\-verbose\fP.
98.TP 8
99.B \-urls-only
100If this option is specified, then no composite output image will be
101generated: instead, a list of image URLs will be printed on stdout.
102.TP 8
103.B \-filter \fIcommand\fP
104Filter all source images through this command.  The command must take
105a PPM file on stdin, and write a new PPM file to stdout.  One good
106choice for a filter would be:
107.EX
108webcollage -root -filter 'vidwhacker -stdin -stdout'
109.EE
110.TP 8
111.B \-filter2 \fIcommand\fP
112Filter the \fIcomposite\fP image through this command.  The \fI-filter\fP
113option applies to the sub-images; the \fI-filter2\fP applies to the
114final, full-screen image.
115.TP 8
116.B \-http\-proxy \fIhost:port\fP
117If you must go through a proxy to connect to the web, you can specify it
118with this option, or with the \fB$http_proxy\fP or \fB$HTTP_PROXY\fP
119environment variables.
120.TP 8
121.B \-dictionary \fIfile\fP
122Webcollage normally looks at the system's default spell-check dictionary
123to generate words to feed into the search engines.  You can specify an
124alternate dictionary with this option.
125.TP 8
126.B \-driftnet \fI[ args ]\fP
127.BR driftnet (1)
128is a program that snoops your local ethernet for packets that look
129like they might be image files.  It can be used in conjunction
130with \fIwebcollage\fP to generate a collage of what other people on
131your network are looking at, instead of a search-engine collage.
132If you have \fIdriftnet\fP installed on your $PATH, just use
133the \fI\-driftnet\fP option.  You can also specify the location
134of the program like this:
135.EX
136-driftnet /path/to/driftnet
137.EE
138or, you can provide extra arguments like this:
139.EX
140-driftnet '/path/to/driftnet -extra -args'
141.EE
142Driftnet version 0.1.5 or later is required.  Note that
143the \fIdriftnet\fP program requires root access, so you'll have
144to make \fIdriftnet\fP be setuid-root for this to work.
145Please exercise caution.
146.SH ENVIRONMENT
147.PP
148.TP 8
149.B DISPLAY
150to get the default host and display number.
151.TP 8
152.B XENVIRONMENT
153to get the name of a resource file that overrides the global resources
154stored in the RESOURCE_MANAGER property.
155.TP 8
156.B http_proxy\fR or \fPHTTP_PROXY
157to get the default HTTP proxy host and port.
158.SH FILES AND URLS
159.I /usr/dict/words,
160.I /usr/share/lib/dict/words,\fP
161or
162.I /usr/share/dict/words
163to find the random words to feed to search engines.
164.PP
165.I http://image.altavista.com/,
166.I http://images.google.com/,
167.I http://news.yahoo.com/
168.I http://random.yahoo.com/bin/ryl,
169and
170.I http://lycospro.lycos.com/,
171to find random web pages.
172.SH BUGS
173When drawing on the root window, it always uses the default colormap.
174This is actually a limitation of xv.  But regardless, when using this
175program with xscreensaver, it must be given the \fBdefault-n\fP
176visual specification (see the
177.BR xscreensaver (1)
178manual for more details.)
179
180Animating GIFs are not supported: only the first frame will be used.
181
182Too many of the images that it finds are text, not pictures.  This is
183because most of the web is pictures of text.  Which is pretty sad.
184.SH UPGRADES
185The latest version of webcollage can be found as a part of
186xscreensaver, at
187.B http://www.jwz.org/xscreensaver/,
188or on the WebCollage page at
189.B http://www.jwz.org/webcollage/.
190
191DriftNet:
192.B http://www.ex-parrot.com/~chris/driftnet/
193.SH SEE ALSO
194.BR X (1),
195.BR xscreensaver (1),
196.BR xli (1),
197.BR xv (1),
198.BR xloadimage (1),
199.BR ppmmake (1),
200.BR giftopnm (1),
201.BR pnmpaste (1),
202.BR pnmscale (1),
203.BR djpeg (1),
204.BR cjpeg (1),
205.BR xdpyinfo (1),
206.BR perl (1),
207.BR vidwhacker (1),
208.BR dadadodo (1),
209.BR driftnet (1)
210.BR EtherPEG ,
211.BR EtherPeek
212.SH COPYRIGHT
213Copyright \(co 1998-2002 by Jamie Zawinski.  Permission to use, copy, modify,
214distribute, and sell this software and its documentation for any purpose is
215hereby granted without fee, provided that the above copyright notice appear
216in all copies and that both that copyright notice and this permission notice
217appear in supporting documentation.  No representations are made about the
218suitability of this software for any purpose.  It is provided "as is" without
219express or implied warranty.
220.SH AUTHOR
221Jamie Zawinski <jwz@jwz.org>, 24-May-98.
Note: See TracBrowser for help on using the repository browser.