• exec/syncterm-bounce.js

    From Deucе@1:103/705 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!)
    --- 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 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 willwait for a response. Also, use a single cache list command to checkthe MD5 of both files.This speeds up startup immensely. It would be a good idea to dosomething similar in Synchronet any time we send a query and waitfor a response... as it sits now, we're basically adding extradelays 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 timeoutof zero. This would just generally fix everything I think, unlessthere's something calling inkey() with a very small timeout justto avoid 100% CPU or something.
    --- 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 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 needconsole.flush() anymore.
    --- 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 Mar 23 10:58:02 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/be55f39b197812d85dc39887
    Modified Files:
    exec/syncterm-bounce.js
    Log Message:
    Re-format b64 encoded images strings so you can see the code.

    The ppm (image) of course is 24bpp, and the pbm (mask) is 1bpp, so
    the line lengths are different.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)