Subj : exec/text_sec.js To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Fri Sep 20 2024 21:19:12 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. --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .