Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
Configuration files have a simple structure consisting of two parts, the stanza and key/value pairs.
 
Configuration files have a simple structure consisting of two parts, the stanza and key/value pairs.
   −
A stanza is a section of the config file. It starts with a name (or number) surrounded by square brackets on a line by itself. A config file will have one or more stanza. Each stanza continues until the next stanza or end of file.  
+
A stanza is a section of the config file. It starts with a name (or number) surrounded by square brackets on a line by itself. A config file will have one or more stanzas. Each stanza continues until the next stanza or end of file.  
 
<pre>
 
<pre>
 
[this is a stanza]
 
[this is a stanza]
Line 9: Line 9:  
...
 
...
 
</pre>  
 
</pre>  
Stanzas contain one or more ker/value pairs.  
+
Stanzas contain one or more ker/value pairs. Key/value pairs set various values within each stanza.
 
  −
Key/value pairs set various values such as the ID of the node.
   
<pre>
 
<pre>
 
myname=timothy ; There are some who call me Tim?
 
myname=timothy ; There are some who call me Tim?
 
</pre>
 
</pre>
   −
Config file comments are preceded with a semicolon.
+
Config file comments are preceded with a semicolon. In this example of two nodes the stanza is the node number and the key/value pairs set the CW ID and the ID timer:
 
  −
In this example of two nodes the stanza is the node number and the key/value pairs set the CW ID and the ID timer:
      
<pre>
 
<pre>
896

edits

Navigation menu