[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
All symbols are not case-sensitive.
{<whiteSpace>} at the start of the line will be ignored.
All keywords are evaluated as occurring, the first matching keyword found is valid. If there are more then one keywords of the same type allowed, the last line matching the situation is valid. Another words: second definition overwrite the previous one. If no match is found, a default-value will be used.
"#" at the start of a line or <whiteSpace>#<whiteSpace> within the line starts a comment. The comment ends with the line.
If the first word in a line is an undefined keyword, program exits with error message.
Each keyword has to start a new line.
Keyword parameters:
<integer>
1234567890
<string>
<bool>
<addr>
2:5000/117
<file>
<path>
Note! [<parameter>]
means that it can be omitted.
FIDOCONFIG library can set up internal variables:
set basedir=/home/user/fido/ |
[OS]
variable automatically setting up for following opetaring systems:
You can set something like:
if [OS]==UNIX tearline `uptime` endif |
Some programs can be compiled with module variavle. It can be used for config parsing speed up:
if [module]==htick include /etc/ftn/fileareas endif |
And if HPT is running, fileareas don't parsed, because [module]==hpt.
There are following modules available:
Also external variables van be parsed:
autoexec.bat: SET VAR=myvar fidoconfig: if [VAR]==myvar ... else ... endif ifdef UNIX MsgBaseDir [home]/msgbase endif |
You can use external programs output via `cmd`
. It is available
only for UNIX & OS/2+EMX:
Name Power Station under `uname -mrs` |
List of the additional commands:
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |