• exec/text_sec.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Jul 21 13:59:21 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4bdaebf9072001d4b8f46aa2
    Modified Files:
    exec/text_sec.js
    Log Message:
    Check console.aborted flag in display loops

    So that hitting 'N' at pause prompt will abort the loop.
    Reported by phigz via irc.synchro.net

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Sep 20 21:19:12 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/12857f64c4061cc80279b0b2
    Modified Files:
    exec/text_sec.js
    Log Message:
    Add edit option when adding text files that don't already exist

    Revisiting this script due to usability issues reported by W5jsn (TUCUMCAR).

    Dynamically figure out the file path rather than storing another property ('path') in the list objects (which ends up in the .ini file). The absence of the path property (when the file didn't exist) could result in script-ending exceptions.

    .ini files are supposed to be open for read/write access (even when just writing), so open the file in "w+t" mode in write_list().

    Clear console.aborted flag before menu listings: hitting Ctrl-C in some
    point could display just header and prompt of lists with no contents.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From W5jsn@VERT/TUCUMCAR to Rob Swindell (on Debian Linux) on Tue Sep 24 18:32:14 2024
    Revisiting this script due to usability issues reported by W5jsn (TUCUMCAR).

    I don't know if this is the setting to express appreciation, but this is a great fix and enhancement! Thanks!

    ---
    ■ Synchronet ■ Tucumcari BBS