Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
config:env [2020/03/21 15:06] – [SBBSEXEC] more details digital manconfig:env [2023/02/11 16:40] – [Debian-based Linux] Add .bashrc example additions digital man
Line 36: Line 36:
 (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
 +
 +Example ''~/.bashrc'' addition that both sets the ''SBBSCTRL'' variable and adds the Synchronet ''[[dir:exec]]'' directory to the search path:
 +<code sh>
 +export SBBSCTRL=/sbbs/ctrl
 +export PATH=$PATH:/sbbs/exec
 +</code>
 ==== bash/sh ==== ==== bash/sh ====
  
Line 94: Line 104:
 | ''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''|
Line 103: Line 115:
  
  
 +===== See Also =====
 +  * [[:config:|Configuration]]
 +
 +
 +{{tag>configuration operating_system}}