• src/sbbs3/file.cpp js_bbs.cpp listfile.cpp load_cfg.c sbbs.h src/sbbs3

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Nov 24 13:09:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/f5f605f7b81dfdb433dc1541
    Modified Files:
    src/sbbs3/file.cpp js_bbs.cpp listfile.cpp load_cfg.c sbbs.h src/sbbs3/scfg/scfgindex.h scfgsys.c src/sbbs3/scfgdefs.h scfglib1.c scfgsave.c viewfile.cpp
    Log Message:
    Extended File Info loadable module setting; pass searches to file info

    New loadable module setting, Ext File Info (SCFG->System->Loadable
    Modules, "extfileinfo" in main.ini [module]): when set, the built-in
    display of one file's extended information (the E key in file
    listings, and the file information, download and remove commands)
    runs it instead, passing the directory's internal code, the quoted
    filename, whether to show the extended description, and the search
    expression the file was found with, if any, with its % and "
    hex-encoded (so its quoted terms survive the command line). Each
    caller keeps its own prompt. Unlike View File Info, which replaces the
    whole file-by-file command, it only draws the information.

    The search reaches the display through viewfile() and
    batchflagprompt() from the built-in lister, and through a new optional
    4th argument to bbs.view_file_info(). The built-in lister now keeps
    the original search expression rather than passing the file pattern it
    widens long searches into, which also lets its own short-description
    highlight work for searches of 12 characters or more.

    Adds a field to scfg_t: rebuild everything, including sbbsctrl.exe on
    Windows. Built with GCC only.

    Fixes #1421 (with extfileinfo.js)

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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