| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| module:nodelist [2019/05/09 01:53] – Filled-out finally digital man | module:nodelist [2025/07/11 00:54] (current) – [Node List] Replace cvsweb link with GitLab link digital man |
|---|
| ====== Node List ====== | ====== Node List ====== |
| |
| This Synchronet Node List module ([[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/nodelist.js|nodelist.js]]) can list the [[server:Terminal]] Server nodes / active-users as well as the active-users of the [[server:Web]] Server, when running a [[:howto:ecweb|compatible web interface]]. This module can be used to replace the hard-coded node listing functionality of the BBS's terminal server (''sbbs_t::nodelist()'' and ''sbbs_t::whos_online()'' from [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/getnode.cpp|getnode.cpp]] invoked via the Ctrl-U global hot-key handler or via menu options, e.g. ''/L'') and the native [[util:node]] utility. | This Synchronet Node List module ([[https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/nodelist.js|nodelist.js]]) can list the [[server:Terminal]] Server nodes / active-users as well as the active-users of the [[server:Web]] Server, when running a [[:howto:ecweb|compatible web interface]]. This module can be used to replace the hard-coded node listing functionality of the BBS's terminal server (''sbbs_t::nodelist()'' and ''sbbs_t::whos_online()'' from [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/getnode.cpp|getnode.cpp]] invoked via the Ctrl-U global hot-key handler or via menu options, e.g. ''/L'') and the native [[util:node]] utility. |
| |
| ===== Invocation ===== | ===== Invocation ===== |
| ===== Install ===== | ===== Install ===== |
| | |
| To install the Node List module into the Terminal Server as the global hot-key handler (for Ctrl-U), use the following [[util:JSexec]] command-line: | The ''nodelist'' module is now the default value for SCFG->System->Loadable Modules->List Nodes and Who's Online, so it needs no manual installation. |
| jsexec nodelist.js install | ===== Customize ===== |
| | |
| To have the Node List module handle your Terminal Server command shell menu options for listing nodes, make sure your installed command shell(s) invoke the "nodelist" module rather than calling an internal nodelist function. See [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/default.src?r1=1.22&r2=1.23|default.src]] for an example. All the stock command shells ''[[dir:exec]]/*.src'' have been updated in [[dev:CVS]]. If you update from CVS, you may need to recompile them by running ''jsexec [[module:update]].js''. | |
| | |
| ===== Customization ===== | |
| |
| The Node List module supports the following configuration options in the ''[nodelist]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | The Node List module supports the following configuration options in the ''[nodelist]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |