This is an old revision of the document!


Environment Variables

This page description the environment variables of your operating system/shell that Synchronet may use.

SBBSCTRL Environment Variable

The SBBSCTRL environment variable should be set the path of your Synchronet dir/ctrl directory, especially if Synchronet is not installed in the default installation location (e.g. /sbbs/ctrl/).

SBBSEXEC Environment Variable

The SBBSEXEC environment variable may be set the path of your Synchronet dir/exec directory. This may be needed for some development situations.

SBBSNODE Environment Variable

The SBBSNODE environment variable should NOT be set. This variable is set dynamically1), by Synchronet, for the use of external online programs (e.g. doors).

Setting Environment Variables

Windows NT

For Microsoft Windows NT-based operating systems (this includes Windows 2000, XP, Vista, and Windows 7), goto the Windows Control Panel->System->Advanced->Environment Variables->System Variables->New... and set

  • Variable to SBBSCTRL
  • Variable Value to c:\sbbs\ctrl

(replace c:\sbbs\ctrl with the full path to your ctrl directory)

Windows 9x

For Mirosoft Windows 9x-based operating systems, edit your C:\AUTOEXEC.BAT file and add the line:

  SET SBBSCTRL=c:\sbbs\ctrl

(replace c:\sbbs\ctrl with the full path to your ctrl directory)

bash/sh

For Unix bash/sh: 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 sh and add the line:

  SBBSCTRL=/sbbs/ctrl && export SBBSCTRL

(replace /sbbs/ctrl with the full path to your ctrl directory)

csh/tcsh

For Unix csh/tcsh: 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:

  setenv SBBSCTRL /sbbs/ctrl

(replace /sbbs/ctrl with the full path to your ctrl directory)

1)
to the path of the current node directory
config/env.1266828200.txt · Last modified: 2010/02/22 00:43 by digitalman
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0