• src/sbbs3/prntfile.cpp

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Saturday, January 31, 2026 15:22:04
    https://gitlab.synchro.net/main/sbbs/-/commit/1bea7cc6aa25b656c070fd57
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Use fread() instead of read() to printfile (in P_OPENCLOSE mode)

    After reading a file's SAUCE record and seeking around (with fseek), a read() (on the file *descriptor*, not the stream) will fail, but only on *nix.
    Use fread() instead of read() to fix this.

    This fixes issue #1060, bug recently introduced in commit 29213fde9f24d62b7e20 (reading/using SAUCE records in display files). Thanks Keyop! I had a few of these errors recently logged as well but chalked it up to something
    ephemeral and not reproducible. It was 100% reproducible.
    --- SBBSecho 3.35-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Saturday, January 31, 2026 15:23:16
    https://gitlab.synchro.net/main/sbbs/-/commit/cbf76a27407fa7b2bb709330
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Better range checking of SAUCE width (columns) value, if specified
    --- SBBSecho 3.35-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sunday, February 01, 2026 14:50:32
    https://gitlab.synchro.net/main/sbbs/-/commit/72d3e6bec2888bd65ef6b973
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Fixed printfile(..., P_SEEK) percentage complete indicator
    --- SBBSecho 3.36-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Monday, February 02, 2026 02:01:42
    https://gitlab.synchro.net/main/sbbs/-/commit/0388056f46146878d88d471e
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    In P_SEEK mode, made 'B' go back (like less) and ENTER move down one line

    ... less and more
    --- SBBSecho 3.36-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Monday, February 02, 2026 16:26:30
    https://gitlab.synchro.net/main/sbbs/-/commit/0d91be51f01781a20bb5c4a4
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Always reseek to the correct line offset when END key used in P_SEEK mode

    Sometimes, if the next line happened to be the first line of the last page
    of the file, an END key press would just stop the file viewing.
    This fixes that.
    --- SBBSecho 3.36-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sunday, February 08, 2026 08:15:06
    https://gitlab.synchro.net/main/sbbs/-/commit/f2d0fd6c2e3f35f8b0922909
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Fix missing newline for lines that contain only color codes

    ... when not using P_OPENCLOSE mode
    --- SBBSecho 3.36-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Friday, February 27, 2026 23:55:44
    https://gitlab.synchro.net/main/sbbs/-/commit/794d893dff3644045e5a23a5
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    An optimization for fgetline(), don't get bstrlen() if obviously unnecessary

    Make seeking to EOF in P_SEEK mode faster

    Related to issue #1085
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)