• exec/syncterm-bounce.js

    From Deuc¨@VERT to Git commit to main/sbbs/master on Thursday, December 29, 2022 10:08:00
    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 Thursday, December 29, 2022 11:41:22
    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 Thursday, December 29, 2022 13:57:23
    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