Next revision | Previous revision |
config:cnf_files [2010/02/23 13:50] – created CNF <- INI deuce | config:cnf_files [2023/07/30 13:35] (current) – [Development Notes] typo fixed and more detail added digital man |
---|
====== Cnf Files ====== | ====== .cnf files ====== |
| |
These are binary files in the [[dir:ctrl|CTRL Directory]] which are maintained by [[scfg]]. These feature an auto-backup system configured via [[scfg:System:Advanced Options]]. | ''.cnf'' files are proprietary binary configuration files located in the ''[[dir:ctrl]]'' directory and ''[[dir:node]]'' directories and are maintained using the [[util:SCFG]] utility before Synchronet v3.20. |
| |
| ===== Auto-backup ===== |
| |
| [[util:SCFG:]] features an auto-backup system controlled with the [[util:SCFG]] ''-b#'' command-line option to specify the backup level. ''-b5'' is the default, providing for 5 backups of each file modified. ''-b0'' disables the auto-backup feature. |
| |
| ''.cnf'' files ending with ''.0.cnf'' represent the most recent backup of the ''.cnf'' file, ''.1.cnf'' the next to most recent backup, etc. |
| |
| The oldest backup files (e.g. ''*.5.cnf'' when the backup level is 5) are automatically removed (deleted). |
| |
| ====== Individual files ====== |
| |
| The various .cnf files are: |
| * ''chat.cnf'': This contains the [[util:scfg:Chat Features]] settings from [[util:SCFG]] specifically the Guru, Multinode chat actions and channels, and external sysop pages. This is unused on most BBSs and may be removed from or integrated with the [[service:ircd]] in [[version 4]]. |
| * ''file.cnf'': Contains the file [[library]] and [[directory]] configuration from [[util:scfg:File Areas]] and the file transfer configuration from [[util:scfg:File Options]] |
| * ''main.cnf'': [[util:scfg:System]] settings and [[util:scfg:Command Shells]] are configrued via this file. |
| * ''msgs.cnf'': Contains the message [[groups]] and [[sub-boards]] configured via [[util:scfg:Message Areas]], [[util:scfg:Message Options]], and [[util:scfg:Networks]] |
| * ''xtrn.cnf'': Contains the [[util:scfg:External Programs]] configuration which includes [[events]], [[external editors]], [[hot-key events]] and [[doors]] |
| * ''node.cnf'': Located in the [[dir:node|NODE Directories]], and configured via the [[util:scfg:Nodes]] menu, it is expected that only the node config which corresponds to the [[config:sbbs.ini#first node|FirstNode]] value (usually 1) in ''[[sbbs.ini]]'' is actually used, but there may be times with some tools that a different node config file is used. Because of this, it is recommended that a sysop ensure that all ''node.cnf'' files for the same instance are configured identically. |
| |
| ====== Development Notes ====== |
| |
| These files were originally a text-based configuration (''*.cfg'' files in Synchronet version 1) but were converted to binary for efficiency reasons that no longer apply. In version 3.20 of Synchronet, these files were converted to [[.ini files]]; see [[history:newcfgfiles]] for details. |
===== See Also ===== | ===== See Also ===== |
* [[:config:|config index]] | * [[:util:SCFG:]] |
| * [[:config:|Configuration]] |
| |
| {{tag>configuration file_type cnf}} |