• exec/text_sec.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon Jan 19 23:58:24 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/aaa65c8f907258bee33cd477
    Modified Files:
    exec/text_sec.js
    Log Message:
    Use global print 'mode' from data/text/*.ini file, if specified

    Currently there's no menu/automated way to do this, sysops will have to hand edit the file if they want to use this feature to set various P_* print
    mode flags that will be used to display all files in the section unless they have their own (overriding) 'mode' key set.

    The 'mode' key values are eval()'d so be careful to only use valid JavaScript syntax (e.g. P_CPM_EOF | P_PCBOARD) when setting the value.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue Jan 20 02:28:52 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9d97f717c944a93c19713ecf
    Modified Files:
    exec/text_sec.js
    Log Message:
    Open the data/text/*.ini file in read/write mode when updating

    This fixes the issue of inadvertently removing the root section any time a
    file was added. However, now that we also have to remove all the sections because we're re-writing them all using iniSetObjects(). It'd probably be better to just add and remove one section at a time when we add or remove
    a file, but that's more of a redesign than I'm up for right now.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)