• Reinitialize user's fonts returning from rlogin.js and friends

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sat Apr 19 00:28:11 2025
    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.
    --- 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 Sat Apr 19 12:44:55 2025
    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?
    --- 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 Sat Apr 19 14:40:12 2025
    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.
    --- 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 Sun Apr 20 02:34:06 2025
    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.
    --- 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 Sun Apr 20 10:38:41 2025
    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).
    --- 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 Sun Apr 20 10:38:58 2025
    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');
    ```
    --- 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 Sun Apr 20 17:16:54 2025
    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.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)