• exec/syncterm-bounce.js

    From Deucе@VERT to Git commit to main/sbbs/master on Thu Dec 29 10:08:00 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/e88380022f1bf5d01b987819
    Modified Files:
    exec/syncterm-bounce.js
    Log Message:
    Use the new console.flush() method.

    This speeds up the display immensely without distracting artifacts
    (yay!)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Dec 29 11:41:22 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/2f18dc97ec6d0fdda8a24541
    Modified Files:
    exec/syncterm-bounce.js
    Log Message:
    Add a console.flush() after we sent each ANSI query that will
    wait for a response. Also, use a single cache list command to check
    the MD5 of both files.

    This speeds up startup immensely. It would be a good idea to do
    something similar in Synchronet any time we send a query and wait
    for a response... as it sits now, we're basically adding extra
    delays that aren't strictly necessary.

    Another option would be to *always* flush before a blocking read,
    which would "fix" anything that's not using inkey() with a timeout
    of zero. This would just generally fix everything I think, unless
    there's something calling inkey() with a very small timeout just
    to avoid 100% CPU or something.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Dec 29 13:57:23 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/aa02011ff744b0a66adda7c2
    Modified Files:
    exec/syncterm-bounce.js
    Log Message:
    With the new auto-flush thing, we can rejigger this to not need
    console.flush() anymore.

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