• src/sbbs3/prntfile.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Jan 10 20:48:55 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e431df49dafd001973b3a83d
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Don't attempt to print an emtpy filename, just return false

    Doing so would result in trying to open the ctrl_dir as a file which would either fail (possibly after several retries, delays) or just display nothing (e.g. if the ctrl dir was symlink)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 28 12:52:53 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/bb1bea3ae8836742dd520efa
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Address some Coverity issues and one new GCC warning

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wed Jan 28 20:44:36 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/473121cdc8fdaf68f5aafc57
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Don't limit line-read-length to the console width when P_TRUNCATE mode is used

    Ctrl-A (and other attribute) codes don't print, but do count as chars in a line, so this is basically a work-around for using P_SEEK with color-encoded files. Just know that lines longer than the terminal is wide are going to be chopped (that's what the P_TRUNCATE mode flag does). This is not really expected to be functional for ANSI files.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Jan 31 15:22:04 2026
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Jan 31 15:23:16 2026
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sun Feb 1 14:50:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/72d3e6bec2888bd65ef6b973
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Fixed printfile(..., P_SEEK) percentage complete indicator

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Feb 2 02:01:42 2026
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Feb 2 16:26:30 2026
    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.

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