• exec/rlogin.js telgate.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon Aug 12 19:09:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e5eca8bc43ad91d3a5ab0deb
    Modified Files:
    exec/rlogin.js telgate.js
    Log Message:
    Add support for -v (verbose) option and modopts.ini

    Don't display remote host name/addr unless -v option is specified or verbosity=1 is set in modopts.ini.

    Allow the displayed messages to be customized or disabled as the sysop wishes via modopts.ini keys:
    - help_msg
    - connecting_msg
    - failed_connect_msg
    (e.g. set to a blank string to disable)

    The following settings are also now configurable via modopts.ini:
    - quiet (correlates with -q option)
    - pause (correlates with -P option)
    - clear (correlates with -C option)
    - timeout (correlates with -T option)
    - verbosity (correlates with -v option)

    ... a sysop can control the default behavior of all invocations of telgate.js or rlogin.js via a single file now (modopts.ini).

    The rlogin.js module will first look ing for the [rlogin] section in modopts.ini and if it doesn't exist, then [telgate] section. telgate.js just looks for the [telgate] section.

    For the #synchronet irc crew: Nelgin and Keyop
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)