http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver] / hacks / config / sonar.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <screensaver name="sonar" _label="Sonar">
4
5   <command arg="-root"/>
6
7   <number id="delay" type="slider" arg="-delay %"
8         _label="Frame rate" _low-label="Low" _high-label="High"
9         low="0" high="1000000" default="100000"
10         convert="invert"/>
11
12   <select id="ping">
13    <option id="24" _label="Ping subnet/24 (254 hosts)" arg-set="-ping subnet/24"/>
14    <option id="25" _label="Ping subnet/25 (126 hosts)" arg-set="-ping subnet/25"/>
15    <option id="26" _label="Ping subnet/26 (62 hosts)"  arg-set="-ping subnet/26"/>
16    <option id="27" _label="Ping subnet/27 (31 hosts)"  arg-set="-ping subnet/27"/>
17    <option id="28" _label="Ping subnet/28 (14 hosts)"/>
18    <option id="29" _label="Ping subnet/29 (6 hosts)"   arg-set="-ping subnet/29"/>
19    <option id="30" _label="Ping subnet/30 (2 hosts)"   arg-set="-ping subnet/30"/>
20    <option id="ssh" _label="Ping known SSH hosts"      arg-set="-ping /etc/hosts,$HOME/.ssh/known_hosts,$HOME/.ssh/known_hosts2"/>
21   </select>
22
23   <hgroup>
24    <string id="aname" _label="Simulation team A name" arg="-team-a-name %"/>
25     <number id="acount" type="spinbutton" arg="-team-a-count %"
26             _label="A count"
27             low="1" high="100" default="4"/>
28   </hgroup>
29
30   <hgroup>
31    <string id="bname" _label="Simulation team B name" arg="-team-b-name %"/>
32    <number id="bcount" type="spinbutton" arg="-team-b-count %"
33            _label="B count"
34            low="1" high="100" default="4"/>
35   </hgroup>
36
37   <hgroup>
38    <boolean id="dns"   _label="Resolve host names" arg-unset="-no-dns"/>
39    <boolean id="times" _label="Show ping times"    arg-unset="-no-times"/>
40    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
41   </hgroup>
42
43   <_description>
44 This draws a sonar screen that pings (get it?) the hosts on
45 your local network, and plots their distance (response time) from you.
46 The three rings represent ping times of approximately 2.5, 70 and 2,000
47 milliseconds respectively.
48
49 Alternately, it can run a simulation that doesn't involve hosts.
50
51 (If pinging doesn't work, you may need to make the executable be setuid.)
52
53 http://en.wikipedia.org/wiki/Ping#History
54
55 Written by Stephen Martin and Jamie Zawinski; 1998.
56   </_description>
57 </screensaver>