• exec/load/confirm_prompt_upgrade.js exec/tests/confirm_prompt/upgrade.

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Dec 4 19:44:02 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/afe4d1c4a5563fc7e4be3f3d
    Added Files:
    exec/load/confirm_prompt_upgrade.js exec/tests/confirm_prompt/upgrade.js
    Modified Files:
    ctrl/main.ini text.dat docs/v322_new.md exec/load/sbbsdefs.js exec/noyesbar.js update.js yesnobar.js src/sbbs3/getkey.cpp load_cfg.c sbbs.h sbbsdefs.h src/sbbs3/scfg/scfgindex.h scfgsys.c src/sbbs3/scfgdefs.h scfglib1.c scfgsave.c text_defaults.c
    Log Message:
    Confirm Prompt and Deny Prompt loadable modules

    The prompts displayed by yesno() and noyes() were chosen by the
    YesNoQuestion and NoYesQuestion text strings, which ran yesnobar and
    noyesbar through @EXEC:. They are now loadable modules, configured in SCFG (System->Loadable Modules), so with access requirements a sysop can choose
    a different prompt per user (e.g. by terminal type).

    A module is passed the default answer (CONFIRM_YES or CONFIRM_NO) and the
    P_* display mode, displays console.question and exits with the answer, so
    one script can serve both prompts. A module that stuffs the answer key
    instead (the legacy interface) still works, and an abort always answers
    No. yesnobar.js now handles both prompts; noyesbar.js loads it with No as
    the default.

    When no module is run, the text strings are displayed: plain prompts
    again, as through v2.20, now with a check-mark prefix and @QUESTION@. The question's leading new-lines are displayed before the prompt.

    The stock main.ini sets confirm=yesnobar and deny=noyesbar. update.js sets
    them for an upgraded system, from a text.ini override of either string
    where there is one.

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

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