• src/sbbs3/prntfile.cpp

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed May 27 13:07:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/d3123dd1ae2792d9268baa44
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    sbbs_t::menu_exists: fall back to default menu dir if not found in menu_dir

    When menu_dir is set (the override sub-directory of text/menu/), menu file lookups now retry in the default menu directory if no matching file (any extension or width variant, mods overlay included) exists in the subdir.
    Since this lives in menu_exists(), all callers Ä sbbs_t::menu(),
    random_menu(), and others Ä get the fallback.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sun Jul 5 17:11:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/def04a30bf5127d50ab3f77f
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Conform menu()'s extension-ladder brace style to the house style

    Expand the '{ found = true; break; }' single-line compound statements (inherited from 151b9b5ca7 (sports-3-formal) and perpetuated by e0288fcd8f (yeah-33-error)) into properly-braced multi-line blocks, and drop the
    redundant parentheses around the terminal-support conditions. No
    functional change; uncrustify-clean before and after (its config doesn't
    flag one-line compound blocks).

    Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sun Nov 8 15:46:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7a6ecc88b6be84d1a522d0fe
    Modified Files:
    src/sbbs3/prntfile.cpp
    Log Message:
    Name the missing menu as <code>.* in the not-found error, not <code>.asc

    When no variant of a menu file exists, menu() reported whatever path the
    last probe had left in the buffer, which is always the final extension
    tried: .asc on CP437 terminals, .msg on ASCII ones. A sysop reading
    "!ERROR checking .../textsrch.asc" concludes a file by that name should
    exist, when the stock file is textsrch.msg and the real condition is that
    no textsrch.* was found anywhere.

    Build "<text_dir>menu/<code>.*" (or "<code>.*" for a full-path code) for
    the error message instead, so it describes what was searched for.

    Fixes #1329

    Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

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