Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
config:env [2010/02/22 19:50] – More emphasis! deuce | config:env [2013/09/26 15:35] – [SBBSNODE] digital man |
---|
===== SBBSCTRL ===== | ===== SBBSCTRL ===== |
| |
The ''SBBSCTRL'' environment variable **should** be set to the path of your Synchronet ''[[dir/ctrl]]'' directory, **especially** if Synchronet is not installed in the default installation location (e.g. ''/sbbs/ctrl''). | The ''SBBSCTRL'' environment variable **should** be set to the path of your Synchronet ''[[dir:ctrl]]'' directory, **especially** if Synchronet is not installed in the default installation location (e.g. ''/sbbs/ctrl''). |
| |
If this variable is **not** set, most //Synchronet// programs **allow** passing the //path// to the ''[[dir/ctrl]]'' directory as the **last** argument. | If this variable is **not** set, most //Synchronet// programs **allow** passing the //path// to the ''[[dir:ctrl]]'' directory as the **last** argument. |
| |
===== SBBSEXEC ===== | ===== SBBSEXEC ===== |
| |
The ''SBBSEXEC'' environment variable //may// be set to the path of your Synchronet ''[[dir/exec]]'' directory. This may be needed for some development situations. | The ''SBBSEXEC'' environment variable //may// be set to the path of your Synchronet ''[[dir:exec]]'' directory. This may be needed for some development situations. |
| |
===== SBBSNODE ===== | ===== SBBSNODE ===== |
| |
The ''SBBSNODE'' environment variable **should NOT** be set. This variable is set dynamically((to the path of the current node directory)), by Synchronet, for the use of external online programs (e.g. doors). | The ''SBBSNODE'' environment variable **should NOT** be set by the sysop. This variable is set dynamically((to the path of the current node directory)), by Synchronet, for the use of external online programs (e.g. doors). |
| |
| |
* Variable name: ''SBBSCTRL'' | * Variable name: ''SBBSCTRL'' |
* Variable value: ''c:\sbbs\ctrl'' | * Variable value: ''c:\sbbs\ctrl'' |
(replace ''c:\sbbs\ctrl'' with the full path to your ''[[dir/ctrl]]'' directory) | (replace ''c:\sbbs\ctrl'' with the full path to your ''[[dir:ctrl]]'' directory) |
| |
==== Windows 9x ==== | ==== Windows 9x ==== |
and add the line: | and add the line: |
SET SBBSCTRL=c:\sbbs\ctrl | SET SBBSCTRL=c:\sbbs\ctrl |
(replace ''c:\sbbs\ctrl'' with the full path to your ''[[dir/ctrl]]'' directory) | (replace ''c:\sbbs\ctrl'' with the full path to your ''[[dir:ctrl]]'' directory) |
| |
==== bash/sh ==== | ==== bash/sh ==== |
For Unix bash/sh: | For Unix bash/sh: |
In the home directory of the user the BBS will be running as, edit the file | In the home directory of the user the BBS will be running as, edit the file |
named either ''.profile'' or ''.bash_profile'' depending on if you're running bash or | named either ''.profile'' or ''.bash_profile'' as appropriate and add the line: |
sh and add the line: | |
| |
SBBSCTRL=/sbbs/ctrl && export SBBSCTRL | SBBSCTRL=/sbbs/ctrl && export SBBSCTRL |
(replace ''/sbbs/ctrl'' with the full path to your ''[[dir/ctrl]]'' directory) | (replace ''/sbbs/ctrl'' with the full path to your ''[[dir:ctrl]]'' directory) |
| |
==== csh/tcsh ==== | ==== csh/tcsh ==== |
For Unix csh/tcsh: | For Unix csh/tcsh: |
Again, in the home directory of the user the BBS will be running as, in the | Again, in the home directory of the user the BBS will be running as, in the |
file named ''.tcshrc'' (for tcsh) or ''.cshrc'' (for csh) add the line: | file named ''.tcshrc'' or ''.cshrc'' as appropriate add the line: |
| |
setenv SBBSCTRL /sbbs/ctrl | setenv SBBSCTRL /sbbs/ctrl |
(replace ''/sbbs/ctrl'' with the full path to your ''[[dir/ctrl]]'' directory) | (replace ''/sbbs/ctrl'' with the full path to your ''[[dir:ctrl]]'' directory) |
| |