Both sides previous revisionPrevious revisionNext revision | Previous revision |
dir:exec [2011/07/09 15:17] – 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: |
| |
This directory contains executable and interpreted files: | |
| |
* Binary executables (e.g. ''.exe'') | * Binary executables (e.g. ''.exe'') |
* Baja-interpretted (''.bin'', ''.inc'') with source (''.src'') | * Baja-interpretted (''.bin'') with source (''.src'', ''.inc'') |
* JavaScript (''.js'') | * 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 and ''[[dir:mods]]/load'' directory contain JavaScript library (''.js'') files that are ''load()''ed by other JavaScript modules. | 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. | 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. |
===== See Also ===== | ===== See Also ===== |
| |
* [[./index|Directory structure]] | * [[dir:|Directory structure]] |
* [[dir:MODS]] directory | * [[dir:mods]] directory |
* [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/|EXEC directory in CVS]] [[http://cvs-mirror.synchro.net/cgi-bin/viewcvs.cgi/exec/|Mirror]] | * [[https://gitlab.synchro.net/sbbs/sbbs/-/tree/master/exec|exec directory in Git]] |
| |