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

    From Nigel Reed@VERT to GitLab issue in main/sbbs on Friday, April 18, 2025 02:21:12
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, April 18, 2025 12:17:28
    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").

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Friday, April 18, 2025 12:33:22
    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?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Friday, April 18, 2025 13:11:53
    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).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Friday, April 18, 2025 13:33:03
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Friday, April 18, 2025 17:18:20
    close https://gitlab.synchro.net/main/sbbs/-/issues/911

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net