• exec/load/sbbsdefs.js

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Fri Jul 10 23:41:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/a281b5bef0cfe4fedde85be8
    Modified Files:
    exec/load/sbbsdefs.js
    Log Message:
    sbbsdefs.js: add EX_NODISPLAY (EX_* alias for XTRN_NODISPLAY)

    xtrn.cpp's external() checks `mode & EX_NODISPLAY` to spawn a native child
    with CREATE_NO_WINDOW instead of CREATE_NEW_CONSOLE -- no per-session
    console window on Windows. The bit exists in C as
    EX_NODISPLAY == XTRN_NODISPLAY == (1<<27) (sbbsdefs.h), but sbbsdefs.js
    only defined XTRN_NODISPLAY, so a JavaScript door launching a native
    binary via bbs.exec() had no proper EX_* spelling to pass. Add it,
    mirroring the C alias.

    Used by the SyncRetro (syncivision) lobby to hide the door's console.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)