From http://www.jwz.org/xscreensaver/xscreensaver-5.16.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="24" _label="Ping subnet/24 (254 hosts)" arg-set="-ping subnet/24"/>
20      <option id="25" _label="Ping subnet/25 (126 hosts)" arg-set="-ping subnet/25"/>
21      <option id="26" _label="Ping subnet/26 (62 hosts)"  arg-set="-ping subnet/26"/>
22      <option id="27" _label="Ping subnet/27 (31 hosts)"  arg-set="-ping subnet/27"/>
23      <option id="28" _label="Ping subnet/28 (14 hosts)"/>
24      <option id="29" _label="Ping subnet/29 (6 hosts)"   arg-set="-ping subnet/29"/>
25      <option id="30" _label="Ping subnet/30 (2 hosts)"   arg-set="-ping subnet/30"/>
26      <option id="ssh" _label="Ping known SSH hosts"      arg-set="-ping /etc/hosts,$HOME/.ssh/known_hosts,$HOME/.ssh/known_hosts2"/>
27      <option id="ssh" _label="Simulation (don't ping)"   arg-set="-ping simulation"/>
28     </select>
29    </vgroup>
30
31    <vgroup>
32     <number id="font" type="slider" arg="-font-size %"
33             _label="Font size" _low-label="Tiny" _high-label="Huge"
34             low="6.0" high="24.0" default="12"/>
35
36     <number id="sweep" type="slider" arg="-sweep-size %"
37             _label="Trail length" _low-label="Short" _high-label="Long"
38             low="0.02" high="0.7" default="0.3"/>
39    </vgroup>
40   </hgroup>
41
42
43   <hgroup>
44    <string id="aname" _label="Simulation team A name" arg="-team-a-name %"/>
45     <number id="acount" type="spinbutton" arg="-team-a-count %"
46             _label="A count" low="1" high="100" default="4"/>
47   </hgroup>
48
49   <hgroup>
50    <string id="bname" _label="Simulation team B name" arg="-team-b-name %"/>
51    <number id="bcount" type="spinbutton" arg="-team-b-count %"
52            _label="B count" low="1" high="100" default="4"/>
53   </hgroup>
54
55   <hgroup>
56    <boolean id="dns"     _label="Resolve host names" arg-unset="-no-dns"/>
57    <boolean id="times"   _label="Show ping times"    arg-unset="-no-times"/>
58    <boolean id="wobble"  _label="Tilt"               arg-unset="-no-wobble"/>
59    <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
60   </hgroup>
61
62   <_description>
63 This draws a sonar screen that pings (get it?) the hosts on
64 your local network, and plots their distance (response time) from you.
65 The three rings represent ping times of approximately 2.5, 70 and 2,000
66 milliseconds respectively.
67
68 Alternately, it can run a simulation that doesn't involve hosts.
69
70 (If pinging doesn't work, you may need to make the executable be setuid.)
71
72 http://en.wikipedia.org/wiki/Ping#History
73
74 Written by Jamie Zawinski and Stephen Martin; 1998.
75   </_description>
76 </screensaver>