• exec/xtrn_sec.js

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jul 3 16:04:04 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/0021b378b3edf3ebd36df174
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Add a carriage-return to the mouse hotspot value when neededFor program listings, if the program number is fewer digits than the totalprogram list count (number of digits), then a carriage return is requiredto launch that program. Automate this for the mouse hotspot value, so clickingProgram #1 in a list of 10+ will just run that program and not require theuser to hit the Enter key.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jul 16 17:43:28 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/8651f2afd696e49a0eb783eb
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Don't treat Enter as choosing default section when no prompt was shownAs pointed out via DOVE-Net by DesotoFireflite (VALHALLA):When xtrn_sec.* display file/menu is used, there's no auto-generatedprompt (with a default section number indicated). So hitting Enterin this case and having the previous/default program section selectedwould be surprising behavior to a user. So, only support a defaultsection selection when there was no xtrn_sec.* menu/display file.
    --- SBBSecho 3.15-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 Sat Mar 2 18:40:01 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/ec6e617029885b4e1ebd7a0e
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Don't try to center on terminals < 80 columns wide
    --- SBBSecho 3.20-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 Wed Jan 1 23:47:29 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5acb54dd1cbaa6e4c678f1d3
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Fix typo
    --- SBBSecho 3.23-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 Fri Apr 18 17:18:20 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/ce108b52438d07f19ec3efc8
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Add 'indent_list_items' option

    For use when multi/singlecolumn_fmt strings don't contain padded integer specifiers (e.g. %3u).

    Fix issue #911
    --- SBBSecho 3.24-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 Sat Apr 19 13:25:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/2fbab2bb71549f3edd74184f
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Renamed 'indent_list_items' option to 'align_prog_list'

    Add 'align_section_list' option too for good measure, for instances where 'section_fmt' (by default, the text.dat SelectItemFmt string) does not contain any integer alignment/padding (e.g. %3u).

    This is related to issue #911
    --- SBBSecho 3.24-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 Wed Apr 23 12:23:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/0b50d69f76f17dc94ae0b3a1
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Support multicolumn xtrn program *section* listing

    While we've long supported multicolumn program lists (for long lists
    that would likely cause a user's terminal to scroll), we've never supported multicolumn external program *section* listings.

    So if the multicolumn option is set to true (the default) and the list of sections is longer than would fit on the user's terminal screen, split into
    2 columns (just two).

    This introduces the new configurable string-option: multicolumn_section_fmt

    This fixes issue #915

    Hopefully Nelgin will be in a better mood as a result.
    --- SBBSecho 3.24-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 Wed Apr 23 12:57:10 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b844660207c360d4ad3429df
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Define 'xtrn_sec' in the global JS scope when an section is listed

    This allows the use of JS:xtrn_sec @-code in the 'which' prompt string.
    For Nelgin.
    --- SBBSecho 3.24-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 22:26:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/d9a7709c7f9afc0d7af6ec9b
    Modified Files:
    exec/xtrn_sec.js
    Log Message:
    Remove extraneous character ("statement")

    added in commit 0b50d69f76f17dc94ae0b3a16253801685d2a190

    Caught by running libmozjs in "strict" mode (which is stricter than "use strict")
    --- SBBSecho 3.35-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)