• src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 30 15:34:50 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5509c20c2cd812db03fa0eeb
    Modified Files:
    src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp
    Log Message:
    Use non-blocking connect for telnet/rlogin gateway

    Default connect timeout is now 10 (seconds), and can be overridden by passing an additional number argument to bbs.telnet_gate() or bbs.rlogin_gate().

    Addresses issue #314 by Nelgin.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Thu Mar 9 17:30:39 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/813b3592c5fd2e79129f8041
    Modified Files:
    src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp
    Log Message:
    [telnet|rlogin]_gate now returns bool (false if failed to connect)

    Previously, there was no real way to tell if the call to telnet_gate() or rlogin_gate() was successful (e.g. to display or an error message to the user), though there were error/warning messages logged for the sysop. Equivalent JS bbs object methods now return Boolean too.

    Include ":port" part of address argument to bbs.[telnet|rlogin]_gate methods in JSDOCS.

    Removed a bunch of extraneous (copy-pasted?) JS_SET_RVAL() calls from js_bbs.cpp. This just makes the code a little easier to grok.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Aug 9 21:24:09 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/564b10b6c344def702d0f218
    Modified Files:
    src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp
    Log Message:
    Add optional array argument to bbs.telnet_gate() and bbs.rlogin_gate()

    If an array argument is passed to these methods, the stringified contents of each array element value will be sent to the remote server after connecting.

    This is to support Nelgin's request of sending some strings to a server after connecting. There's no way to insert pauses between the sent strings or wait for certain output from the remote - that's beyond this scope/capability.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net