• exec/load/syncterm_cache.js

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Mar 23 21:24:24 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/8dacb9022fdd4cdc1c1781a1
    Added Files:
    exec/load/syncterm_cache.js
    Log Message:
    Simple untested script to upload a file to the SyncTERM cache.

    As I said, untested.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Dec 28 11:22:06 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2760bfe13b708c4f344de7fb
    Modified Files:
    exec/load/syncterm_cache.js
    Log Message:
    Fix syncterm_cache.js

    It was badly broken, especially with large files... we now don't
    try console.write() unless there's enough space in
    console.output_buffer_space.

    On my system (debug build of Synchronet), the most I can push through console.write() over telnet is about 1.9MB/s. My release build of
    SyncTERM can consume about 4MB/s of string data, so Synchronet is the
    choke point in my setup here. (SSH is much worse)

    My super-cool demo thing ends up needing about 90 seconds to preload
    all the cache stuff, so it's simply not useable, even locally. :(

    If I use client.socket.send(), I can unlock the Synchronet throughput,
    but I can't remember if client.socket is the passthru socket with SSH
    or not... and there's no way to synchronize the socket with the console
    at the end of the send (console has flush(), Socket doesn't, and even if
    it did, it wouldn't flush through to the output buffer).
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Dec 28 16:25:28 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/ee1c1af845f765ddad1fe2d8
    Modified Files:
    exec/load/syncterm_cache.js
    Log Message:
    Fix hash comparison
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Dec 28 22:28:52 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/130c9e47d6ea2c2d167e8c26
    Modified Files:
    exec/load/syncterm_cache.js
    Log Message:
    More fixes...

    All the scripts I used this in previously had a read_apc() function.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)