Both sides previous revisionPrevious revisionNext revision | Previous revision |
dir:exec [2010/02/23 14:35] – digitalman | dir:exec [2020/08/23 15:33] (current) – Change links from viewcvs/cvsweb to gitlab. digital man |
---|
====== EXEC Directory ====== | ====== exec directory ====== |
| |
===== Directory Contents ===== | The Synchronet ''exec'' directory contains executable and interpreted files: |
| |
| * Binary executables (e.g. ''.exe'') |
| * Baja-interpretted (''.bin'') with source (''.src'', ''.inc'') |
| * JavaScript (''.js'') |
| |
| The stock/default contents of the ''exec'' directory can be browsed online [[https://gitlab.synchro.net/sbbs/sbbs/-/tree/master/exec|here]]. |
| |
| A daily snapshot archive of the stock/default contents of the ''exec'' directory can downloaded in [[ftp://ftp.synchro.net/sbbsexec.zip|zip]] (for Windows) or [[ftp://ftp.synchro.net/sbbsexec.tgz|tgz]] (for *nix). |
| |
| Files in the ''exec'' directory are not normally modified by the sysop. If you have locally modified files from ''exec'' (or ''exec/load''), it is recommended to move them to the ''[[dir:mods]]'' directory to protect them from accidental over-write during upgrade or update. |
===== Sub-directories ===== | ===== Sub-directories ===== |
| |
==== load ==== | ==== load ==== |
| The ''[[dir:exec]]/load'' directory (''[[dir:load]]'') and ''[[dir:mods]]/load'' directory contain JavaScript library (''.js'') files that are ''load()''ed by other JavaScript modules. |
| |
| More than one directory can be searched for JavaScript load libraries. The set of load directories/subdirectories is configured with the ''JavaScriptLoadPath'' value in the ''[[dir:ctrl]]''/''[[config:sbbs.ini]]'' file. |
| |
==== tone ==== | ==== tone ==== |
| |
| The ''[[dir:exec]]/tone'' directory contains 'tone' (''.ton'') files which are interpretted (e.g. by the [[util:tone]] utility or the [[module:playtone]] module) to generate simple monophonic melodies (e.g. for sysop paging). |
| |
===== SBBSEXEC Environment Variable ===== | ===== SBBSEXEC Environment Variable ===== |
| |
See [[config:sbbs.ini#SBBSEXEC]] for more details. | The ''SBBSEXEC'' environment variable may be used to point (contain the path) to this directory, but is not normally required. |
| |
| See [[config:env#SBBSEXEC]] for more details. |
| |
===== See Also ===== | ===== See Also ===== |
| |
* [[./index|Directory structure]] | * [[dir:|Directory structure]] |
* [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/|EXEC directory in CVS]] [[http://cvs-mirror.synchro.net/cgi-bin/viewcvs.cgi/exec/|Mirror]] | * [[dir:mods]] directory |
| * [[https://gitlab.synchro.net/sbbs/sbbs/-/tree/master/exec|exec directory in Git]] |
| |