• exec/text_sec.js

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 16, 2023 21:26:10
    https://gitlab.synchro.net/main/sbbs/-/commit/37fc072b46cd320a829e777f
    Modified Files:
    exec/text_sec.js
    Log Message:
    text_sec updated for v3.20+

    There are some changes in here that I forgot the history behind, but the
    most important is that it uses file.ini rather than file.cnf, thus
    fixing issue #478. I actually had this changed file sitting outside of my
    git repo for a while now and didn't realize it.

    The other changes appear to be:
    - RIP support (clearing the window before/after each file is displayed)
    - read the display files a chunk at a time (rather than read the entire file
    into RAM, which could take a really long time on very large files),
    - allow files that don't exist on disk to be added to the list

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 23, 2023 12:24:39
    https://gitlab.synchro.net/main/sbbs/-/commit/61854212a1fbb3d2f9acdc74
    Modified Files:
    exec/text_sec.js
    Log Message:
    We need store the file full path in the section name

    We need to support the same filename in different directories.

    The 'path' key is just an artifact and not normally used when read,
    so that was a distraction that apparently confused me previously
    and I broke this functionality in commit c44ed79a3b2c5e5.

    This should fix the issues reported by xbit (XBITBBS) on DOVE-Net.

    Also, don't open the file.ini for write-access (unnecessary).

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