• xtrn: Don't rely on %3u to provide initial indentation.

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Fri Apr 18 02:21:12 2025
    open https://gitlab.synchro.net/main/sbbs/-/issues/911

    If a sysop would like to decorate the number used to select a door program, then %3u is going to put spaces in the wrong place. For example. I like mine to look like this:

    ![image](https://gitlab.synchro.net/main/sbbs/uploads/158c6fb9dfa5d270c23359a43b54cae3/image.png){width=747 height=268}

    However, it seems impossible to achieve without altering the code, which makes it difficult to keep in step with any changes.

    Maybe there should be an "initial_margin" or some padding option that will make sure the first part (number) always lines up to the left.

    Otherwise I end up with something junky like this.

    ![image](https://gitlab.synchro.net/main/sbbs/uploads/33675b06103e38547241e5c79926f391/image.png){width=750 height=244}

    I can't imagine I'm the only sysop that's going to have this issue so prefer it fixed at the base level. Either that or I'm missing something.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Apr 18 12:17:28 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/911#note_7069

    Are you referring to this string?
    `options.singlecolumn_fmt = "\x01h\x01c%3u \xb3 \x01n\x01c%s\x01h ";`

    That's customizable via modopts (without altering "the code").
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Fri Apr 18 12:33:22 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/911#note_7070

    Then how would I indent (%u) by 0 or 1 spaces depending on whether %u is a single or double digit?
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Apr 18 13:11:53 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/911#note_7071

    I don't have any immediate ideas other than logic similar to that in show_subs() from load/shell_lib.js (which also naively assumes you won't have more than 99 items).
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Fri Apr 18 13:33:03 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/911#note_7072

    Which goes back to my point of this needing a code change that I'd prefer to be done in git since, like I said, I can't be the only sysop facing this issue. My xtrn_sec.js file is about 4 years out of date due to the mods I have made, so I'm trying to get it up to date but it might be a moot point since it "just works" as is.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Fri Apr 18 17:18:20 2025
    close https://gitlab.synchro.net/main/sbbs/-/issues/911
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)