Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
config:env [2018/10/18 00:45] – [bash/sh] typos and such digital man | config:env [2022/03/14 19:31] – Tags and See Also section added. Andre |
---|
===== 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 (e.g. where your Synchornet ''exec'' directory is not ''../exec'' relative to your Synchronet ''[[dir:ctrl]]'' directory). Most sysops will not need to set this environment variable. |
| |
===== SBBSNODE ===== | ===== SBBSNODE ===== |
(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) |
| |
| ==== Debian-based Linux ==== |
| (Yes, this includes Ubuntu Linux) |
| |
| See https://wiki.debian.org/EnvironmentVariables |
==== bash/sh ==== | ==== bash/sh ==== |
| |
| ''SBBSNNUM'' | Current node number | ''1'' | | | ''SBBSNNUM'' | Current node number | ''1'' | |
| ''PCBNODE'' | Current node number (only for DOS programs) | ''1'' | | | ''PCBNODE'' | Current node number (only for DOS programs) | ''1'' | |
| | ''PCBDRIVE'' | Current node drive letter | ''C:'' | |
| | ''PCBDIR'' | Current node path (sans drive letter) | ''\SBBS\NODE1\'' | |
| ''DAY'' | Current day of the month (01-31 ) | ''01'' | | | ''DAY'' | Current day of the month (01-31 ) | ''01'' | |
| ''WEEKDAY'' | Current day of the week abbreviation | ''Mon''| | | ''WEEKDAY'' | Current day of the week abbreviation | ''Mon''| |
| |
| |
| ===== See Also ===== |
| * [[:config:|Configuration]] |
| |
| |
| {{tag>configuration operating_system}} |