• Reinitialize user's fonts

    From Nigel Reed@VERT to GitLab issue in main/sbbs on Saturday, April 19, 2025 00:28:00
    open https://gitlab.synchro.net/main/sbbs/-/issues/912

    When connecting to a remote site, they can easily jack up your fonts.

    Before: ![image](https://gitlab.synchro.net/main/sbbs/uploads/0bbdce1a9992fa4117646b52e22e3e12/image.png){width=670 height=85}

    After: ![image](https://gitlab.synchro.net/main/sbbs/uploads/b6e21938124b9dc7074b6f070214c215/image.png){width=667 height=81}

    Since we cannot rely on the report side returning the user environment to what it was, we need to do it ourselves.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Saturday, April 19, 2025 12:44:00
    https://gitlab.synchro.net/main/sbbs/-/issues/912#note_7077

    xtrn_sec.js should already be doing this (restoring the sysop configured fonts). Are you not calling rlogin.js as an external program?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Saturday, April 19, 2025 14:40:00
    https://gitlab.synchro.net/main/sbbs/-/issues/912#note_7080

    I was running it using ;exec sysop command for testing. I will test it as an external program later but I assume you're right.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Sunday, April 20, 2025 02:34:00
    https://gitlab.synchro.net/main/sbbs/-/issues/912#note_7083

    I just tried this with the stock xtrn_sec.js and it's not resetting the fonts correctly so the issue stands as noted.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sunday, April 20, 2025 10:38:00
    https://gitlab.synchro.net/main/sbbs/-/issues/912#note_7085

    It's actually the stock exec/postxtrn.js that does the font restoration (to whatever defaults you have specified in your ctrl/fonts.ini file).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sunday, April 20, 2025 10:38:00
    https://gitlab.synchro.net/main/sbbs/-/issues/912#note_7085

    It's actually the stock exec/postxtrn.js that does the font restoration (to whatever defaults you have specified in your ctrl/fonts.ini file).
    ```
    load('fonts.js', 'default');
    ```

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab note in main/sbbs on Sunday, April 20, 2025 17:16:00
    https://gitlab.synchro.net/main/sbbs/-/issues/912#note_7088

    I was using an older fonts.ini file with all the defaults commented out. This is the first time I've ever seen my bbs use courier. I copied over the latest fonts.ini and changed everything to cp437 and it seems to be ok now.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nigel Reed@VERT to GitLab issue in main/sbbs on Sunday, April 20, 2025 17:16:00
    close https://gitlab.synchro.net/main/sbbs/-/issues/912

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