Minimal INI file

From CometWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
The very minimum INI file is composed of about 10 lines and looks like this:
The very minimum INI file is composed of about 10 lines and looks like this:
 +
<pre>
 +
[DIRECTORIES]
 +
  01 = L,.\REL\;
-
[DIRECTORIES]
+
[NODE]
-
:01 = L,.\REL\;
+
  Name = MIN;
-
[NODE]
+
[COMET SYSTEM OPTIONS]
-
:Name = MIN;
+
  First Partition = P00;
 +
  # of Partitions = 1;
-
[COMET SYSTEM OPTIONS]
+
[CONSOLE SESSION OPTIONS]
-
:First Partition = P00;
+
Session = T00, P00, 5, F0,80,FF,F0,B0;
-
:# of Partitions = 1;
+
-
 
+
-
[CONSOLE SESSION OPTIONS]
+
-
:Session = T00, P00, 5, F0,80,FF,F0,B0;
+
[END]
[END]
 +
</pre>
-
This INI file, when processed, creates a configuration file named MIN.CFG (for the node named MIN), containing one directory (REL), one partition (P00), and one foreground terminal session (T00). No other devices or services are configured.
+
This INI file, when processed, creates a configuration file named MIN.CFG (because the only node is named ''MIN''), containing one directory (REL), one partition (P00), and one foreground terminal session (T00). No other devices or services are configured.
-
 
A more realistic INI file includes more items as shown in the following example. (Note: This example contains some real and some fictitious data. The syntax and comments are correct, but may not represent a real live system.)
A more realistic INI file includes more items as shown in the following example. (Note: This example contains some real and some fictitious data. The syntax and comments are correct, but may not represent a real live system.)
-
+
<pre>
-
 
+
[ENTERPRISE]
[ENTERPRISE]
-
 
-
 
[SITE]
[SITE]
-
 
   Server = N01, NLM, L, Comet_server_1;        Novell server1
   Server = N01, NLM, L, Comet_server_1;        Novell server1
-
 
-
 
[NODE]
[NODE]
-
 
   Name = MIN;          Node name is MIN
   Name = MIN;          Node name is MIN
-
 
+
   Server = N01,SF;    This nodes gets security and files from N01
-
   Server = N01,SF;    Get security and files from N01
+
-
 
+
-
+
[DIRECTORIES]
[DIRECTORIES]
-
 
   01 = L  , .\REL\;
   01 = L  , .\REL\;
-
 
   02 = L  , .\SPL\;
   02 = L  , .\SPL\;
-
 
-
 
[PRINTERS]
[PRINTERS]
-
 
   Printer = LPW, W, N,, HP DeskJet 890C Series:RAW,,;
   Printer = LPW, W, N,, HP DeskJet 890C Series:RAW,,;
-
 
-
 
[SPOOLERS]
[SPOOLERS]
-
 
   Spool = SP1, .\SPL\;
   Spool = SP1, .\SPL\;
-
 
-
 
[COMET SYSTEM OPTIONS]
[COMET SYSTEM OPTIONS]
-
 
   First Partition = P00;
   First Partition = P00;
-
 
   First Terminal  = T00;
   First Terminal  = T00;
-
 
   # of Partitions = 9;
   # of Partitions = 9;
-
 
-
 
[CONSOLE SESSION OPTIONS]
[CONSOLE SESSION OPTIONS]
-
 
   Session = T00-005, P00, 5, F0,80,FF,F0,B0;
   Session = T00-005, P00, 5, F0,80,FF,F0,B0;
-
 
-
 
[GATEWAYS]
[GATEWAYS]
-
 
   Gateway = 2,0;    Sort gateway
   Gateway = 2,0;    Sort gateway
-
 
   Gateway = 3,0;    XAP gateway
   Gateway = 3,0;    XAP gateway
-
 
   Gateway = 4,0;    Winsock gateway
   Gateway = 4,0;    Winsock gateway
-
 
   Gateway = 5,0;    ODBC gateway
   Gateway = 5,0;    ODBC gateway
-
 
   Gateway = 6,0;    Universal gateway (fax)
   Gateway = 6,0;    Universal gateway (fax)
-
 
-
 
[END]
[END]
 +
</pre>

Revision as of 20:40, 20 August 2008

The very minimum INI file is composed of about 10 lines and looks like this:

 [DIRECTORIES]
  01 = L,.\REL\;

 [NODE]
  Name = MIN;

 [COMET SYSTEM OPTIONS]
  First Partition = P00;
  # of Partitions = 1;

 [CONSOLE SESSION OPTIONS]
 Session = T00, P00, 5, F0,80,FF,F0,B0;

[END]


This INI file, when processed, creates a configuration file named MIN.CFG (because the only node is named MIN), containing one directory (REL), one partition (P00), and one foreground terminal session (T00). No other devices or services are configured.


A more realistic INI file includes more items as shown in the following example. (Note: This example contains some real and some fictitious data. The syntax and comments are correct, but may not represent a real live system.)

[ENTERPRISE]

[SITE]
   Server = N01, NLM, L, Comet_server_1;        Novell server1

[NODE]
   Name = MIN;          Node name is MIN
   Server = N01,SF;     This nodes gets security and files from N01

[DIRECTORIES]
   01 = L   , .\REL\;
   02 = L   , .\SPL\;

[PRINTERS]
   Printer = LPW, W, N,, HP DeskJet 890C Series:RAW,,;

[SPOOLERS]
   Spool = SP1, .\SPL\;

[COMET SYSTEM OPTIONS]
   First Partition = P00;
   First Terminal  = T00;
   # of Partitions = 9;

[CONSOLE SESSION OPTIONS]
   Session = T00-005, P00, 5, F0,80,FF,F0,B0;

[GATEWAYS]
   Gateway = 2,0;    Sort gateway
   Gateway = 3,0;    XAP gateway
   Gateway = 4,0;    Winsock gateway
   Gateway = 5,0;    ODBC gateway
   Gateway = 6,0;    Universal gateway (fax)

[END]
Personal tools