From http://www.jwz.org/xscreensaver/xscreensaver-5.24.tar.gz
[xscreensaver] / hacks / config / sonar.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="sonar" _label="Sonar" gl="yes">
4
5   <command arg="-root"/>
6
7   <hgroup>
8    <vgroup>
9     <number id="delay" type="slider" arg="-delay %"
10             _label="Frame rate" _low-label="Low" _high-label="High"
11             low="0" high="100000" default="30000"
12             convert="invert"/>
13
14     <number id="speed" type="slider" arg="-speed %"
15              _label="Speed" _low-label="Slow" _high-label="Fast"
16              low="0.1" high="8.0" default="1.0"/>
17
18     <select id="ping">
19      <option id="sn" _label="Ping local subnet"/>
20 <!--
21      <option id="24" _label="Ping subnet/24 (254 hosts)" arg-set="-ping subnet/24"/>
22      <option id="25" _label="Ping subnet/25 (126 hosts)" arg-set="-ping subnet/25"/>
23      <option id="26" _label="Ping subnet/26 (62 hosts)"  arg-set="-ping subnet/26"/>
24      <option id="27" _label="Ping subnet/27 (31 hosts)"  arg-set="-ping subnet/27"/>
25      <option id="28" _label="Ping subnet/28 (14 hosts)"/>
26      <option id="29" _label="Ping subnet/29 (6 hosts)"   arg-set="-ping subnet/29"/>
27      <option id="30" _label="Ping subnet/30 (2 hosts)"   arg-set="-ping subnet/30"/>
28 -->
29
30      <option id="ssh" _label="Ping known SSH hosts"      arg-set="-ping /etc/hosts,$HOME/.ssh/known_hosts,$HOME/.ssh/known_hosts2"/>
31
32      <option id="popular" _label="Ping Google, Facebook, etc." arg-set="-ping google.com,facebook.com,twitter.com,yahoo.com,flickr.com,www.apple.com,wikipedia.org,linux.org,youtube.com,disqus.com,blogger.com,wordpress.com,tumblr.com,whitehouse.gov"/>
33
34      <option id="sim" _label="Simulation (don't ping)"   arg-set="-ping simulation"/>
35     </select>
36    </vgroup>
37
38    <vgroup>
39     <number id="font" type="slider" arg="-font-size %"
40             _label="Font size" _low-label="Tiny" _high-label="Huge"
41             low="6.0" high="24.0" default="12"/>
42
43     <number id="sweep" type="slider" arg="-sweep-size %"
44             _label="Trail length" _low-label="Short" _high-label="Long"
45             low="0.02" high="0.7" default="0.3"/>
46    </vgroup>
47   </hgroup>
48
49
50   <hgroup>
51    <string id="aname" _label="Simulation team A name" arg="-team-a-name %"/>
52     <number id="acount" type="spinbutton" arg="-team-a-count %"
53             _label="A count" low="1" high="100" default="4"/>
54   </hgroup>
55
56   <hgroup>
57    <string id="bname" _label="Simulation team B name" arg="-team-b-name %"/>
58    <number id="bcount" type="spinbutton" arg="-team-b-count %"
59            _label="B count" low="1" high="100" default="4"/>
60   </hgroup>
61
62   <hgroup>
63    <boolean id="dns"     _label="Resolve host names" arg-unset="-no-dns"/>
64    <boolean id="times"   _label="Show ping times"    arg-unset="-no-times"/>
65    <boolean id="wobble"  _label="Tilt"               arg-unset="-no-wobble"/>
66    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
67   </hgroup>
68
69   <xscreensaver-updater />
70
71   <_description>
72 This draws a sonar screen that pings (get it?) the hosts on
73 your local network, and plots their distance (response time) from you.
74 The three rings represent ping times of approximately 2.5, 70 and 2,000
75 milliseconds respectively.
76
77 Alternately, it can run a simulation that doesn't involve hosts.
78
79 http://en.wikipedia.org/wiki/Ping#History
80
81 Written by Jamie Zawinski and Stephen Martin; 1998.
82   </_description>
83 </screensaver>