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

    From Rob Swindell@1:103/705 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 gatewayDefault 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.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (in GitKraken)@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 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.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)