• synch.ans not displaying correctly on Linux

    From Rick Parrish@1:103/705 to GitLab issue in main/sbbs on Sun Nov 20 15:15:50 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/457

    Just did a fresh install via git on Linux, and saw the synch.ans splash screen wasn't displaying correctly.Running `unix2dos -f /sbbs/text/synch.ans` fixed the issue, so it seems like synch.ans (maybe *.ans?) are being checked out as lf-terminated files.I'm not too familiar with git, but after a bit of googling/reading I found a suggestion to update the .gitattributes file by adding `*.ans text eol=crlf`, so I did that and then did a fresh install (after modifying my GNUmakefile to point to my cloned repo), and now synch.ans displays correctly out of the box.But again, not too familiar with git so not sure if this is the best way to handle. If that's not desirable for whatever reason, then changing https://gitlab.synchro.net/main/sbbs/-/blob/master/webv4/lib/ftelnet.js#L8 to `var splash = base64_encode(lfexpand(f.read()));` also did the trick.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Sun Nov 20 15:28:24 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/457
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)