Synchronet Git Commit Log

This is a log of the 500 most recent pushes to the master branch of the Synchronet Git repository.
If you want to view more pushes/commits, you can by passing ?<number> in URL.
  1. Deucе
    Fri Nov 27 2026 23:54:39 GMT-0800 (PST)
    Modified Files:
    

    src/conio/cterm.adoc diff
    src/conio/cterm.c diff
    src/conio/cterm.h diff
    src/conio/cterm_cterm.c diff
    src/conio/cterm_dec.c diff
    src/conio/cterm_test.c diff
    src/syncterm/termtest.c diff
    Preserve the selected cursor style across DECTCEM visibility changes

  2. Deucе
    Fri Nov 27 2026 22:43:03 GMT-0800 (PST)
    Modified Files:
    

    src/conio/cterm_ecma48.c diff
    src/conio/cterm_test.c diff
    Preserve CSI parameter values across colon subparameters

  3. Deucе
    Thu Nov 26 2026 09:51:18 GMT-0800 (PST)
    Modified Files:
    

    src/conio/cterm.c diff
    src/conio/cterm_cterm.c diff
    src/conio/cterm_dec.c diff
    src/conio/cterm_ecma48.c diff
    src/conio/cterm_internal.h diff
    src/conio/cterm_test.c diff
    Apply SGR intensity before reversing foreground and background Resolve SGR parameters in logical color order so changing intensity while reverse video is active brightens the correct color. Cover repeated SGR 7 and restoration with SGR 22 and 27. Fixes SyncTERM ticket 305.

  4. Rob Swindell (on Debian Linux)
    Wed Nov 25 2026 21:46:59 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/dyndns.js diff
    dyndns.js: don't send a command-line password as the IP address Since 22ea304066 (creates-9-pool, 2025-08-17), when a password is set in the [dyndns] section of modopts.ini, every positional argument was taken as the IP address. With the stock event command line ("?dyndns.js YOURPASS") still in place, the client then sent the sysop's password as the IP, and the server logged it as an invalid IP address. This is seen in the live service logs for more than one sysop. Now the first positional argument is the password only when modopts.ini has none; otherwise it is ignored, as the wiki documents (the modopts.ini password overrides it). A positional argument is used as the IP address only if it is a valid dotted-quad IPv4 address, so the usage 22ea304066 was for ("?dyndns.js -q 1.2.3.4") still works. Anything else is reported as an unrecognized argument by position, without echoing it, since it may be a password. Tested against a local fake server over the combinations of modopts.ini password, command-line password, IP address and -q. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  5. Rob Swindell (on Debian Linux)
    Wed Nov 25 2026 21:46:44 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v322_new: note install-xtrn.js viewer/tester/extractor/compressor support Release-notes entry for 55e7dc10b1 (cube-11-lighting, 2026-11-24), which added installing [viewer:], [tester:], [extractor:] and [compressor:] sections of install-xtrn.ini but left the notes uncommitted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  6. Rob Swindell (on Debian Linux)
    Wed Nov 25 2026 19:01:15 GMT-0800 (PST)
    Modified Files:
    

    src/doors/knkgen/knkgen.c diff
    knkgen: rename canonicalize() to avoid C23 <math.h> conflict C23 adds canonicalize() to <math.h>, and glibc declares it when compiling in C23 mode -- the default with GCC 15 (e.g. Arch Linux). knkgen.c includes <math.h> for floorl()/sqrtl(), so its static canonicalize(char *) became a conflicting redeclaration. Rename it to knkgen_canonicalize(). Fixes #1428 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  7. Rob Swindell (on Debian Linux)
    Wed Nov 25 2026 17:49:52 GMT-0800 (PST)
    Modified Files:
    

    .gitlab-ci.yml diff
    CI: retry failed checkouts, and skip merge request pipelines A runner host starting several jobs at once occasionally has a git fetch refused at its own site ("Failed to connect ... after 1 ms"), failing the job before it starts. GET_SOURCES_ATTEMPTS=3 retries the checkout. Every job's checkout counts against gitlab.synchro.net's per-IP limit on unauthenticated git HTTP requests (3600/hour), which CI job-token fetches fall under, and several runners share one NAT address. A pipeline costs that address about 540 requests, so seven pipelines in an hour exhaust it and the rest of that hour's jobs fail with HTTP 429. Merge request event pipelines re-run the full pipeline on a SHA its branch push has already built; none of the jobs are meant for them. A workflow rule now suppresses them, leaving branch, tag, schedule and web pipelines unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  8. Rob Swindell (on Debian Linux)
    Wed Nov 25 2026 17:19:27 GMT-0800 (PST)
    Modified Files:
    

    src/doors/syncrpg/CMakeLists.txt diff
    syncrpg: don't let Doxygen or asciidoctor break the configure The vendored EasyRPG tree prunes easyrpg/resources/ (PROVENANCE.md), but EasyRPG's CMakeLists still calls configure_file(resources/Doxyfile.in) whenever find_package(Doxygen) succeeds, so on any host with Doxygen installed the door failed to configure. Its manpage rule likewise depends on a pruned .adoc file when asciidoctor is found. The door needs neither the API docs nor the manpage, so the wrapper now keeps both tools from being found before add_subdirectory(easyrpg), leaving the vendored sources unpatched. Fixes #1427 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  9. Rob Swindell (on Debian Linux)
    Wed Nov 25 2026 17:19:27 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfgsave.c diff
    SCFG: drop dead store of result on smb_open() failure in write_msgs_cfg() When a changed sub-board's message base could not be opened to update its status header limits, write_msgs_cfg() set result to false and continued, but result is unconditionally overwritten by the msgs.ini write. The failure was already ignored in effect, as are the lock, getstatus and putstatus failures in the same block, so remove the misleading store. Coverity CID 662596. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  10. Rob Swindell
    Wed Nov 25 2026 16:00:46 GMT-0800 (PST)
    Added Files:
    

    xtrn/univiewer/univiewer_index.js diff
    xtrn/univiewer/univiewer_search_lib.js diff
    Modified Files:

    docs/v322_new.md diff
    xtrn/univiewer/.gitignore diff
    xtrn/univiewer/install-xtrn.ini diff
    xtrn/univiewer/readme.txt diff
    xtrn/univiewer/settings-example.ini diff
    xtrn/univiewer/univiewerlibrary.js diff
    Merge branch 'nelgin/univiewer-search' into 'master' univiewer: file name search, search index and nightly indexer event See merge request main/sbbs!755

  11. Nigel Reed
    Wed Nov 25 2026 16:00:46 GMT-0800 (PST)
    Added Files:
    

    xtrn/univiewer/univiewer_index.js diff
    xtrn/univiewer/univiewer_search_lib.js diff
    Modified Files:

    docs/v322_new.md diff
    xtrn/univiewer/.gitignore diff
    xtrn/univiewer/install-xtrn.ini diff
    xtrn/univiewer/readme.txt diff
    xtrn/univiewer/settings-example.ini diff
    xtrn/univiewer/univiewerlibrary.js diff
    univiewer: file name search, search index and nightly indexer event

  12. Rob Swindell
    Wed Nov 25 2026 13:54:01 GMT-0800 (PST)
    Modified Files:
    

    xtrn/univiewer/pdfview.js diff
    Merge branch 'nelgin/pdfview-fixes' into 'master' pdfview.js: Loading message, mouse_stop(), fix the notes See merge request main/sbbs!754

  13. Nigel Reed
    Wed Nov 25 2026 13:54:01 GMT-0800 (PST)
    Modified Files:
    

    xtrn/univiewer/pdfview.js diff
    pdfview.js: Loading message, mouse_stop(), fix the notes

  14. Rob Swindell
    Wed Nov 25 2026 13:53:46 GMT-0800 (PST)
    Added Files:
    

    xtrn/univiewer/univiewer_disk_lib.js diff
    xtrn/univiewer/univiewer_syntax_lib.js diff
    xtrn/univiewer/univiewer_zip_lib.js diff
    Modified Files:

    docs/v322_new.md diff
    xtrn/univiewer/DefaultTheme.cfg diff
    xtrn/univiewer/pdf2sixel_lib.js diff
    xtrn/univiewer/readme.txt diff
    xtrn/univiewer/settings-example.ini diff
    xtrn/univiewer/univiewer_lib.js diff
    xtrn/univiewer/univiewerlibrary.js diff
    Merge branch 'nelgin/univiewer-update' into 'master' Universal Viewer: text coloring, search, archive and disk image browsing See merge request main/sbbs!753

  15. Nigel Reed
    Wed Nov 25 2026 13:53:46 GMT-0800 (PST)
    Added Files:
    

    xtrn/univiewer/univiewer_disk_lib.js diff
    xtrn/univiewer/univiewer_syntax_lib.js diff
    xtrn/univiewer/univiewer_zip_lib.js diff
    Modified Files:

    docs/v322_new.md diff
    xtrn/univiewer/DefaultTheme.cfg diff
    xtrn/univiewer/pdf2sixel_lib.js diff
    xtrn/univiewer/readme.txt diff
    xtrn/univiewer/settings-example.ini diff
    xtrn/univiewer/univiewer_lib.js diff
    xtrn/univiewer/univiewerlibrary.js diff
    Universal Viewer: text coloring, search, archive and disk image browsing

  16. Deucе
    Tue Nov 24 2026 22:57:00 GMT-0800 (PST)
    Added Files:
    

    web/root/oauth/issuer.js diff
    Modified Files:

    web/root/oauth/install/README diff
    web/root/oauth/install/oidc-admin.js diff
    web/root/oauth/install/test-provider.js diff
    web/root/oauth/install/test-webfinger.js diff
    web/root/oauth/install/webfinger.ssjs diff
    web/root/oauth/provider.js diff
    web/root/oauth/register.ssjs diff
    web/root/oauth/request.js diff
    Use the primary BBS domain as the OpenID Connect issuer Derive discovery URLs, WebFinger issuer links, and ID token claims from the BBS Internet address. Remove the issuer argument from database setup and support an optional public HTTPS port in modopts.ini. Serve the application management page on HTTPS aliases and return HTML form errors. Cover alias sign-in, issuer selection, and browser errors in the regression suites.

  17. Deucе
    Tue Nov 24 2026 22:38:21 GMT-0800 (PST)
    Modified Files:
    

    web/root/oauth/client-registration.ssjs diff
    web/root/oauth/install/README diff
    web/root/oauth/install/oidc-admin.js diff
    web/root/oauth/install/openid-configuration.ssjs diff
    web/root/oauth/install/test-provider.js diff
    web/root/oauth/jwks.ssjs diff
    web/root/oauth/provider.js diff
    web/root/oauth/register.ssjs diff
    web/root/oauth/token.ssjs diff
    Restore ECDSA signing for OpenID Connect ID tokens Keep signing keys in ctrl/oid.key and generate missing ES256 and RS256 keys on demand. Preserve the published ID of legacy host-labelled keys and use public key thumbprints for new keys. Publish available algorithms through discovery and JWKS, and honor each client's registered signing algorithm. Support optional ES384 and ES512 keys while retaining RS256 as the default for clients that omit a preference.

  18. Deucе
    Tue Nov 24 2026 21:58:12 GMT-0800 (PST)
    Added Files:
    

    exec/load/finger_options.js diff
    web/root/oauth/client-registration.ssjs diff
    web/root/oauth/install/oidc-admin.js diff
    web/root/oauth/install/test-provider.js diff
    web/root/oauth/install/test-webfinger.js diff
    web/root/oauth/install/webfinger.ssjs diff
    web/root/oauth/logout.ssjs diff
    web/root/oauth/provider.js diff
    web/root/oauth/register.ssjs diff
    web/root/oauth/request.js diff
    web/root/oauth/userinfo.ssjs diff
    Modified Files:

    ctrl/modopts.ini diff
    exec/fingerservice.js diff
    web/root/oauth/auth.ssjs diff
    web/root/oauth/install/README diff
    web/root/oauth/install/openid-configuration.ssjs diff
    web/root/oauth/install/rewrite_lib.js diff
    web/root/oauth/install/webctrl.ini diff
    web/root/oauth/jwks.ssjs diff
    web/root/oauth/token.ssjs diff
    web/root/oauth/webctrl.ini diff
    Add OIDC sign-in with WebFinger discovery and dynamic registration Let users enter their BBS address at a participating site and sign in. A new site can discover the issuer through WebFinger and register its HTTPS callbacks without a BBS account or initial access token. Show the callback and requested identity fields for user approval. Keep the subject stable so the site recognizes returning users across alias changes. Replace the implicit flow with single-use authorization codes, S256 PKCE and RS256 ID tokens. Support BBS password and webv4 sign-in, with hooks for the browser session proposed in #1398. Let members register apps, rotate secrets and deregister them. Keep member registrations in numbered SQLite files cleared on account-slot reuse. Store dynamic clients in the provider database and rate-limit new registrations. Sysops can manage these clients and register their own with an ARS. Removing a client revokes its codes and access tokens. Share profile visibility settings between Finger and WebFinger, with optional public profile and plan links. Document setup and GitLab integration. Keep provider and WebFinger regression tests under install/. Refs #1425.

  19. Deucе
    Tue Nov 24 2026 20:31:06 GMT-0800 (PST)
    Removed Files:
    

    web/root/oauth/rewrite_lib.js diff
    We don't need rewrite_lib.js here AFAIK

  20. Deucе
    Tue Nov 24 2026 20:26:44 GMT-0800 (PST)
    Added Files:
    

    web/root/oauth/auth.ssjs diff
    web/root/oauth/install/README diff
    web/root/oauth/install/openid-configuration.ssjs diff
    web/root/oauth/install/rewrite_lib.js diff
    web/root/oauth/install/webctrl.ini diff
    web/root/oauth/jwks.ssjs diff
    web/root/oauth/rewrite_lib.js diff
    web/root/oauth/token.ssjs diff
    web/root/oauth/webctrl.ini diff
    Add the existing Synchronet OpenID Connect provider and setup guide Import the SSJS endpoints that let a BBS user sign in and receive an RS256-signed ID token identifying them by alias. Include the public signing key endpoint and the rewrite rules for provider discovery. Document how to install discovery alongside WebFinger and verify the authorization code flow. Call out the legacy main.cnf dependency and the HTTP/HTTPS issuer mismatch that clients encounter during validation. Refs #1425

  21. Rob Swindell
    Tue Nov 24 2026 19:48:34 GMT-0800 (PST)
    Modified Files:
    

    exec/load/dd_lightbar_menu.js diff
    xtrn/DDMsgReader/DDMsgReader.js diff
    xtrn/DDMsgReader/ddmr_cfg.js diff
    xtrn/DDMsgReader/readme.txt diff
    Merge branch 'dd_msg_reader_rip_and_horiz_scroll_in_msg_list' into 'master' DDMsgReader: Optional RIP graphics when reading a message. Message list horizontal scrolling for 'from' & 'to' names & subject See merge request main/sbbs!752

  22. Eric Oulashin
    Tue Nov 24 2026 19:48:34 GMT-0800 (PST)
    Modified Files:
    

    exec/load/dd_lightbar_menu.js diff
    xtrn/DDMsgReader/DDMsgReader.js diff
    xtrn/DDMsgReader/ddmr_cfg.js diff
    xtrn/DDMsgReader/readme.txt diff
    DDMsgReader: Optional RIP graphics when reading a message. Message list horizontal scrolling for 'from' & 'to' names & subject

  23. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 19:31:57 GMT-0800 (PST)
    Modified Files:
    

    xtrn/univiewer/install-xtrn.ini diff
    univiewer: offer to install as the file viewer for PDFs and pictures install-xtrn.ini now has an optional (prompted) [viewer:] item that registers univiewer.js in ctrl/file.ini as the viewer for the PDF and picture types it displays, ahead of any existing viewer for the same types (e.g. the stock ?fileinfo one). BIN is left out: .bin files in file areas are mostly binaries rather than XBin art. Like the UVLIB program entry, it has no access requirements: an ARS keyword for Sixel support is planned, and both can use it then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  24. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 19:31:57 GMT-0800 (PST)
    Modified Files:
    

    exec/install-xtrn.js diff
    exec/load/cfglib.js diff
    install-xtrn.js: install file viewers, testers, extractors and compressors A program's install-xtrn.ini can now register file type handlers in ctrl/file.ini with [viewer:<exts>], [tester:<exts>], [extractor:<ext>] and [compressor:<ext>] sections, holding cmd, ars, ex_mode (eval'd against sbbsdefs.js) and, for a tester, working. The usual note, prompt, required, last and done keys apply. Placement follows how each type is matched at run time. Every matching tester is run, so a new tester is appended. For the other types the first match is used, so a new handler goes ahead of the first existing one that would match a file of one of its types (one for the same extension, or a broader wildcard such as the "*" catch-all viewer), else it is appended. A new wildcard handler thus doesn't take over types that have their own handlers. A handler with the same command-line for any of the same types counts as already installed: -auto skips it, otherwise the sysop is asked. file.ini is written at the end, with xtrn.ini, so a failed [exec:] or [eval:] step leaves neither changed. cfglib.js can now write file.ini: only the handler sections, renumbered in list order and updated in place where their contents changed. The root section, protocols, libraries and directories are left alone. Handler values are now read as strings, since typed values don't survive being written back (extension=001 would become 1). Fixes #1408 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  25. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 19:11:49 GMT-0800 (PST)
    Modified Files:
    

    exec/imapservice.js diff
    IMAP: let users flag and delete their own mail (#1369) An ordinary user's \Flagged (MSG_VALIDATED) or \Deleted on their own mail was silently dropped; only a sysop's stuck. check_msgflags() now grants a mail recipient MSG_VALIDATED and MSG_DELETE as well as MSG_READ, so a star set in a mail app matches web mail's "Starred". On sub-boards MSG_VALIDATED stays operator-only. Fixes in do_store(): - The recipient/sender test compared hdr.to/hdr.from (names) with the user number and NET_NONE with to_net_type, which is undefined for local mail, so it never matched. Use to_ext/from_ext. (8b1ad2a3aa) - base.is_operator is not a MsgBase property, so sub-board operators never got operator rights. Use msg_area.sub[].is_operator. (8b1ad2a3aa) - For mail, the faked per-user \Seen replaced the header's real MSG_READ (e0a367bdea). With the recipient now granted MSG_READ, a client's +FLAGS (\Seen) on mail read outside IMAP toggled it back to unread. Mail now uses the header's MSG_READ, as read_index() does. - Flag changes were computed against the index loaded at SELECT and XOR'd onto the current header, so a flag changed elsewhere since could flip the wrong way. Compute from the current header and set the permitted bits to the requested state. - The untagged FETCH reply to a STORE reported the flags from before the change. Sync the index entry from the stored header first. Tested live over IMAP as a non-sysop user: \Flagged and \Seen set and clear, survive reconnect, and +\Seen on already-read mail stays read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  26. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 17:53:22 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v3.22 release notes: list every text.dat string added since v3.21e The "New text.dat strings" list lacked QWKTransferInProgress, FileSentIn, FileReceivedIn, MailboxFull, YourMailboxIsFull, AbortedAnswer and the new user name-rejection strings, which were mentioned only in passing elsewhere in the notes, if at all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  27. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 17:53:22 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    src/sbbs3/text_defaults.c diff
    text.dat: align string numbers and IDs with spaces, wrap long strings The comment after each string (its number and ID) was separated from the string by a mix of tabs and spaces, landing anywhere from column 51 to 64 depending on tab width. Every number and ID now starts in column 77, separated by spaces only, and continuation lines are indented with 4 spaces instead of tabs. Strings too long to end before that column are wrapped onto continuation lines, broken between escape sequences (preferably after a \n or a space), never inside an @-code. Continuation lines are concatenated before escapes are parsed, by both textgen and the run-time text.dat reader, so every string's value is unchanged: textgen's output is byte-identical except for the comment for string 875, which had two spaces before its ID. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  28. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 17:11:31 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    exec/load/user_info_prompts.js diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/newuser.cpp diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    New user prompts: say why a name was rejected Every rejected new user alias, real name or handle got the same message, "You can't use that name (duplicate or invalid)", leaving a caller who typed a single-word real name no hint that a last name was required. check_name() and check_realname() now take an optional reason pointer and set it to a text.dat string ID when returning false, as check_pass() already does. New strings: NameTooShort, NameHasInvalidChars, NameHasExtraSpaces, NameMustBeginWithLetter, RealNameNeedsSpace, NameNotAllowed (name.can, QWK ID, alias.cfg) and NameAlreadyInUse. New bbs.check_name() and bbs.check_realname() JS methods display the reason on failure, as bbs.check_password() does; user_info_prompts.js uses them for the alias and real name prompts, and the specific strings for the handle prompt. system.check_name() and system.check_realname() are unchanged, and YouCantUseThatName remains for callers that only have a pass/fail result. Also fix the handle prompt's 0xFF test, added in 53fc3e4da7 (2026-01-10): indexOf(0xff) searched for the string "255", so a handle containing "255" was rejected while one containing an actual 0xFF character was accepted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  29. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 14:38:18 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/sbbs.jsdocs.vcxproj diff
    src/sbbs3/sbbs.vcxproj diff
    sbbs.vcxproj: compile encode/hex.c for showfileinfo()'s hex_encode() The Extended File Info module's search argument is encoded with hex_encode(), but the Windows sbbs.dll project (and sbbs.jsdocs) didn't compile src/encode/hex.c (only websrvr.vcxproj did), so the link failed with an unresolved external _hex_encode. Linux builds link the whole encode library and weren't affected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  30. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:20:17 GMT-0800 (PST)
    Modified Files:
    

    ctrl/main.ini diff
    docs/v322_new.md diff
    Stock main.ini: enable the Extended File Info module (extfileinfo.js) New installs get extfileinfo.js as the Ext File Info loadable module, so what a file search found is highlighted on the file information screen. Existing systems keep the built-in display until the sysop sets it (SCFG->System->Loadable Modules->Ext File Info). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  31. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:11:24 GMT-0800 (PST)
    Modified Files:
    

    exec/extfileinfo.js diff
    src/sbbs3/file.cpp diff
    extfileinfo: built-in display shows a file the module can't When the Extended File Info module exits non-zero (or fails: a script error, or no such module), showfileinfo() now displays the file's information itself, as when no module is configured, rather than leaving the screen blank. extfileinfo.js exits with 1, and logs why, when the directory is unknown, the file base won't open, or the file is no longer in it (e.g. removed by another node). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  32. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:09:29 GMT-0800 (PST)
    Added Files:
    

    docs/superpowers/plans/2026-11-24-extfileinfo.md diff
    docs/superpowers/specs/2026-11-24-extfileinfo-design.md diff
    exec/extfileinfo.js diff
    exec/load/extfileinfo_lib.js diff
    exec/tests/extfileinfo/lib.js diff
    Modified Files:

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/listfiles.js diff
    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    extfileinfo.js, and search highlighting in listfiles.js descriptions listfiles.js highlights what a file search found in the short and extended descriptions (inline and in the lightbar preview pane), parsing the search expression as bool_search() does: AND/OR/NOT, parentheses, quoted whole-word terms; terms under a NOT aren't highlighted. Each match is shown in the color it's in with its bright attribute toggled, or in the new found_attr option's color. Ctrl-A codes and ANSI escape sequences in a description are never split, and a color a description sets after a match is kept. New stock Extended File Info module, extfileinfo.js: shows a file's extended information as the built-in display does (the same text.dat strings, fields, fileinfo menu file and @-code handling), with what the search found highlighted in bright yellow, or found_attr's color. listfiles.js passes its search expression to bbs.view_file_info(). Tests in exec/tests/listfiles and exec/tests/extfileinfo. Fixes #1421 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  33. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:09:29 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/file.cpp diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/load_cfg.c diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    src/sbbs3/viewfile.cpp diff
    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>

  34. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:09:29 GMT-0800 (PST)
    Modified Files:
    

    src/encode/hex.c diff
    src/encode/hex.h diff
    encode: fix hex_encode() output for low/high bytes and short results hex_encode() formatted escapes with "%2X" (a space in place of a leading zero) from a plain char (bytes 0x80 and up printed as FFFFFFxx, overrunning the 3 characters reserved), terminated the buffer at its end rather than after the output (a short result was left unterminated over whatever the buffer held), and copied a character unescaped when the buffer had no room for its escape. It now writes %02X from the unsigned byte, terminates the output, and stops when an escape won't fit. 'chars' is now const, so C++ callers can pass a string literal. Nothing called it yet; the Extended File Info module (#1421) will. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  35. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:09:29 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfgsave.c diff
    SCFG: don't write file.ini/msgs.ini without a dir or sub that failed When the ini section for a file directory (or message sub-board) could not be built, write_file_cfg() and write_msgs_cfg() set their result to false and continued, but the result of writing the file overwrote it. The file was then written without that directory or sub-board and the save reported success, dropping it from the configuration. Both functions now return false without writing the file, leaving the existing one intact. Coverity CID 662569. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  36. Rob Swindell (on Debian Linux)
    Tue Nov 24 2026 13:09:29 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_console.cpp diff
    js_console: free the getstr() history on every error return console.getstr() allocates its history list on the heap since f8a273e354 (belle-21-found, 2026-11-24), but four error returns in the argument loop left it allocated: a failed number or string conversion after a history array argument, or a failed length query on a second array argument. Each now frees the list first. Coverity CID 662570. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  37. Rob Swindell
    Tue Nov 24 2026 13:00:56 GMT-0800 (PST)
    Added Files:
    

    xtrn/univiewer/.gitignore diff
    xtrn/univiewer/DefaultTheme.cfg diff
    xtrn/univiewer/demo/univiewer_demo.bmp diff
    xtrn/univiewer/demo/univiewer_demo.gif diff
    xtrn/univiewer/demo/univiewer_demo.jpg diff
    xtrn/univiewer/demo/univiewer_demo.pdf diff
    xtrn/univiewer/demo/univiewer_demo.png diff
    xtrn/univiewer/demo/univiewer_demo.ppm diff
    xtrn/univiewer/demo/univiewer_demo.six diff
    xtrn/univiewer/demo/univiewer_demo.svg diff
    xtrn/univiewer/hooks/sixteencolors.js diff
    xtrn/univiewer/http_lib.js diff
    xtrn/univiewer/inflate.js diff
    xtrn/univiewer/install-xtrn.ini diff
    xtrn/univiewer/pdf2sixel.js diff
    xtrn/univiewer/pdf2sixel_demo.pdf diff
    xtrn/univiewer/pdf2sixel_fonts.js diff
    xtrn/univiewer/pdf2sixel_lib.js diff
    xtrn/univiewer/pdfunmark.js diff
    xtrn/univiewer/pdfview.js diff
    xtrn/univiewer/readme.txt diff
    xtrn/univiewer/settings-example.ini diff
    xtrn/univiewer/univiewer.js diff
    xtrn/univiewer/univiewer_lib.js diff
    xtrn/univiewer/univiewer_music.js diff
    xtrn/univiewer/univiewer_music_lib.js diff
    xtrn/univiewer/univiewerlibrary.js diff
    Merge branch 'univiewer' into 'master' Rename SixelView to Universal Viewer See merge request main/sbbs!750

  38. Nigel Reed
    Tue Nov 24 2026 13:00:56 GMT-0800 (PST)
    Added Files:
    

    xtrn/univiewer/.gitignore diff
    xtrn/univiewer/DefaultTheme.cfg diff
    xtrn/univiewer/demo/univiewer_demo.bmp diff
    xtrn/univiewer/demo/univiewer_demo.gif diff
    xtrn/univiewer/demo/univiewer_demo.jpg diff
    xtrn/univiewer/demo/univiewer_demo.pdf diff
    xtrn/univiewer/demo/univiewer_demo.png diff
    xtrn/univiewer/demo/univiewer_demo.ppm diff
    xtrn/univiewer/demo/univiewer_demo.six diff
    xtrn/univiewer/demo/univiewer_demo.svg diff
    xtrn/univiewer/hooks/sixteencolors.js diff
    xtrn/univiewer/http_lib.js diff
    xtrn/univiewer/inflate.js diff
    xtrn/univiewer/install-xtrn.ini diff
    xtrn/univiewer/pdf2sixel.js diff
    xtrn/univiewer/pdf2sixel_demo.pdf diff
    xtrn/univiewer/pdf2sixel_fonts.js diff
    xtrn/univiewer/pdf2sixel_lib.js diff
    xtrn/univiewer/pdfunmark.js diff
    xtrn/univiewer/pdfview.js diff
    xtrn/univiewer/readme.txt diff
    xtrn/univiewer/settings-example.ini diff
    xtrn/univiewer/univiewer.js diff
    xtrn/univiewer/univiewer_lib.js diff
    xtrn/univiewer/univiewer_music.js diff
    xtrn/univiewer/univiewer_music_lib.js diff
    xtrn/univiewer/univiewerlibrary.js diff
    Rename SixelView to Universal Viewer

  39. Rob Swindell
    Tue Nov 24 2026 11:29:14 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/sixelmusic.js diff
    xtrn/sixelview/sixelmusic_lib.js diff
    Modified Files:

    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/settings-example.ini diff
    xtrn/sixelview/sixelviewlibrary.js diff
    Merge branch 'sixelview-music' into 'master' sixelview: add a music player and an alternate settings file See merge request main/sbbs!748

  40. Nigel Reed
    Tue Nov 24 2026 11:29:14 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/sixelmusic.js diff
    xtrn/sixelview/sixelmusic_lib.js diff
    Modified Files:

    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/settings-example.ini diff
    xtrn/sixelview/sixelviewlibrary.js diff
    sixelview: add a music player and an alternate settings file

  41. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 10:06:38 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: let a Win32 CGI inherit only its own pipe ends exec_cgi() created the CGI's pipes inheritable and called CreateProcess() with bInheritHandles set, so each CGI inherited every inheritable handle in the server process: the pipe ends of any other CGI being started at the same time (holding that CGI's output open until both exited) and the servers' listening sockets (cf. #1151). Create the pipes non-inheritable and start the CGI with a PROC_THREAD_ATTRIBUTE_HANDLE_LIST naming only its stdin and stdout/stderr ends, which are made inheritable just for the CreateProcess() call. The parent's ends no longer need DuplicateHandle(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  42. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 00:18:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_global.cpp diff
    js_global: don't read past the end of text ending in Ctrl-A in quote_msg() quote_msg() consumes the character after a Ctrl-A as its attribute code. When the Ctrl-A was the last character, that consumed the terminating NUL and the loop kept reading past the end of the heap buffer. Treat a trailing Ctrl-A as an ordinary character. Dates from 14104f2e57 (2006-03-04). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  43. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 00:18:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/services.cpp diff
    src/sbbs3/websrvr.cpp diff
    websrvr, services: initialize the JS error-reporter mutex once js_ErrorReporter() created its static mutex on first use, guarded only by a plain bool, so two threads reporting their first script error at once could both initialize it. Create it with pthread_once() instead. The lazy initialization dates from f2c8917897 (2024-12-14) and 23b07625c9 (2024-12-16). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  44. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 00:18:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: time out stalled CGI output on Windows On POSIX, pipereadline() gives up when the CGI process sends nothing for max_cgi_inactivity seconds, but the Win32 path blocked in ReadFile() with no timeout: a CGI that stalled mid-line held the session thread indefinitely. Poll with PeekNamedPipe() up to the same inactivity limit before reading, and treat a failed ReadFile() as end of input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  45. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 00:13:08 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_console.cpp diff
    js_console: allocate console.getstr() history on the heap The history array and each of its strings were alloca()'d, sized by the script's array length and contents: a long history could exhaust the thread stack and crash the process, and a length of 0xFFFFFFFF wrapped the allocation size to zero. Allocate on the heap and free it on every return path. The alloca() use dates from 21ca5d7056 (2018-07-29). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  46. Rob Swindell (on Windows 11)
    Tue Nov 24 2026 00:13:08 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: fix CGI line-buffer overrun, CGI handle leaks, 256K stack frames pipereadline() treated its length argument as the maximum line length, but the CGI callers pass sizeof(buf): a CGI header line of 1024 bytes or more wrote a NUL one byte past the end of a stack buffer. Treat length as the buffer size. The bound dates from 2e89a1de1f (2002-08-08). The Win32 exec_cgi() never closed process_info.hThread or the parent's copies of the child's stdout-write and stdin-read pipe ends: three handles leaked per CGI request since 8bb03fc2ad (2005-03-24). Close them after CreateProcess(), and close the parent's pipe ends on the failure paths. Output reads remain gated by PeekNamedPipe(); a CGI that exits mid-line now makes ReadFile() fail rather than block. sock_sendfile() and http_output_thread() each put an OUTBUF_LEN (256K) buffer on the stack since 27a9b7365c (2020-05-26), but the POSIX _beginthread() raises a default thread stack below 256K to exactly 256K (a0ee96dce3, 2005-04-28), e.g. on musl: each frame overflowed it. Move both buffers to the heap. http_output_thread()'s early-return path also never posted output_thread_terminated, leaving the session thread blocked in sem_wait(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  47. Rob Swindell
    Mon Nov 23 2026 23:54:46 GMT-0800 (PST)
    Modified Files:
    

    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/settings-example.ini diff
    Merge branch 'sixelview-demo-library' into 'master' sixelview: comment out two stray lines, add a demo library Closes #1403 See merge request main/sbbs!747

  48. Nigel Reed
    Mon Nov 23 2026 23:54:46 GMT-0800 (PST)
    Modified Files:
    

    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/settings-example.ini diff
    sixelview: comment out two stray lines, add a demo library

  49. Rob Swindell
    Mon Nov 23 2026 23:54:30 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/.gitignore diff
    xtrn/sixelview/install-xtrn.ini diff
    Modified Files:

    xtrn/sixelview/readme.txt diff
    Merge branch 'sixelview-installer' into 'master' sixelview: add install-xtrn.ini and .gitignore Closes #1402 See merge request main/sbbs!746

  50. Nigel Reed
    Mon Nov 23 2026 23:54:30 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/.gitignore diff
    xtrn/sixelview/install-xtrn.ini diff
    Modified Files:

    xtrn/sixelview/readme.txt diff
    sixelview: add install-xtrn.ini and .gitignore

  51. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 23:48:05 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/nopen.c diff
    src/sbbs3/nopen.h diff
    src/sbbs3/rechocfg.c diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/scfgsave.c diff
    src/sbbs3/xtrn_sec.cpp diff
    Keep the git/version headers out of nopen.c (fixes umonitor/gtkchat/svdm) 47eadb1fa9 (voice-28-users, 2026-11-23) made nopen.c include sbbsdefs.h and the generated git_branch.h and git_hash.h to build its "; Written by" line. nopen.c is also compiled by small stand-alone builds that do not have those headers, which broke them: - umonitor and gtkchat (CI jobs without the gitinfo headers): "fatal error: git_branch.h: No such file or directory" - svdm (vdmodem.vcxproj has no smblib include path): "Cannot open include file: 'smbdefs.h'" written_by() and ini_set_written_by() now take the complete writer text ("; Written by <writer> <time>"), and nopen.c includes neither. The writer text, naming the program and the Synchronet build, is built by the callers that have the headers: scfgsave.c, rechocfg.c and xtrn_sec.cpp, using WRITTEN_BY_BUILD_FMT/ARGS from nopen.h. sbbs_ini.c, also compiled by umonitor and uedit, includes the git headers only when built for SCFG; elsewhere (sbbsctrl) its stamp names the Synchronet version without the branch and hash. Tested: umonitor and gtkchat built on their own with no git headers present (the previous nopen.c fails there with the CI error), nopen.c compiled with svdm's include paths only, and the SCFG and EchoCfg stamps unchanged in a full build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  52. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/rechocfg.c diff
    EchoCfg: include its own version in the sbbsecho.ini "Written by" line EchoCfg has a version of its own (the SBBSecho version), separate from Synchronet's, so name it in the stamp: ; Written by EchoCfg v3.38 (Synchronet v3.22a master/c27b4dfc81) ... Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  53. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    docs/doordrop_ini.md diff
    src/sbbs3/nopen.c diff
    src/sbbs3/nopen.h diff
    src/sbbs3/rechocfg.c diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/scfgsave.c diff
    src/sbbs3/xtrn_sec.cpp diff
    Stamp sbbs.ini, sbbsecho.ini and DOORDROP.INI with their writer and build The "; Written by" comment that SCFG puts at the top of the configuration files it saves is now produced by written_by() and ini_set_written_by() in nopen.c, which every program that writes a configuration file already links, and now names the program apart from the Synchronet build: ; Written by SCFG (Synchronet v3.22a master/2d9eaaeb86) 2026-11-23 ... ; Written by Synchronet v3.22a (master/2d9eaaeb86) 2026-11-23 ... The second form is used when the writer is Synchronet itself; a program with its own version number, such as EchoCfg, is no longer shown as if 3.22a were its version. It is now also written by: - sbbs_write_ini(): sbbs.ini (or sbbs.<host>.ini), as "SCFG" from SCFG and "sbbsctrl" from sbbsctrl - sbbsecho_write_ini(): sbbsecho.ini, as "EchoCfg" - DOORDROP.INI, whose existing "; Written by Synchronet 3.22a" line now includes the build and time (docs/doordrop_ini.md example updated) sbbs.ini and sbbsecho.ini are rewritten from their existing contents, keeping the sysop's own comments; the stamp replaces a previous stamp on the first line instead of adding another. Tested by saving sbbs.git.ini from SCFG's Server Configuration and sbbsecho.ini from EchoCfg (each saved twice: one stamp, replaced, the other contents unchanged). sbbsctrl (Borland) was not compiled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  54. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfgsave.c diff
    SCFG: begin each saved config file with a "; Written by" line Each configuration file saved by write_cfg_file() (main, node, msgs, file, xtrn and chat .ini) now begins with a comment naming the program and build that wrote it and when, e.g.: ; Written by SCFG v3.22a (master/2d9eaaeb86) 2026-11-23 22:22:04-08:00 The program is "SCFG" in SCFG's build and "Synchronet" otherwise (e.g. sbbsctrl's Configuration Wizard). The branch and hash are the writing program's own build. A backup copy of the file keeps the line, so each backup records when and by what that version was written, even where its file time cannot be preserved (e.g. a copy made by a user other than the file's owner on a CIFS mount). With a ctrl directory shared between hosts, the line also shows which host's build last saved a file. An existing first-line stamp is replaced rather than added to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  55. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfgsave.c diff
    SCFG: report a configuration file that could not be saved SCFG ignored the result of every configuration file save, so a failed save lost the sysop's changes without a word. Saving can now also fail when another program keeps the file locked longer than fnopen() waits. The save_*_cfg() wrappers, which every SCFG menu saves through, now show "ERROR <errno> (<reason>) writing <file>" when the write fails, and scfg -import prints the error and exits with a failure status instead of printing "done.". write_msgs_cfg() now returns as soon as msgs.ini fails to be written, without going on to apply the mail base settings, so errno still describes the write when it is reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  56. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ctrl/ConfigWizardUnit.cpp diff
    sbbsctrl: Configuration Wizard loads its first node's node.ini load_cfg() no longer treats a node_num of 0 as node 1, and reads node.ini only for a node. The Configuration Wizard loaded the configuration with node_num left at 0, then saved it with save_cfg(), which writes every node's node.ini from the loaded node settings, so each node.ini would have been rewritten with empty values (no login requirements or daily event, settings 0, temp_dir ../temp/, so every node would have shared one temp directory). The wizard now sets node_num to the Terminal Server's first node before loading, like sbbsctrl's own configuration load, so those settings come from that node's node.ini. Not compiled (Borland C++ Builder). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  57. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scfgsave.c diff
    SCFG: rewrite config files in place under a lock instead of renaming Saving a configuration file wrote <name>.ini.tmp and renamed it over the live file. On an SMB/CIFS share (such as a ctrl directory shared with Samba), renaming over a file that another program has open fails, and the target is deleted when that program closes it; the save then removed its .tmp file too, so a server or utility loading the configuration during a save could leave the file missing altogether. write_cfg_file() now copies the live file to its backup, opens it with fnopen() (an exclusive lock, waiting while a reader holds its shared lock) without truncating it, truncates it once locked, and writes the new contents in place. Programs loading the configuration open it with fnopen() too, so they wait for the save and read either the whole old file or the whole new one. The file is never renamed or removed. Tested on the CIFS-mounted /sbbs, saving msgs.ini five times while two readers polled it continuously: with the rename, msgs.ini was deleted on the first save; now a reader that locks like fnopen() saw no missing or truncated file in about 100,000 reads. A save without competing readers takes about 20 ms longer than the original rename-and-rewrite code (the backup is now a copy). A reader that does not lock (a Windows host reading over SMB while a *nix host saves) can still get a read error during the write itself, as with any file Synchronet shares between hosts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  58. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/mimehdr.js diff
    mimehdr.js: keep the white space after an encoded word decode() matched plain words with their trailing white space but encoded words without it, so the white space between an encoded word and the plain text after it was lost ("Re: =?iso-8859-1?q?caf=E9?= is open" decoded to "Re: cafeis open", with an e-acute). RFC 2047 drops white space only between two adjacent encoded words. The white space after an encoded word is now returned as plain text unless another encoded word follows it. Fixes #1357 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  59. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/822header.js diff
    822header.js: emit X-FTN-TID (tested ftn_TID, the property is ftn_tid) get_rfc822_header() tested this.ftn_TID before adding the X-FTN-TID line, but the message header property is ftn_tid, so the test was always false and a FidoNet message's tosser ID was left out of the generated header block (e.g. in IMAP). Fixes #1358 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  60. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/CLAUDE.md diff
    scfg/CLAUDE.md: script SCFG checks with the stdio interface (-id) Describe how to drive scfg -id from piped input to check menus, option values, help text and saving, and its two traps for scripts: the More? pager and the end-of-input loop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  61. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scfgsave.c diff
    SCFG: replace a config file only once its new contents are written Each write_*_cfg() (main, node, msgs, file, xtrn and chat .ini) first renamed the live file to its backup name, then built the new contents and wrote them in place. For the whole save the file was missing, then incomplete, and a program loading the configuration meanwhile got "No such file or directory" or a partial file: seen live with sbbsecho (FIDOIN event) loading during a save of file.ini. They now share write_cfg_file(), which writes <name>.ini.tmp, takes the backup with a copy instead of a rename, and then replaces the live file with xp_replace_file() (a rename on *nix, MoveFileEx() with MOVEFILE_REPLACE_EXISTING on Windows). A reader sees either the whole old file or the whole new one. In a test with a reader polling msgs.ini during `scfg -import`, the old code produced 1376 failed opens and 12 truncated reads, the new code none. Fixes #1404 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  62. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:34 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/ctrl/ConfigWizardUnit.cpp diff
    src/sbbs3/ctrl/MainFormUnit.cpp diff
    src/sbbs3/dupefind.c diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/gtkchat/chatfuncs.c diff
    src/sbbs3/gtkmonitor/gtkmonitor.c diff
    src/sbbs3/gtkuseredit/gtkuseredit.c diff
    src/sbbs3/gtkuserlist/events.c diff
    src/sbbs3/gtkuserlist/gtkuserlist.c diff
    src/sbbs3/load_cfg.c diff
    src/sbbs3/load_cfg.h diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/makeuser.c diff
    src/sbbs3/qwknodes.c diff
    src/sbbs3/sbbscon.c diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/services.cpp diff
    src/sbbs3/uedit/uedit.c diff
    src/sbbs3/umonitor/umonitor.c diff
    src/sbbs3/upgrade_to_v319.c diff
    src/sbbs3/upgrade_to_v320.c diff
    src/sbbs3/userlist/SBBS_User_ListApp.cpp diff
    src/sbbs3/websrvr.cpp diff
    load_cfg(): require all config files again; read node.ini only for nodes load_cfg()'s fifth parameter started as "node.cnf is required" in 0feaff3064 (plot-19-pure, 2021-02-13), so every caller other than the Terminal Server passed false. 6fa5e196c8 (older-45-over, 2022-08-13) renamed it req_cfg and made main.ini optional too, and 115af6c106 (beast-3-bind, 2026-01-01) made msgs.ini, file.ini, xtrn.ini and chat.ini optional with it, for jsexec -U. Since v3.21c the FTP, Mail, Web and Services servers, SBBSecho and the utilities have therefore run with no message, file, external program or chat areas when one of those files could not be read (e.g. while SCFG was saving it, #1404), only logging a warning. The parameter now has one meaning, "all configuration files are required", and every caller passes true except jsexec -U, the v3.19 and v3.20 upgrade utilities and sbbsctrl's configuration wizard. Whether node.ini is read is now decided by cfg->node_num instead: load_cfg() no longer turns a node_num of 0 into 1, and reads node.ini only for a node (the Terminal Server and sbbsctrl set node_num). Every other program is no longer treated as node 1: - its transfers, posts and e-mail are counted in the system statistics only, not also in node 1's (#1409) - jsexec no longer fails when node1/node.ini is missing - temp_dir defaults to ../temp/ (the servers and jsexec set their own) node_dir (the %N command-line specifier and JS system.node_dir) remains node 1's directory for these programs, as before. The Text Directory no longer comes from node.ini (#1410). Fixes #1405 Fixes #1409 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  63. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:33 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgnode.c diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    Make the Text Directory a system-wide setting (main.ini [dir] text) The Text Directory was configured per node, in each node.ini, while the Data, Logs, Exec and Mods directories are system-wide settings in main.ini. The per-node setting dates from v2, when nodes could run on different computers. In v3 the nodes are threads of one process, the other servers and utilities are not nodes and used node 1's value, and the mods/text shadowing is relative to the one Mods Directory. The Text Directory is now read from the text key of main.ini's [dir] section and edited in SCFG System->Advanced Options, next to the other system directories. It is no longer in SCFG's node configuration menu. A main.ini without the key uses node 1's node.ini text_dir, which is the value the servers and utilities already used, so an existing system keeps its text directory until the sysop next saves main.ini in SCFG. node.ini still gets text_dir written, set to the system value, for older versions sharing the same ctrl directory. A different text directory configured for any other node is no longer used. Fixes #1410 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  64. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:33 GMT-0800 (PST)
    Modified Files:
    

    src/xpdev/xpdatetime.c diff
    xpDateTime_now(): microseconds were scaled 10x too large on *nix The non-Windows branch added tv_usec * 0.00001 to the seconds, turning the microsecond fraction into 0-10 extra seconds. Every timestamp it produced was up to 10 seconds fast, with seconds values of 60-69 (e.g. "13:21:60"). This affected the time of each data/guru.log entry and the QWK HEADERS.DAT WhenExported field. The Windows branch (milliseconds * 0.001) was correct. Present since c0eefe7fef (week-55-nuts, 2008-02-23). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  65. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:33 GMT-0800 (PST)
    Modified Files:
    

    exec/chat_llm.js diff
    src/sbbs3/chat.cpp diff
    Multinode chat: LLM guru replies no longer stall input In multinode chat, an LLM guru's reply was held back 100 ms per character after the LLM had already answered: a 154-character reply took about 22 seconds to appear, during which the user's typing was not processed. The delay came from the pattern-file (guru.dat) guru, whose answers are instant. Now: - The reply is held only for the part of a typing time (120 ms per character, about 100 wpm, at most 10 seconds) that the LLM did not already use. A slow answer appears as soon as it arrives. - A key typed while the reply is pending abandons it: chat_llm.js closes the LLM request (Ollama then stops generating), nothing from the turn is remembered, and the key starts the user's next line. - A key typed during the typing-time hold shows the reply at once. The abort is opt-in per turn (ctx.abort_on_input), set only by the multinode chat dispatch, and covers every LLM request made during the turn. An aborted request is not treated as an endpoint failure, so it does not trigger failover to endpoint_fallback. Fixes #1407 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  66. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 22:44:33 GMT-0800 (PST)
    Modified Files:
    

    exec/load/http.js diff
    http.js: optional abort_check hook to abandon a pending request When an HTTPRequest has an abort_check function, each read first waits for data in 100 ms polls and calls abort_check between them. If it returns true, the connection is closed and an Error with .aborted = true is thrown. An interactive caller can use this to give up on a slow response, e.g. when the user starts typing. The overall wait is still bounded by recv_timeout. Requests without abort_check behave as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  67. Rob Swindell (on Windows 11)
    Mon Nov 23 2026 22:41:55 GMT-0800 (PST)
    Modified Files:
    

    exec/load/salib.js diff
    salib.js: report the errno when the message file can't be opened "Failed to open message file" gave no reason, so a failure logged by spamc.js or spamlearn.js could not be told apart: a sharing violation that outlasted nopen()'s retries, descriptor exhaustion, or a file that had gone missing. Include File.error in the message, read before the socket is closed since it reports the live errno while no file is open. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  68. Rob Swindell (on Windows 11)
    Mon Nov 23 2026 22:33:08 GMT-0800 (PST)
    Modified Files:
    

    src/conio/cterm_cterm.c diff
    src/sbbs3/ars.c diff
    src/sbbs3/baja.c diff
    src/sbbs3/chat.cpp diff
    src/sbbs3/con_out.cpp diff
    src/sbbs3/download.cpp diff
    src/sbbs3/echocfg.c diff
    src/sbbs3/filedat.c diff
    src/sbbs3/fmsgdump.c diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/gtkmonitor/events.c diff
    src/sbbs3/gtkmonitor/util_funcs.c diff
    src/sbbs3/js_global.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/jsexec.cpp diff
    src/sbbs3/load_cfg.c diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/makeuser.c diff
    src/sbbs3/msgtoqwk.cpp diff
    src/sbbs3/pktdump.c diff
    src/sbbs3/prntfile.cpp diff
    src/sbbs3/qwknodes.c diff
    src/sbbs3/sbbscon.c diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfglib2.c diff
    src/sbbs3/sexyz.c diff
    src/sbbs3/smbutil.c diff
    src/sbbs3/str.cpp diff
    src/sbbs3/str_util.c diff
    src/sbbs3/uedit/uedit.c diff
    src/sbbs3/umonitor/umonitor.c diff
    src/sbbs3/upgrade_to_v319.c diff
    src/sbbs3/upload.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/websrvr.cpp diff
    src/sbbs3/writemsg.cpp diff
    src/sbbs3/xtrn.cpp diff
    src/uifc/uifc32.c diff
    src/uifc/uifctest.c diff
    src/uifc/uifcx.c diff
    Use TO_UPPERCASE()/TO_LOWERCASE() for char arguments in sbbs3, uifc, conio toupper() and tolower() are defined only for unsigned char values and EOF. A plain char holding a byte of 0x80 or more is negative where char is signed: NetBSD crashes on it, MSVC debug builds assert, and elsewhere the result is whatever the table holds at that index. ff50c3b984 (2026-11-20) added the casting macros to gen_defs.h and converted xpdev; this converts the remaining calls that take char data: user names and passwords in userdat.c, Ctrl-A codes in str_util.c, ARS strings, command-line letters, and server command parsing. Calls whose argument is an int key code (inkey(), getkey(), xp_getch(), getchar(), SDL keysyms) are left alone: casting would truncate extended keys above 255 and turn EOF into 255. The macros return 128-255 for a high byte where the old calls returned the negative char value, so the pager's quit-key test in printfile() now converts both sides; quit_key() returns a signed char. Fixes #1373 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  69. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 16:58:37 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/getnode.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/nopen.c diff
    src/smblib/smbfile.c diff
    src/smblib/smblib.c diff
    src/xpdev/filewrap.c diff
    src/xpdev/filewrap.h diff
    Don't retry a file open that failed for lack of permission (*nix) A file the BBS can't write, such as a data/msgs/####.msg left owned by root, made every logon hang about 28 seconds before the new-mail prompt. readsmsg() opens that file for read/write, and nopen() retried the EACCES failure 100 times with a growing delay, then gave up without a word, so the telegrams were never shown or cleared and the delay recurred at every logon. EACCES is retried because on Windows it is also what a sharing violation returns. On other systems an EACCES from open() is a permission error, so retrying only adds the delay. FILE_OPEN_RETRY_ERRNO() is the set of open failures worth retrying: on Windows the same as FILE_RETRY_ERRNO(), elsewhere without EACCES. nopen(), sbbs_t::nopen(), smb_open_fp() and smb_addcrc() use it. sopen() now reports a conflicting fcntl() lock as EAGAIN (POSIX allows EACCES or EAGAIN), so a locked file is still waited for. Read, write, chsize and lock retries keep FILE_RETRY_ERRNO(): through a CIFS mount, a lock conflict on read() or write() comes back as EACCES. getsmsg() now logs an error when telegrams are waiting but can't be read. Measured with system.get_telegram() on an unwritable telegram file: 27.9 s before, 0.07 s after (27.8 s and 0.05 s through CIFS). A file locked by another process for 4 s is still waited for, then read. Fixes #1411 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  70. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 14:34:27 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgsys.c diff
    SCFG: explain where log files go in the Logs Directory help The Logs Directory help said only that log files are stored there, but undated logs (error.log, hack.log, guru.log, events.log, etc.) are written directly in that directory, while dated logs (MMDDYY.log, MMDDYY.lol, http-*.log) go in its "logs" sub-directory. Sysops who relocated the directory were left guessing where each file would land. List both groups, note that the undated ones are subject to Maximum Log File Size rotation, and give an example path. Also mention the logs sub-directory in the System Advanced Options summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  71. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 13:17:05 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgxfr1.c diff
    SCFG: say in file-type help screens that list order matters The Viewable, Testable, Download Events, Extractable and Compressible File Types help screens didn't say how list order affects matching. Viewable and Extractable use only the first matching entry, so a catch-all wildcard entry (e.g. '*') placed above others hides them; Compressible uses the first entry for an extension; Testable and Download Events run every matching entry from the top down. Each help screen now states its rule and that an entry is moved by cut and paste. Also correct the Download Events help, which said the command must return 0 for the file to "pass": download event error levels are ignored and cannot prevent a download. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  72. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 12:39:58 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgnet.c diff
    src/sbbs3/scfg/scfgsrvr.c diff
    SCFG: fix two help-screen wiki URLs that pointed at missing pages Networks->MQTT pointed to ref:mqtt, which was moved to monitor:mqtt on 2025-09-11. Servers->Services Server pointed to server:services, which never existed: the Services Server is documented at service:index. The other wiki URLs in SCFG's help text were checked and all exist. Fixes #1401 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  73. Rob Swindell (on Debian Linux)
    Mon Nov 23 2026 12:39:58 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/logonlist_lib.js diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/logon.cpp diff
    src/sbbs3/sbbs.h diff
    Logon list: record each logon's own time and logon number logonlist_lib.js add() stamped an entry with time() and the current system.stats.total_logons when logon.js reached the list, which is after the logon screens, the random screen and the logon event. A user who lingered there got a later time than the logon (07:29 vs 07:25 in the node log), and a logon on another node in that window gave the entry that logon's number instead. The terminal server now keeps the number logonstats() returned for the session and exposes it as the new read-only bbs.logon_number (0 when the logon is not counted: quiet node, or sysop with "Include Sysop in Statistics" off). add() uses it, falling back to the system total on older builds, and uses bbs.logon_time for the entry's time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  74. Rob Swindell
    Mon Nov 23 2026 12:17:14 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/DefaultTheme.cfg diff
    xtrn/sixelview/demo/sixelview_demo.bmp diff
    xtrn/sixelview/demo/sixelview_demo.gif diff
    xtrn/sixelview/demo/sixelview_demo.jpg diff
    xtrn/sixelview/demo/sixelview_demo.pdf diff
    xtrn/sixelview/demo/sixelview_demo.png diff
    xtrn/sixelview/demo/sixelview_demo.ppm diff
    xtrn/sixelview/demo/sixelview_demo.six diff
    xtrn/sixelview/demo/sixelview_demo.svg diff
    xtrn/sixelview/hooks/sixteencolors.js diff
    xtrn/sixelview/http_lib.js diff
    xtrn/sixelview/pdfunmark.js diff
    xtrn/sixelview/settings-example.ini diff
    xtrn/sixelview/sixelviewlibrary.js diff
    Modified Files:

    xtrn/sixelview/pdf2sixel.js diff
    xtrn/sixelview/pdf2sixel_lib.js diff
    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/sixelview.js diff
    xtrn/sixelview/sixelview_lib.js diff
    Merge branch 'sixelview' into 'master' Add library for listing supported files See merge request main/sbbs!744

  75. Nigel Reed
    Mon Nov 23 2026 12:17:14 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/DefaultTheme.cfg diff
    xtrn/sixelview/demo/sixelview_demo.bmp diff
    xtrn/sixelview/demo/sixelview_demo.gif diff
    xtrn/sixelview/demo/sixelview_demo.jpg diff
    xtrn/sixelview/demo/sixelview_demo.pdf diff
    xtrn/sixelview/demo/sixelview_demo.png diff
    xtrn/sixelview/demo/sixelview_demo.ppm diff
    xtrn/sixelview/demo/sixelview_demo.six diff
    xtrn/sixelview/demo/sixelview_demo.svg diff
    xtrn/sixelview/hooks/sixteencolors.js diff
    xtrn/sixelview/http_lib.js diff
    xtrn/sixelview/pdfunmark.js diff
    xtrn/sixelview/settings-example.ini diff
    xtrn/sixelview/sixelviewlibrary.js diff
    Modified Files:

    xtrn/sixelview/pdf2sixel.js diff
    xtrn/sixelview/pdf2sixel_lib.js diff
    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/sixelview.js diff
    xtrn/sixelview/sixelview_lib.js diff
    Add library for listing supported files

  76. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 22:45:04 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/send.inc diff
    exec/tests/webmail/send.js diff
    webmail/lib/send.js diff
    WebMail: give sent mail the system's time zone, not UTC Mail sent from WebMail set when_written_time but not when_written_zone, and MsgBase.save_msg() keeps the zone a header gives (0, UTC, when it gives none), so the written time carried the zone UTC: a message sent at 8:12 PM Pacific time showed as written at 20:12 +0000, in the Date: header of every copy (the recipients', the Internet copy and the Sent copy). The header now also sets when_written_zone to the system's time zone (system.timezone, as postmsg.js does). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  77. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 13:49:40 GMT-0800 (PST)
    Modified Files:
    

    exec/webfileindex.ssjs diff
    webfileindex: view only a file of the directory, and escape its name The ?view= parameter was used as given: it was written unescaped into the page title, heading and "non-viewable file type" message (so a crafted link ran script on the site's own host, where it could read the webv4 session cookie), and appended to the directory's path to find the archive or image to show (so a "../" name listed the contents of any archive the web server could read, outside the file areas). The name is now accepted only if it is exactly one of the directory's file names; any other gets a 404 that does not repeat it. The name is HTML-escaped where it is written, and the previous/next links are URL-encoded (names with spaces, '&' or '#' broke them). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  78. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 13:28:04 GMT-0800 (PST)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    CI: record 64 stack frames in the valgrind test suite job, not 20 suppressions.vg hides the uninitialized-value reports that SpiderMonkey's conservative stack scanning produces by matching js_GC anywhere in the reported stack, but valgrind matches suppressions only against the frames it records. With --num-callers=20, a report deep in the garbage collector's marking recursion was recorded without its js_GC frame (the 20 frames ended at js::MarkConservativeStackRoots), escaped the suppression and failed the job. That happened intermittently on the FreeBSD runner, always during the WebMail API tests (jobs 1894500, 1895176 and 1895514), with every test passing and no leaks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  79. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 12:20:24 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/CLAUDE.md diff
    src/sbbs3/CLAUDE.md: don't explain header-only in the header The guidance to share server code through a static-inline .hpp gave its reason, and that reason was being restated as a comment at the top of each new header. Say not to. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  80. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 12:19:50 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/getmail.c diff
    Mailbox size: don't trust a header's data field count beyond its length mail_stored_bytes() read as many data fields as a message header's total_dfields claimed, up to 65,535 reads for a corrupt header. A count whose fields do not fit within the header record's length is now taken as corrupt and the message counts 0, as an unreadable header already did. The data length is kept as an off_t, so a corrupt field offset and length cannot wrap it. Coverity CIDs 662421, 662426. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  81. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 12:19:50 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/netmail.cpp diff
    QWK netmail: close and remove a .msg file whose header was not written qwktonetmail() returned without closing the new netmail .msg file when writing its header failed, leaking the descriptor and leaving a .msg file without a header in the netmail directory. The "too many e-mails today" return also leaked the QWK message buffer. Coverity CID 662425. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  82. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 12:19:50 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/web_block.hpp diff
    src/sbbs3/websrvr.cpp diff
    Web Server: fail JS setup when http_request.query/header/cookie fails exec_ssjs() cleared the http_request query, header and cookie objects only when each was not NULL (checks added in 706fdf4cb1, enemy-30-rain, 2026-11-21), but then parsed the query, post data and headers into them unconditionally. js_CreateHttpRequestObject() now fails when any of the three cannot be created, so the request is refused before any script runs, and the checks are dropped. Also move, not copy, a forwarded client address and a web_block.ini rule into their vectors. Coverity CIDs 662420, 662422, 662424, 662428. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  83. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 12:19:50 GMT-0800 (PST)
    Modified Files:
    

    src/smblib/smblib.c diff
    smblib: smb_copymsgmem() leaves nothing allocated when it fails On a failed malloc(), smb_copymsgmem() returned with whatever it had already allocated for the copy still in it (leaked by callers that do not free the copy), and with the copy's dfield, hfield and hfield_dat still pointing at the source message's arrays wherever it had not replaced them yet. A caller that frees both after a failure, as MsgBase.copy_msg() and move_msg() do, then freed the source's arrays twice, and one that freed the copy after a failure part-way through the header fields freed the uninitialized entries of hfield_dat. The copy now starts with no arrays of its own, allocates hfield_dat zeroed, and on any failure frees what it allocated, leaving the copy holding no allocations, so smb_freemsgmem() on it is safe and not freeing it leaks nothing. Coverity CIDs 662423, 662427, 662429 (bulkmail.cpp). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  84. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 12:19:50 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api.js diff
    exec/tests/webmail/kit.js diff
    webmail/lib/api.js diff
    WebMail: refuse a guest by User.is_guest alone The sign-in check refused an account when User.is_guest was true or it had the G restriction, but is_guest is user_is_guest(): user number 0 or the G restriction. The second test checked the same bit again. It survived because the API test's fake users set is_guest on their own: GUEST_FLAG had the G restriction with is_guest false, a state a real User object cannot be in. The fakes (api.js and kit.js) now read is_guest from the G restriction when asked, as the real object does, so GUEST_FLAG is an ordinary-looking account with G set and is still refused, and a G restriction added during a session still ends it. UD.UFLAG_G, no longer used, is dropped from the bits api.js defines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  85. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 12:19:50 GMT-0800 (PST)
    Modified Files:
    

    ctrl/web_alias.ini diff
    web_alias.ini: say when a [dir] line takes effect and how to check it A sysop added the WebMail [dir] line and got a 404, then saw it work after another edit, and concluded that an absolute path does not work (#1397). Absolute paths do work. The file is read only when the web server starts or recycles, and the recycle that a change to the file triggers waits until the server has no client connections, which on a busy server can take a while. The comments now say so, and name the web server log lines that show whether each [dir] line was accepted ("Directory alias:") or refused, and why ("Ignoring [dir] alias"). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  86. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 12:17:08 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/maxclients_error.hpp diff
    src/sbbs3/web_block.hpp diff
    Remove build-rationale comments from two header files maxclients_error.hpp and web_block.hpp each opened with a comment explaining that the file is header-only so that no project files need to change. That is the reasoning behind how the code was added, not something a reader of the header needs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  87. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 12:16:25 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    FTP Server: identify the client correctly before login; redact PASS Five log lines in the control thread printed "<%s>" with the user's alias or, before login, the client's address, putting an IP address in the angle brackets reserved for a user name. Use the control thread's client-id string instead: [ip-address] before login, <alias> after. The received-command debug line (FTP_OPT_DEBUG_RX) logged PASS commands verbatim. Log "PASS <redacted>" unless the sysop has chosen to log passwords (SM_ECHO_PW), as the mail server does. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  88. Deucе
    Sun Nov 22 2026 10:24:00 GMT-0800 (PST)
    Modified Files:
    

    src/conio/cterm.c diff
    src/conio/cterm_test.c diff
    Fix autowrap scrolling at terminal margins Convert scrolling margins into the current coordinate system before handling character advancement and delayed wrapping. Restore the character's logical cursor position before testing whether to scroll, since cputs may already have wrapped outside the region. Add regressions covering immediate, delayed, and disabled autowrap with origin mode, horizontal margins, and batched or split writes. Verify cursor position, scrollback, and preservation of footer and status rows. All 330 emulation tests pass.

  89. Deucе
    Sun Nov 22 2026 09:18:53 GMT-0800 (PST)
    Added Files:
    

    src/syncterm/test_quick_connect.py diff
    Modified Files:

    src/conio/bitmap_con.c diff
    src/conio/cterm.c diff
    src/conio/cterm_test.c diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/Wren.adoc diff
    src/syncterm/ssh.c diff
    src/syncterm/syncterm.c diff
    Fix scrollback bounds and quick-connect persistence Preserve footer and status rows when the bitmap scroll path rotates its buffers. Capture only the rows cleared by cterm when saving a cleared window to scrollback. Keep temporary SSH fingerprints in memory until a complete entry is saved, and update only existing personal entries while preserving list encryption. Offer to save unsaved quick-connects after each disconnect, including Alt-H. Add emulation and headless quick-connect regressions. Validation: 327 emulation tests, quick-connect lifecycle tests with a local SSH server, and ini_crypt_test passed.

  90. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 02:35:56 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    FTP Server: refuse MKD for a directory that does not exist MKD from a user without upload rights always answered 257 "directory created (not really)". A client that then could not CWD into the directory it was told exists would create it again: a camera sent MKD/CWD 318 times a session, in most of its sessions. Answer 257 only when the path names an existing library or directory the user can see, and 550 otherwise. The unconditional 257 dates from b4a4a52416 (2025-02-14). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  91. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 02:24:58 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/CLAUDE.md diff
    src/sbbs3/CLAUDE.md: log message conventions How a server log line identifies its client ([ip-address], <alias>, bare hostname), and that the "!ERROR" marker belongs only on lines logged at LOG_ERR or higher (#1396). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  92. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 02:24:58 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    FTP Server: log a dropped TLS control connection as a notice A TLS client that disconnects without closing the session makes cryptPopData() fail with CRYPT_ERROR_READ or CRYPT_ERROR_WRITE, which recverror() reported as "!ERROR: recv on socket returned unexpected value: -42" at warning level. A camera uploading over FTPS produced dozens of these a day. Log those two statuses as "TLS connection lost on receive" at notice level, like the other peer disconnects. Other cryptlib statuses are still reported as unexpected. Identify the client in every recverror() message: <alias> once logged in, [ip-address] before. They carried only the socket number. Drop the "!ERROR" marker from the two recverror() messages logged below error severity (#1396). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  93. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 01:57:23 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/session.js diff
    WebMail tests: check the 24-hour session limit in 23 checks, not 1,439 session.js showed that a session without "keep me signed in" ends 24 hours after creation however it is used by checking it once a minute for a day: 1,439 checks, each rewriting the sessions file. Using it every half idle limit shows the same with 23 checks, and the test takes 0.7 seconds instead of 6 here (18.7 on the FreeBSD valgrind runner, 12.5 on the Raspberry Pi). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  94. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 01:45:48 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api.js diff
    WebMail tests: capture the expected locale error in api.js The "no locale files at all" case points the config at a directory with no en_us.ini, and locale.js logs "webmail: cannot read ..." at error level for each of the test's two calls, which printed two error lines in every test run. Capture Api.Locale.error around that block, as tests/webmail/locale.js does, and assert that both failures were logged and name the file. Introduced in c37c7b02f5. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  95. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 01:45:48 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api_drafts.js diff
    WebMail tests: make the upper-case draft id case deterministic api_drafts.js's rejected-id check upper-cased a real draft id, which is 16 random hex digits. An id with no a-f digits is unchanged by toUpperCase(), so the save succeeded and the test failed, about once in 1,800 runs (CI job 1891451 drew "2416042278296632"). Replace the last digit with "A" instead. Introduced in fe1c34ff99. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  96. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 01:28:57 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts/webmail.ini diff
    exec/tests/webmail/api.js diff
    exec/tests/webmail/config.js diff
    webmail/lib/api.js diff
    webmail/lib/config.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/lib/shell.js diff
    webmail/root/js/app.js diff
    webmail/root/js/login.js diff
    WebMail: new webv4_only option, sign in only through webv4 Asked for on #1395: a site that serves WebMail under its webv4 web site may want one sign-in, the web site's, and no separate WebMail form. With webv4_only = true in ctrl/modopts/webmail.ini, WebMail has no sign-in form: when the user is not signed in, the sign-in card says to sign in on the main site and links there, to the new webv4_url setting ("/" by default; an http:// or https:// URL or a path, checked as fallback_url is). The API refuses every password sign-in with "forbidden", without calling login(), so a request that bypasses the page cannot try passwords and nothing is counted as a failed login. webv4_only also turns on webv4_login, since signing in only through webv4 is signing in through webv4. session.get reports webv4_only (and webv4_url when it is on), which the client uses to show the link in place of the form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  97. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 01:09:33 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/mailbox/files.js diff
    mailbox tests: wait for a lock to be stale by file_mutex()'s own measure files.js made a lock stale by waiting a fixed 2.1 seconds with a max_age of 1, and expected a conflict from a fresh lock under that same max_age. file_mutex() counts a lock's age as the clock minus its file's modification time, so on a file system with coarse or skewed file times either can flip: on the NetBSD CI runner, which builds on a share, a lock 2.1 seconds old was not taken over (job 1891084), and in another run an expected conflict did not happen (job 1888322). The conflict is now checked with a max_age of 30, and the stale cases wait (up to 30 seconds) until the clock minus the lock file's date is over max_age, the test file_mutex() applies, instead of for a fixed time. Dating the lock file back with file_utime() would be quicker, but it fails on a CIFS mount. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  98. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 00:16:20 GMT-0800 (PST)
    Modified Files:
    

    CLAUDE.md diff
    CLAUDE.md: Borland compiles xpdev and some sbbs3 C files as C89 The portability section said Borland largely affects only the two GUI sub-projects. It also compiles all of src/xpdev, four src/sbbs3 .c files listed in the .bpr projects, and xtrn/sdk, sbj and tbd, where a mid-block declaration is a hard error (E2140) that GCC, Clang and MSVC all accept. List those files and the rule. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  99. Rob Swindell (on Windows 11)
    Sun Nov 22 2026 00:16:20 GMT-0800 (PST)
    Modified Files:
    

    src/xpdev/multisock.c diff
    xpdev: fix Borland build of multisock.c (declaration after statement) Borland C++ compiles .c files as C89 and rejects a declaration that follows a statement: "Error E2140 multisock.c 457: Declaration is not allowed here in function xpms_accept". This broke the windows-x86 [sbbs] CI job, which builds xpdev with Borland make first. Hoist "bool haproxy" to the top of xpms_accept(). Introduced in 03be043f22. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  100. Rob Swindell (on Debian Linux)
    Sun Nov 22 2026 00:03:22 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts/webmail.ini diff
    exec/tests/webmail/api.js diff
    exec/tests/webmail/config.js diff
    exec/tests/webmail/webv4.js diff
    webmail/lib/api.js diff
    webmail/lib/config.js diff
    webmail/lib/webv4.js diff
    webmail/root/api.ssjs diff
    WebMail: new webv4_logout option, signing out of WebMail signs out of webv4 Commit 8a0a4c8c9e (knew-4-curious, 2026-11-21) tied a WebMail session started from webv4 to the webv4 session (#1395), covering one direction: signing out of the web site ends WebMail. The other was left: signing out of WebMail only told the user they were still signed in to the main site. With the new webv4_logout setting (default false) in ctrl/modopts/webmail.ini, signing out of WebMail also ends the browser's webv4 session when it belongs to the same user, as webv4's own sign-out does: the user's data/user/####.web file is removed and webv4's cookie cleared with the domain and path webv4 sets it with. It applies however the WebMail session was started (from webv4 or with a password) and does not need webv4_login. A webv4 session of another user in the same browser is left alone, and a failure to end it is logged without failing the sign-out. Session timeouts and "sign out everywhere" do not touch webv4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  101. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 23:48:58 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    Web Server: exempt ipfilter_exempt.cfg clients from the connection limiter The connection rate limiter (MaxConnectsPerPeriod, SCFG Limit Rate of Connections), applied when a connection is accepted, did not check ipfilter_exempt.cfg, unlike the request rate limiter and the concurrent-connection limit. Behind a reverse proxy that passes the client's address in a request header, every connection comes from the proxy, so once the proxy exceeded the limit, all visitors were refused for the rest of the period, even with the proxy listed as exempt. The limiter's auto-filter already skipped an exempt address (filter_ip() checks the list), but the connection was still refused. Tested on Linux against an isolated Web Server with a limit of 3 connections per 10 minutes: five connections from the exempt loopback proxy were all served; with loopback not exempt, the fourth was refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  102. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 23:48:50 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/services.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    src/sbbs3/websrvr.cpp diff
    PROXY protocol: check temporary login bans against the client's address With HAPROXY_PROTO, the Terminal and Web Servers record a failed login under the client's address from the PROXY protocol header, but loginBanned() looked up the socket's peer, the proxy, so a client's temporary ban never took effect. With the proxy on the same system it also matched the server's own address, which is never banned. loginBanned()'s unused host_name parameter is now client_addr: the client's address when it is not the socket's peer, or NULL to use the peer as before. The Terminal and Web Servers pass the address the connection was accepted with (from the PROXY header when one was read); the FTP and Mail Servers and Services pass NULL. The rule that the server connecting to itself is never banned now compares that address. Tested on Linux with the Web Server behind a trusted PROXY protocol peer and a temporary-ban threshold of 3: after three wrong passwords from one client address, its next connection was refused with !TEMPORARY BAN, while another client address logged in. The Terminal Server change was built, not exercised. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  103. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 23:37:03 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api.js diff
    exec/tests/webmail/session.js diff
    exec/tests/webmail/webv4.js diff
    webmail/lib/api.js diff
    webmail/lib/session.js diff
    webmail/lib/webv4.js diff
    webmail/root/api.ssjs diff
    webmail/root/index.xjs diff
    webmail/root/part.ssjs diff
    WebMail: signing out of webv4 signs out of WebMail too With webv4_login on, a user signed in to the webv4 web interface is signed in to WebMail without the sign-in form, but the WebMail session that started outlived the webv4 one: signing out of the web site left the user signed in to their mail. A session started from webv4 now records that (via "webv4"), and its stamp also covers the key of the user's webv4 session, read from their data/user/####.web file on each request. When webv4 deletes that key (the user signs out of the web site) or replaces it (they sign in to it again elsewhere), the stamp no longer matches and the WebMail session ends, as a password change already ends every session. Only the digest is stored, never the webv4 key. A session started with a password is not tied to webv4 and never reads the file. Fixes #1395 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  104. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 21:21:28 GMT-0800 (PST)
    Modified Files:
    

    ctrl/sbbs.ini diff
    docs/v322_new.md diff
    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/startup.h diff
    src/sbbs3/websrvr.cpp diff
    src/sbbs3/websrvr.h diff
    src/xpdev/multisock.c diff
    src/xpdev/multisock.h diff
    PROXY protocol: believe the header only from TrustedProxies With HAPROXY_PROTO (Web and Terminal Servers), xpms_accept() read a PROXY protocol header from every connection and used the address it gave, whoever sent it: a client that could reach the port directly could claim any address, evading ip.can, the rate limiters and login bans, posing as an exempt address, or getting another address filtered (#1391). The proxies are now listed in a TrustedProxies setting, in [BBS] and [Web]. In [Web] it replaces RemoteIPHeaderTrust, added hours earlier for #1283 and never in a release, so it also decides whose RemoteIPHeader is believed. xpms_set gained a proxy_trusted() callback, which each server sets: a peer it does not trust is an ordinary direct connection, with no header expected or read, so direct and proxied clients can share a port; a trusted peer must still send the header. A blank list keeps the previous behavior (every peer must send a header, and it is believed), with a warning logged at startup. SCFG: the Reverse Proxy sub-menu is now shared, as a view, by the Web Server (Client IP Header, PROXY Protocol, Trusted Proxies) and the Terminal Server (PROXY Protocol, Trusted Proxies; #1392); the PROXY Protocol toggle (HAPROXY_PROTO, until now set only in sbbs.ini) is in both. Trusted Proxies is editable when either method is in use. bbs_startup_t gained a member, so sbbsctrl.exe must be rebuilt. Tested on Linux against isolated Web and Terminal Servers with HAPROXY_PROTO and TrustedProxies: with the peer trusted, a v1 header's address was used and a connection without one was dropped; with the peer not trusted, a connection without a header was served under its own address, and a header it sent anyway was not believed (the Web Server read it as the request); with a blank list, the warning was logged and the header honored. RemoteIPHeader was ignored from a peer not in TrustedProxies and honored from one in it. The SCFG menus were built, not exercised. Fixes #1391 Fixes #1392 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  105. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 19:17:58 GMT-0800 (PST)
    Modified Files:
    

    xtrn/mrc/mrc-session.js diff
    MRC: pass recvline()'s length and timeout to recvline(), not JSON.parse() MRC_Session.cycle() called JSON.parse(handle.recvline(), 1024, 10), so lines from the connector were read with recvline()'s default 512-byte limit: a long chat line, once wrapped in JSON, could be truncated and fail to parse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  106. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 19:17:58 GMT-0800 (PST)
    Modified Files:
    

    xtrn/mrc/mrc-client.js diff
    xtrn/mrc/mrc-connector.js diff
    MRC: stop busy-polling in the connector and client The connector's main loop called yield() every pass, which is just a 1ms sleep: as a static service it woke ~1000 times a second around the clock (measured on Vertrauen: 938 wakeups/s, ~3% of a core, with nobody in chat), and spun at the same rate through the reconnect delay whenever the MRC server link was down. It now blocks in socket_select() on the listen, MRC-server and client sockets (1s timeout, so the periodic STATS request still fires), checking data_waiting first so TLS plaintext already buffered by cryptlib isn't missed. Failed reconnects sleep 1s, and the wait for the server's HELLO line is a poll() instead of a spin. Tested against a fake MRC server: 917 -> 1 wakeups/s, messages still relayed both ways within ~1ms. The client ran ~90 passes a second per user (InputLine's 10ms key wait plus a 1ms yield), and on every pass stat()ed the user's notification file (an SMB round trip when the data dir is shared) and re-rendered the input-length counter. Now the key wait is 100ms (keystrokes still return at once), the notification file is checked once a second, and the counter is redrawn only when the input or the divider changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  107. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 19:14:18 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web Server: rename check_ars() to check_access() It does more than evaluate an access requirement string (ARS): it authenticates the user named in the Authorization header (password or Digest response, and account status), logs the session's user in or out, and only then checks file area access, the login requirements and the request's own requirements. Its one caller asks whether the request may proceed. No change in behavior. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  108. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 19:10:02 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    Web Server: refuse HTTP authentication for a deleted or inactive account check_ars() looked up the user named in an HTTP Basic or Digest Authorization header and checked the password, but never the account's status, so the right password logged in a deleted or inactive account. An inactive account keeps its name, so it could log in by name; a deleted one has its name removed from the name index, but with logins by user number allowed (LOGIN_USERNUM) it could still log in by number. Every other login path refuses such an account: the terminal server, FTP, POP3, SMTP AUTH, and the JavaScript login() of the web server and Services. Now such a login is refused like one with an unknown user, logged as !DELETED or INACTIVE user, and counted as a failed login attempt against the request's client. The password recorded with a failed HTTP authentication (the Basic password, or "<digest>") comes from one helper. Tested on Linux against an isolated test server: HTTP Basic logins with the right password for a deleted account and for an inactive one were refused (401) and logged, and an active user's login still succeeded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  109. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 19:09:57 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/services.cpp diff
    src/sbbs3/websrvr.cpp diff
    Web Server: count logins with an unknown or deleted user as failed Every other server that authenticates (terminal, RLogin, SSH, FTP, POP3, SMTP AUTH, Services) counts a login with an unknown user name as a failed attempt. The web server did not, on either login path, so through it a client could guess user names without reaching the temporary-ban or auto-filter thresholds or the hack log. Now, against the request's client (the forwarded address behind a trusted reverse proxy): - HTTP authentication counts an unknown user name, with the Basic password ("<digest>" for Digest), as a wrong password already was. Its !UNKNOWN USER line now names the protocol and client address. - The JavaScript login() method counts an unknown user name, now logged as !UNKNOWN USER, and a deleted or inactive account. A user record that cannot be read is logged as an error and not counted. - The Services login() method also counts a deleted or inactive account, as the terminal server does on Telnet auto-login. An unknown name is logged as !UNKNOWN USER; a user record that cannot be read is logged as an error and no longer counted. A lookup that could not run (find_login_id() < 0) is still a system error and not counted. Tested on Linux against an isolated test server, with a temporary-ban threshold of 3, through a trusted proxy: three HTTP Basic logins as an unknown user, three login() calls for an unknown user, and three for a deleted account each led to a temporary ban (403) of that client, while a real user's login() from another address succeeded. The Services changes were built, not exercised. Fixes #1390 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  110. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 18:49:51 GMT-0800 (PST)
    Modified Files:
    

    ctrl/sbbs.ini diff
    docs/v322_new.md diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    src/sbbs3/websrvr.cpp diff
    src/sbbs3/websrvr.h diff
    Web Server: trusted reverse proxies, and filter the forwarded address RemoteIPHeader (7712fdfa3e, receptors-12-suggestion, 2025-11-11) lets a site behind a reverse proxy or CDN, such as Cloudflare (CF-Connecting-IP), see each client's own address. Two problems remained. Any client could set that header (#1283). The new [Web] RemoteIPHeaderTrust setting lists the proxy addresses or CIDR ranges (comma-separated, the .can/.cfg pattern syntax) whose RemoteIPHeader is believed; the header from any other connection is ignored. Left blank, any client's header is believed, as before, so an upgraded proxied site keeps working, and a warning is logged at startup. A comma-separated value, or the same header given more than once (X-Forwarded-For), yields its right-most address that is not a trusted proxy, the address the outermost trusted proxy received the request from; before, a list was rejected as invalid. The address-based checks ran before the header was applied (#1389). The request rate limiter and its exemption check ran in get_req(), before parse_headers(), so on a connection's first request they acted on the proxy: with the proxy exempt (the stock ipfilter_exempt.cfg exempts loopback and private ranges) those requests skipped the limiter, and with it not exempt every client counted against, and could get filtered, the proxy's own address. ip.can was checked only when a connection was accepted, against the proxy, so an ip.can entry for a forwarded client, including one the rate limiter or web_block.ini wrote, never refused it. Now, after parse_headers(), each request is checked against ipfilter_exempt.cfg, and a forwarded address against ip-silent.can (connection dropped) and ip.can (403), then web_block.ini, then the rate limiter. Internal redirects are not counted as requests. A forwarded client's checks and filter entries no longer use the proxy's hostname. Failed web logins were counted, and temporary bans checked, against the connecting address: behind an exempt proxy no client was ever banned for guessing passwords, and behind one that was not exempt, one client's failures banned everyone. They are now counted against the request's client, and a forwarded address under a temporary ban is refused (403); loginBannedAddr() is loginBanned() for an address rather than a socket. Each request on a kept-alive connection now starts from the connection's own address, so a request without the header no longer keeps the address an earlier request forwarded. In the access log's CustomLogFormat, %a is now the request's client (the forwarded address), as Apache's is with a trusted proxy, and the new %{c}a is the connecting address, as in Apache. %h was already the forwarded address. SCFG: Web Server > Reverse Proxy holds Client IP Header (RemoteIPHeader, until now set only in sbbs.ini) and Trusted Proxies. web_startup_t gained a member, so sbbsctrl.exe must be rebuilt. Tested on Linux against an isolated test server with RemoteIPHeader = X-Forwarded-For: the startup warning with no trust list; a header from a peer not in the list ignored; with 127.0.0.0/8 trusted, the right-most untrusted address of a list and of two header lines; an invalid value ignored; a kept-alive second request without the header logged under the connection's address; forwarded addresses in ip.can (403) and ip-silent.can (dropped); the rate limiter counting a forwarded client from its first request (429 on the 4th of 3 allowed) while another client and the exempt proxy itself were not limited; web_block.ini blocking and filtering a forwarded client; three wrong passwords from a forwarded client temporarily banning it (403 with the right password) while another forwarded client and a direct one logged in; %a, %{c}a and %h in a custom log format. SCFG built, not exercised. Fixes #1283 Fixes #1389 Fixes #280 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  111. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 18:09:35 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/filterfile.hpp diff
    filterFile: keep the loaded list when a changed filter file can't be read filterFile (ip.can, ip-silent.can, host.can, ipfilter_exempt.cfg, spamblock.cfg, dnsbl_exempt.cfg, ...) freed its cached list before reading the changed file, and recorded the new date whether or not the read succeeded. A file that could not be opened, even after fnopen()'s retries, was therefore treated as empty until its date changed again: for ipfilter_exempt.cfg, a file rarely edited, every exemption could vanish until the next edit. Now: - An unreadable file keeps the list already loaded until the file changes again. It is not retried at each check: each attempt repeats fnopen()'s lock retries (about 28 seconds for a permission error) with the mutex held, stalling every thread that consults the filter. - A deleted file lists nothing. It used to keep its last contents, because fdate()'s -1 was not newer than the recorded date. - Any change of date reloads the file, so one restored from a backup with an older date is read. - A file changed within the last second is read again at the next check, in case it was read while still being written. Tested on Linux with the web server and ip.can: an entry blocks; the file deleted, the entry no longer blocks; restored with a date two days older, it blocks again; rewritten without the entry but unreadable, the entry still blocks (the first check waited out fnopen()'s retries, 28 seconds, the next did not); readable and changed, it no longer blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  112. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 18:09:23 GMT-0800 (PST)
    Added Files:
    

    ctrl/web_block.ini diff
    src/sbbs3/web_block.hpp diff
    Modified Files:

    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    Web Server: block requests by request-header pattern (ctrl/web_block.ini) Scrapers are often identifiable only by a request header, most often the User-Agent, and with HTTPS a packet filter cannot see headers. The new ctrl/web_block.ini has one [header:<name>] section per header to check; its numbered keys are patterns in the findstr syntax of the .can/.cfg files, tried in numeric key order. A request whose header matches is refused with "403 Forbidden" and a log line naming the header and the pattern. The check runs once the request headers are parsed, before webctrl.ini, authentication or any script. Running after parse_headers() means the client address is the one from RemoteIPHeader when the server is behind a reverse proxy, so the proxy itself is neither exempted nor filtered. The 403 skips any SSJS error page (a static 403.html is still sent), so a blocked request never starts a JavaScript context. A ! pattern is an exception, so a section that ends in ! patterns is an allowlist. [header:host] is matched against the host name the server uses for the request (lower-case, no :port, taken from the request line of an absolute-form request), or the server's own host name when the request has no Host header, so "0 = !www.example.com" serves one host name and refuses every other. A header the request does not send matches no pattern. Only the first section for a header is used; a duplicate is reported when the file is loaded. A section's FilterThreshold (default 0, never) adds a client to ip.can once that many of its requests have been blocked by that header. Clients are counted like the rate limiter's: by IP address, or by subnet per RateLimitSubnetPrefix4/6, filtering the whole subnet only once RateLimitFilterSubnetThreshold of its addresses have been blocked. A count is forgotten after an hour with no blocked request. FilterDuration and FilterSilent default to the [Web] RateLimitFilterDuration and RateLimitFilterSilent settings. Clients in ipfilter_exempt.cfg are never blocked. The file is re-read when its date changes (checked at most every cache_filter_files seconds), so edits take effect without a recycle. A file that cannot be opened keeps the rules already loaded and is retried at the next check, and a file changed within the last second is read again, in case it was read while still being written. Like web_alias.ini and web_handler.ini, it may be a per-host (web_block.<host>.ini) or .local variant. The stock file holds only commented documentation and examples. Tested on Linux against an isolated test server: User-Agent and Referer patterns (contains, begins-with, case), ! exceptions, the Host allowlist with a :port, a missing Host, and absolute-form requests; the threshold filter, its duration, per-header counts and subnet filtering; requests through a proxy (RemoteIPHeader) from an exempt address; the static 403 page with a 403.ssjs present; a duplicate section; edits, removal, restoration and an unreadable file; an exempt client; a per-host file name. Fixes #1375 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  113. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 15:41:26 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_user.cpp diff
    JS: new User.mailbox_bytes() method Returns the size, in bytes, of the user's mail as counted against the mailbox quota (system.mailbox_quota): the Inbox, spam included, plus the folders, Sent copies and Trash kept by the mailbox library. It is the total User.mailbox_full() compares with the quota. This is the remaining half of #22, which asked for user.stats mail_waiting (added in v3.12) and mail_bytes_waiting. It is a method, not a user.stats property, because it is not cheap: each call scans the mail base index and reads a header per Inbox message (about 2 ms for a user with no mail, 10 ms for 450 messages, measured over SMB), so a loop over every user takes seconds. Fixes #22 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  114. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 15:35:14 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/drafts.js diff
    webmail tests: don't let a slow run fail the "left to recovery" sweep drafts.js runs on a fixed clock (NOW, taken when the file starts), but after a crash between release()'s mark and its rename, draft.json no longer holds the claim time, so Drafts.sweep() dates the claim by its files, which have real modification times. The check swept at NOW + 700 with a 600-second live window, so it only passed when the claim was written within 100 seconds of the file starting. Under valgrind on a busy runner the file takes over 200 seconds, and the check failed ("crash before the rename: left to recovery ... got [0,[],[]]") in the FreeBSD valgrind CI job. Sweep from the time of the check instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  115. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 15:27:52 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/getkey.cpp diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Yes/No prompts: show "Aborted", not "No", when aborted with Ctrl-C yesno() and noyes() take a set abort flag as the No key and printed text[No], so a prompt aborted with Ctrl-C looked as if the user had answered No (often followed by the command ending, as if answering No had cancelled it). They now print the new AbortedAnswer text string (992, "Aborted") in that case. Return values and the abort flag are unchanged, so callers behave as before. This covers the stock lightbar prompts too: yesnobar.js and noyesbar.js leave the answer to the C++ prompt when aborted. The string ends with a normal-attribute code so its color does not carry into later output when the caller passes P_SAVEATR (which skips the prompt's attribute reset). Fixes #1386 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  116. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 15:18:47 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web server: log the requested Host at Informational level The Host header of each request was logged at Debug level, while the User-Agent was logged at Informational. A sysop tracking scrapers in the server log at Informational level saw the User-Agent but not the host it asked for, and turning on Debug logging for that adds far more volume. Log "Requested Host" at Informational, next to User-Agent. Fixes #1376 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  117. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 15:03:26 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/smblib/smbtxt.c diff
    smblib: treat a named "inline" MIME part as an attachment mime_getattachment() skipped every part with Content-Disposition "inline", so a photo sent from an iPhone (an image part marked inline, with a filename) was never offered for download in the Terminal Server's mail reader. A part with a filename is now an attachment whatever its disposition, as WebMail's MsgBase.get_msg_parts() already treats it. Images embedded in HTML mail are listed too; no rule tells those apart from the iPhone's photo, which iOS Mail also places in a multipart/related part when it sends HTML. The "filename=" search is now confined to the part's own header. It searched to the end of the message body, which the inline skip had kept from mattering: an unnamed inline part (e.g. a text body) followed by an attachment would otherwise be listed under the next part's filename. The same function also decides MSG_MIMEATTACH for received mail and which MIME attachment SBBSecho exports with a NetMail message. Fixes #485 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  118. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 14:53:56 GMT-0800 (PST)
    Modified Files:
    

    webv4/lib/forum.js diff
    webv4: send netmail under the name the NetMail alias settings call for Mail sent to a FidoNet, QWKnet or Internet address from the web interface always went out under the user's alias, ignoring SCFG's "Use Aliases in NetMail" and "Use Aliases in Internet E-mail" settings. It now chooses the sender name the way the Terminal Server does: the alias for QWKnet, when the setting for that network is on, or when the user has the 'O' restriction; otherwise the user's real name (the alias if they have none). Local e-mail is unchanged. Fixes #136 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  119. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 14:39:21 GMT-0800 (PST)
    Modified Files:
    

    exec/load/822header.js diff
    src/sbbs3/mailsrvr.cpp diff
    Mail: give locally sent mail a "To" address over POP3 and IMAP A message one local user sent another (e.g. from the Terminal Server) has no recipient network address, so the "To" header sent to a POP3 client was just the recipient's name, and the IMAP service sent the name with a "(#<usernum>)" comment. A mail client's Reply All then tried to send to the name as if it were an address (seen with Apple's iOS Mail). The Mail Server now builds the recipient's address with usermailaddr(), as it already did for other recipients without an address, and 822header.js builds it the way it already builds a local sender's "From" address, e.g.: To: "Digital Man" <Digital.Man@vert.synchro.net> Messages that kept their original "To" header (received by SMTP, or with a recipient list) are unchanged, as are sub-board messages over IMAP. Fixes #972 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  120. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 14:38:16 GMT-0800 (PST)
    Modified Files:
    

    exec/load/shell_lib.js diff
    shell_lib.js send_netmail(): don't throw when given an address The netmail address history was read only when no address was passed in, so a call with an address (the SDOS shell's NETMAIL <address> command) sent the message and then threw a TypeError, without saving the address to the history. Read the history first, on both paths. Introduced by a4c720b86d (addressing-30-bingo, 2026-04-08). Fixes #1385 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  121. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 14:25:03 GMT-0800 (PST)
    Added Files:
    

    src/sbbs3/maxclients_error.hpp diff
    Modified Files:

    ctrl/sbbs.ini diff
    docs/v322_new.md diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/services.cpp diff
    src/sbbs3/startup.h diff
    src/sbbs3/websrvr.cpp diff
    Servers: MaxClientsError / SCFG "Log Error When Full" The capacity option added in 80da834f1d (brass-12-grown, 2026-11-21) was named MaxClientsNotify and "Notify Sysop When Full", but what it does is log one error when a server starts refusing connections at capacity. Whether that reaches the sysop depends on the error notification settings: only when System->Notifications->Error Level is "Error"; the default, "Critical", filters it out (the error still goes to error.log and MQTT). Name it for what it does: - sbbs.ini key MaxClientsNotify -> MaxClientsError, in all five server sections; the startup field is max_clients_error. v3.22 has not been released, so no compatibility with the old key is kept. - SCFG label "Notify Sysop When Full" -> "Log Error When Full", with help text that describes the error and when it notifies. - maxclients_notify.hpp -> maxclients_error.hpp. - The stock sbbs.ini comments and the release notes say the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  122. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 14:08:36 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgsrvr.c diff
    SCFG: place "Notify Sysop When Full" with the client limits 80da834f1d (brass-12-grown, 2026-11-21) appended the option at the end of each server's settings menu, after the sub-menus ("JavaScript Settings...", "Failed Login Attempts..."), where it looked misplaced. It now follows the limit it reports on: "Max Clients" in the Web, FTP and Mail Server menus and "Serving Nodes" in the Terminal Server menu. The Services menu has no server-wide limit (each service sets its own in services.ini), so there it follows "Limit Rate of Connections", ahead of the sub-menus. The help text moves with it, and the case numbers of the items in between shift by one; every item still runs the same action as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  123. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 13:52:28 GMT-0800 (PST)
    Added Files:
    

    src/sbbs3/maxclients_notify.hpp diff
    Modified Files:

    ctrl/sbbs.ini diff
    docs/v322_new.md diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/services.cpp diff
    src/sbbs3/startup.h diff
    src/sbbs3/websrvr.cpp diff
    Servers: optionally notify the sysop when refusing clients at capacity (#1384) A server at its client limit refused each new connection with only a warning in its log, so a scraper burst could turn visitors away for minutes without the sysop hearing of it. The new per-server MaxClientsNotify setting ([BBS], [FTP], [Mail], [Services] and [Web] in sbbs.ini; "Notify Sysop When Full" in each server's SCFG menu; off by default) changes that. The first refused connection of an episode is logged once at error level, which reaches error.log, the sysop's error notifications and MQTT. Later refusals are only counted, and once 5 minutes pass with none, a summary (how many were refused, over what span) is logged as a warning. Each refusal's own warning line is unchanged. What counts as a refusal: the web, FTP and mail servers reaching MaxClients; the terminal server finding no node available; a service reaching its MaxClients in services.ini, which only refuses connections with the FULL_ACCEPT option (otherwise new connections wait in the listen backlog and nothing is refused). The episode tracking is shared header-only code, maxclients_notify.hpp. The setting is a new last member of STARTUP_COMMON_ELEMENTS, so the size of every server's startup struct changes and the Windows sbbsctrl.exe must be rebuilt with this change. Tested on Linux with isolated web and FTP servers limited to 2 clients: with the setting on, six refused connections each produced one error line and one error.log entry, and the summary followed 5 minutes after the last refusal. With it off, refusals logged no error. SCFG and the terminal, mail and services servers were built but not exercised. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  124. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 13:32:24 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web server: write each access-log entry while holding its lock (#1380) The access-log thread locks the log, fprintf()s an entry into the FILE's buffer and unlocks it. The write() that puts the entry in the file happens later, after the unlock: when the buffer fills or when the queue goes idle. So the lock never covered a write. When web servers on more than one host share a log over SMB (ONE_HTTP_LOG and a shared data directory), each appends at the end of file as it last saw it, and a write based on a stale size lands on top of the other host's latest line, leaving a line cut off mid-field and merged with the next. Vertrauen's log had 5 to 30 such lines a day. Each entry is now written within the lock: seek to the end of the file after locking, which on a Linux CIFS mount re-reads the file's size from the server, and flush before unlocking. Two servers on one Linux host, sharing a log on a local file system and each sent 4000 concurrent requests, logged all 8000 entries intact before and after the change. Writers on the same host share one view of the file size, so that test cannot reproduce the cross-host overwrite; the fix applies to a host only when it runs this build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  125. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 13:23:26 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web server: parse the query and headers for JS without consuming them (#1381) js_parse_query() and parse_js_headers() tokenized the session's own buffers (req.query_str, req.post_data and req.headers[]) in place, and they run once for each webctrl.ini script (JSPreExec, each Rewrite) and again for an SSJS page. Every run after the first saw the query cut at its first '=' and no headers at all, and an internal redirect kept the damage: a Rewrite rule could not look at the query, cookies or User-Agent, and an .ssjs page in a directory with such scripts got a truncated http_request.query, an empty http_request.cookie and no http_request.header. Both functions now tokenize a copy. exec_ssjs() also clears http_request.query, .header and .cookie before parsing. The page's request object is set up before the webctrl.ini scripts run, and those scripts parse into the same objects, so with the query intact every value would otherwise appear twice. Tested on Linux with a JSPreExec and a Rewrite script that log what they see and a Rewrite that redirects internally to an .ssjs page: every script run and the page now see the full query, cookies and headers, each value once, whether reached directly or by the redirect, on a POST, and on a second request over the same connection. A page in a directory without webctrl.ini scripts is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  126. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 13:10:42 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web server: reduce absolute-form request targets to origin-form (#1382) For a request line like "GET http://host/path?query HTTP/1.1" (the absolute form, RFC 9112 3.2.2), get_request() took the host from the target and stripped the scheme and authority from physical_path only. virtual_path, request_line and orig_request_line kept the "http://host" prefix, and so did everything derived from them: the SCRIPT_NAME and REQUEST_URI given to CGI and FastCGI scripts, the request_string and virtual_path seen by webctrl.ini JS hooks, and the links in generated directory listings. php-fpm can't find a script whose SCRIPT_NAME is a URL, and rewrite rules written for "/..." paths never match. The target is now reduced to origin-form before any of those fields are set: the host (and vhost) still come from its authority, ahead of any Host header, and the target becomes "/path?query" ("/" when the authority is followed directly by a query or nothing). The scheme is matched on the target as received rather than after %-decoding. Tested on Linux with virtual hosts, old and new builds side by side: absolute-form requests (lower and upper case, with a port, https://, a Host header naming another vhost, no path before the query) now give FastCGI the same SCRIPT_NAME, REQUEST_URI and QUERY_STRING, and webctrl hooks the same request_string and virtual_path, as the equivalent origin-form request. "/http://..." paths are unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  127. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 13:03:08 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web server: fix the invalid CGI/FastCGI headers fallback (#1383) When a CGI or FastCGI script's output doesn't begin with valid headers, the web server falls back to sending all of it as text/plain. That path had three bugs: - It sent uninitialized stack memory to the client. The fallback writes the raw lines saved in fbuf, which only the *nix pipe CGI reader filled: fastcgi_readln_out() ignored it and the Win32 cgi_readln_out() passed NULL. fastcgi_readln_out() now copies the raw line into fbuf, the Win32 reader passes fbuf through, and do_cgi_stuff() initializes both line buffers and clears them when the script's output ends. - FastCGI stderr was parsed as the response. A newly read FCGI_STDERR record was reported as CGI_OUTPUT_READY instead of CGI_ERROR_READY, so its text was taken for a header line, invalidating the headers of any response preceded by a stderr record. php-fpm's reply for a missing script ("Primary script unknown", then Status: 404) went out as 200 with stack bytes, and so did an otherwise valid response that logged a warning first. FastCGI stderr is now logged, at warning level: it is the backend's diagnostic (php-fpm writes one for every request naming a missing script), so it no longer reaches error.log or the sysop's error notifications. Pipe CGI stderr stays at error level. - The fallback reply was unframed on a keep-alive connection: no Content-Length (any the script sent is discarded) and not chunked, so HTTP/1.1 clients waited for the inactivity timeout. It is now chunked when the normal path would chunk, and otherwise closes the connection. Tested on Linux against a stub FastCGI backend, HTTP/1.1 and 1.0: php-fpm's missing-script reply, a first line with no colon, a Content-Length followed by an invalid line, and a valid response after a stderr record. Before: stack bytes in every body, 200 instead of 404, HTTP/1.1 hangs. After: correct status and body, chunked or closed framing, keep-alive reuse works, stderr logged as a warning. The Win32 CGI change was not compiled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  128. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 13:02:25 GMT-0800 (PST)
    Modified Files:
    

    exec/chat_llm_irc.js diff
    chat_llm_irc: register the shutdown handler only when the bot runs js.on_exit("shutdown()") was registered whenever the file was loaded, including by a script that sets CHAT_LLM_IRC_NO_MAIN to use its helpers without starting the bot. shutdown() saves the ever-seen nick list, which such a script never loaded, so on exit it overwrote the live list (data/chat/<persona>/irc_seen.json) with an empty one. The handler is now registered with the rest of the bot's startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  129. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 12:57:44 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/javascript/SKILL.md diff
    CLAUDE.md diff
    Claude guidance: identifier prefixes, and jsexec's read-only env CLAUDE.md: a new module, library or door prefixes its C identifiers with a stem of at least four characters taken from its real name, not a two-letter acronym. A door's SL_* macros collided with the existing SL_TABLE and SL_TABLE_SEED and had to be renamed across 27 files. javascript skill: jsexec defines the global "env" read-only, so a top-level "var env = {...}" in a script it runs is silently ignored and env stays the process environment. Use another name, or declare it inside a function. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  130. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 12:54:28 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/logon.cpp diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Terminal: a user whose mailbox is full is told so at logon A user whose mailbox takes no more mail (Maximum E-mail Messages Waiting, or the mailbox quota) had no way to learn it from the terminal: only senders were told. The logon sequence now shows a new text string, YourMailboxIsFull (991), before the question about reading mail. Users with the W exemption are never full. text_defaults.c is regenerated from text.dat, so it also takes the compiled-in defaults of the four information header strings changed in text.dat by 0413ab1e7e (2026-11-21). The text count changes: the library and every program that uses the text strings must be rebuilt together. logon.cpp passes a syntax-only GCC compile; it was not built into a server or run on a terminal. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  131. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 12:54:28 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/send.inc diff
    exec/tests/webmail/send.js diff
    src/sbbs3/email.cpp diff
    src/sbbs3/writemsg.cpp diff
    webmail/lib/api.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/lib/send.js diff
    webmail/root/js/compose.js diff
    A sysop may write to a full mailbox, and is told that it is full E-mail to a user whose mailbox takes no more mail (Maximum E-mail Messages Waiting, or the mailbox quota) was refused for every sender. A sysop is now told that the mailbox is full and the message goes through: - Terminal e-mail and forwarding a message to a user: the MailboxFull text is shown as before, then a sysop (a temporary sysop included) continues. - WebMail: a sysop's send is delivered to every recipient and the notice after it reads "Message sent. The mailbox of one of the recipients is full." (warning "mailboxfull" in the send result, which carries one warning: it takes the place of "longlist" and "nocopy" when those apply too). Bulk mail still skips a full mailbox, and the mail server still answers 450, whoever the sender is. exec/tests/webmail/send.js covers the WebMail rule. email.cpp and writemsg.cpp pass a syntax-only GCC compile; they were not built into a server or run on a terminal. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  132. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 12:15:04 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgmsg.c diff
    SCFG: "Maximum Messages Waiting" is "Maximum E-mail Messages Waiting" The option under Message Options did not say that it is about mail. The menu line, its help texts, the input prompt and the search index use the new name; the msgs.ini key (max_msgs_waiting) and system.max_msgs_waiting are unchanged. The help paragraphs that name it are wrapped again to stay within 72 columns. scfgmsg.c passes a syntax-only GCC compile; SCFG was not built or run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  133. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 12:09:28 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    Use conditional blank-line (instead of \r\n) for information header strings

  134. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 11:34:40 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/mailbox/store_quota.js diff
    mailbox test: the temp-file check no longer counts the file itself store_quota.js failed on Windows only (pipeline 13060, windows-x86 jsexec-testsuite): "no temp files left: expected 0 got 1". The check listed "mailbox.usage.ini.*", and on Windows a pattern ending in ".*" also matches the name without an extension, so it counted mailbox.usage.ini itself. It now lists "mailbox.usage.ini.*.tmp", which is what a temporary file left by a write is named. The test passes on Linux as before. The Windows result is known only from the pipeline log; the pattern behavior was not run on Windows here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  135. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 11:15:32 GMT-0800 (PST)
    Modified Files:
    

    exec/userlist.js diff
    userlist.js: Enter at the "Sort by" prompt lists the users unsorted again bdd892ad87 (bank-19-size, 2026-02-28) passed 0 as getkeys()'s maxnum argument, which leaves Enter ignored unless it's one of the keys; before, Enter returned 0 (no sort). Accept Enter as a key, and print the newline that getkeys() prints only after printable keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  136. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 10:48:18 GMT-0800 (PST)
    Modified Files:
    

    exec/load/user_info_prompts.js diff
    Terminal: show the mail signature with its lines at the left margin The Mail Signature item of the personal information menu printed the current signature with bare line feeds, so each line began in the column where the one before it ended. The mail signature library returns text with "\n" line ends; they are now converted to "\r\n" for the terminal, as the edit path already did for the editor's file. Seen and confirmed fixed by Rob on a terminal session. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  137. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 10:38:31 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/avatars.js diff
    exec/update.js diff
    avatars.js: a first import reads recent messages only, each one once Reported by Accession on IRC: "jsexec update.js" added the AVAT-IN and AVAT-OUT events, and the import that followed looked like an endless loop. Two things made the first import long: - With no import pointer saved, it started at message 1 and read the whole sub: 3,728 network avatar messages of 5,233 in SYNCDATA on Vertrauen. - The starting offset was computed as total_msgs - (last_msg - pointer), which is far below zero when the pointer is 0 and the sub has been purged. MsgBase.get_msg_index() counts a negative offset from the end, so the loop made about last_msg failed or repeated index reads and imported every message twice (7,456 imports for those 3,728 messages). The offset is now clamped to 0. A first import (no import_ptr in the sub's .ini file and no -ptr option) now begins after the newest message older than first_import_days, a new [avatars] option in modopts.ini (default 30, 0 for the whole sub). Avatars in use are exported again every export_freq days (default 7), so the recent messages hold them. On the same sub that is 862 messages. update.js names its -noavatars option when it installs the feature. Tested with the import function run against the live SYNCDATA index (read-only) with the per-message import and the pointer file stubbed: first run 862 messages from the first one newer than 30 days, pointer saved; second run none; -ptr=0 3,728, each once (7,456 before the clamp). A real import into avatar files was not run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  138. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 10:24:02 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfglib1.c diff
    Suppress Coverity CID 662403 in read_domains_cfg_file() A false positive (SIZEOF_MISMATCH): the call allocerr(error, maxerrlen, fname, "domain list", sizeof(char*)) looks to Coverity like a buffer passed with the size of a pointer to it. The last argument is the size of the allocation that failed, for the message, and strListInit() allocates one pointer. The buffer's size is maxerrlen. Introduced by 79e573b634 (appeared-28-earn, 2026-11-20). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  139. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/chat.cpp diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/un_rep.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    src/sbbs3/writemsg.cpp diff
    One rule for the E and S restrictions on every way of writing to a user The E-mail (E) and E-mail Sysop (S) restrictions were applied by five more copies of the rule besides the e-mail functions: e-mail in an uploaded REP packet, telegrams from the chat menu and from bbs.telegram(), and forwarding a message to a user. Those copies still had the rule's first form: S meant user #1 only, E everyone else. The e-mail function itself was changed in 2023 to treat any account at sysop level as the sysop, and the copies were left behind. All five now call user_can_send_mail(), so they mean what e-mail means: - E: the user may not write to users who are not sysops. - S: the user may not write to a sysop, whichever account that is. What changes for a restricted user: - A co-sysop counts as the sysop for telegrams, forwards and REP e-mail: with E they can be written to, with S they cannot (it was the other way round for everyone but user #1). - E no longer refuses every e-mail in a REP packet before looking at the recipient: e-mail to a sysop is accepted, as from the terminal. Netmail in the packet is governed by the netmail restriction (M) alone, as from the terminal. - A sysop uploading a REP packet is not held to the e-mail-per-day limit, as from the terminal. - Forwarding to a user reports a restriction before the per-day limit. The exception that lets a restricted new user send a first message to the validation user is for e-mail only (the terminal and a REP packet). A new flag, CANSEND_NOT_FEEDBACK, turns it off for telegrams and forwards. Nothing changes for a user with neither restriction. Built with GCC only. None of these paths can be run without a terminal session, so they were read and compiled; the function's own rules are covered by exec/tests/user/can_send_mail. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  140. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Added Files:
    

    exec/tests/mailbox/store_quota.js diff
    exec/tests/user/mailbox_full/quota_library.js diff
    Modified Files:

    exec/load/mailbox.js diff
    exec/load/mailbox_files.js diff
    exec/load/mailbox_summary.js diff
    exec/tests/mailbox/store_limits.js diff
    exec/tests/mailbox/store_rows.js diff
    exec/tests/mailbox/store_star.js diff
    exec/tests/mailbox/store_write.js diff
    exec/tests/user/mailbox_full/quota_child.inc diff
    exec/tests/webmail/api.js diff
    webmail/lib/api.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/root/css/style.css diff
    webmail/root/js/folders.js diff
    webmail/root/js/mail.js diff
    webmail/root/js/settings.js diff
    WebMail: the mailbox quota covers the Inbox The mailbox library (exec/load/mailbox.js) counted only the private base against the mailbox quota, so WebMail's meter left out the Inbox, and the quota was applied where it no longer makes sense: a move from the Inbox into a folder was refused, or removed the oldest Trash, although the message takes the same space in either place. The library: - usage() returns { bytes, quota, full }: bytes is the private base plus the user's mail in the shared base (Inbox and Spam), full is true once bytes reaches the quota. overview() returns folders() and usage() from one pass over the mail index, for folder.list. - No move is refused for the quota and none removes Trash: Inbox to a folder or Archive, to Trash, back to the Inbox. The "quota" error no longer comes from a move. - A Sent copy is the one thing the library still checks, now against all of the user's mail: the oldest Trash is removed to make room, and when that would not be enough the copy is not kept and nothing is removed (WebMail sends anyway and says no copy was kept, as before). - An Inbox message's size counts its attached files, as a filed message's does, so filing does not move the meter (the facts cache version is raised: each user's cache is rebuilt once). - The private base's total is written to data/user/NNNN/mailbox.usage.ini ("bytes=<n>") for the servers, which apply the quota to new mail (user_mailbox_full()). Written under the state lock by the same replace-by-rename as the JSON side files, when the total changes and when the file is missing; a failed write is logged and the servers then count the base's file sizes. WebMail: - folder.list's usage is that figure, and the meter and the settings page show it. At the quota a line under the meter says that new mail is being refused and to delete messages and empty Trash. Old Trash is not removed automatically for it. - A user with the W exemption gets a store without a quota: nothing is refused, no Trash is removed for room, and the meter shows the usage with no limit and no bar. For users: the meter now shows all of their mail, so it jumps for anyone with a large Inbox. Deleting moves mail to Trash, which still counts: room comes from emptying Trash. Measured on a copy of a mail base's index and headers (9,262 records), local disk, warm caches, one store per call as the API makes: folders() plus usage() before against overview() after took 100 to 102 ms and 102 to 103 ms for an Inbox of 5,486 messages, 37 to 38 and 38 to 39 ms for 919, 27 to 28 ms both for 24. A send adds one index pass for the Sent copy's check: 26 to 85 ms on the same copy. Tested by script: exec/tests/mailbox/store_quota.js (usage with Inbox, Spam, another user's mail and an attached file; mailbox.usage.ini after a move, a delete, a flag change, a Sent copy, a Trash purge by age and emptying Trash, rewritten when missing and left alone for an unchanged total; deleting and filing over the quota; a Sent copy refused, kept, and kept by removing Trash, against Inbox mail; no quota), the changed quota sections of store_write.js and store_limits.js, exec/tests/webmail/api.js (usage and full through folder.list, the W exemption, one index pass) and exec/tests/user/mailbox_full/quota_library.js (User.mailbox_full() agrees with the library's total at the quota and one block under it, from the file the library wrote). The meter and its warning were not seen in a browser. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  141. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Added Files:
    

    exec/tests/user/mailbox_full/quota.js diff
    exec/tests/user/mailbox_full/quota_child.inc diff
    Modified Files:

    docs/v322_new.md diff
    exec/load/userdefs.js diff
    src/sbbs3/getmail.c diff
    src/sbbs3/getmail.h diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgmsg.c diff
    Mailbox Quota counts the Inbox and refuses mail at the quota Mailbox Quota (per user) (mailbox_quota in msgs.ini, default 1 GB) limited only a user's private mail base: the folders, Sent copies and Trash kept for WebMail. The Inbox, in the shared mail base, was not counted, so a user with hundreds of megabytes of mail could read "63 KB of 1 GB", and nothing stopped more mail arriving. The quota now means all of a user's mail, and new mail for a user who has reached it is refused. user_mailbox_full() (getmail.c), which the SMTP server, the terminal's e-mail and forward commands, bulk mail and WebMail's send already call for Maximum Messages Waiting, gains a second reason, MAILBOX_FULL_BYTES: - Asked after the message count (which still answers MAILBOX_FULL_MSGS), and only with a quota set. Full means used >= quota; the size of the new message is not counted (it is not known at RCPT TO). - Used = the private base + the mail waiting in the Inbox, spam included. Inbox: one pass over the mail index, then one seek and one 256-byte read of the header file per message to the user, summing header and data blocks as the mailbox library does (data shared with other recipients counts in full for each). The reads stop once the quota is reached. Files attached to Inbox mail are not counted here. No running total is kept anywhere. - Private base: the "bytes" value of data/user/NNNN/mailbox.usage.ini, which the mailbox library will write (only a plain number is believed); without it the sizes of mailbox.shd and mailbox.sdt (never less than the space in use, and more after Trash was emptied); nothing when there is no base. - A user with the W exemption is subject to neither limit, a system sender is never refused, and with both limits at 0 the function returns before reading anything, as before. user_mailbox_bytes() returns the whole figure. No caller's decision changes: all compare with MAILBOX_NOT_FULL. So the byte reason is refused exactly where a full Inbox is: SMTP answers "450 Mailbox full: <rcpt>" (or forwards without a local copy when the user forwards and keeps copies) and logs the quota that was reached; the terminal and bulk mail show the MailboxFull text; WebMail refuses the send. FidoNet netmail, QWK network mail, mail from the system, a script's own save_msg() and a restore from Trash are not checked. User.mailbox_full() returns 2 for the byte reason. For sysops: a system that never used WebMail now refuses mail for a user whose Inbox holds 1 GB (the default quota). With Maximum Messages Waiting at 0, every delivery to a non-exempt user reads one header block per message in that user's Inbox. The W exemption's description becomes "not subject to mail storage limits"; the SCFG help of Mailbox Quota and the release notes say what the quota covers. Measured on a mail base of 9,262 index records and a 56 MB header file, local disk, files cached, by a read-only program doing the same reads: index pass 0.07 to 0.15 ms; headers 0.3 to 0.5 microseconds each (24 messages 0.01 ms, 919 messages 0.3 ms, 5,486 messages 1.9 to 2.7 ms). Not measured through a network mount, where each header read is a round trip to the file server. Tested by script (exec/tests/user/mailbox_full/quota.js, a scratch configuration, user base and mail base per case): under, at and over the quota; quota 0; the W exemption; a system sender; spam counted, a deleted message not; each limit answering with its own reason, the count first; the private figure from mailbox.usage.ini, from the file sizes without it or without its key, and none without a base. The SMTP, terminal e-mail, forward and bulk mail paths were read and compiled, not run. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  142. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api.js diff
    exec/tests/webmail/api_drafts.js diff
    exec/tests/webmail/send.inc diff
    exec/tests/webmail/send.js diff
    webmail/lib/api.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/lib/send.js diff
    webmail/root/css/style.css diff
    webmail/root/js/folders.js diff
    WebMail: Max Messages Waiting on send and beside the Inbox Sending: a message with a local recipient whose mailbox takes no more mail (User.mailbox_full(): more than Max Messages Waiting messages waiting, no W exemption) is refused whole before anything is stored, with a text of its own that names the recipient, the way one recipient the sender may not write to already refuses a send. Bulk mail at the terminal skips a full recipient and mails the rest; the difference is intended. Folder list: folder.list returns inbox_limit { count, limit, level } (null with no limit or for a user with the W exemption). The count is User.stats.mail_waiting, the number the mail server compares with the limit: every undeleted message to the user in the mail base, Spam included, which can be more than the Inbox folder shows. The client shows nothing below 80% of the limit; from there a line under the Inbox ("Inbox: 85 of 100 messages"); over the limit the same line in the warning color with what to do (delete or file some messages, Spam counts too). Tested by script (exec/tests/webmail, with stand-ins for the user and the system): a full local recipient refuses the send with nothing saved and names the recipient; only local recipients are asked about; the text reaches the API result; inbox_limit under, near, at and over the limit, with no limit, with the W exemption and with the system's own limit. The line in the folder pane was not seen in a browser. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  143. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Added Files:
    

    exec/load/max_msgs_waiting_upgrade.js diff
    exec/tests/user/mailbox_full/child.inc diff
    exec/tests/user/mailbox_full/limit.js diff
    exec/tests/user/mailbox_full/skipif diff
    Modified Files:

    ctrl/sbbs.ini diff
    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    exec/tests/system/rtypes.js diff
    exec/update.js diff
    src/sbbs3/bulkmail.cpp diff
    src/sbbs3/ctrl/MailCfgDlgUnit.cpp diff
    src/sbbs3/ctrl/MailCfgDlgUnit.dfm diff
    src/sbbs3/ctrl/MailCfgDlgUnit.h diff
    src/sbbs3/email.cpp diff
    src/sbbs3/getmail.c diff
    src/sbbs3/getmail.h diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/mailsrvr.h diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbs_ini.c diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgmsg.c diff
    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    src/sbbs3/writemsg.cpp diff
    Max Messages Waiting applies to terminal e-mail and bulk mail The limit on the messages waiting in a user's Inbox was a mail server setting (MaxMsgsWaiting in the [Mail] section of sbbs.ini) and only the SMTP server enforced it, so a local sender could fill an Inbox without limit. The setting is a sysop's guard against a flooded Inbox, so it now applies wherever a user's mail is delivered at that user's request. One function decides: user_mailbox_full() in getmail.c (not userdat.c, which addfiles, makeuser, scfg and gtkchat link without getmail.c). A mailbox is full with more than the limit of undeleted messages addressed to the user in the mail base, spam included, exactly as the SMTP server counted them; 0 is no limit, and users with the W exemption are not limited. It returns a reason code (one reason today) so that another kind of "full" can be added without changing the callers, and it never refuses mail whose sender is the system itself, which the caller states. Who calls it: - SMTP (mailsrvr.cpp): as before, "450 Mailbox full" and the same log line, but the check now follows the forwarding decision. A user whose mail is only forwarded to a netmail address is no longer refused (no local copy is stored), and with Allow Forwarding to NetMail set to Both a full Inbox means the message is accepted and forwarded with no local copy (logged). - Terminal e-mail (sbbs_t::email) and forwarding a message to a local user (sbbs_t::forwardmsg): the sender is told at once with the new MailboxFull text and nothing is stored. - Bulk mail (sbbs_t::bulkmailhdr): a full recipient is skipped and the sender is told; the rest are still mailed. Under Both a full recipient gets the forwarded copy only. bulkmailhdr() now reports whether it stored a message, so a skipped recipient (or one whose record cannot be read, which was counted before) no longer raises the reference count of the message text. Not checked, by decision: FidoNet netmail (SBBSecho), QWK network mail and reply packets, system notices (notify(), delivery-failure notices), MsgBase.save_msg() from scripts, and moving a message back to the Inbox. There is no exception by recipient: mail to the sysop or to the new user validation user is refused like anyone's unless that account has the W exemption. The one exception is a new user's first message to the validation user (no feedback and no e-mail sent yet), which is always delivered: refusing it would make newuser.cpp remove the new account for not leaving feedback. The setting moves to msgs.ini ([mail] max_msgs_waiting, default 100), beside the mailbox quota, because the terminal server, jsexec and SBBSecho load msgs.ini but not the mail server's section of sbbs.ini. It is edited in SCFG under Message Options (Maximum Messages Waiting) and no longer under Servers, Mail Server. While msgs.ini has no such key the configuration loader reads the old MaxMsgsWaiting from this host's sbbs.ini, so the limit is unchanged for a system that has not run "jsexec update" yet; update.js (max_msgs_waiting_upgrade.js) copies a non-default old value into msgs.ini once, as does setting the value in SCFG. Saving anything else in SCFG does not store it: the program saving may not see the sbbs.ini the mail server reads (SCFG on Windows reads the plain sbbs.ini, not a host's own file), and would replace a host's limit with the wrong one. The limit is now one value for every host that shares the configuration. sbbs.ini is left as it is: its key is no longer written, and is read only as that fallback. mail_startup_t keeps its (now unused) max_msgs_waiting member so that the struct's layout is unchanged; the field is removed from the Mail Server dialog of the Windows Control Panel (sbbsctrl, Borland: edited by hand, not built here). scfg_t gains two members, so everything that uses it is rebuilt together. Scripts: system.max_msgs_waiting (read-only) and User.mailbox_full() (0 when new mail is accepted, 1 for too many messages waiting). Tested by script (exec/tests/user/mailbox_full, a scratch configuration with its own users and mail base): under, at and over the limit, limit 0, the W exemption, a system sender, spam counted and deleted messages not, the old sbbs.ini key used as it is before the update, and the update carrying a changed value once and writing nothing for the default. The SMTP, terminal and bulk mail paths need a live server or session and were read and compiled only. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  144. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Added Files:
    

    exec/tests/user/can_send_mail/child.inc diff
    exec/tests/user/can_send_mail/rules.js diff
    exec/tests/user/can_send_mail/skipif diff
    Modified Files:

    exec/load/userdefs.js diff
    src/sbbs3/email.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    Terminal e-mail and netmail use user_can_send_mail() The terminal server applied its "may this user send mail" rules inline in email.cpp and netmail.cpp, and user_can_send_mail() (also User.can_send_mail() for scripts, which web mail uses) had drifted from them. email(), netmail(), inetmail(), qnetmail() and qwktonetmail() now call the function, which gains a flags argument: CANSEND_SYSOP treat the sender as a sysop (the terminal passes its temporary-sysop state this way) CANSEND_NO_LIMIT skip the e-mail-per-day limit CANSEND_QWK_HUB a QWK hub's packet: there is no sending user, so only the system-wide netmail settings apply A network type other than NET_NONE, NET_FIDO or NET_INTERNET (netmail() passes NET_UNKNOWN before the address is parsed) checks the sender's netmail restriction and the daily limit only. Rules that change for users: - The E and S restrictions go by the recipient's security level, in the function as in the terminal: E stops local e-mail to anyone who is not a sysop, S stops e-mail to any sysop. The function used to treat only user #1 as "the sysop". Without a recipient (user number 0) neither applies, as before. - A user with E or S may send a first message (no e-mail or feedback sent yet) to the new user validation user. The terminal already allowed this; the function now does too. - FidoNet netmail with no FidoNet address configured is refused by the function for everyone, sysops included, as the terminal did. - When a user is both restricted and at the daily limit, the restriction is reported. email(), netmail() and qnetmail() reported the limit first; inetmail() already reported the restriction. - Sysops are exempt from "Internet mail allowed" being off in netmail()'s Internet branch and in qwktonetmail(), as they already were in inetmail() and for FidoNet. - Netmail in a user's REP packet counts toward the e-mail-per-day limit and is refused at the limit. It was not counted against the limit before. A QWK hub's packet stays exempt. - A restricted sender is refused when the recipient's user record cannot be read, and a deleted or inactive recipient is never taken for a sysop. The S restriction's description in sbbsdefs.h and userdefs.js now says "a sysop", not "user #1". Not changed: netmail_addr_is_supported() still refuses an Internet or FidoNet address for everyone when that kind of netmail is off, and netmail() calls it before the checks above, so a sysop typing such an address at the e-mail prompt still gets "invalid address". Scripts reach the same check as system.check_netmail_addr() with no sender, and depend on that answer. Also not changed: a sysop's own E, S and netmail restrictions apply to them; the wording of each refusal on each path. exec/tests/user/can_send_mail runs User.can_send_mail() against scratch configurations and a scratch user base, covering the restriction, validation, FidoNet-address, netmail-allowed and daily-limit rules. The order of refusals, the flags and the terminal call sites cannot be reached from a script: those were read and compiled only. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  145. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Added Files:
    

    exec/tests/msgbase/notify/fwd_keep.js diff
    exec/tests/msgbase/notify/fwd_keep_child.inc diff
    Modified Files:

    docs/v322_new.md diff
    exec/load/sbbsdefs.js diff
    exec/tests/webmail/api_settings.js diff
    src/sbbs3/bulkmail.cpp diff
    src/sbbs3/getmail.c diff
    src/sbbs3/getmail.h diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/postmsg.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/scfg/scfgmsg.c diff
    src/sbbs3/un_qwk.cpp diff
    src/sbbs3/un_rep.cpp diff
    Forward e-mail to netmail and keep a local copy "Allow Forwarding to NetMail" (SCFG Message Options) now offers Yes, No and Both. Both keeps today's forwarding (SM_FWDTONET, the user's forward setting, a usable address) and also delivers a copy to the user's mailbox. The new message option MM_FWDKEEP is bit 0 of the message options word: bits 16 and up default to on (a stock msgs.ini holds settings=0xffff0000), so a new off-by-default option takes a low bit. With it clear, nothing changes. One body, two headers, where the forward and the local copy come from the same saved message: the SMTP delivery (mailsrvr.cpp), bulk mail (bulkmail.cpp), system notices (notify() in postmsg.cpp) and inbound FidoNet netmail (sbbsecho.c). The local copy is a second header, indexed to the user, sharing the forwarded message's data; its reference is added before the header, so a header never outlives its data. New add_fwd_mail_copy() (getmail.c) builds it for the last three. The forwarded header is unchanged and still deleted once sent. SMTP: the local copy rides in the forwarded recipient's section of the recipient list (a LocalCopy key), so a forwarding recipient still takes one slot toward the recipient limit, and the sender's daily count and the mail archive go up once. The user gets the normal new-mail notice once, not also the "forwarded" notice; SBBSecho does the same. Body stored twice: QWK network mail (un_qwk.cpp) and REP packets (un_rep.cpp) forward through qwktonetmail(), then import the same packet body again as local mail. A REP message that was forwarded is counted against its sender and announced once, not again for the local copy; when the forward was not made (the sender may not send netmail, or the address is bad) the message is kept locally only and that is logged. Terminal e-mail (email.cpp) stays forward-only when the sender chooses to forward: a local copy there would need a second editor session or a change to netmail(), so the SCFG help and release note say so. Tested: notify() through system.notify(), with the option clear and set, by a new jsexec test (exec/tests/msgbase/notify/fwd_keep.js) that checks the headers, index records, mailbox count, notice and, with chksmb, the data reference counts; a build without the reference increment fails it. The whole msgbase test directory passes. SCFG: all three values set and saved on a scratch ctrl copy. Only read and compiled: mailsrvr.cpp, bulkmail.cpp, sbbsecho.c, un_qwk.cpp, un_rep.cpp. Built with GCC only. Fixes #593 Fixes #140 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  146. Rob Swindell (on Debian Linux)
    Sat Nov 21 2026 01:19:40 GMT-0800 (PST)
    Added Files:
    

    exec/tests/mailbox/mailsig_terminal.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/load/mailsig.js diff
    exec/load/user_info_prompts.js diff
    exec/user_personal.js diff
    src/sbbs3/writemsg.cpp diff
    Terminal: edit and use the e-mail signature Add a "Mail Signature" item to the terminal's user settings and use the mail signature when e-mail is written from the terminal. MailSig gains to_terminal(), from_terminal() and lossy(): the mail signature file is UTF-8, a CP437 terminal sees and edits it converted. change_mail_signature() offers: edit the mail signature, no signature on mail, or use the general signature. A signature CP437 cannot show is warned about before editing, and text left unchanged is never written back, so viewing it on a CP437 terminal cannot damage it. The mail signature is plain text: color and control codes typed in the editor are removed (from_editor()) and the user is told. Each choice confirms what it did. writemsg.cpp: for e-mail, user/####.mail.sig replaces the general signature (a zero-length file means none); its UTF-8 lines are written as they are to a UTF-8 message, else converted to CP437 (read into a buffer that holds the longest line the signature can have). Sub-board and general signatures are unchanged, as is the Include Signatures in E-mail check. Tested: the four MailSig functions with a jsexec test (exec/tests/mailbox/mailsig_terminal.js), and the whole mailbox directory passes. Only parsed: change_mail_signature() and user_personal.js (they need a terminal). Only compiled: writemsg.cpp, with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  147. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 23:51:29 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: a delivery-failure notice names the failed message bounce() copied the failed message into the notice, so the notice's Message-ID was the failed message's own ID (or, when that had none, an ID derived from the failed message's number and time), and it carried no reply-ID. A mail client could not tell which sent message a notice was about, nor thread the notice under it. The notice now gets a Message-ID of its own, derived from a fresh message number, and the failed message's Message-ID as its reply-ID. When the failed message has no Message-ID the notice has no reply-ID. The guards against bouncing a notice are untouched. Verified by reading and compiling only; there is no automated test for this path. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  148. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 23:32:34 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api_settings.js diff
    webmail/lib/api.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/root/js/mail.js diff
    WebMail: block an address tag from the message that arrived at it When a message was delivered to one of the user's tagged addresses (name#tag@host), the reader's "More" menu now offers "Block mail sent to <that address>". It blocks the tag as the Settings page does, so the usual case, spam arriving at one address, takes one click from the message. message.get reports the tag (headers.to_tag) only when the mail server delivers that address to the signed-in user and the tag is one that can be blocked here; the menu item is left out once the tag is blocked. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  149. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 23:28:25 GMT-0800 (PST)
    Modified Files:
    

    webmail/lib/blocktags.js diff
    WebMail: blocked address tags can be changed on Windows 0b669450bf (less-3-quick, 2026-11-20) replaced the user's .smtpblock file with file_rename(), which does not replace an existing file on Windows: the first tag could be blocked, every change after it failed with a server error (blocktags.js and api_settings.js failed in the windows-x86 test job). The file is now replaced as the mailbox library replaces its files: rename, and when that fails remove the old file and rename again, a few times in case the mail server has the file open. On Windows no tag is blocked for the instant between the remove and the rename. Verified on Linux only; the Windows test job is the check. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  150. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 23:13:31 GMT-0800 (PST)
    Added Files:
    

    exec/tests/webmail/blocktags.js diff
    webmail/lib/blocktags.js diff
    Modified Files:

    exec/tests/webmail/api_settings.js diff
    webmail/lib/api.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/root/js/settings.js diff
    WebMail: block and unblock address tags in Settings The mail server delivers mail for name#tag@host to the user of that name unless the tag is listed in data/user/NNNN.smtpblock. Until now that file could only be edited by hand, by someone with access to the system's files. Settings has a new "Address tags" section: it lists the user's blocked tags, blocks a new one (typed as the tag, or pasted as a whole name#tag@host address) and unblocks one. settings.get returns blocked_tags; settings.set takes tag_block and tag_unblock. The file is a filter file that may have been written by hand, so the new library (webmail/lib/blocktags.js) leaves every line it was not asked to remove as it is: comments, notes after a tab, patterns and the file's line endings. A pattern entry is listed (marked as one) and can be removed, but only plain tags (letters, digits and . _ + = -, 64 at most) can be added here. The file is replaced by rename, so the mail server never reads half of it, and the list is capped at 500 entries. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  151. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 22:34:59 GMT-0800 (PST)
    Modified Files:
    

    webmail/root/js/compose.js diff
    WebMail compose: Tab goes To, Subject, body, then the Cc and Bcc buttons The "Cc" and "Bcc" buttons sit beside the To field, so they came right after it in the Tab order: getting from To to the message body meant passing both. They are now reached after the body: Tab from the body goes to Cc, then Bcc, then on to Send; Shift+Tab goes the same way back. A button that is not shown (its field is already open) is left out. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  152. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 19:15:18 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api_settings.js diff
    webmail/lib/api.js diff
    webmail/root/js/settings.js diff
    WebMail settings: show the name mail is really sent with by default The "Name on mail you send" field showed the user's real name as its default (the greyed-out text and the hint below it), whatever the system's "Send E-mail Using Alias" setting. Mail itself was sent with the right name: only the settings page was wrong. settings.get now returns default_name, worked out by the same rule the send code uses (the alias when the system sends Internet mail with aliases or the user may not use a real name, else the real name), and the page shows that. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  153. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 19:11:31 GMT-0800 (PST)
    Modified Files:
    

    webmail/root/js/compose.js diff
    WebMail: start typing above the signature when tabbing into the body A new message's body is filled in with the signature (and a reply's or forward's with the quoted text) before the user gets there. The cursor was put at the top only when the panel opened with the body focused; reached with Tab from the address and subject fields, the browser left it at the end, below the signature. The cursor is now set to the top whenever a new message, reply or forward is opened. A saved draft is still continued at its end. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  154. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 19:09:52 GMT-0800 (PST)
    Modified Files:
    

    exec/load/mailbox_summary.js diff
    exec/tests/mailbox/summary.js diff
    Mailbox library: keep the summary when a file's date steps back at close After its own write, Summary.modify() sets the date of the private base's files and records it (#1374). On an SMB share the server can, when the base is closed, put a file's date back to the time of the write itself. When the write and the date set fell in different seconds, the file ended up dated one second before the recorded stamp, and the next request read every header again. Measured on a Samba share with a 20-message folder: the list after starring a message or renaming the folder read 20 headers whenever that happened. The recorded stamps now count as current when the sizes match and a file's date is the same or up to 2 seconds earlier. A later write moves a date forward, never back, so an earlier date does not hide one. The dates are also set right after the write, before the changed headers are read, to keep the two times close. With this, the same measurement reads no headers after a star, a read mark, a delete or a folder rename, also when the date stepped back. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  155. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 18:58:52 GMT-0800 (PST)
    Modified Files:
    

    exec/load/mailbox.js diff
    exec/tests/mailbox/read.js diff
    exec/tests/webmail/client.js diff
    webmail/root/js/reader.js diff
    WebMail: "Always show images" for mail from a local user Mail that a local user sends (from the terminal, or through the mail server after signing in, as a local GitLab does) is stored without a sender network address. The reader offered "Always show images from this sender" only for Internet mail, so such mail never got the option and its images had to be allowed message by message. The mailbox library now reports the address of the local user a message is from (headers.from_local_addr: User.email, blank when the sender is not a current user), and the reader lists and matches that address for local mail. Spam and Trash are still never shown automatically. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  156. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 18:20:11 GMT-0800 (PST)
    Modified Files:
    

    exec/load/mailbox_summary.js diff
    exec/tests/mailbox/summary.js diff
    Mailbox library: a modify that changed nothing leaves the files' dates alone 7845d4b8bc (audit-3-foul, 2026-11-20) set the date of the private base's files after every Summary.modify(). When the function it runs reported no change and made none, the new date itself read as a change once the clock had moved to the next second, and the cache was rebuilt: "no-change modify reads nothing: expected 0 got 50" in summary.js on the slow freebsd-amd64 valgrind job. The dates are now set only when the function reported what it wrote, or when the files' date or size show a write. The test waits for the next second before its no-change modify, so it fails with the earlier code on any machine. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  157. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 18:20:11 GMT-0800 (PST)
    Modified Files:
    

    .gitlab-ci.yml diff
    CI: run the pipeline for changes under exec/load and webmail The pipeline ran only for changes under src/, 3rdp/, exec/tests/ and a few other paths. A push that changed only a script library the tests load (exec/load/mailbox_summary.js) created no pipeline, so the change went untested until one was started by hand. exec/load/**/* and webmail/**/* now trigger it too. These are the libraries and the web mail client that exec/tests exercises; other scripts under exec/ still do not. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  158. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 18:12:03 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_global.cpp diff
    require(): don't report "symbol not defined" when the load was aborted When a web client disconnects, the web server's operation callback aborts the running script without setting the terminated flag. If that happens while require() is loading a file, js_load() fails with no exception pending and require() then reported the requested symbol as missing, e.g.: Failed to load event module nodelist: Error: symbol 'USER_DELETED' not defined by script 'sbbsdefs.js' logged by webv4's events.ssjs when a crawler dropped the event stream. Worse, the uncatchable abort became a catchable exception. The js_IsTerminated() check added in 78b2682ec8 (urge-22-door, 2023-12-14) doesn't cover this path, since the disconnect abort never sets the flag. Only check for the symbol after a successful load; a failed load with no exception pending propagates as the abort it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  159. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 17:45:18 GMT-0800 (PST)
    Modified Files:
    

    exec/load/mailbox_summary.js diff
    Mailbox library: date the private base's files after a write (#1374) After a change to a user's private mail base, the summary cache stores the date and size of the base's .shd and .sid files, taken while the base is still open. On a network file system (SMB, NFS) a write may show in a file's date only once the file is closed, so the stored date was the old one: the next request saw a "change" and read every header again. Summary.modify() now sets the date of both files to now (file_utime()) after the write and before taking those stamps. Measured on a Samba share with a 12-message base: the get() after the library's own header change read 12 headers before and reads none now; on a local disk it read none either way. Only the private base is dated this way. Nothing but this library writes to it, which matters because on an SMB share a file whose date has been set stops being dated by later writes while it is open. The system mail base is left alone; doing the same in smblib for every writer is discussed in #1374. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  160. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 17:10:44 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/address.js diff
    tests/webmail/address.js: judge linear trimming by ratio, not by a time limit The check that white space handling is linear allowed 5 seconds for 200,000 spaces. Under valgrind on the freebsd-amd64 and raspberrypi-arm64 CI runners the same work takes about 17 seconds, so the test has failed in those two jobs since it was added. It now times the work at 50,000 and at 200,000 spaces and fails only when four times the input takes ten times as long or more (quadratic work would take sixteen times as long), with no limit on the time itself. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  161. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 16:51:02 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/mailbox/kit.js diff
    exec/tests/mailbox/store_write.js diff
    exec/tests/mailbox/summary.js diff
    tests/mailbox: an outside writer closes its handle; report how files are dated On netbsd-amd64, summary.js fails where an outside header change must force a rebuild of the summary cache. The message added earlier shows why the cache saw nothing: the .shd file's date was the same before and after the header was rewritten, a second later, through a handle that stayed open. The test's outside change is now made through a handle of its own that is closed again, as another process would do it. The test kit gains Kit.file_dates(), which reports whether a write shows in a file's date while the file is open and after it is closed; the two checks that fail on NetBSD put its answer in their message. On Linux the probe says a write shows in both cases, and the 14 mailbox tests pass. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  162. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 16:34:58 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/mailbox/summary.js diff
    tests/mailbox/summary.js: say what the file's date did when a rebuild is missed On netbsd-amd64 the check that an outside header change forces a rebuild of the summary cache fails ("expected 50 got 0"): the cache saw no change in the base's files. The cache goes by the .shd file's date and size, and nothing in the log says what those were. The failure message now carries the file's date and size and the clock before and after the change, and the date after the get. No change to what is tested. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  163. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 16:17:04 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/inet_domains/config/skipif diff
    exec/tests/msgbase/notify/skipif diff
    tests: skip the child-jsexec tests where jsexec cannot be located inet_domains/config and msgbase/notify start a second jsexec, found through /proc. They were skipped only where /proc/self/stat does not exist. On NetBSD it exists but cannot be opened, and under valgrind the process it names is valgrind's, which cannot be started directly: both jobs failed in the tests' setup. The skip rules now read /proc/self/stat and skip unless it names jsexec. Checked on Linux: run normally (8 and 10 tests pass, nothing skipped) and under valgrind (the two directories are skipped). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  164. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 16:17:04 GMT-0800 (PST)
    Modified Files:
    

    src/xpdev/dirwrap.c diff
    src/xpdev/gen_defs.h diff
    src/xpdev/genwrap.c diff
    src/xpdev/ini_file.c diff
    xpdev: never pass a negative char to tolower() or toupper() strlwr() and strupr(), and the other callers in genwrap.c, dirwrap.c and ini_file.c, handed a plain char to tolower()/toupper(). Where char is signed, a byte of 0x80 or more is a negative value, for which those functions are not defined; on NetBSD they crash. That is the segmentation fault jsexec has had on netbsd-amd64 in the mailbox tests of every CI run since those tests began saving messages with non-ASCII subjects: MsgBase.save_msg() -> smb_subject_crc() -> strlwr(), as the backtrace from the core file shows. gen_defs.h gains TO_UPPERCASE() and TO_LOWERCASE(), which cast their argument to unsigned char as the IS_ALPHA() family beside them already does for the classification functions, and each of those 16 calls uses them. For ASCII nothing changes. Built with GCC on Linux, where the old code did not crash; the fix is confirmed only by reading, until the NetBSD job runs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  165. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:56:26 GMT-0800 (PST)
    Modified Files:
    

    3rdp/build/Common.gmake diff
    src/sbbs3/CMakeLists.txt diff
    src/sbbs3/sbbs.h diff
    Build with a stock SpiderMonkey again: fall back to JS_ExecuteScript() 92e457aa3f (gratis-3-earnings, 2026-11-20) calls JS_ExecuteScriptInScope(), which a patch adds to the SpiderMonkey source built from 3rdp. Every build that uses another SpiderMonkey stopped compiling: error C3861: 'JS_ExecuteScriptInScope': identifier not found That is the Windows builds, which link the stock SpiderMonkey 1.8.5 library (it is not going to be patched), and any Unix build given a system or other libmozjs185 with JSLIB=, JSINCLUDE= or JSLIBDIR=. The build now says when it uses the 3rdp SpiderMonkey: the GNU make and CMake builds define SBBS_JS_EXECUTE_SCRIPT_IN_SCOPE there. Without it, sbbs.h maps JS_ExecuteScriptInScope to JS_ExecuteScript(), which is what every one of those call sites used until that commit. The scope problem that commit fixes (#1372) therefore remains in such builds. Checked: the define is in JS_CFLAGS for the default GNU make build and absent with each of JSLIB=, JSINCLUDE= and JSLIBDIR=; the mapping compiles on a small file without the define. Not compiled with MSVC, and the CMake change has not been run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  166. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:46:07 GMT-0800 (PST)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    CI: find the core file of a crashed jsexec below the test tree The backtrace step added to the jsexec-testsuite job looked for a core file only in the job's working directory. On netbsd-amd64 jsexec crashed again and nothing was printed: the core is written to the process's current directory, and the test runner changes that to the directory of each test. The step now searches below the working directory, runs only when jsexec was ended by a signal, and says so when it finds no core file. Run by hand with a passing program, a plain failure, a crash without a core file and a crash with jsexec.core in a test directory. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  167. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:46:07 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/file/ini_unescape.js diff
    exec/tests/inet_domains/config/scratch.inc diff
    exec/tests/msgbase/notify/scratch.inc diff
    exec/tests/webmail/api_write.js diff
    exec/tests/webmail/client.js diff
    exec/tests/webmail/strings.js diff
    tests: run in the CI test tree, and stop replacing write() and read() Three faults in tests that the CI jobs found, none in the code under test: - file/ini_unescape.js and webmail/api_write.js each declared a top-level function named write, and webmail/client.js and strings.js one named read. The runner executes every test in one process and such a declaration replaces the built-in function for every test that runs later: global/rtypes.js then called the test's write("") and failed. The helpers are renamed. - The scratch configurations of inet_domains/config and msgbase/notify copied node1/node.ini from the installation. The CI test tree has no node directories; an empty node.ini is now created there instead. - They also gave the scratch node directory as an absolute path, which the configuration cuts at 100 characters: too short for the temp directory of most CI runners. It is now relative to the scratch ctrl directory. The whole suite (jsexec -U -S -f exec/tests/test.js) now passes in a tree laid out as the CI one, with only ctrl and exec and a long path; under jsdoor, file/ini_unescape.js and global/rtypes.js pass there. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  168. Deucе
    Fri Nov 20 2026 15:38:04 GMT-0800 (PST)
    Added Files:
    

    3rdp/build/js-execute-script-in-scope.patch diff
    src/sbbs3/tests/scoped_execution/declarations.sjs diff
    src/sbbs3/tests/scoped_execution/nested.sjs diff
    src/sbbs3/tests/scoped_execution/run.js diff
    src/sbbs3/tests/scoped_execution/throws.sjs diff
    Modified Files:

    3rdp/build/GNUmakefile diff
    src/sbbs3/exec.cpp diff
    src/sbbs3/js_global.cpp diff
    src/sbbs3/js_internal.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    Preserve scoped script execution with VAROBJFIX enabled Add JS_ExecuteScriptInScope to select the supplied scope as the declaration object without changing context options. Keep ordinary script execution on the existing VAROBJFIX path, including during callbacks and nested execution. Use the scoped entry point for load/require, js.exec, scoped exit handlers, and the BBS and mail processor script scopes. Add a standalone regression covering declaration isolation, nested require, exit handlers, exceptions, and deferred callbacks after garbage collection. Validated with jsdoor and jsexec with VAROBJFIX enabled, plus 49 existing jsexec checks each with default options and VAROBJFIX enabled. Engine probes also pass with the interpreter and MethodJIT. Closes #1372.

  169. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    CI: print a backtrace when jsexec crashes in the test suite On netbsd-amd64 jsexec has ended with a segmentation fault in every run of the test suite since the mailbox tests' store_rows.js arrived, right after store_read.js passes, and the job log says only "core dumped". The jsexec-testsuite job of every Unix platform now looks for a core file in its working directory when jsexec fails (jsexec.core, core or core.<pid>, by OS) and prints "thread apply all bt" from gdb, where gdb is installed, before failing as before. A run that passes, or fails without a core file, behaves as it did. The step was run by hand as a shell script with a passing program, a failing one and a core file present; it has not run on a CI runner. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  170. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    websrvr: file-area downloads are sent sandboxed and not sniffed A file requested from a file area (FileVPathPrefix) was sent with a Content-Type taken from its extension and nothing else. An uploaded .html or .svg file, opened through its link, was a page of whatever host name the link used: script in it ran with that site's origin and could act as the signed-in visitor there. Every file-area download now carries X-Content-Type-Options: nosniff Content-Security-Policy: sandbox The sandbox makes the browser treat the file as a document of its own: no script, and no access to the site's cookies, storage or pages. The file still displays. PDFs get nosniff only, because a browser's built-in PDF viewer does not start inside a sandbox. Listings (the index script), the rest of the web root and scripts are unchanged. Checked on a scratch web server on loopback with an .html, .svg, .pdf and .txt file in a file area: without the change none had either header; with it the first, second and fourth have both and the PDF has nosniff. In headless Firefox the test page's script did not run and the document's origin was "null". Built with GCC only. Fixes #1363 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  171. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts/webmail.ini diff
    docs/v322_new.md diff
    exec/tests/webmail/config.js diff
    exec/tests/webmail/shell.js diff
    webmail/lib/api.js diff
    webmail/lib/config.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/mods/README.txt diff
    Web mail client: the product name is spelled "WebMail" The default product name is "{system} WebMail" (was "{system} Webmail"), and so are the application name string, the comments of ctrl/modopts/webmail.ini, the mods README and the v3.22 notes. A sysop's own product_name is unaffected. Directory, file, setting and cookie names stay lowercase "webmail". Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  172. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    exec/load/mailbox.js diff
    exec/tests/mailbox/read.js diff
    exec/tests/webmail/address.js diff
    exec/tests/webmail/api_settings.js diff
    exec/tests/webmail/drafts.js diff
    exec/tests/webmail/send.js diff
    webmail/lib/address.js diff
    webmail/lib/api.js diff
    webmail/lib/drafts.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/lib/send.js diff
    webmail/root/js/compose.js diff
    webmail/root/js/format.js diff
    webmail/root/js/settings.js diff
    Web mail client: send from your other addresses; a reply keeps its address The From address was the user's alias at a domain they may send from. The From menu, in the compose panel and as the default in Settings, now offers: - the alias at each domain the user may send from (the default); - the user's own Internet address (user.netmail), when it is at one of those domains; - the real name written with dots (Rob.Swindell), when the system receives e-mail by real name. The last two are listed only when the mail server would deliver mail for that address to this user, since a user can type any address into user.netmail. Sending is allowed from any address the mail server delivers to the user at those domains (Address.own_address), listed or not: a name ctrl/alias.cfg points at them, and name#tag, which the server delivers to the user of the name unless that user blocked the tag (data/user/NNNN.smtpblock). The names of alias.cfg are not put in the menu, because a sysop can have dozens. A reply starts from the address its message was sent to when that is one of the user's own; before, only its domain followed. The compose panel adds that address to its menu for that message, and reply all leaves it out of the recipients. Address.system_resolvers() gains own.deliver_user(), which follows alias.cfg as the mail server's RCPT TO handling does (the whole address, then the name, then a user number, alias, the sysop's name or a real name). alias.cfg is read once per request and parsed as userdat.c alias() reads it. The mailbox library's get() returns headers.to_addr: the address the message was delivered to (the SMTP forward path). Drafts and settings store the chosen name as from_local beside from_domain ("" is the default name); a draft or settings file saved before reads as the default. settings.get returns from_addresses. The choice is checked when it is saved and again when the message is sent, so an address taken away in alias.cfg since cannot be sent from. Tests: webmail/address.js (the alias table, delivery for each kind of entry, tags and a blocked tag, the list, own_address, the stored choice), drafts.js (the reply's From, a tagged address, reply all, saving a name), send.js, api_settings.js, mailbox/read.js. Checked in headless Firefox on a scratch server: replies to mail sent to an alias.cfg name, a whole-address entry, a tagged address and the default address; a change of From in the compose panel; the default chosen in Settings. Run on Linux only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  173. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    docs: v3.22 notes: the web mail client, its mailbox, and fixes New entries: - Web Server: the web mail client and how it is turned on (the /webmail/ line in the [dir] section of ctrl/web_alias.ini, which an upgrade does not add); the per-user mailbox behind it (folders, Sent copies, Trash in a private mail base under data/user/<number>/). - SCFG: Purge Mailbox Trash by Age and Mailbox Quota (per user) under Message Options. - Mail Server: additional domains now live in msgs.ini, edited in SCFG, with Allow Send From; domains.cfg is read until it is converted and is left in place for older servers sharing the ctrl directory. - Stock Modules: mailauth.js also requires SMTP authentication of an outside sender claiming the system's Internet address. - JavaScript: User.can_send_from_domain(), system.inet_domain_list, server.max_inactivity. Fixes to shipped code already on master without a note: - Web Server: a kept-alive HTTPS connection closed when the server went back to wait for the next request (#1370); a request whose body stopped arriving held its connection without limit. - JavaScript: MsgBase.save_msg() and save_msg_from_file() with a recipient list left no short message for local recipients and did not touch the FidoNet netmail semaphore. Scripts that mail a list (bulkmail.js among them) now notify each local recipient. - JavaScript: a Message-ID of 256 characters or more was read past its end. - General: an ini value in the "key : value" form, or a filter file line, ending in a lone backslash was read past its end. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  174. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    webmail/tests/timing.sh diff
    Web mail client: timing script also times the requests that change mail webmail/tests/timing.sh, a tool a sysop runs against their own server with their own account, can now also time the write requests, 20 runs each (median, fastest, slowest, against the plan's budgets): - -w: star one message (turned back after each run), move it from the Inbox to a folder and back, the move followed by folder.list, draft.save of a 2 KB body and draft.attach of one 1,000,000-byte piece (the size the client sends; removed again after each run). - -S <address> [-N sends]: draft.send of a small message. It sends real mail, so it is off unless asked for, the address must be one of the signed-in account's own (checked against the addresses it may send from), and it sends -N messages (default 3), saying that they will arrive. The writes are safe on a real mailbox: the script uses the oldest read Inbox message (at least two days short of the Inbox's age limit, so moving it back cannot be refused), restores its star and folder, skips the moves when the mailbox is within 1 MB of its storage limit (a move into a folder could remove old Trash), creates its own folder and draft with names that say they are safe to delete and removes them, says what it will change before starting and asks when run from a terminal (-y skips that). On an error or an interrupt it puts things back; it finds the message by looking in its test folder, so a run stopped in the middle of a move is undone too, and it prints whatever it could not put back. Checked on a scratch server with SIGINT to the whole process group at four points of a run. Every request now goes out with an empty Expect header: for a body over 1 MB curl sends "Expect: 100-continue", which browsers do not, and waits a second for an answer the web server does not give, which made draft.attach look 1 s slower than it is. The read rows and the behavior without -w and -S are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  175. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Added Files:
    

    webmail/root/js/actions.js diff
    webmail/root/js/compose.js diff
    webmail/root/js/contacts.js diff
    webmail/root/js/dialog.js diff
    webmail/root/js/draftlist.js diff
    webmail/root/js/prefs.js diff
    webmail/root/js/settings.js diff
    webmail/root/js/theme.js diff
    Modified Files:

    exec/tests/webmail/client.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/root/css/style.css diff
    webmail/root/index.xjs diff
    webmail/root/js/app.js diff
    webmail/root/js/attachments.js diff
    webmail/root/js/folders.js diff
    webmail/root/js/format.js diff
    webmail/root/js/icons.js diff
    webmail/root/js/layout.js diff
    webmail/root/js/list.js diff
    webmail/root/js/mail.js diff
    webmail/root/js/notice.js diff
    webmail/root/js/reader.js diff
    webmail/root/js/rpc.js diff
    Web mail client: act on mail, write and send, contacts and settings The browser half of everything beyond reading. The message list is a grid (the WAI-ARIA grid pattern): each row has a checkbox, the message and a star button, still drawn from a small pool of rows. One tab stop; the arrow keys move between rows and controls; Space checks, Enter opens, Shift extends a range, Ctrl+A checks every loaded row, Delete deletes, s stars, z is Undo. Focus and checks follow a message by its id, also when a move gives it a new one. Sent rows show their delivery state, with a Report button for a failure notice that still exists. Acting on mail: star, mark read or unread, delete, move, Mark as spam and Not spam, restore from Trash, for one message or the checked rows, from the list's bar and the reader's toolbar. A change shows at once and is put back only for the messages the server could not change; one notice says what was done. Delete, move, spam and restore offer Undo for 10 seconds. Long selections go in several requests. Folders: New folder, Rename, Delete, and Empty Trash, each asking where mail would be lost. Show original shows a message's headers with a download of the whole message. Writing (compose.js): a panel docked at the bottom right, the whole screen on a phone. Opened by Compose, Reply, Reply all, Forward, or a draft in the new Drafts folder. - The draft is saved two seconds after the last change, before Send and on closing. Text the user typed is never dropped while the page is open and the page never claims a save that did not happen: a failed save is retried, a draft changed in another window is offered, and text not saved when the page goes away is kept in the tab and offered back to the same user. - A message the user changed nothing in (a reply's recipient, subject and quote are put there for them) leaves no draft when the panel is closed. - To, Cc and Bcc entries are chips with suggestions from the user's contacts (a WAI-ARIA combobox). From is a choice when the user has more than one sending address. - Attachments from the file picker or dropped on the panel are checked against the server's limits, uploaded in pieces of 1,000,000 bytes with a progress bar, and resumed after a lost connection. - A reply quotes the text the reader decoded; hidden HTML is never quoted. - Send closes the panel at once and reports the result. A lost connection retries the same attempt; "may already have been sent" asks before sending again. A draft being sent in another window is read-only until it is sent or comes back. From the message shown to its neighbors in the list: on a phone, where the list is out of sight, a bar under the message has Previous and Next and says where the message is ("2 of 133"); on a wide screen the toolbar has the two buttons; j and k do the same in the reader. A row not loaded yet is fetched first, and the list follows, so Back returns to the message last read. On a phone the product name is shown above the search field. Contacts and Settings are full views opened from the account menu. Contacts: search, add, edit, delete, Write to. Settings: the name used on Internet mail, the default From address, the signature, the theme (now also kept on the server, and on the page before it is drawn), the senders whose images are always shown, and the BBS account's mail forwarding. Images in HTML mail can be shown always for a sender, but never automatically in Spam or Trash, and only for Internet mail with a plain sender address. A sender name that could pass for an address is shown with its real address. Also: a page left open by another user reloads instead of acting; new mail is announced only for a message not seen before; a request that is safe to repeat gets one more try before "no connection"; the reader keeps each sender's avatar for the page's life. exec/tests/webmail/client.js pins, from the source text, the grid and combobox roles, the methods and request layout the client and server must agree on, the image rule and the ports of two server functions. Everything else was checked by driving headless Firefox against a scratch web server; no other browser, no phone and no screen reader has been tried. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  176. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Added Files:
    

    exec/tests/inet_domains/config/webmail_send.js diff
    exec/tests/inet_domains/config/webmail_send_child.inc diff
    exec/tests/webmail/address.js diff
    exec/tests/webmail/api_body.js diff
    exec/tests/webmail/api_drafts.js diff
    exec/tests/webmail/api_settings.js diff
    exec/tests/webmail/api_write.js diff
    exec/tests/webmail/contacts.js diff
    exec/tests/webmail/drafts.js diff
    exec/tests/webmail/mimewrite.js diff
    exec/tests/webmail/send.inc diff
    exec/tests/webmail/send.js diff
    exec/tests/webmail/send_recovery.js diff
    webmail/lib/address.js diff
    webmail/lib/contacts.js diff
    webmail/lib/drafts.js diff
    webmail/lib/mimewrite.js diff
    webmail/lib/send.js diff
    Modified Files:

    ctrl/modopts/webmail.ini diff
    exec/tests/webmail/api.js diff
    exec/tests/webmail/config.js diff
    exec/tests/webmail/download.js diff
    exec/tests/webmail/kit.js diff
    exec/tests/webmail/session.js diff
    exec/tests/webmail/shell.js diff
    exec/tests/webmail/strings.js diff
    exec/tests/webmail/userdata.js diff
    webmail/lib/api.js diff
    webmail/lib/config.js diff
    webmail/lib/download.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/lib/session.js diff
    webmail/lib/shell.js diff
    webmail/lib/userdata.js diff
    webmail/root/api.ssjs diff
    Web mail client: server side of acting on mail, writing and sending The API (webmail/lib/api.js, root/api.ssjs) gains the calls that change mail and the libraries behind writing and sending a message. Acting on mail, each a thin call of the mailbox library's Store with per-id results ({id, ok, new_id} or {id, error}) and the state token after the write: - message.set {ids, read, starred, spam} (at most 200 ids), message.move, message.delete and message.undelete (at most 50), trash.empty, folder.create, folder.rename, folder.delete (a refused name comes back with the Store's reason), and message.original. - folder.list reports the Inbox's age limit and the number of drafts. message.get computes the sender's avatar only when asked. A page acts only as its user: a request carries "as", the user number the page was started for. When someone else has signed in since, the whole request is refused ("stale") before any call runs. A signed-in request holding a write must carry "as", and a request the client makes on its own (background: true) cannot change mail. The session cookie is SameSite=Lax, not Strict: with Strict, Safari on iOS left the cookie out of a reload of the page one second after an API request that carried it, so a signed-in user had to sign in again. Requests another site makes from its own page still come without it. Addresses (address.js): parse_list() reads a To, CC or BCC field and refuses, naming the entry, control and bidirectional characters, invalid UTF-8, unbalanced quoting, group syntax, source routes and over-long input. resolve() classifies a recipient: a local user as the terminal's mail command finds one; an address at one of the system's own domains only for a plain alias or name match (anything alias.cfg or the mail server's own rules would treat differently stays Internet mail); FidoNet as zone:net/node[.point]; QWK as name@QWKID when the system has a route; an Internet domain must be a plain host name. clean(), format() and identity() make names safe for a header and give the sender name as the terminal writes it. The From domains a user may use come from system.inet_domain_list and User.can_send_from_domain(). Drafts (drafts.js): each draft is a directory with a server-chosen name under the user's web mail directory, holding draft.json and one file per attachment. Every operation runs under one per-user lock. save() carries a revision, so a second window cannot silently overwrite the first. Attachments arrive in base64 pieces whose offset must match the bytes received; a repeated last piece is acknowledged without appending. A reply's recipients come from the Store's structured lists; a forward copies the source's attachments all or nothing. Stale uploads, empty drafts and leftovers go after 24 hours. Sending (send.js, mimewrite.js): MimeWrite builds one text/plain UTF-8 part, or multipart/mixed with each attachment base64-encoded in pieces, never held whole. Send.send() makes every check first (recipients, the terminal's sending rules via User.can_send_mail(), netmail cost against credits, the From domain, the limits), then the Sent copy, then one save per kind of recipient, then the finish (credits, counters, replied, the draft removed). - A send claims its draft by renaming it and keeps a record with the claim, written before each phase, with an owner token and a heartbeat. Each send has its own random Message-ID, by which its copies are found again. - Once delivery has begun a message is never sent again as a whole: recovery saves copies only for the recipients that have none, and when that cannot be told the draft comes back marked "may have been sent" and goes out again only after the user confirms. - A failed delivery rolls back only when every copy could be recalled; each recall is recorded so a recalled recipient is served again. - A client key makes a repeated send return the recorded outcome. - A claim with no heartbeat for 600 s is completed or given back by the next draft.list or folder.list that is not a background request (at most two per request); a claim that saved nothing comes back by itself after an hour. - A send adds its recipients to the sender's contacts by default. - Parallel sends can exceed the daily limit and the credits by the number of sends at once; send.js says why. Contacts (contacts.js): the user's address book, at most 500 contacts of 1 to 10 addresses, with suggestions that only ever read the user's own book. Settings (settings.get/set): display name, From domain, theme, the senders whose images are always shown, the mail signature, and the user's existing mail forwarding, written as the terminal writes it with the terminal's address checks. Every argument is checked before anything is written. Request bodies: 256 KB, more only for a request of exactly one draft.attach or draft.save call, never above the web server's 4 MiB; api.ssjs applies the size, method, header, HTTPS and sign-in gates before such a body is parsed. Settings in ctrl/modopts/webmail.ini: max_body_bytes, max_recipients (50), max_message_bytes (20 MB, the mail server's default MaxMsgSize), max_attachment_bytes (by default the largest file that fits a message). The default poll_interval is half the web server's idle limit (server.max_inactivity), between 15 and 60 seconds, so an open page's check does not arrive just as its connection is closed. Fewer file operations per request, for data and exec directories on a network mount: libraries load on first use, one User object per request, the drafts lock rewrites no file. Counted with strace on a scratch web server: the check for new mail 367 before, 200 after; folder.list 549, 406; message.get 848, 339; a send to a local user 1,823, 1,530. Tests in exec/tests/webmail (21 files) use scratch bases and directories; inet_domains/config/webmail_send.js sends with a real User and domain list in a scratch configuration. The API was also exercised through a scratch web server on a loopback port. Run on Linux only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  177. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Added Files:
    

    exec/tests/mailbox/store_refresh.js diff
    exec/tests/mailbox/store_sent.js diff
    Modified Files:

    exec/load/mailbox.js diff
    exec/load/mailbox_files.js diff
    exec/load/mailbox_tags.js diff
    exec/tests/mailbox/files.js diff
    exec/tests/mailbox/read.js diff
    exec/tests/mailbox/store_limits.js diff
    exec/tests/mailbox/store_read.js diff
    exec/tests/mailbox/store_write.js diff
    exec/tests/mailbox/tags.js diff
    Mailbox library: Sent copies, safer shown text, fewer file operations What a client that sends mail and changes mail needs from the Store: - save_sent(header, body_path): a Sent copy saved from a body file (never a JavaScript string), tagged $Sent $Unsent, from the user and with no to_ext, so it never counts as mail received and cannot be moved to the Inbox. Made inside one Summary.modify() after the move journal is reconciled, under the quota rule of moves into the private base. mark_sent(id) removes $Unsent once the mail was delivered; remove_sent(id) removes an unsent copy for real (a delivered copy is refused); find_sent(message_id) finds a copy whose number was never recorded; set_replied(id) sets the replied attribute. A Sent copy whose outcome is not known is tagged $Unknown and listed with delivery "unknown". get().headers.bcc is the BCC list a Sent copy keeps (for $Sent messages only). - A Sent item whose delivery failed carries the id of the failure notice (delivery.notice) while that notice is still in the user's mail; the newest wins. A Sent page reads no extra header for it. - inbox_max_age() is a public method: the days the Inbox keeps mail (the mail base's max_age), 0 for no limit. Text that is shown to the user: - Recipient lists are parsed from the raw header first and each display name is decoded afterwards. An encoded word that decodes to "Alice <alice@x.example>, Mallory" can no longer add a recipient to a reply; before, the whole list was decoded and then parsed. get() adds headers.to_list, cc_list and reply_to_list ([{name, addr}]), and to, cc and reply_to are written from the same entries. - Bidirectional controls (U+061C, U+200E, U+200F, U+202A to U+202E, U+2066 to U+2069) are removed from decoded names and from the from, to and subject of list items. The sender address is shown without control characters and marked from_addr_bad when it held one. - Folder names refuse those controls and the C1 control characters, with the existing reason "invalid". Fewer file operations per call, for a data directory on a network mount: - mailbox.js loads its tag, summary and MIME libraries, smbdefs.js and 822header.js on first use; state() needs none of them. - refresh() uses the shared base handle that Store.open() made as it is, for the first call only. Every later call reopens, because a handle opened earlier returns header fields as of its open after another handle rewrote them in place (#1356), and a flag change could write those old fields back. - JsonFiles.locked(name, fn) takes a file's lock without rewriting the file; update() is built on it. The move journal is not touched. Tests in exec/tests/mailbox: store_sent.js and store_refresh.js are new; read.js gains crafted To, Cc, Reply-To and From headers; files.js covers locked(). Run on Linux only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  178. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ctrl/MainFormUnit.dfm diff
    src/sbbs3/ctrl/MainFormUnit.h diff
    sbbsctrl: remove the Mail->Edit->Domain List menu item The item opened ctrl/domains.cfg in a text editor. The additional domains list now lives in [domain:<name>] sections of ctrl/msgs.ini, edited in SCFG (Networks->Internet E-mail->Additional Domains), and this version stops reading domains.cfg once the list is converted, so the item would edit, or create, a file that is ignored. The menu item's object is removed from MainFormUnit.dfm and its declaration from MainFormUnit.h; it had no other references (its OnClick handler, CtrlMenuItemEditClick, is shared and stays). Not built: Borland C++ Builder is not available here, so this change has not been compiled or run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  179. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:42 GMT-0800 (PST)
    Added Files:
    

    exec/load/domains_cfg_upgrade.js diff
    exec/tests/inet_domains/access.js diff
    exec/tests/inet_domains/config/child.inc diff
    exec/tests/inet_domains/config/configured.js diff
    exec/tests/inet_domains/config/equivalence.js diff
    exec/tests/inet_domains/config/equivalence_child.inc diff
    exec/tests/inet_domains/config/fallback.js diff
    exec/tests/inet_domains/config/fallback_child.inc diff
    exec/tests/inet_domains/config/scratch.inc diff
    exec/tests/inet_domains/config/skipif diff
    exec/tests/inet_domains/mailauth.js diff
    exec/tests/inet_domains/matcher.js diff
    exec/tests/inet_domains/skipif diff
    exec/tests/inet_domains/upgrade.js diff
    Modified Files:

    exec/mailauth.js diff
    exec/update.js diff
    src/sbbs3/gtkmonitor/events.c diff
    src/sbbs3/gtkmonitor/events.h diff
    src/sbbs3/gtkmonitor/gtkmonitor.glade diff
    src/sbbs3/gtkmonitor/gtkmonitor_glade.c diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgnet.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    src/sbbs3/umonitor/umonitor.c diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    Removed Files:

    ctrl/domains.cfg diff
    Additional domains: move from ctrl/domains.cfg to msgs.ini [domain:] The list of additional Internet domains (mail for them is local, and a sender claiming one from outside is suspect) was a hand-edited filter file, ctrl/domains.cfg, re-read by findstr() on every check. It is now part of the message configuration: one [domain:<name>] section per entry in ctrl/msgs.ini, in order, with two new settings: send_from = false users may send from this domain send_ars = requirements to do so (blank = any user allowed to send Internet e-mail) The names are matched exactly as the lines of domains.cfg were: the configured names are handed, in order, to findstr_in_list(), so wildcards, negation, sub-string and prefix patterns keep their meaning. A section name is stored verbatim; the ini reader takes the text up to the last ']', so names containing '*', '!' or ']' read back unchanged. Shared helpers in the configuration library: - inet_domain_listed(): is a host one of the additional domains (used by the mail server everywhere it read domains.cfg, and by netmail.cpp to decide that an address is not remote) - user_can_send_from_inet_domain(): may a user send from a domain: only an entry that is a plain host name (letters, digits, dots and hyphens) and local by the whole list, with send_from on, for an active, non-guest user allowed to send Internet e-mail who meets send_ars (the system's own address is always allowed for such a user) The mail server picks up a changed list when it is recycled. domains.cfg is never renamed or removed, because a mail server still running an older binary (not yet restarted, or another host sharing the ctrl directory) reads it for every message. Instead: - While msgs.ini has no [domain:] section and no "domains_converted = true" in its [Internet] section, the configuration loader reads domains.cfg as the list (send_from off), so binaries upgraded before "jsexec update.js" has run keep their domains. Everything that consults the list agrees meanwhile: the mail server, netmail, system.inet_domain_list, User.can_send_from_domain() and mailauth.js. The mail server says at startup and recycle that the list came from domains.cfg and that update.js converts it. - update.js (new library exec/load/domains_cfg_upgrade.js) appends one section per entry, in order, and then sets the key; it sets only the key when the entries are all sections already, and does nothing once the key is set. It then says the file is no longer used and may be deleted once every host sharing the ctrl directory runs this version. - SCFG shows the entries read from the file with a one-time notice, and writes the key with every save of msgs.ini. Once the key is set the file is never read, so a list emptied in SCFG stays empty. The fallback reader (C) and the converter (JS) read the file by the same rules, stated on both sides, so the list answers every host as findstr() on the file did: lines are read as find2strs() read them (1000-character pieces, leading white space skipped, c_unescape_str() applied, text from the first tab cut, trailing white space removed); comments, empty lines and later duplicates are dropped except where the last line decides hosts that no entry matches; a name that cannot be a section name (over 255 characters, CR or LF, leading white space) becomes an inert ";" entry, with a warning from the converter. At most 10000 lines are read. As before, a list that ends with a negated ("!") entry makes every other host match. SCFG, the converter and the mail server now warn about such a list, and the help text says the first entry that matches a domain decides, so a negated entry belongs before the wildcard entry it is an exception to. SCFG: Networks->Internet E-mail->Additional Domains lists, adds, deletes and edits the entries (name, Allow Send From, and Send Requirements, listed only when Allow Send From is Yes); the search index is regenerated. JavaScript: system.inet_domain_list, a read-only array of strings like system.fido_addr_list: the system's primary Internet address first, then the configured names in order. Matching a host against it is the existing system.findstr(system.inet_domain_list, host). The per-user question is a User method, beside can_send_mail(): user.can_send_from_domain(domain), which is also true for the system's own address for any active, non-guest user allowed to send Internet e-mail. mailauth.js uses the list; since the list includes the system address, an unauthenticated outside sender claiming system.inet_addr is now treated as one claiming system.host_name already was (the two are often the same name). exec/ can be shared with a host still running a binary without system.inet_domain_list: there mailauth.js checks ctrl/domains.cfg as it did before. The stock, comment-only ctrl/domains.cfg is removed from the repository. umonitor's and gtkmonitor's "edit domains.cfg" menu entries are removed (gtkmonitor's embedded copy of the menu layout included). Tests: exec/tests/inet_domains: the conversion in a scratch directory; the matching rules; script access against the loaded configuration; mailauth.js with and without the property; and, through a child jsexec on a scratch ctrl directory, the configured list with scratch users, the fallback (file only, sections only, both, the key set or not) and 22 variants of domains.cfg for which the old file, the fallback list and the converted list must give 13 hosts the same answers. The child jsexec tests are skipped where /proc is not available, Windows included. Saving from SCFG and the mail server's decisions over SMTP were checked by hand on scratch configurations. Compiled with GCC only (libsbbs, scfg, umonitor, gtkmonitor); not built with MSVC or for Windows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  180. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Added Files:
    

    exec/tests/server/max_inactivity.js diff
    Modified Files:

    src/sbbs3/js_server.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/services.cpp diff
    src/sbbs3/websrvr.cpp diff
    JS server object: add read-only server.max_inactivity (seconds) A script run by a server can now relate its own timing to that server's idle limit, e.g. a web page that polls can choose an interval that does not land just as the server closes a kept-alive connection. The value per server: - Web Server: its MaxInactivity (after the built-in default is applied). - Mail Server: its MaxInactivity (likewise). - Terminal Server: the session limit, MaxSessionInactivity. It has four other stage-specific limits; console.max_socket_inactivity gives the one in force at the moment, as the property's description says. - Services: 0, meaning the server has no single inactivity limit. - The FTP Server runs no scripts, so it creates no server object and nothing changes there. jsexec, jsdoor and background load() threads create no server object either, as before. Each server sets the value inside its recycle loop, so a changed setting is reported after the server is recycled. The new field is appended to js_server_props_t in sbbs.h, an internal struct that only the servers and libsbbs share; it is not part of the *_startup_t structs that the Control Panel checks. Tested with GCC only (Linux): a scratch Web Server on loopback reported 45, then 120 after a recycle with a changed MaxInactivity. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  181. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: do not run a request whose body never arrived read_post_data() read a body of known length (not chunked, at most MAX_POST_LEN) with recvbufsocket() and returned true whatever it got. When the body stopped arriving (the peer was idle past MaxInactivity, or closed the connection), recvbufsocket() closed the session socket and returned 0, and the request was handled anyway: the script ran with an empty body and its reply went to a closed socket. Now nothing read means no request: read_post_data() returns false, as it already did when a larger body (spooled to a file) or a chunk could not be read. Older than the earlier body-read fix, which made the wait end at MaxInactivity over HTTPS instead of never. Reproduced on a scratch web server on loopback (MaxInactivity 10 s), with a script that appends a line to a file each time it runs: a POST with Content-Length 1000 and 500 body bytes, then silence. Before: over HTTPS and plain HTTP the connection was closed after 10 s and the script still ran, each time with an empty body ("ran 0"). After: closed after 10 s, the script not run. A body sent in two halves 1 s apart runs it with all 1000 bytes, over HTTP and HTTPS. The keep-alive checks of the earlier fixes pass unchanged. Built with GCC only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  182. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: end a session whose request body stops arriving A client that sent request headers with a Content-Length and then fewer body bytes than that held its session thread for as long as it kept the connection open, with no limit: MaxClients such connections, from anyone and before any authentication, stop the web server. recvbufsocket() waited for more body data with session_check(), which returns true both when data is readable and when the wait times out with nothing to read; the loop could not tell the two apart. Over HTTPS the read that followed found no record and went round again, each pass waiting MaxInactivity: this came with the keep-alive fix, d7ce390ffa (wave-63-zinc, 2026-11-19), which made "no TLS data yet" mean wait for more instead of close. Over plain HTTP the read that followed was a blocking recv() with no timeout at all, which is older. Now recvbufsocket() asks session_check() whether the socket is readable and, when the wait ended with nothing to read, logs "Session timeout due to inactivity" (as sockreadline() does for a request line or header) and closes the session. The bound is the idle time between pieces of the body, not the time for the whole body: a client that keeps sending stays connected. A plain recv() that returns EAGAIN now waits again instead of adding -1 to the byte count. sockreadline(), the other loop the keep-alive fix changed, already bounds each wait with socket_readable() and needs no change. Reproduced on a scratch web server on loopback (MaxInactivity 10 s, Python client): a POST with Content-Length 1000 and 500 body bytes, then silence. Before: over both HTTPS and HTTP the connection was still open, and the session thread still counted, when the client gave up after 120 s. After: both closed after 10 s with the log line. A body sent in two halves 4 s apart is answered (both, before and after); a body that trickles one byte every 6 s stays connected, then is closed 10 s after the last byte. The keep-alive battery of the earlier fix (2 and 5 requests per connection with pauses up to 10 s, split request line, request and POST body cut mid-TLS-record) passes unchanged. Built with GCC only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  183. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/webmail/api.js diff
    tests/webmail/api.js: forge a session key that really differs The "forged cookie values" case built its forged key by replacing the first character of a real session key with "f". The key is random hex, so one time in sixteen it already began with "f": the "forged" cookie was then the valid one, the server rightly accepted it, and the test failed with "forged values: not signed in". Use "e" when the key begins with "f", and assert that the forged key differs from the real one. The test now passed 48 runs in a row; before, it failed about one run in sixteen. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  184. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Added Files:
    

    exec/tests/msgbase/notify/rcpt_list.js diff
    exec/tests/msgbase/notify/rcpt_list_child.inc diff
    exec/tests/msgbase/notify/scratch.inc diff
    exec/tests/msgbase/notify/skipif diff
    Modified Files:

    src/sbbs3/js_msgbase.cpp diff
    src/sbbs3/postmsg.cpp diff
    src/sbbs3/sbbs.h diff
    Notify recipients of mail saved to a recipient list MsgBase.save_msg() and save_msg_from_file() given a recipient list stored the message with savemsg(), which saw a header with no recipient and so skipped its post-save work, then added one header per recipient with smb_addmsghdr(), which does none of it either. So mail saved to a list, even a list of one, left no "sent you E-mail" short message for a local recipient and never touched the FidoNet netmail semaphore for a FidoNet recipient (nor a sub-board's semaphores, for a sub saved to a list). The semaphore and short-message lines of savemsg() are now a function of their own, announce_saved_msg(), unchanged: the same conditions, texts and user lookup. savemsg() calls it where it ran those lines, and the recipient loop in js_msgbase.cpp calls it after each header it adds, so each recipient of a list is handled as a single recipient is. A list with several FidoNet recipients touches the semaphore once per recipient. The mail server's own recipient loop, which notifies in its own way, is unchanged. As before, a mail base opened by path is not the configured mail base: no short message is left for its recipients. New test exec/tests/msgbase/notify/rcpt_list.js saves to the "mail" base of a scratch configuration and data directory (below the test jsexec's system.temp_dir, removed afterwards) in a child jsexec, which refuses to run unless its data directory is inside the scratch tree. It is skipped where /proc is unavailable (the child jsexec is located through it). Without the fix the list cases fail: no short message for the recipient or the sender, and the semaphore untouched; the single-recipient cases pass either way. Built and tested with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  185. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Added Files:
    

    exec/tests/msgbase/long_msgid.js diff
    Modified Files:

    src/sbbs3/js_msgbase.cpp diff
    src/sbbs3/msg_id.c diff
    get_msgid(): terminate the caller's buffer When the message has a Message-ID of its own, get_msgid() copied it to the caller's buffer with strncpy() and returned the message's own pointer. strncpy() does not terminate the buffer when the ID is as long as the buffer or longer, so every caller that uses the buffer rather than the return value read past its end. The MsgBase header object's "id" property was one: for a stored Message-ID of 256 bytes or more it was the first 256 bytes followed by whatever followed the 256-byte buffer on the stack, up to the next NUL. This has been so since get_msgid() took a caller's buffer, in 73134a2c86 (items-12-quick, 2008-02-25). get_msgid() now copies with strlcpy(), so the buffer is always terminated (and truncated to fit), and still returns the message's own ID in full. The "id" property now takes the return value, so it is the whole Message-ID, however long. The other callers that use the buffer get a terminated, truncated ID: get_replyid() (the Reply-ID of a new reply, when the message replied to has an ID that long) and the QWK export's Message-ID and voting lines. Callers that use the return value (the mail server's Message-ID header and bounce message) are unchanged, and so are the paths that generate an ID, which always terminate. Reproduced and verified with the new test exec/tests/msgbase/long_msgid.js (IDs of 100, 255, 256 and 300 bytes saved to a scratch base opened by path and read back through get_msg_header(), expanded and not, and get_all_msg_headers(); before, the 300-byte ID read back as 256 bytes), and with AddressSanitizer on a small harness linking msg_id.c: before, a stack-buffer-overflow (a 257-byte read of the 256-byte buffer); after, a 255-byte terminated string. Built and tested with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  186. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Added Files:
    

    exec/tests/file/ini_unescape.js diff
    Modified Files:

    src/xpdev/genwrap.c diff
    xpdev: c_unescape_char_ptr() no longer steps past a string's end A string ending in a lone backslash made c_unescape_char_ptr() step past the terminating NUL, so c_unescape_str() and c_unescape_printable() went on reading (and, in place, writing) beyond the end of the string until the next NUL in memory. The backslash still yields NUL, so the string ends at it, as before. This has been the case since the unescape functions were created in 279370dc3f (room-3-your, 2004-08-04). Callers reach it with input from files: ini "key : value" string literals (ini_file.c unescapes the key, then the value, in the same line buffer), filter files read by findstr(), and @-code and message display (atcodes.cpp, putmsg.cpp). An ini line such as "key\:value" returned "alue" for "key": unescaping the key ran on into the value and shifted it over by one character. Test: exec/tests/file/ini_unescape.js (ini literals ending in a backslash, also inside quotes, at end of file and at the end of a key; findstr() on a file whose last line ends in a backslash). Without the fix the key case fails ("alue", expected "value"). An AddressSanitizer harness calling c_unescape_str() on a heap copy of "abc\" reported a heap-buffer-overflow read before the fix and none after it. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  187. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 15:23:41 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts.ini diff
    exec/listfiles.js diff
    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    listfiles.js: the lightbar pane shows a cut-short filename in full When the list's filename column cuts a file's name short, the lightbar style's preview pane now starts with the full name (the new preview_name_fmt option), unless the description column already shows it: a file without a description is listed with its filename as the description, as is one whose description is its filename. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  188. Rob Swindell (on Debian Linux)
    Fri Nov 20 2026 14:39:53 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/listfiles/lib.js diff
    tests/listfiles/lib.js: load attr_option.js first, for jsdoor Every jsdoor-testsuite job failed this test with "listfiles_lib.js line 8 Error: can't open attr_option.js". jsdoor has no exec dir to resolve the library's bare require("attr_option.js") against. Loading the file by path first does not help on its own: jsdoor's JSOPTION_VAROBJFIX binds the loaded functions to the global object, while require() looks for the symbol only on the js.exec() scope the test runs in (#1372). So the test also puts attr_option on its own scope, and the library's require() finds it there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  189. Deucе
    Fri Nov 20 2026 14:36:42 GMT-0800 (PST)
    Modified Files:
    

    src/ssh/CMakeLists.txt diff
    DeuceSSH: preserve MSVC atomics flags with Botan Visual Studio evaluates target-wide COMPILE_LANGUAGE options as CXX for mixed C/C++ libraries, dropping the C11 atomics flag from C sources. Apply the flag directly to the C sources so both static and shared Botan builds retain it. Validated with a before/after CMake configuration check and native Botan static and shared builds. Actual MSVC validation remains for Windows CI.

  190. Deucе
    Fri Nov 20 2026 10:06:11 GMT-0800 (PST)
    Added Files:
    

    src/ssh/.gitattributes diff
    src/ssh/.github/workflows/ci.yml diff
    src/ssh/cmake/DeuceSSHABI.cmake diff
    src/ssh/cmake/DeuceSSHCheckState.cmake diff
    src/ssh/cmake/DeuceSSHInstallConfig.cmake.in diff
    src/ssh/cmake/DeuceSSHOptions.cmake diff
    src/ssh/deucessh-abi.h diff
    src/ssh/deucessh-result.h diff
    src/ssh/docs/consumer-migration.md diff
    src/ssh/examples/server-io.h diff
    src/ssh/examples/server-output.h diff
    src/ssh/examples/server-port.h diff
    src/ssh/examples/server-shell.h diff
    src/ssh/examples/zlib-comp.c diff
    src/ssh/examples/zlib-comp.h diff
    src/ssh/kex/dh-fixed.c diff
    src/ssh/kex/mlkem768x25519-sha256.c diff
    src/ssh/kex/workspace.c diff
    src/ssh/kex/workspace.h diff
    src/ssh/kex/x25519-ops.h diff
    src/ssh/key_algo/client-key.c diff
    src/ssh/key_algo/client-key.h diff
    src/ssh/key_algo/key-context-botan.h diff
    src/ssh/key_algo/key-context-openssl.h diff
    src/ssh/key_algo/key-file-common.h diff
    src/ssh/key_algo/key-file-openssl.h diff
    src/ssh/key_algo/key-rsa-cache.h diff
    src/ssh/key_algo/key-text.h diff
    src/ssh/key_algo/key-wire.h diff
    src/ssh/key_algo/native-key-botan.cpp diff
    src/ssh/key_algo/native-key-botan.h diff
    src/ssh/key_algo/native-key-pool.c diff
    src/ssh/key_algo/native-key-pool.h diff
    src/ssh/key_algo/signature-result.c diff
    src/ssh/key_algo/signature-result.h diff
    src/ssh/mac/hmac-openssl.h diff
    src/ssh/posix/timespec.c diff
    src/ssh/ssh-packet.h diff
    src/ssh/ssh-ring.h diff
    src/ssh/ssh-thread-shim.h diff
    src/ssh/ssh-time.h diff
    src/ssh/ssh-timespec.h diff
    src/ssh/ssh-window.h diff
    src/ssh/standards/rfc10042.txt diff
    src/ssh/standards/rfc3526.txt diff
    src/ssh/standards/rfc8268.txt diff
    src/ssh/standards/rfc9142.txt diff
    src/ssh/standards/rfc9941.txt diff
    src/ssh/test/abi-driver.c diff
    src/ssh/test/abi.cmake diff
    src/ssh/test/accept_callback_cases.h diff
    src/ssh/test/accept_failure_cases.h diff
    src/ssh/test/allocation_direct_controls.py diff
    src/ssh/test/allocation_owner_controls.py diff
    src/ssh/test/allocation_pair_fixture.h diff
    src/ssh/test/assertion_controls.py diff
    src/ssh/test/auth_callback_cases.h diff
    src/ssh/test/auth_continuation_cases.h diff
    src/ssh/test/auth_discovery_fixture.h diff
    src/ssh/test/auth_framing_cases.h diff
    src/ssh/test/auth_helper_cases.h diff
    src/ssh/test/auth_post_success_cases.h diff
    src/ssh/test/auth_request_boundary_cases.h diff
    src/ssh/test/auth_result_fixture.h diff
    src/ssh/test/auth_state_wire_cases.h diff
    src/ssh/test/break_handler_cases.h diff
    src/ssh/test/break_handler_peer.c diff
    src/ssh/test/break_ssh_interop.py diff
    src/ssh/test/break_ssh_peer.go diff
    src/ssh/test/build_break_ssh_peer.py diff
    src/ssh/test/build_options.cmake diff
    src/ssh/test/build_options_fixture.cmake diff
    src/ssh/test/bytebuf_ring_cases.h diff
    src/ssh/test/c_standard_fixture/options.cpp diff
    src/ssh/test/channel_control_cases.h diff
    src/ssh/test/channel_id_cases.h diff
    src/ssh/test/channel_pair_cases.h diff
    src/ssh/test/channel_params_cases.h diff
    src/ssh/test/channel_unit_controls.py diff
    src/ssh/test/channel_unit_fixture.h diff
    src/ssh/test/channel_unit_owner_cases.h diff
    src/ssh/test/channel_worker_cases.h diff
    src/ssh/test/check_abi.cmake diff
    src/ssh/test/check_mlkem_hash_vectors.py diff
    src/ssh/test/check_output.cmake diff
    src/ssh/test/check_output_test.cmake diff
    src/ssh/test/client-keys.cmake diff
    src/ssh/test/client_example_driver.c diff
    src/ssh/test/client_example_interop.py diff
    src/ssh/test/close_outcome_cases.h diff
    src/ssh/test/close_reservation_cases.h diff
    src/ssh/test/compression_fixture.h diff
    src/ssh/test/compression_libssh_client.c diff
    src/ssh/test/compression_peer_server.c diff
    src/ssh/test/condition_wait_cases.h diff
    src/ssh/test/conn_actor_cases.h diff
    src/ssh/test/conn_callback_cases.h diff
    src/ssh/test/conn_callback_fixture.h diff
    src/ssh/test/conn_consume_cases.h diff
    src/ssh/test/conn_consume_fixture.h diff
    src/ssh/test/conn_eof_cases.h diff
    src/ssh/test/conn_eof_fixture.h diff
    src/ssh/test/conn_event_fixture.h diff
    src/ssh/test/conn_flow_cases.h diff
    src/ssh/test/conn_flow_fixture.h diff
    src/ssh/test/conn_helper_cases.h diff
    src/ssh/test/conn_lifecycle_cases.h diff
    src/ssh/test/conn_lifecycle_fixture.h diff
    src/ssh/test/conn_storage_cases.h diff
    src/ssh/test/conn_storage_fixture.h diff
    src/ssh/test/conn_stream_fixture.h diff
    src/ssh/test/conn_wire_cases.h diff
    src/ssh/test/conn_wire_fixture.h diff
    src/ssh/test/conn_zc_cases.h diff
    src/ssh/test/conn_zc_fixture.h diff
    src/ssh/test/control_framing_cases.h diff
    src/ssh/test/counter_controls.py diff
    src/ssh/test/crypto_contract_cases.h diff
    src/ssh/test/data/NIST-ACVP-NOTICE.txt diff
    src/ssh/test/data/mlkem_acvp_sources.json diff
    src/ssh/test/data/mlkem_hash_sources.json diff
    src/ssh/test/dh_group_result_cases.h diff
    src/ssh/test/dh_group_result_provider.c diff
    src/ssh/test/dh_group_result_provider.h diff
    src/ssh/test/direct_kex_cases.h diff
    src/ssh/test/direct_kex_fixture.h diff
    src/ssh/test/dssh_test_botan_base64.h diff
    src/ssh/test/dssh_test_botan_cipher.cpp diff
    src/ssh/test/dssh_test_botan_cipher.h diff
    src/ssh/test/dssh_test_botan_hash.cpp diff
    src/ssh/test/dssh_test_botan_hash.h diff
    src/ssh/test/dssh_test_botan_mac.cpp diff
    src/ssh/test/dssh_test_botan_mac.h diff
    src/ssh/test/dssh_test_counter.h diff
    src/ssh/test/dssh_test_key_file.h diff
    src/ssh/test/dssh_test_value.h diff
    src/ssh/test/event_body_cases.h diff
    src/ssh/test/event_delivery_cases.h diff
    src/ssh/test/event_overflow_cases.h diff
    src/ssh/test/event_text_cases.h diff
    src/ssh/test/event_text_queue_cases.h diff
    src/ssh/test/fatal_driver_child.c diff
    src/ssh/test/fatal_driver_policy.cmake diff
    src/ssh/test/fixture_owner_controls.py diff
    src/ssh/test/fixture_writer.h diff
    src/ssh/test/gather_batch_cases.h diff
    src/ssh/test/gather_full_cases.h diff
    src/ssh/test/generate_sntrup_rejection.py diff
    src/ssh/test/half_close_cases.h diff
    src/ssh/test/import_mlkem_acvp.py diff
    src/ssh/test/incoming_control_cases.h diff
    src/ssh/test/kbi_prompt_count_cases.h diff
    src/ssh/test/kbi_result_cases.h diff
    src/ssh/test/kbi_result_provider.c diff
    src/ssh/test/kbi_result_provider.h diff
    src/ssh/test/kex_io_cases.h diff
    src/ssh/test/kex_result_fixture.h diff
    src/ssh/test/kex_state_cases.h diff
    src/ssh/test/key_availability_cases.h diff
    src/ssh/test/key_borrow_cases.h diff
    src/ssh/test/key_context_fixture.h diff
    src/ssh/test/key_context_fixture_botan.cpp diff
    src/ssh/test/key_fd_exec_probe.c diff
    src/ssh/test/key_file_cpp_alloc.cpp diff
    src/ssh/test/key_file_cpp_alloc.h diff
    src/ssh/test/key_file_cpp_bridge.c diff
    src/ssh/test/key_material_cases.h diff
    src/ssh/test/key_publication_cpp.cpp diff
    src/ssh/test/key_publication_cpp.h diff
    src/ssh/test/key_text_reference.h diff
    src/ssh/test/key_validation.py diff
    src/ssh/test/key_wire_vectors.h diff
    src/ssh/test/language_cases.h diff
    src/ssh/test/libssh_example_server.c diff
    src/ssh/test/libssh_mac_interop.py diff
    src/ssh/test/libssh_mac_peer.c diff
    src/ssh/test/lifecycle_phase_cases.h diff
    src/ssh/test/log_queue_cases.h diff
    src/ssh/test/mlkem_acvp.h diff
    src/ssh/test/mlkem_acvp_data.c diff
    src/ssh/test/mlkem_acvp_vectors.h diff
    src/ssh/test/mlkem_hash_retirement.h diff
    src/ssh/test/mock_io_controls.py diff
    src/ssh/test/mock_io_win32.h diff
    src/ssh/test/module_counter_controls.py diff
    src/ssh/test/module_init_cases.h diff
    src/ssh/test/negotiation_pair_cases.h diff
    src/ssh/test/notification_flag_cases.h diff
    src/ssh/test/openssh_interop.py diff
    src/ssh/test/openssh_peer.c diff
    src/ssh/test/package-consumer/CMakeLists.txt diff
    src/ssh/test/package-consumer/consumer.c diff
    src/ssh/test/packet_bounds_cases.h diff
    src/ssh/test/packet_wire_cases.h diff
    src/ssh/test/password_result_cases.h diff
    src/ssh/test/password_result_provider.c diff
    src/ssh/test/password_result_provider.h diff
    src/ssh/test/peer_channel_id_cases.h diff
    src/ssh/test/peer_thread_failures.c diff
    src/ssh/test/peer_thread_failures.py diff
    src/ssh/test/post_close_cases.h diff
    src/ssh/test/provider_boundary.c diff
    src/ssh/test/provider_boundary_cpp.cpp diff
    src/ssh/test/queued_control_cases.h diff
    src/ssh/test/read_result_cases.h diff
    src/ssh/test/receive_entry_cases.h diff
    src/ssh/test/registration_cases.h diff
    src/ssh/test/request_framing_cases.h diff
    src/ssh/test/rsa_cache_reference.h diff
    src/ssh/test/runner_controls.py diff
    src/ssh/test/selftest_completion_controls.py diff
    src/ssh/test/selftest_constructor_controls.h diff
    src/ssh/test/selftest_constructor_controls.py diff
    src/ssh/test/selftest_metadata.h diff
    src/ssh/test/selftest_metadata_controls.h diff
    src/ssh/test/selftest_metadata_controls.py diff
    src/ssh/test/selftest_owner_controls.py diff
    src/ssh/test/selftest_rekey.h diff
    src/ssh/test/selftest_rekey_controls.h diff
    src/ssh/test/selftest_rekey_controls.py diff
    src/ssh/test/selftest_socket_controls.h diff
    src/ssh/test/selftest_socket_controls.py diff
    src/ssh/test/selftest_stream_controls.py diff
    src/ssh/test/selftest_wire_controls.h diff
    src/ssh/test/selftest_wire_controls.py diff
    src/ssh/test/session_pair_fixture.h diff
    src/ssh/test/setup_mailbox_cases.h diff
    src/ssh/test/signature_auth_result_cases.h diff
    src/ssh/test/signature_copy_fixture.h diff
    src/ssh/test/signature_result_cases.h diff
    src/ssh/test/signature_result_provider.c diff
    src/ssh/test/signature_result_provider.h diff
    src/ssh/test/sntrup_drbg.h diff
    src/ssh/test/sntrup_kat_cases.h diff
    src/ssh/test/stream_body_cases.h diff
    src/ssh/test/terminal_mode_cases.h diff
    src/ssh/test/termination_callback_cases.h diff
    src/ssh/test/termination_wakeup_cases.h diff
    src/ssh/test/test_accept_callback_peer.c diff
    src/ssh/test/test_acvp_io.c diff
    src/ssh/test/test_application_threads.c diff
    src/ssh/test/test_assertions.c diff
    src/ssh/test/test_assertions_cpp.cpp diff
    src/ssh/test/test_auth_actions.c diff
    src/ssh/test/test_base64_botan_faults.cpp diff
    src/ssh/test/test_base64_storage.cpp diff
    src/ssh/test/test_botan_cipher_faults.cpp diff
    src/ssh/test/test_botan_mac_faults.cpp diff
    src/ssh/test/test_client_keys.c diff
    src/ssh/test/test_comp.c diff
    src/ssh/test/test_comp.h diff
    src/ssh/test/test_comp_zlib.c diff
    src/ssh/test/test_config_setup.c diff
    src/ssh/test/test_counter.c diff
    src/ssh/test/test_crypto_botan_faults.cpp diff
    src/ssh/test/test_curve_storage.c diff
    src/ssh/test/test_dh_rng.c diff
    src/ssh/test/test_dhgex_contract.c diff
    src/ssh/test/test_dhgex_storage.c diff
    src/ssh/test/test_event_peer.c diff
    src/ssh/test/test_example_client.c diff
    src/ssh/test/test_fatal_driver.c diff
    src/ssh/test/test_frozen_keys.c diff
    src/ssh/test/test_hash_provider.c diff
    src/ssh/test/test_hybrid_storage.c diff
    src/ssh/test/test_kex_failure.c diff
    src/ssh/test/test_kex_framing.c diff
    src/ssh/test/test_kex_workspace.c diff
    src/ssh/test/test_key_descriptors.c diff
    src/ssh/test/test_key_file_bio.c diff
    src/ssh/test/test_key_file_import.c diff
    src/ssh/test/test_key_generation.c diff
    src/ssh/test/test_key_permissions_win32.c diff
    src/ssh/test/test_key_publication.c diff
    src/ssh/test/test_key_save_policy.c diff
    src/ssh/test/test_key_text.c diff
    src/ssh/test/test_key_validation.c diff
    src/ssh/test/test_key_wire.c diff
    src/ssh/test/test_mlkem_acvp.c diff
    src/ssh/test/test_mlkem_acvp_botan.cpp diff
    src/ssh/test/test_mlkem_encoding.c diff
    src/ssh/test/test_mlkem_hash.c diff
    src/ssh/test/test_mlkem_parity.cpp diff
    src/ssh/test/test_mlkem_poly.c diff
    src/ssh/test/test_mlkem_selection.c diff
    src/ssh/test/test_mlkem_vector.c diff
    src/ssh/test/test_mlkem_wrapper.c diff
    src/ssh/test/test_mock_io.c diff
    src/ssh/test/test_module_contract.c diff
    src/ssh/test/test_module_counters.c diff
    src/ssh/test/test_native_key_pool.c diff
    src/ssh/test/test_packet_sizes.c diff
    src/ssh/test/test_portable_api.c diff
    src/ssh/test/test_release_entry.c diff
    src/ssh/test/test_ring_sizes.c diff
    src/ssh/test/test_rng_provider.c diff
    src/ssh/test/test_rsa_cache.c diff
    src/ssh/test/test_runner.c diff
    src/ssh/test/test_selftest_owner.c diff
    src/ssh/test/test_server_io.c diff
    src/ssh/test/test_server_lifecycle.c diff
    src/ssh/test/test_server_output.c diff
    src/ssh/test/test_server_startup.c diff
    src/ssh/test/test_session_init.c diff
    src/ssh/test/test_signature_storage.c diff
    src/ssh/test/test_signature_storage_gaps.c diff
    src/ssh/test/test_sntrup.c diff
    src/ssh/test/test_sntrup_arithmetic.c diff
    src/ssh/test/test_stateless.c diff
    src/ssh/test/test_stateless.h diff
    src/ssh/test/test_threads_shim_posix.c diff
    src/ssh/test/test_threads_shim_win32.c diff
    src/ssh/test/test_time.c diff
    src/ssh/test/test_timespec.c diff
    src/ssh/test/test_vendor_glue.c diff
    src/ssh/test/test_visibility.c diff
    src/ssh/test/test_wait_observation.c diff
    src/ssh/test/test_x25519.c diff
    src/ssh/test/transmit_rekey_cases.h diff
    src/ssh/test/transport_clock_cases.h diff
    src/ssh/test/transport_compression_cases.h diff
    src/ssh/test/transport_ext_info_cases.h diff
    src/ssh/test/transport_frame_cases.h diff
    src/ssh/test/transport_identification_cases.h diff
    src/ssh/test/transport_module_cases.h diff
    src/ssh/test/transport_offer_cases.h diff
    src/ssh/test/transport_pair_cases.h diff
    src/ssh/test/transport_query_cases.h diff
    src/ssh/test/transport_rekey_cases.h diff
    src/ssh/test/transport_state_cases.h diff
    src/ssh/test/transport_transition_cases.h diff
    src/ssh/test/transport_wire_trace_cases.h diff
    src/ssh/test/tx_slot_cases.h diff
    src/ssh/test/vectors/sha3-cavp/SHA3_256LongMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHA3_256ShortMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHA3_512LongMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHA3_512ShortMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHAKE128LongMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHAKE128ShortMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHAKE128VariableOut.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHAKE256LongMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHAKE256ShortMsg.rsp diff
    src/ssh/test/vectors/sha3-cavp/SHAKE256VariableOut.rsp diff
    src/ssh/test/vectors/sntrup761.int diff
    src/ssh/test/vectors/sntrup761.reject diff
    src/ssh/test/vectors/sntrup761.rsp diff
    src/ssh/test/visibility_archive.c diff
    src/ssh/test/visibility_probe.c diff
    src/ssh/test/visibility_probe.h diff
    src/ssh/test/window_credit_cases.h diff
    src/ssh/test/windows.cmake diff
    src/ssh/test/x25519_fixture.h diff
    src/ssh/test/x25519_fixture_botan.cpp diff
    src/ssh/test/x25519_reference.py diff
    src/ssh/test/x25519_vectors.h diff
    Modified Files:

    src/deucegate/server.c diff
    src/ssh/AGENTS.md diff
    src/ssh/CMakeLists.txt diff
    src/ssh/LICENSE.md diff
    src/ssh/README.md diff
    src/ssh/RULES.md diff
    src/ssh/comp/none.c diff
    src/ssh/comp/none.h diff
    src/ssh/crypto/botan.cpp diff
    src/ssh/crypto/openssl.c diff
    src/ssh/deucessh-algorithms.h diff
    src/ssh/deucessh-auth.h diff
    src/ssh/deucessh-comp.h diff
    src/ssh/deucessh-conn.h diff
    src/ssh/deucessh-crypto.h diff
    src/ssh/deucessh-enc.h diff
    src/ssh/deucessh-kex.h diff
    src/ssh/deucessh-key-algo.h diff
    src/ssh/deucessh-lang.h diff
    src/ssh/deucessh-mac.h diff
    src/ssh/deucessh-portable.h diff
    src/ssh/deucessh.h diff
    src/ssh/docs/api-design-4254.md diff
    src/ssh/docs/audit-4250.md diff
    src/ssh/docs/audit-4251.md diff
    src/ssh/docs/audit-4252.md diff
    src/ssh/docs/audit-4253.md diff
    src/ssh/docs/audit-4254.md diff
    src/ssh/docs/audit-design.md diff
    src/ssh/docs/audit-dsohowto.md diff
    src/ssh/docs/audit-hardening.md diff
    src/ssh/docs/audit-portability-vendor.md diff
    src/ssh/docs/audit-rules-modules.md diff
    src/ssh/docs/design-channel-io-api.md diff
    src/ssh/enc/aes128-cbc-botan.c diff
    src/ssh/enc/aes128-cbc-botan.cpp diff
    src/ssh/enc/aes128-cbc-openssl.c diff
    src/ssh/enc/aes256-ctr-botan.c diff
    src/ssh/enc/aes256-ctr-botan.cpp diff
    src/ssh/enc/aes256-ctr-openssl.c diff
    src/ssh/enc/aes256-ctr.h diff
    src/ssh/enc/none.c diff
    src/ssh/enc/none.h diff
    src/ssh/examples/client.c diff
    src/ssh/examples/kbi-game-server.c diff
    src/ssh/examples/server.c diff
    src/ssh/kex/curve25519-sha256-botan.c diff
    src/ssh/kex/curve25519-sha256-botan.cpp diff
    src/ssh/kex/curve25519-sha256-openssl.c diff
    src/ssh/kex/curve25519-sha256-ops.h diff
    src/ssh/kex/curve25519-sha256.c diff
    src/ssh/kex/curve25519-sha256.h diff
    src/ssh/kex/dh-gex-groups.c diff
    src/ssh/kex/dh-gex-groups.h diff
    src/ssh/kex/dh-gex-sha256-botan.c diff
    src/ssh/kex/dh-gex-sha256-botan.cpp diff
    src/ssh/kex/dh-gex-sha256-openssl.c diff
    src/ssh/kex/dh-gex-sha256-ops.h diff
    src/ssh/kex/dh-gex-sha256.c diff
    src/ssh/kex/dh-gex-sha256.h diff
    src/ssh/kex/hybrid-pq-kex-ops.h diff
    src/ssh/kex/hybrid-pq-kex.c diff
    src/ssh/kex/libcrux_mlkem768_sha3.h diff
    src/ssh/kex/mlkem768.c diff
    src/ssh/kex/sntrup761.c diff
    src/ssh/kex/sntrup761x25519-sha512-botan.c diff
    src/ssh/kex/sntrup761x25519-sha512-botan.cpp diff
    src/ssh/kex/sntrup761x25519-sha512-openssl.c diff
    src/ssh/key_algo/private-key-file-posix.c diff
    src/ssh/key_algo/private-key-file-win32.c diff
    src/ssh/key_algo/private-key-file.h diff
    src/ssh/key_algo/rsa-sha2-256-botan.c diff
    src/ssh/key_algo/rsa-sha2-256-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-256-openssl.c diff
    src/ssh/key_algo/rsa-sha2-256.h diff
    src/ssh/key_algo/rsa-sha2-512-botan.c diff
    src/ssh/key_algo/rsa-sha2-512-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-512-openssl.c diff
    src/ssh/key_algo/ssh-ed25519-botan.c diff
    src/ssh/key_algo/ssh-ed25519-botan.cpp diff
    src/ssh/key_algo/ssh-ed25519-openssl.c diff
    src/ssh/key_algo/ssh-ed25519.h diff
    src/ssh/mac/hmac-sha2-256-botan.c diff
    src/ssh/mac/hmac-sha2-256-botan.cpp diff
    src/ssh/mac/hmac-sha2-256-openssl.c diff
    src/ssh/mac/hmac-sha2-256.h diff
    src/ssh/mac/hmac-sha2-512-botan.c diff
    src/ssh/mac/hmac-sha2-512-botan.cpp diff
    src/ssh/mac/hmac-sha2-512-openssl.c diff
    src/ssh/mac/none.c diff
    src/ssh/mac/none.h diff
    src/ssh/posix/threads.c diff
    src/ssh/posix/threads.h diff
    src/ssh/ssh-auth.c diff
    src/ssh/ssh-conn.c diff
    src/ssh/ssh-internal.h diff
    src/ssh/ssh-trans.c diff
    src/ssh/ssh-trans.h diff
    src/ssh/ssh.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/c_standard_fixture/CMakeLists.txt diff
    src/ssh/test/dssh_test.h diff
    src/ssh/test/dssh_test_alloc.c diff
    src/ssh/test/dssh_test_alloc.h diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/dssh_test_ossl.c diff
    src/ssh/test/dssh_test_ossl.h diff
    src/ssh/test/dssh_test_wait.h diff
    src/ssh/test/kex_test.c diff
    src/ssh/test/mock_alloc.c diff
    src/ssh/test/mock_io.c diff
    src/ssh/test/mock_io.h diff
    src/ssh/test/test_algo_enc.c diff
    src/ssh/test/test_algo_key.c diff
    src/ssh/test/test_algo_mac.c diff
    src/ssh/test/test_alloc.c diff
    src/ssh/test/test_asymmetric_mac.c diff
    src/ssh/test/test_auth.c diff
    src/ssh/test/test_botan_algo_key.cpp diff
    src/ssh/test/test_botan_transport.cpp diff
    src/ssh/test/test_chan.c diff
    src/ssh/test/test_conn.c diff
    src/ssh/test/test_crypto.c diff
    src/ssh/test/test_dhgex_provider.h diff
    src/ssh/test/test_enc.c diff
    src/ssh/test/test_enc.h diff
    src/ssh/test/test_framework.c diff
    src/ssh/test/test_mac.c diff
    src/ssh/test/test_mac.h diff
    src/ssh/test/test_selftest.c diff
    src/ssh/test/test_thread_errors.c diff
    src/ssh/test/test_transport.c diff
    src/ssh/test/test_transport_errors.c diff
    src/ssh/win32/threads.c diff
    src/ssh/win32/threads.h diff
    src/syncterm/Wren.adoc diff
    src/syncterm/ssh.c diff
    src/syncterm/ssh.h diff
    src/syncterm/wren_bind.c diff
    Removed Files:

    src/ssh/kex/mlkem768x25519-sha256-botan.c diff
    src/ssh/kex/mlkem768x25519-sha256-botan.cpp diff
    Update DeuceSSH and migrate SyncTERM and DeuceGate APIs Import DeuceSSH through 922eda4 (2026-11-20), including independent client keys and the updated authentication and result ownership APIs. Load SyncTERM client keys into each session and expose the selected public key to Wren. Update authentication discovery, continuation results, keyboard-interactive response leases and directional transport queries. Retry channel I/O when send-window credit is temporarily unavailable. Adapt DeuceGate's password callback to producer-owned results. Validation: 15,768 OpenSSL tests and 87 focused Botan tests pass, plus both application builds, selected application tests, live OpenSSH key and password logins, and sequential SyncTERM reconnects. The standalone example test passes after explicitly building its excluded client target.

  191. Rob Swindell (on Windows 11)
    Thu Nov 19 2026 21:07:46 GMT-0800 (PST)
    Modified Files:
    

    src/encode/uucode.c diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/msgdate.c diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/qwknodes.c diff
    src/sbbs3/qwktomsg.cpp diff
    Don't treat non-ASCII chars as control chars or white-space Where plain char is signed (Windows, x86), a "<= ' '" comparison is also true of every byte with the high bit set, so: - sockmimetext() trimmed trailing non-ASCII chars (e.g. the last UTF-8 sequence) from each line of a sent message body, along with the CR and spaces it meant to trim. From e90520e4650 (2012-10-24). - A received mail header line beginning with a non-ASCII char was treated as a folded header. From 729eb16b838 (2009-10-21) and e16ff287e66 (2003-03-10). - Trailing non-ASCII chars were trimmed from an imported QWK message's tail. From 949b7fac7b2 (2004-05-30). - The FTP server's dotname() replaced non-ASCII chars with '.' or '_'. From 7e3e47141a5 (2000-10-10). - Leading non-ASCII chars were skipped as though white-space when parsing an RFC822 date (d2f8adcef30, 2003-08-30), FTN netmail kludge lines (cf57583695c, 2020-04-23), a QWK route (949b7fac7b2, 2004-05-30), a qwknodes tagline (bac24478c9a, 2005-09-10) and a uudecode file name (2dd9f388632, 2003-04-22). The comparisons are now made as unsigned, or replaced with SKIP_WHITESPACE()/isspace(), so the behavior no longer varies with the signedness of plain char. The white-space skips no longer skip other control chars, and SKIP_WHITESPACE() does skip a CP437 no-break space (0xFF). Only compile-checked, with GCC, using both -fsigned-char and -funsigned-char. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  192. Rob Swindell (on Windows 11)
    Thu Nov 19 2026 21:07:46 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/exec.cpp diff
    Baja SETLOGIC: sign-extend the operand The operand byte was read through an unsigned pointer, so LESS/FALSE (-1, compiled as 0xFF) set the logic state to 255. IF_TRUE and IF_FALSE only test for LOGIC_TRUE, so SETLOGIC FALSE behaved, but IF_LESS and IF_LESS_OR_EQUAL never matched after SETLOGIC LESS (or FALSE). No stock module, current or past, depends on either behavior. From 7e3e47141a5 (2000-10-10). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  193. Rob Swindell (on Windows 11)
    Thu Nov 19 2026 21:07:46 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/chat.cpp diff
    src/sbbs3/exec.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/useredit.cpp diff
    Don't depend on plain char being signed in tests for -1/non-ASCII Where plain char is unsigned (e.g. Linux on ARM), these comparisons were never true (or always true): - mime_encode_word() tested "*p >= 0" for a US-ASCII char, so non-ASCII bytes were copied unencoded into a "=?utf-8?q?" header word. From 5564eb67e84 (2024-09-28). - useredit()'s flag, exemption and restriction prompts tested "c < 0" for the -1 that getkeys() returns. When that -1 was caused by a disconnect rather than an abort, FLAG(-1) was toggled in the user's record. From 62f78148860 (2023-11-22). - Baja's GETCMD tested "(char)csi->cmd == -1", so an aborted GETCMD left 0xFF as the command key rather than Ctrl-C. From 7e3e47141a5 (2000-10-10). - The guru's word scan tested "line[i] < 0"; harmless only because isalnum() rejects such bytes in the C locale. From ec20d959736 (2020-11-05). Same class of bug as 9f058a3352 (2026-11-19). Only compile-checked, with GCC, using both -fsigned-char and -funsigned-char. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  194. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 19:18:51 GMT-0800 (PST)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    CI: ship webmail/ to the Unix jsexec test suite jobs The Unix test jobs run from a ctrl_exec tarball holding only ctrl/ and exec/. The web mail client tests added with fd0e92d759 (suggest-24-cork, 2026-11-19) load their libraries from the top-level webmail/ directory, so every Unix jsexec-testsuite job failed with "Kit.wlib: no such library". Add webmail/ to the tarball. Windows runs the suite from the full checkout and was unaffected; the jsdoor suite skips these tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  195. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:57:48 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: keep an idle kept-alive HTTPS connection open Over HTTPS the server answered with "Connection: Keep-Alive" and then closed the connection as soon as it went back to read the next request and found it had not arrived yet. A browser that reused the connection after any pause lost the request (Safari does not resend a POST). Plain HTTP was not affected. sockreadline() and recvbufsocket() skip the wait for a readable socket while session->tls_pending is set, and tls_pending stays set after a request has been read. The next read went straight to cryptPopData(), which is non-blocking (CRYPT_OPTION_NET_READTIMEOUT is 0): with nothing received it returns CRYPT_OK with 0 bytes, or CRYPT_ERROR_TIMEOUT for a partial record. sess_recv() returned -1 for both, and the callers treat -1 on a TLS session as an error and close it. So a TLS session got no idle time at all: the next request, or the rest of a request line or POST body, had to be in hand already. The same "no data yet" case also hit session_check() (used to wait for more of a POST body), which took CRYPT_OK with 0 bytes from a partial record for a closed connection. Reading without a select() first goes back to the TLS support of dbbfabf1b1 (funky-27-foam, 2015-08-20); then cryptlib's default read timeout bounded the idle time. 98b9d23ddd (tight-73-wife, 2018-02-15) lowered it to 1 second "since we select() first anyway", and 3be7d67b5f (flour-3-formed, 2018-03-13) to 0, which left no idle time. The session_check() case came with 50258e70bf (notion-31-talks, 2026-06-04). Now sess_recv() clears tls_pending when cryptPopData() delivers nothing (CRYPT_OK with 0 bytes, or CRYPT_ERROR_TIMEOUT), and sockreadline() and recvbufsocket() then go back to waiting on the socket, up to MaxInactivity, as for a plain connection. A peer close or a TLS error (CRYPT_ERROR_COMPLETE, CRYPT_ERROR_READ) leaves tls_pending set and still ends the session at once. session_check() treats CRYPT_OK with 0 bytes like CRYPT_ERROR_TIMEOUT: connected, no data yet. Reproduced and verified on a scratch web server on loopback with TLS (Python client, certificate checks off). Before: a second request on one TLS connection after a 0.3, 2 or 10 second pause got EOF, as did a request line or POST body sent in two parts with a pause (also when cut in the middle of a TLS record). After: two and five requests per connection with pauses of 0, 0.3, 2 and 10 seconds all answered, static and .ssjs, GET and POST; the split request line and POST bodies are read; an idle connection is closed after MaxInactivity with the "Session timeout due to inactivity" log line, as is half a request line; a client close (FIN alone or close_notify) ends the session thread as before; no CPU used while a connection waits; plain HTTP unchanged. As a plain one already did, an idle kept-alive HTTPS connection now holds its session thread, and delays a server shutdown, for up to MaxInactivity. Built with GCC only. Fixes #1370 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  196. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:17 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/menus/SKILL.md diff
    menus skill: @-code format modifiers, corrected Adds the D (lowercase) modifier and how the modifiers combine with "|", explains when a width applies (an alignment modifier without one pads to the @-code's own length; T, U or D alone don't pad), notes that bbs.expand_atcodes() supports them too, and corrects the parameter gotcha: a ":param" goes before the "|" (@FOO:bar|L@), since the parser cuts the code at the "|". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  197. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:17 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    docs: v3.22 notes: the List Files module's lightbar style Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  198. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:17 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/superpowers/plans/2026-11-19-listfiles-lightbar.md diff
    docs/superpowers/specs/2026-11-19-listfiles-lightbar-design.md diff
    exec/listfiles.js diff
    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    text/menu/listfiles_lightbar_help.msg diff
    listfiles.js: the lightbar style's preview pane The lightbar style shows the current file's information (preview_info_fmt, @FILE_*@ codes) and extended description in a preview pane below the list, when the user's extended descriptions setting is on and the screen has at least 20 rows. E or T shows or hides it (saving the setting), Tab moves the focus between the list and the pane, whose lines the navigation keys then scroll. I is the full-screen extended information (the classic style's E), P the previous page and N the next; V, I, B and D start on a cleared screen. The top row shows the directory's long name, the generated headings center the name's title, the key tips row starts with lightbar_keys_prefix (a block) and can have colors of its own (lightbar_keys_attr, lightbar_key_attr), and the extended description in the pane starts in preview_extdesc_attr (bright white). Both interactive styles: files in the user's batch download queue are marked (queued_marker, a down arrow, from bbs.batch_dnload_list()), B pauses after reporting what it added, and leaving a directory removes the current file's highlight and the tags. All listings: the color options are attribute letters, as in attr.ini (e.g. WH4), the classic style's "lightbar" option is renamed "highlight_line" (as in xtrn_sec and scancfg), and the extended description marker has its own color (@FLAGS_ATTR@, flags_attr: dark grey). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  199. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:16 GMT-0800 (PST)
    Added Files:
    

    text/menu/listfiles_lightbar_help.msg diff
    Modified Files:

    ctrl/modopts.ini diff
    docs/superpowers/specs/2026-11-19-listfiles-lightbar-design.md diff
    exec/listfiles.js diff
    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    text/menu/listfiles_help.msg diff
    listfiles.js: the lightbar style A second interactive style for the List Files module, chosen with the [listfiles] option "style = lightbar" (per library or directory too), for users with batch flagging on a terminal that positions the cursor: - the library and directory, and the current file's position, on the top row and column headings below it, both as in msglist.js; the headings are generated from the file line format (lightbar_headings = true), so they line up with a customized format - one row per file (extended descriptions aren't shown inline), the current file a full-width bar - key tips on the bottom row as mnemonics, with Remove and Move for users who may remove files, and its own help screen Both interactive styles: Ctrl-A tags all files, or none if the first is tagged (as in msglist.js), and the tagged marker has its own color (@TAG_ATTR@, tag_attr: bright white, in place of the dark blue it had). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  200. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:16 GMT-0800 (PST)
    Modified Files:
    

    exec/listfiles.js diff
    listfiles.js: split the interactive mode into an engine and a layout The interactive mode's current file, tags, scrolling window, keys and commands are now an engine driving a layout object, and its drawing (the header and command keys, files with their extended descriptions, the position line and prompt) is the classic layout, so another layout can share the engine. The classic layout's output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  201. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:16 GMT-0800 (PST)
    Modified Files:
    

    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    listfiles_lib.js: lightbar style and preview pane helpers The option defaults for a "lightbar" style of the List Files module, and the logic it needs, with tests: which listing a user gets, the screen rows of the list and preview pane, the pane's state after the E and V keys, and archive and text file contents formatted for the pane. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  202. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:48:16 GMT-0800 (PST)
    Added Files:
    

    exec/load/attr_option.js diff
    exec/tests/attr_option/lib.js diff
    Modified Files:

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/shell_lib.js diff
    exec/scancfg.js diff
    exec/text_sec.js diff
    exec/xtrn_sec.js diff
    Color options as attribute letters; "lightbar" renamed "highlight_line" The selected_item_attr options of [shell], [xtrn_sec], [text_sec] and [scancfg] in modopts.ini are now attribute letters, as in attr.ini (e.g. V, or K7 for a reverse-video bar), rather than Ctrl-A codes (which still work): easier to write in a hand-edited file, with no string literal, escapes or attribute sequencing. The new load/attr_option.js converts them (attr_option(), attr_options()). The xtrn_sec and scancfg "lightbar" option, which highlights the whole selected item, is renamed "highlight_line", apart from List Files' new "lightbar" style. These options weren't in a release yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  203. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:35:10 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/listfiles_bridges/bridges.js diff
    src/sbbs3/js_bbs.cpp diff
    JS bbs.batch_dnload_list(): the files in the batch download queue Returns an array of objects with the filename ("name") and the directory's internal code ("dir") of each file in the current user's batch download queue, so modules can tell which files are queued without reading the queue file themselves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  204. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 18:35:10 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/listfiles_bridges/bridges.js diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/viewfile.cpp diff
    JS bbs.can_view_file(): whether the user may view a file's contents True when the file exists and a file viewer configured for it is available to the user, the same rule the View command applies (the viewer's access requirements checked with the file's directory current); it displays nothing. File lister modules use it to decide whether to show a file's contents themselves. The viewer selection is shared with viewfile(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  205. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 15:28:01 GMT-0800 (PST)
    Added Files:
    

    docs/superpowers/plans/2026-11-19-listfiles-lightbar.md diff
    docs: implementation plan for the List Files lightbar style Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  206. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 15:21:54 GMT-0800 (PST)
    Added Files:
    

    docs/superpowers/specs/2026-11-19-listfiles-lightbar-design.md diff
    docs: design for a lightbar style of the List Files module A second interactive style for listfiles.js, modeled on msglist.js: an area line on top, key tips on the bottom row, a full-width lightbar, and a preview pane showing the current file's information or contents. Sysops choose it, or the existing classic style, with the [listfiles] style option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  207. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 15:02:11 GMT-0800 (PST)
    Modified Files:
    

    exec/listfiles.js diff
    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    listfiles.js: count conditional newlines in extended descriptions An extended description's screen lines were counted by its CR/LF line breaks alone, but Ctrl-A conditional newlines (\x01/), as in imported ANSI art, also break lines on the screen. The interactive mode then placed its prompt above the end of such a description, which spilled past the list and below the prompt. Conditional newlines now count as line breaks when something visible is on the line before them, as displayed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  208. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:34:23 GMT-0800 (PST)
    Modified Files:
    

    exec/listfiles.js diff
    listfiles.js: tidy exits from the interactive mode; correct file counts Interactive mode: quitting (Q or an abort) now clears the position and prompt lines below the list, and removing or moving the last file redraws the directory header and leaves cleanly (so any footer follows) instead of returning with the old list on screen. The count returned is the number of files listed, including any removed or moved. The count of files found is no longer overstated after Previous: in the extended information and view modes each file counts once, and in the letter flow the count after Previous or a redraw is the number of files before the screen being listed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  209. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:34:23 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/listfiles_bridges/bridges.js diff
    exec/tests/listfiles_bridges/skipif diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/js_filebase.cpp diff
    JS file objects: fail on an exception; move_file() checks destination parse_file_properties() returned JS_FALSE when converting a property raised a JavaScript exception, and JS_FALSE equals SMB_SUCCESS, so its callers carried on: FileBase.add() stored the file (and update() saved the changes) with the exception left pending, as did bbs.expand_atcodes() with a file object. It now returns SMB_FAILURE, so those calls throw and store nothing. bbs.move_file() now also requires that the user can access the destination directory, as the built-in file lister's directory selection does. The listfiles bridge test now uses a throwaway directory with the internal code TEST_RM and covers the exception cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  210. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:18:58 GMT-0800 (PST)
    Modified Files:
    

    exec/testbuild.js diff
    install/install-sbbs.mk diff
    install/install.iss diff
    install/upgrade.iss diff
    Install the web mail client's directory install-sbbs.mk, install.iss and upgrade.iss copy the new top-level webmail/ directory the way they copy webv4/ (the Windows installers leave out its tests and generated files). Installing it enables nothing: a sysop serves it by adding a /webmail/ line to the [dir] section of ctrl/web_alias.ini. An upgrade does not touch ctrl, so an upgraded system gets neither that example line nor a ctrl/modopts/webmail.ini; the defaults apply without one. testbuild.js leaves webmail/ out of the source archive, as it does webv4/. The makefile's directory step was run against a scratch directory. The Windows installer scripts were edited but not run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  211. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:18:58 GMT-0800 (PST)
    Added Files:
    

    exec/tests/webmail/client.js diff
    exec/tests/webmail/strings.js diff
    webmail/.gitignore diff
    webmail/root/css/base.css diff
    webmail/root/css/noscript.css diff
    webmail/root/css/style.css diff
    webmail/root/images/cp437-ibm-vga8.png diff
    webmail/root/index.xjs diff
    webmail/root/js/app.js diff
    webmail/root/js/attachments.js diff
    webmail/root/js/avatar.js diff
    webmail/root/js/body.js diff
    webmail/root/js/check.js diff
    webmail/root/js/dom.js diff
    webmail/root/js/folders.js diff
    webmail/root/js/format.js diff
    webmail/root/js/i18n.js diff
    webmail/root/js/icons.js diff
    webmail/root/js/layout.js diff
    webmail/root/js/linkify.js diff
    webmail/root/js/list.js diff
    webmail/root/js/login.js diff
    webmail/root/js/mail.js diff
    webmail/root/js/notice.js diff
    webmail/root/js/poll.js diff
    webmail/root/js/powered.js diff
    webmail/root/js/reader.js diff
    webmail/root/js/rpc.js diff
    webmail/root/js/search.js diff
    webmail/tests/timing.sh diff
    Web mail client: sign-in and a read-only mailbox in the browser The browser half: a shell page (webmail/root/index.xjs), one stylesheet driven by seven color variables a sysop can override in css/custom.css, and plain ES modules with no framework and no build step. - Sign-in, and the frame: three panes with two draggable dividers on a wide screen, one pane at a time with Back on a phone; light, dark or the system's theme; notices; a "no connection" bar with retries for requests that are safe to repeat. - Folders with unread counts and a storage meter; the message list, drawn from a small pool of rows however long the folder is; search in one folder or all mail; new mail shown without a reload. - The reader: header, plain text with links, HTML mail, attachments with download and an image preview, the next message fetched ahead. HTML mail is shown in a sandboxed frame with its own content policy: no script, nothing remote until "Show images", no forms, no navigation of the app. The message is parsed, stripped of <link> elements and re-written before display, repeated until the result settles. HTML mail keeps a light page in the dark theme unless it declares dark support. - Synchronet avatars for the account button and the sender, drawn on a canvas from the CP437 font sheet; a "Powered by" line. - Scripts and styles are served under a versioned path (webmail/root/webctrl.ini rewrites it), so an upgrade never mixes old and new modules. If the app cannot start, the page says so. Nothing here can change mail yet: no delete, move, star or compose. exec/tests/webmail/client.js pins, from the source text, the frame's sandbox and policy, the request header and the absence of markup built from strings. Everything else in the browser was checked by driving headless Firefox against a scratch web server; no other browser, no phone and no screen reader has been tried. webmail/tests/timing.sh times the main requests against a live server. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  212. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:18:58 GMT-0800 (PST)
    Added Files:
    

    ctrl/modopts/webmail.ini diff
    exec/tests/webmail/api.js diff
    exec/tests/webmail/config.js diff
    exec/tests/webmail/download.js diff
    exec/tests/webmail/kit.js diff
    exec/tests/webmail/locale.js diff
    exec/tests/webmail/session.js diff
    exec/tests/webmail/shell.js diff
    exec/tests/webmail/skipif diff
    exec/tests/webmail/userdata.js diff
    exec/tests/webmail/webv4.js diff
    webmail/lib/api.js diff
    webmail/lib/config.js diff
    webmail/lib/download.js diff
    webmail/lib/locale.js diff
    webmail/lib/locale/en_us.ini diff
    webmail/lib/session.js diff
    webmail/lib/shell.js diff
    webmail/lib/userdata.js diff
    webmail/lib/webv4.js diff
    webmail/mods/README.txt diff
    webmail/root/api.ssjs diff
    webmail/root/part.ssjs diff
    webmail/root/webctrl.ini diff
    Web mail client: server side (settings, sessions, strings, API) The server half of a web mail client that lives in a new top-level webmail/ directory and uses the stock mailbox library for all mail logic. - ctrl/modopts/webmail.ini: every setting, commented out with its default. While the file exists a [webmail] section in modopts.ini is not read. webmail/lib/config.js loads the settings, warns about an unusable value and uses the default; a bad value can never turn the HTTPS requirement off. The product name defaults to "{system} Webmail"; {system} is the BBS name and {host} the requested host. - webmail/lib/session.js: sign-in sessions, many per user, kept in the user's data directory. The cookie's key comes from the system random generator and only its SHA-256 is stored. A session without "keep me signed in" ends after 2 idle hours or 24 hours; the browser's own background requests do not count as activity. Changing the password ends every session of that user. - webmail/lib/locale.js and locale/en_us.ini: strings in sectioned ini files, chosen from the user's language, then the browser's, then the sysop's default; an overlay in webmail/mods/locale changes single strings. - webmail/lib/api.js with root/api.ssjs: one endpoint taking a batch of JSON calls. This set signs in and out and reads mail: folders, lists, search, a message, and "has anything changed". Every call needs a custom request header, HTTPS unless the sysop allows otherwise, and a valid session whose user still exists and still has access. Request text is checked and normalized as UTF-8. Errors reach the browser as a code and a localized fixed text. A message comes with its sender's avatar, chosen as the terminal chooses it. - webmail/lib/download.js with root/part.ssjs: sends one attachment. Only PNG, JPEG, GIF and WebP are ever shown inline; everything else is a download, sandboxed and not sniffed. - webmail/lib/webv4.js: with webv4_login on, a user signed in to webv4 on the same host name is signed in here without the form. - webmail/lib/shell.js: what the shell page needs (boot data, security headers, versioned asset paths). Sign-in checks that the account may use web mail before calling the web server's login(), so a refused guest leaves no logon behind. Tests are in exec/tests/webmail and use scratch bases and directories. The .ssjs pages are covered by their libraries' tests and were exercised through a scratch web server on a loopback port. Run on Linux only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  213. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:18:58 GMT-0800 (PST)
    Added Files:
    

    exec/tests/mailbox/store_owner.js diff
    exec/tests/mailbox/store_rows.js diff
    exec/tests/mailbox/store_star.js diff
    Modified Files:

    exec/load/mailbox.js diff
    exec/load/mailbox_tags.js diff
    exec/tests/mailbox/read.js diff
    exec/tests/mailbox/store_read.js diff
    exec/tests/mailbox/store_write.js diff
    exec/tests/mailbox/tags.js diff
    Mailbox library: stars as an attribute, cached list rows, 16-bit users Three changes to the stock mailbox library (exec/load/mailbox*.js) that the web mail client needs. Nothing but that client calls the library yet. - A starred message has the MSG_VALIDATED attribute, in the mail base and in a private mailbox alike, in place of a "$Starred" tag. It is the bit the IMAP service shows as \Flagged (#1369 asks for IMAP to let a user set it on their own mail). Being an index attribute, a star is read on every call without opening a header, and it stays with a message moved between the bases, to Trash and back. - The list rows of mail in the shared base (sender, subject, dates, size) are kept in the per-user cache the library already had, so a page of the Inbox and a search read no headers for messages seen before. Read, replied, spam and star still come from the index on every call. Measured by counting file operations for a 500-message Inbox and a 2,000-message private mailbox: a page of the Inbox went from 1,335 to about 510, a search from 8,449 to about 390. Rows are cached only for records the user owns. - A user number above 65535 is refused. The mail index holds user numbers in 16 bits and the stock mail code matches on that field, so mail cannot work for such a user. Also: reading a message can mark it read and return only its list row (for a message the caller already holds). Tests are in exec/tests/mailbox. Run on Linux only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  214. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 14:07:23 GMT-0800 (PST)
    Modified Files:
    

    exec/listfiles.js diff
    text/menu/listfiles_help.msg diff
    listfiles.js: Delete key removes files; report vanished files In the interactive mode, the Delete key now acts as the R(emove) command, as it deletes messages in msglist.js. The help screen mentions it. B/D/R/M on a file that another node removed after it was listed now prints "File does not exist" (other failures are already reported by the bbs methods themselves). A search (FL_FIND) with no expression displays nothing, as the built-in file lister does, rather than an invalid search expression error, and the user's new-file time is updated only after the expression is validated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  215. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 11:51:06 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbsdefs.h diff
    Lower the minimum terminal width from 40 to 32 columns The Tandy Color Computer 1 and 2 have a 32x16 text screen, and some callers use terminal programs at that size. TERM_COLS_MIN gates every source of terminal width (Telnet window size, SSH, ANSI auto-detection, the user's setting, console.screen_columns), the message editor's too-narrow check, and the recorded width putmsg() honors when re-wrapping a message, so lowering it lets all of those work at 32-39 columns. Michael Pittsley (JustMike, CoCoNet BBS) ran v3.21e with this change at 32x16 on a CoCo 2 and found nothing broken: reading and posting messages work, and messages posted at 32 columns re-wrap to full width when read on wider terminals. Remaining issues are cosmetic (file listings, fixed-width lists, and menus without a .c32 variant). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  216. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 11:50:58 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/answer.cpp diff
    SSH: range-check the client's terminal width and height The width and height from an SSH client's pty-req were accepted as long as they were greater than zero, so an SSH client could set dimensions (e.g. 1 column, or billions) that the Telnet window-size, ANSI auto-detection, JavaScript console and user-setting paths all reject. Apply the same TERM_COLS_MIN/MAX and TERM_ROWS_MIN/MAX limits and log and ignore an out-of-range value, leaving the default or auto-detected dimension in effect, as for Telnet. Also log the width as "width" rather than "height". Fixes #1368 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  217. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 11:49:46 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/listfile.cpp diff
    listfiles(): skip directories with no new files before a List Files module In a new-file scan, listfiles() invoked a configured List Files loadable module for every directory, before its own (fast) check for new files. Starting a JavaScript module costs about 25 ms per directory, so a scan of hundreds of directories with few new files took many seconds longer with a module than with the built-in lister, for no output. The new-file check (and the update of the user's new-file scan time) now comes first, and a directory with no new files returns 0 without invoking the module. A module is still invoked, with the same arguments, for every directory that has new files and for every other kind of listing. Note for DDFileLister (Nightfox) users: installed as the List Files module, it printed "No new files found in <library>: <directory>" for each directory without new files during a new-file scan; it is no longer invoked for those directories, so those lines no longer appear, matching the built-in lister. Its use as the Scan Dirs module is unaffected. Fixes #1359 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  218. Antonio Rodriguez
    Thu Nov 19 2026 11:42:09 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/answer.cpp diff
    Fix bounds when reading the SSH terminal type Read the SSH terminal type into a dynamically sized buffer before copying it into the fixed-size session field. Keep the read under the SSH mutex.

  219. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 11:42:09 GMT-0800 (PST)
    Modified Files:
    

    exec/listfiles.js diff
    listfiles.js: no pause or redundant header in interactive scans In a new-file scan (or any listing following other output), the interactive mode's first screen paused with [Hit a key] before clearing, because the clear screen pauses whenever the line counter isn't zero. Reset the line counter first, as the built-in lister's batch commands string does with \x01q before its clear-screen code. The interactive mode also no longer displays the short directory header used in scans: its prompt already names the library and directory, and each directory starts on its own screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  220. Rob Swindell (on Windows 11)
    Thu Nov 19 2026 10:39:18 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/mailbox/read.js diff
    tests/mailbox/read.js: open files shareable in read_file() The test reads the shared mail base's .shd file to check that a second mark_read does not write to it, while a Store still has the base open for writing. File.open("rb") denies writers by default, so on Windows the open failed with "cannot open ...shared_mail.shd"; nothing enforces the share mode on Unix, so the test passed there. The test was added in 457571240a (2026-11-18). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  221. Rob Swindell (on Windows 11)
    Thu Nov 19 2026 10:39:18 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/str_util.c diff
    str_is_ascii(): don't depend on plain char being signed The test for a non-ASCII byte was "*p < 0", which is never true where plain char is unsigned (e.g. Linux on ARM), so every string was reported as ASCII there. Compare the byte as unsigned instead. This is what failed exec/tests/mailbox/mailsig.js on the raspberrypi-arm64 CI runner: mailsig.js saw a CP437 signature as ASCII and skipped its conversion to UTF-8. The JS str_is_ascii() function and every C caller were affected on such platforms. The signed comparison dates from 1340f563c47 (2019-07-08). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  222. Rob Swindell (on Windows 11)
    Thu Nov 19 2026 09:48:34 GMT-0800 (PST)
    Modified Files:
    

    xtrn/lord2/lord2.js diff
    lord2: actually close stime.dat and time.dat after rewriting them load_time() truncated and rewrote both files, then evaluated "f.close" without calling it, so the buffered write only reached disk if the File object happened to be finalized cleanly. When it wasn't, both files were left at 0 bytes and every later run, the nightly /MAINT event and players entering the game alike, threw "Corrupt .../stime.dat" until the files were repaired by hand. The missing parentheses date from c1909b32bcb (2019-09-23). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  223. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 09:31:57 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/smbutil.c diff
    smbutil: test pack's header allocation result before offsetting it Pack added the base's header offset to smb_fallochdr()'s return value before testing it for an error. With the usual header offset (32) the sum stayed negative, so the message was still skipped but the error was logged with the wrong code (e.g. -70 for SMB_ERR_HDR_OFFSET, -102). A base with a header offset larger than the error code's magnitude would have had the failure go unnoticed and the header written at a bogus offset. The header offset is now added only to a successful allocation. Also note the allocation and chksmb fixes in the v3.22 release notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  224. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 09:15:00 GMT-0800 (PST)
    Modified Files:
    

    src/smblib/smblib.c diff
    smblib: free text_subtype/text_charset in smb_freemsghdrmem() smb_freemsghdrmem() ended with clear_convenience_ptrs(), which NULLs text_subtype and text_charset along with the pointers into header-field data. Those two are not such pointers: smb_parse_content_type() strdup()s them from a text/* Content-Type field, so they leaked each time a header with one was freed this way. MsgBase.put_msg_header() does that on every call (it re-reads the header and frees its fields before re-parsing the JS header object), leaking both strings per call; valgrind flagged it in the jsexec-testsuite-valgrind CI jobs. Free them alongside the header fields they are derived from. smb_freemsgmem() calls smb_freemsghdrmem(), so its own frees of the two are dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  225. Rob Swindell (on Debian Linux)
    Thu Nov 19 2026 09:11:29 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/listfiles/lib.js diff
    tests/listfiles/lib.js: load listfiles_lib.js by path for jsdoor jsdoor sets exec_dir to the cwd, so a bare load("listfiles_lib.js") never searches exec/load/ and the jsdoor-testsuite CI jobs failed on every platform. Load it relative to the test directory, as dns/records.js does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  226. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 22:50:26 GMT-0800 (PST)
    Modified Files:
    

    exec/webfileindex.ssjs diff
    webfileindex.ssjs: escape file descriptions in the listing A file's description and extended description were written into the directory listing page as they are stored. Both are text the uploader types, so markup in one was rendered by the browser of anyone viewing that listing. They now go through html_encode() first, as the archive contents on the view page already do. File names were not affected: the characters that matter are not allowed in them. Part of #1363; the download headers described there are a separate change in the web server. Checked: the escaping on sample text under jsexec (markup shown as text, CP437 line drawing and the extended description's line breaks kept), and a live directory listing viewed by the sysop. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  227. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 21:32:08 GMT-0800 (PST)
    Added Files:
    

    exec/load/mailbox.js diff
    exec/load/mailbox_files.js diff
    exec/load/mailbox_mime.js diff
    exec/load/mailbox_summary.js diff
    exec/load/mailbox_tags.js diff
    exec/load/mailsig.js diff
    exec/tests/mailbox/files.js diff
    exec/tests/mailbox/kit.js diff
    exec/tests/mailbox/mailsig.js diff
    exec/tests/mailbox/read.js diff
    exec/tests/mailbox/skipif diff
    exec/tests/mailbox/store_limits.js diff
    exec/tests/mailbox/store_read.js diff
    exec/tests/mailbox/store_write.js diff
    exec/tests/mailbox/summary.js diff
    exec/tests/mailbox/tags.js diff
    Mailbox library: one per-user mailbox for every front end (#945) A stock library in exec/load that presents the system mail base and a private per-user e-mail base as one mailbox, so the web, the terminal and other services can share the same rules. The system mail base stays the Inbox. What a user keeps (folders, Sent copies, Trash) lives in data/user/NNNN/mailbox, created on the first write. Nothing calls the library yet. - mailbox.js (Store): folders, lists, search, delivery status of sent mail and a change fingerprint; flags; moving mail between the Inbox and folders; Trash with restore, emptying and expiry by system.max_trash_age; folder create, rename and delete; a quota from system.mailbox_quota; reading a message (text and HTML bodies, attachments, file attachments, the original headers, a raw .eml). - mailbox_tags.js: folders and flags as message header tags. Reserved tags start with "$"; a user folder's tag is its percent-encoded name. - mailbox_summary.js: a cached list of the private base with a running usage total, updated in step with each write. - mailbox_files.js: JSON side files with a locked read-modify-write. - mailbox_mime.js: picks bodies and attachments from a message's parts and turns attachment names into safe download names. - mailsig.js: a separate UTF-8 mail signature, data/user/NNNN.mail.sig, falling back to the general signature. Rules the library enforces: a user can list, read, change or download only mail addressed to them, mail they sent, and their own private base. Deleting moves a message to Trash; removing it from Trash frees its space. A move between the two bases is journaled, so one that is interrupted is finished on the next write without losing the message or merging it with a look-alike. Mail older than the mail base's maximum age is not put back in the Inbox, where maintenance would delete it: a restore sends it to Archive instead. Errors returned to callers carry a code and a fixed text, never a server path. Each public call reopens the message bases, because an open base can return stale index and header data after another handle rewrites a record (#1356). Tests are in exec/tests/mailbox and use scratch bases only. Run on Linux only; nothing here has run on Windows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  228. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:09 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/control/SKILL.md diff
    control skill: hand-edited config files need an explicit recycle No server watches ctrl/main.ini, msgs.ini, file.ini, xtrn.ini or chat.ini, so a change made to one of them by hand or by a script takes effect only after a recycle. SCFG triggers that itself (refresh_cfg() touches ctrl/recycle and flags every node to rerun); a hand edit must touch the recycle semaphore, scoped as narrowly as the change allows. Also correct the description of the watched config files: SCFG saves take effect through refresh_cfg(), not through the sbbs.ini watch, and the watched startup file is the host-specific sbbs.<hostname>.ini when one exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  229. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:09 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v322_new.md: listfiles.js and the new bbs file methods Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  230. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:09 GMT-0800 (PST)
    Added Files:
    

    exec/listfiles.js diff
    text/menu/listfiles_help.msg diff
    Modified Files:

    ctrl/modopts.ini diff
    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    listfiles.js: stock List Files loadable module A JavaScript replacement for the built-in file lister, used when "listfiles" is set as the List Files loadable module in SCFG. By default its listings look like the built-in lister's, in every listing mode (plain, new-file scan, search, extended information and view). Sysop customization, with no code changes: - Directory headers: data/dirs/<code>.hdr, else the first of the menu files listfiles_<code>_head, listfiles_lib<N>_head and listfiles_head, else the built-in box; and likewise an optional footer (*_tail). - Each file's line is an @-code template, with the usual width and alignment modifiers: any @FILE_*@ code, plus the module's own codes for the name, size, description, markers, letter, tag and colors. - Markers, colors, box characters, the commands bar, the prompt and indicators are [listfiles] options in ctrl/modopts.ini, which can be set for one library ([listfiles:lib<N>]) or one directory ([listfiles:<code>]). For users with batch flagging enabled, on a terminal that can position the cursor (ANSI or PETSCII), the listing is interactive: a highlighted current file moved with the arrow keys (scrolling as needed), PgUp/PgDn/Home/End (and Backspace), Space or a double-click to tag files (check marks), mouse selection, and the batch commands acting on the tagged files or the current one. Arrows on either side of the prompt's verb show whether there are more files above or below, and the current file's position is shown above the prompt. The '?' help is the new text/menu/listfiles_help.msg. On other terminals, batch flagging works as it does in the built-in lister (letters A-Z per screen). Fixes #1353 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  231. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:09 GMT-0800 (PST)
    Added Files:
    

    exec/tests/atcodes/file_codes.js diff
    exec/tests/listfiles_bridges/bridges.js diff
    exec/tests/listfiles_bridges/skipif diff
    Modified Files:

    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/js_filebase.cpp diff
    src/sbbs3/sbbs.h diff
    JS bbs object: @FILE_*@ codes and per-file actions for file listers For JavaScript file listers, such as a List Files loadable module (#1353): bbs.expand_atcodes(string, file, dir_code) expands the @FILE_*@ codes (with their width/alignment modifiers) for a FileBase file metadata object in the directory with the internal code dir_code, as is already done for the MSG_* codes with a message header object. New methods act on one file in a directory, given its internal code and the filename, with the built-in file lister's checks and messages: - bbs.batch_add_file(dir_code, filename): add it to the batch download queue - bbs.view_file_info(dir_code, filename [,extended=true]): display its extended information (or contents) and prompt for an action - bbs.remove_file(dir_code, filename [,delete_file] [,remove_credits]) and bbs.move_file(dir_code, filename, dest_dir_code): when the current user may remove files from that directory Tests: exec/tests/atcodes/file_codes.js and exec/tests/listfiles_bridges/ (skipped unless there's a file directory with the internal code LISTFILES_TEST). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  232. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:08 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v322_new.md: new MsgBase methods and related JavaScript additions Release notes for the new MsgBase methods and e-mail-type path bases, per-recipient netattr, User.can_send_mail(), the msg_area netmail cost properties, the system mailbox properties, and the save_msg() change that stores the mime_version and content_type header properties. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  233. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:08 GMT-0800 (PST)
    Modified Files:
    

    ctrl/web_alias.ini diff
    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    websrvr: [dir] section of web_alias.ini serves a directory at a URL The web server serves only what is under its root directory, so a directory elsewhere could be served only through a link or a copy. A [dir] section in ctrl/web_alias.ini now maps a request-path prefix to a real directory, absolute or relative to ctrl: [dir] /webmail/ = ../webmail/root/ Lines outside the section keep their meaning (request path to request path), and a file without the section behaves as before. A [dir] match takes precedence over the root-section aliases, the web root, virtual-host directories and file-area paths, for any host name; the longest key wins. An aliased request is confined to its directory by an exact containment test in place of the web-root test, and its webctrl.ini walk starts at the aliased directory, so the site root's webctrl.ini does not apply there. A bad key or a value that is not a directory is logged and ignored. The stock web_alias.ini gains a commented example and notes on what a [dir] directory serves; no alias is enabled by default. Tested with a script that runs the web server alone on a loopback port against a throwaway configuration: 23 checks, including four spellings of a "../" traversal and a sibling directory with the same name prefix (all refused), webctrl.ini enforcement, a virtual host, and a run with the section removed. Linux only; the traversal cases have not been run on Windows. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  234. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:08 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/user/rtypes.js diff
    src/sbbs3/js_msg_area.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    JS: User.can_send_mail() and msg_area netmail cost properties So a script can apply the rules the terminal applies when a user sends mail, instead of re-implementing them. user_can_send_mail() had no caller and differed from the rules the terminal applies in email.cpp and netmail.cpp. It now matches them in these respects: sysops are exempt from the e-mail-per-day limit and from the "netmail allowed" checks, and it takes a recipient count so the limit is checked as today's count plus that count. It is exposed as User.can_send_mail(net_type [, to_usernum] [, count]). msg_area.inet_netmail_cost and msg_area.fido_netmail_cost expose the credit cost per netmail recipient. Differences from the terminal that remain: the terminal lets a restricted user send validation feedback, decides "to the sysop" by the recipient's level, and also requires a configured FidoNet address. The allowed path was verified by reading the code against the terminal sources, not by execution: the stock test configuration has no real user. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  235. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:08 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/system/rtypes.js diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgmsg.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    Mailbox settings: Trash age and per-user quota (#21) Two sysop settings for a per-user mailbox, in the [mail] section of msgs.ini: max_trash_age (days, default 30, 0 = never purge) and mailbox_quota (bytes, default 1G, 0 = unlimited). They are loaded and saved with the rest of the configuration, editable in SCFG under Message Options after "Purge SPAM by Age", and readable by scripts as system.max_trash_age and system.mailbox_quota. Nothing enforces them yet; they are for the mailbox code that follows. The SCFG quota prompt accepts K, M, G and T suffixes and rejects input that does not start with a digit. Checked by driving SCFG on a scratch copy of ctrl: 0, a nonzero value and an absent key each round-trip. Built with GCC only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  236. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:08 GMT-0800 (PST)
    Added Files:
    

    exec/tests/msgbase/copy_msg.js diff
    exec/tests/msgbase/email_path.js diff
    exec/tests/msgbase/parts.js diff
    exec/tests/msgbase/purge.js diff
    exec/tests/msgbase/save_from_file.js diff
    Modified Files:

    src/sbbs3/js_msgbase.cpp diff
    src/sbbs3/load_cfg.c diff
    src/smblib/smbdefs.h diff
    src/smblib/smblib.h diff
    src/smblib/smbtxt.c diff
    MsgBase: methods for a per-user e-mail base and large messages New JavaScript MsgBase methods and options, groundwork for a per-user mailbox (folders, Sent copies, Trash) kept outside the shared mail base: - new MsgBase(path, true, true) creates a path-opened base as an e-mail base: index records carry user numbers and duplicate messages are not rejected. Creation and the type check run under the header lock, so concurrent first opens of a new base cannot wipe each other's saves. - copy_msg() and move_msg() copy a message to another open base through native memory, rebuilding the index for the destination's type and clearing the thread links. move_msg() flags the source deleted under the header lock and undoes the copy if that fails, so a failed move leaves the original and two concurrent moves leave one copy. File attachments stay with the moved message. - save_msg_from_file() saves a message whose body is read from a file, and a rcpt_list entry may carry its own netattr. - save_msg() now stores the header properties mime_version and content_type (documented but previously ignored) as header lines, unless the header already has them. - get_msg_parts() lists a message's MIME parts and save_msg_part() writes one decoded part, or the whole body, to a file. They use a new bounded MIME walker and binary-safe decoders in smblib (smb_getmimeparts, smb_decodemimepart, smb_freemimeparts). - purge() frees the deleted messages of a path-opened base. It is refused on the mail base, configured subs and file bases. An e-mail-type base other than the system mail base always uses self-packing storage, whatever the "MailBase Storage Method" setting: nothing else packs such a base, so the space purge() frees must be reused. With a throwaway configuration set to Fast Allocation, saving three 20 KB messages, purging one and saving another grew the data file from 60672 to 80896 bytes before this rule and left it at 60672 after. copy_msg(), move_msg(), get_msg_parts() and save_msg_part() refuse a message number that is not a number or is 0, which would otherwise select the oldest message in the base. Tests are in exec/tests/msgbase. The creation and double-move races were verified with manual multi-process runs (500 rounds of 8 and of 2 jsexec processes) since no single-process test can reach them. The MIME walker was run under valgrind. Built with GCC only; not yet built with Clang or MSVC. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  237. Rob Swindell (on Debian Linux)
    Wed Nov 18 2026 19:34:08 GMT-0800 (PST)
    Added Files:
    

    exec/load/listfiles_lib.js diff
    exec/tests/listfiles/lib.js diff
    listfiles_lib.js: library for a stock List Files module The pure (terminal-independent) part of a JS replacement for the built-in file lister (#1353): the [listfiles] modopts.ini defaults (reproducing the built-in lister's output), merging the global, per-library and per-directory option sections, the order in which header/footer menu files are looked up (directory, library, then all), widening of long filespecs as the built-in lister does, a port of format_filename(), Ctrl-A codes for an attr.ini color, the module's own @-codes (with the standard -L/-R/-C and | width/alignment modifiers), and splitting files of varying heights (extended descriptions) into pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  238. Rob Swindell
    Mon Nov 16 2026 23:14:36 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/inflate.js diff
    xtrn/sixelview/pdf2sixel.js diff
    xtrn/sixelview/pdf2sixel_demo.pdf diff
    xtrn/sixelview/pdf2sixel_fonts.js diff
    xtrn/sixelview/pdf2sixel_lib.js diff
    xtrn/sixelview/pdfview.js diff
    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/sixelview.js diff
    xtrn/sixelview/sixelview_lib.js diff
    xtrn/sixelview/text/sixelview_demo.bmp diff
    xtrn/sixelview/text/sixelview_demo.gif diff
    xtrn/sixelview/text/sixelview_demo.jpg diff
    xtrn/sixelview/text/sixelview_demo.pdf diff
    xtrn/sixelview/text/sixelview_demo.png diff
    xtrn/sixelview/text/sixelview_demo.ppm diff
    xtrn/sixelview/text/sixelview_demo.six diff
    Merge branch 'sixelview' into 'master' sixelview pdf and image viewer See merge request main/sbbs!743

  239. Nigel Reed
    Mon Nov 16 2026 23:14:36 GMT-0800 (PST)
    Added Files:
    

    xtrn/sixelview/inflate.js diff
    xtrn/sixelview/pdf2sixel.js diff
    xtrn/sixelview/pdf2sixel_demo.pdf diff
    xtrn/sixelview/pdf2sixel_fonts.js diff
    xtrn/sixelview/pdf2sixel_lib.js diff
    xtrn/sixelview/pdfview.js diff
    xtrn/sixelview/readme.txt diff
    xtrn/sixelview/sixelview.js diff
    xtrn/sixelview/sixelview_lib.js diff
    xtrn/sixelview/text/sixelview_demo.bmp diff
    xtrn/sixelview/text/sixelview_demo.gif diff
    xtrn/sixelview/text/sixelview_demo.jpg diff
    xtrn/sixelview/text/sixelview_demo.pdf diff
    xtrn/sixelview/text/sixelview_demo.png diff
    xtrn/sixelview/text/sixelview_demo.ppm diff
    xtrn/sixelview/text/sixelview_demo.six diff
    sixelview pdf and image viewer

  240. Rob Swindell (on Debian Linux)
    Mon Nov 16 2026 22:27:31 GMT-0800 (PST)
    Modified Files:
    

    exec/str_cmds.js diff
    str_cmds.js: colorize ;help command syntax and align the columns The ;help listing printed each command's syntax in one bright color, so optional, required and literal arguments looked the same. Now the command name is bright white, the [ ] < > | punctuation normal white, literal keywords (ALL, LIB) bright cyan, and placeholders normal cyan. The fixed 18-column field overflowed on longer entries such as "CHUSER [Name or Number]", misaligning their descriptions. The full listing now sizes the column to the longest command (capped at 24). ";help OLD" prefix-matched OLDUL; an exact command-name match is now tried before the prefix match. And "[ALL|LIB|blank]" is now "[ALL|LIB]", as the brackets already mean optional. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  241. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 22:27:04 GMT-0800 (PST)
    Modified Files:
    

    ctrl/file.ini diff
    docs/v322_new.md diff
    src/sbbs3/filedat.c diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgxfr1.c diff
    src/sbbs3/scfgdefs.h diff
    Viewable/testable file types, download events: file extension lists The file extension of a Viewable File Type, Testable File Type or Download Event may now be a comma-separated list of extensions (e.g. "jpg,jpeg,png"), so that one entry covers every file type its command line handles. file_type_match() tries each element of the list (each may still contain wildcards), and the "extension" value of these file.ini sections may be up to 255 characters long (was 15). An existing single-extension entry is read and matched as before. Extractable and Compressible File Types still take one extension. SCFG: - The "File Extensions" option of these entries is edited as a list of extensions (Insert, Delete, cut/copy/paste), stored comma-separated. Duplicates are refused and the last extension can't be deleted. - The extension column of the three lists widens to fit the longest entry, as far as the screen width allows, and a longer list is abbreviated with "...". - Regenerated the option search index, which also adds the Scan Config and QWK Section loadable module options that were missing from it. The stock file.ini viewers that share a command line are combined: one for the text file types and one for the fileinfo.js media types, which gains OPUS, OGA, MIDI, M4V and ASF. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  242. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    xtrn/syncdoom/lobby.msg diff
    syncdoom: lobby menu art with tainted's demon tainted (via grymmjack) added a demon to the lower right of the lobby art, where the red mound of commit 6319500f1f (2026-11-14) was. Only rows 13-24 change; the logo and the lightbar menu rows are untouched, and the art is still 24 rows with column 80 unused. The artist's file carries no blink attributes, so the bright (iCE) backgrounds of cells that are otherwise unchanged are kept from the previous art. Six cells that were redrawn no longer have one. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  243. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Added Files:
    

    exec/fileinfo.js diff
    Modified Files:

    ctrl/file.ini diff
    docs/v322_new.md diff
    New viewer module: fileinfo.js, for audio, video and image files Identifies a file by its content rather than its name and displays its format, bitrate, sample rate, channels, dimensions, length and tags, followed by any SAUCE record. Only the file's headers and trailers are read (MIDI files, being small, are read whole), so the result is immediate for a file of any size, where an external tool such as "mp3info -x" reads an entire variable-bitrate MP3 file to do the same. Supported: MP3 (ID3v1/v2), WAV, FLAC, Ogg Vorbis/Opus, MOGG (Rock Band multitrack Ogg), MP4/M4A/MOV, AVI, WMA/WMV, MIDI, JPEG, PNG, GIF and BMP, with a type-only line for PDF and ZIP/RAR/7-Zip files. The length of a variable-bitrate MP3 file comes from its Xing or VBRI header; without one it is estimated from the leading frames and labeled as such. A file larger than 4GB needs the 64-bit File.position support to be read past that offset, and gets a type-only line without it. The stock file.ini gains viewer entries ("?fileinfo %f") for the media file extensions, ahead of the catch-all archive viewer. Issue #1352 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  244. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_file.cpp diff
    JS File.position: support offsets beyond 4GB The position setter converted the value to a 32-bit unsigned integer (370b79dd7a (2021-04-22)) and both accessors used fseek()/ftell(), so a script could neither seek past 4GB in a larger file nor read back its position there: an assigned offset silently wrapped modulo 2^32. Example: a script walking the atoms of a 37GB MP4 file could not reach the "moov" atom stored at the end of the file. Take the value as a number and use fseeko()/ftello(). A negative or non-numeric value now seeks to the start of the file. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  245. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v3.22 notes: %~ command-line specifier quoting on Windows Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  246. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/filedat.c diff
    src/sbbs3/xtrn.cpp diff
    cmdstr: only quote the Windows %~ path when it contains whitespace The previous change ("cmdstr: quote the Windows %~ path when it has no 8.3 short name") quoted the path whenever it contained any shell- special character. That set includes '~', which every generated 8.3 short name contains, so ordinary short paths became quoted too, and the 16-bit DOS programs %~ exists for may not strip the quotes. Quote only a path that still contains a space or tab, i.e. one that GetShortPathName() could not shorten. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  247. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scandirs.cpp diff
    File scan: blank line before "Files Listed" without batch flagging NFilesListed begins with a conditional blank line, but the Scanned text printed just before it is a carriage return, which marked the preceding line as blank and so suppressed it: the file count was printed directly below the last listed file. Users with batch flagging enabled weren't affected, since the erased batch flag prompt leaves a blank line there. Print the Scanned text without disturbing the terminal's record of the preceding line. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  248. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/filedat.c diff
    src/sbbs3/xtrn.cpp diff
    cmdstr: quote the Windows %~ path when it has no 8.3 short name On Windows, the %~ command-line specifier substitutes the result of GetShortPathName(), appended unquoted since 652fe9ca525 (2001-03-02). For a file with no short name (8.3 name creation disabled on the volume, or a network share that doesn't provide them) that result is the long path, so a filename containing spaces was split into multiple arguments. Example: viewing "1994 post-Congenital demos.mp3" with the stock viewer "%@mp3info -x %~" failed with "Error opening MP3" for each word of the name, followed by an ERR_EXEC error in viewfile(). Quote the substituted path when it contains shell-special characters, as %f and the non-Windows %~ already do. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  249. Rob Swindell (on Windows 11)
    Mon Nov 16 2026 21:58:13 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/listfile.cpp diff
    File scan: single blank line between directory listings With batch flagging enabled, each directory's listing ends at the batch flag prompt, which emits its own blank line before the prompt and is erased after the keypress. The next directory's short header then added a second blank line unconditionally, leaving two blank lines between directories in a multi-directory scan. Emit the header's leading blank line only when the preceding line is not already blank. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  250. Deucе
    Sun Nov 15 2026 15:28:45 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/scripts/auto/connected/capture_menu.wren diff
    Restore the terminal before saving a binary screen capture Defer the capture action until the capture menu modal has restored the terminal so binary screenshots do not include the capture type menu. Validated Binary, Binary with SAUCE, both cancellation paths, and ASCII/Raw logging in a headless session. Rebuilt the local SyncTERM binary. Fixes #301.

  251. Rob Swindell (on Windows 11)
    Sun Nov 15 2026 15:13:27 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/menubar.js diff
    exec/load/select_item.js diff
    select_item.js, menubar.js: Backspace, Left and Right arrow keys In the lists of select_item.js (area selection, uselect.js, text_sec.js, xtrn_sec.js, scancfg.js), Backspace now leaves the list as the quit key does. In a single-column list so does the Left arrow key, and the Right arrow key chooses the default item, as Enter does. In a multi-column list those two keys still move between the columns. A key that's one of the caller's own command keys is still returned to the caller. MenuBar.move() now returns whether there was an item to move to, and MenuBar.handle() uses that for the Left and Right arrow keys of a menu whose items are all in one column: Right returns the current item's command (as Enter does) and Left is returned unchanged, which select_item.js takes as the quit key for a menu file displayed in place of one of its lists. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  252. Rob Swindell (on Windows 11)
    Sun Nov 15 2026 12:22:38 GMT-0800 (PST)
    Added Files:
    

    exec/scancfg.js diff
    Modified Files:

    ctrl/main.ini diff
    ctrl/modopts.ini diff
    docs/v322_new.md diff
    src/sbbs3/load_cfg.c diff
    src/sbbs3/scansubs.cpp diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    New loadable module: Scan Config (scancfg.js), on select_item.js The message scan configuration lists (new-scan and your-scan) and the new-scan pointer lists, bbs.cfg_msg_scan() and bbs.cfg_msg_ptrs(), now run a "Scan Config" loadable module when one is set (SCFG->System->Loadable Modules->Scan Config, the "scancfg" key of main.ini), invoked as "<module> cfg <mode>" or "<module> ptrs". The built-in lists remain, and are what runs when no module is set. The stock module, scancfg.js, displays the same group and sub-board lists with the same text.dat strings and prompts, through select_item.js: a list longer than the screen is paged, the navigation keys move the default item when one is marked, Enter then chooses it, Find searches the names, and the default item and page are kept from one change to the next. The modopts.ini [scancfg] options are selected_item_prefix, unselected_item_prefix, selected_item_attr, lightbar and more_fmt; without the first three the lists look as the built-in ones do. The new-scan pointer for a date, and the date a pointer is at, are found by a binary search of the message index (MsgBase.get_msg_index). The compiled-in default is no module, so that a sysop can clear the option to get the built-in lists back; the stock main.ini sets it to scancfg. An existing system keeps the built-in lists until its sysop sets the option. The size of scfg_t changes, so everything that loads the configuration needs rebuilding together (sbbsctrl included). Built with MSVC (Release, Win32) only. Issue #1350 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  253. Rob Swindell (on Debian Linux)
    Sun Nov 15 2026 00:36:30 GMT-0800 (PST)
    Modified Files:
    

    webv4/lib/forum.js diff
    webv4: take a poll's tally from the sub's threads, not every header getUserPollData() called get_all_msg_headers() on the whole sub to find one poll's tally, which get_msg_header() doesn't provide. A thread view does this for every poll it shows, so a page with 8 polls in a 5,145 message sub spent 393 ms on it. The tally is now taken from getMessageThreads(), which caches it with the rest of the sub's threads. A thread view has already loaded those threads, so its polls reuse them: that page now spends 14 ms. The poll's other fields come from get_msg_header(). A poll that isn't in the threads (such as one older than max_messages) still falls back to reading every header. getUserPollData() now also requires that the user can read the sub, as getMessageThreads() does; before, any user could read the tally and answers of a poll in a sub they had no access to. Results were identical to the previous code for all 25 polls on a production install. Part of #1339. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  254. Rob Swindell (on Debian Linux)
    Sun Nov 15 2026 00:36:30 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v3.22 notes: ANSI music on UTF-8 terminals Records the fix in 1635fb18e6 (goat-4-gather, 2026-11-13). The bug was present in v3.20 and v3.21, which also translated the terminating SO to U+266B on UTF-8 terminals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  255. Rob Swindell (on Debian Linux)
    Sun Nov 15 2026 00:36:30 GMT-0800 (PST)
    Modified Files:
    

    webv4/root/api/forum.ssjs diff
    webv4: remove the unused get-thread-list forum API call The call has failed with a ReferenceError since it was added in 3d556da85e (length-37-users, 2021-03-07): it calls getThreadList(), which exists only as a method of the forum object in lib/forum.js. Nothing in webv4 makes the call, and nothing uses that object. Correcting the reference would have been worse than the error. That function returns the sender, recipient, address and subject of every message in whatever sub it is given, with no can_read check, no anonymous masking and no spam filtering, so any logged-in user could have listed the headers of other users' private mail. It also reads every header in the sub on each request. An unknown call now gets the API's usual empty reply instead of a 500. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  256. Rob Swindell (on Debian Linux)
    Sun Nov 15 2026 00:36:30 GMT-0800 (PST)
    Modified Files:
    

    webv4/lib/forum.js diff
    webv4: name thread cache temp files correctly, remove abandoned ones The temporary file a sub's thread cache is written to was named with format('%d', Date.now()), which overflows a 32-bit int, so every name carried -2147483648 and only the random suffix kept them apart. And a write that never finished (the request aborted, or the script was stopped mid-write) left its partial temp file in data/webv4/threads/ indefinitely. Name the file with the full millisecond time, and before writing a sub's cache, remove that sub's temp files older than 10 minutes. A complete rewrite of the largest sub measured takes about 10 seconds, so that age is never a write still in progress. Follows d7197cf656 (pushed-21-bodies, 2026-11-13). Part of #1339. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  257. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 23:59:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/objects.mk diff
    jsdoor: link boolsrch.o, which js_global.o now needs jsdoor failed to link with undefined references to bool_expr_compile(), bool_expr_match_fields() and bool_expr_free(): js_global.cpp has called them since the bool_search() JS function was added in 678ac2ea59 (2026-11-14), and jsdoor builds js_global from its own object list (JSDOOR_OBJS), which didn't include boolsrch. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  258. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 23:53:33 GMT-0800 (PST)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    xtrn/syncarcade/syncretro.ini diff
    xtrn/syncivision/syncretro.ini diff
    xtrn/syncivision/tests/test_syncretro_lobby.js diff
    xtrn/syncnes/syncretro.ini diff
    syncretro: optional selection bar in the lobby, and a boolean Find New [lobby] selected_attr option (Ctrl-A codes) in syncretro.ini gives the cartridge list a selection bar: the selected entry's title is drawn in those colors, the arrow keys move the bar (Up/Down through the list and on to the next page, Left/Right between the columns of a page), N/P and PgDn/PgUp carry it to the next or previous page, Home/End go to the ends of the list and Enter plays the entry under it. A move within a page repaints two cells rather than the page. A cartridge played by number is where the bar then is. Without the option nothing changes: there is no selected entry and Enter still turns the page. Find still filters the list, but its term is now a boolean search expression (AND/OR/NOT, parentheses, phrases, quoted whole words) matched against the title, where the BBS has bool_search(); a plain substring otherwise. A syntax error is reported with the new [text] bad_search string and leaves the list as it was. The input is 60 characters rather than 30. syncretro_cell() takes an optional attribute for the padded title. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  259. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 23:53:33 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/select_item.js diff
    select_item.js: name the Find keys in the prompt; N and P page the list Changes to the Find command of the select_item() lists (issue #1345): - The keys are named in the list's own prompt rather than on a line above it: "Find, " and, once there has been a search, "Next, Prev, " are inserted ahead of the prompt's first command key (e.g. "Which, Find, Quit, or [3]: "), and a prompt of the form "Which or Quit: " becomes "Which, Find, or Quit: ". They are displayed as part of the prompt's mnemonics, so 'F', 'N' and 'P' are its highlighted keys. The gettext() strings (find_hint, find_slash_hint, find_next_hint) use the @Find@, @Next@ and @Previous@ text. - 'F' is the key named ('/' remains an alias, and is the one named only where 'F' is the caller's own command key). - 'N' and 'P' repeat a search only when one has been made in the list as currently displayed. Otherwise, and in lists without Find, they page the list as PgDn and PgUp do, unless they are the caller's own keys. The previous expression is still the default of the next search. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  260. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 23:31:15 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/select_item.js diff
    exec/load/shell_lib.js diff
    exec/text_sec.js diff
    exec/uselect.js diff
    exec/xtrn_sec.js diff
    Find in the select_item.js lists: search by name with boolean terms A caller of select_item() that passes the new 'search' option (a function returning the text of an item) gets a Find command (issue #1345): - '/' or 'F' prompts, on the prompt's line, for a boolean search expression (see bool_search()), using the SearchStringPrompt text and defaulting to the previous search; '?' displays the textsrch help menu and a syntax error is reported with InvalidSearchExpression, each followed by the prompt again. - 'N' and 'P' repeat the search forward and backward, once there has been one. - Each moves the selected item to the next (or previous) match, wrapping around and changing page as needed; FindStringNotFound is displayed when nothing matches. The keys are named above the prompt: "/=Find" and, after a search, "/=Find, Next, Prev", following the "more" indicator or, when the list isn't paged, on the prompt's leading blank line. Those are gettext() strings (keys find_hint and find_next_hint) displayed as mnemonics, the command keys in the normal attribute and the rest in dark gray. A key that is one of the caller's own command keys is left out. Find is not offered in a list without a selected item (no_default), for a menu file displayed in place of a list, or when bool_search() isn't available. What is searched: - area selection lists (shell_lib.js): description, name and, for sub-boards and directories, internal code - uselect.js: the item name - text_sec.js: section name; file description and filename - xtrn_sec.js: section or program name and internal code Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  261. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 23:31:15 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_global.cpp diff
    New JS global function: bool_search(expression [,text] [,...]) Expose the boolean search engine (boolsrch.c) that the Terminal Server's text searches use to JavaScript. The function returns true if the expression matches the text strings given (a term may be found in any one of them), and throws an exception whose message is the syntax error of an invalid expression, so calling it with no text validates one. It has no user interaction of its own: prompting for an expression and reporting an error are up to the caller. For issue #1345. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  262. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 22:53:45 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/shell_lib.js diff
    exec/text_sec.js diff
    exec/uselect.js diff
    exec/xtrn_sec.js diff
    List options: "selected" item, not "default"; xtrn_sec lightbar option Rename the modopts.ini options (all new in v3.22) that mark and highlight the item the arrow keys move and Enter chooses: - [shell], [text_sec] and [xtrn_sec]: default_item_prefix, nondefault_item_prefix and default_item_attr are now selected_item_prefix, unselected_item_prefix and selected_item_attr - [uselect]: default_item_fmt and nondefault_item_fmt are now selected_item_fmt and unselected_item_fmt The old names are no longer read: a modopts.ini that set them needs the keys renamed. New [xtrn_sec] lightbar option: when true, selected_item_attr highlights the whole selected item (its number too, without its own colors) as a bar the width of the list's widest item, rather than its name alone. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  263. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 22:38:33 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/select_item.js diff
    exec/xtrn_sec.js diff
    select_item.js: lightbar navigation of a menu file's @BAR items When the menu file displayed in place of a list (the 'menu' option, e.g. the xtrn_sec, xtrn<n>, text_sec and text<n> menus) has lightbar items (@BAR codes), the arrow, Home and End keys now move the bar among them and Enter chooses the highlighted one, via load/menubar.js. An item returns what the user could type instead: an item number, the quit key or one of the caller's command keys. Typed numbers and keys, and so mouse clicks, are read at the prompt as before. The bar starts on the item for the caller's default (opts.current), else on the one the file names with @BARDEFAULT, else on its first item. xtrn_sec.js passes the section or program last chosen as that default, so the bar returns to it when a menu is redisplayed. Enter at a section menu file with lightbar items enters the highlighted section; without them it still quits. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  264. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 21:49:13 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/select_item.js diff
    exec/xtrn_sec.js diff
    xtrn_sec.js: arrow-key navigation, highlight and paging via select_item.js The external program section and program lists are now displayed and answered through select_item() (issue #1346), as the text file section lists are: - Lists that don't fit on the screen are paged, with an [x-y of n] indicator, rather than scrolled off the top. - New modopts.ini [xtrn_sec] options default_item_prefix, nondefault_item_prefix, default_item_attr and more_fmt mark and highlight a default item that the arrow, Home/End and PgUp/PgDn keys move and Enter chooses. In a program list, the default item is the program last run. Without these options the lists look as they did, Enter does what it did and the navigation keys only page. - The marker is left out of a two-column list that would be wider than the screen with it (the stock format at 80 columns); the highlighted name marks the default item there. - The name is highlighted only when the item format displays it with a plain %s or a fixed-width field (e.g. %-32.32s). - With clear_screen disabled, a list is displayed as before, without paging or navigation. - The multicolumn, center, sort and align options, the head and tail menu files and the menu files displayed in place of a list (answered by number only) are unchanged. select_item.js gained what this needed: - columns and column_separator options: the items are listed down each column in turn and the left and right arrow keys move between the columns. A list longer than a page of columns is displayed in whole pages, redrawn on a page change. - header may be a function, and a new footer function displays what goes between the list and the prompt. A footer that pushes the prompt off the screen is measured and the list redisplayed in the rows left. - no_clear option: display the list without clearing the screen, not paged and without the navigation keys. The stock modopts.ini enables the marker and highlight. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  265. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 20:22:05 GMT-0800 (PST)
    Modified Files:
    

    exec/load/select_item.js diff
    select_item.js: don't scroll a full page when the prompt is answered A list that fills the screen leaves its prompt on the bottom line, so the newline printed after the echoed quit key, item number or Enter scrolled the whole list up a line before whatever came next. select_item() now reads all of its input with console.getkeys() in K_NOCRLF mode and ends the prompt's line itself: with a newline as before, or on the bottom line of the screen by clearing that line and leaving the cursor at its start. console.getnum() has no mode to suppress its newline, so it is no longer used here: the area selection lists and uselect.js now get their numbers, quit key and navigation keys from console.getkeys() too, as text_sec.js's file list has since 4eb42d604b (2026-11-14). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  266. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 20:16:31 GMT-0800 (PST)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/select_item.js diff
    exec/text_sec.js diff
    text_sec.js: arrow-key navigation, highlight and paging via select_item.js The text file section list and each section's file list are now built on load/select_item.js, as the area selection lists and uselect.js are: a list longer than the screen is paged, with an [x-y of n] indicator, the arrow, Home/End and PgUp/PgDn keys move through it, and it is repainted in place. New modopts.ini [text_sec] options default_item_prefix, nondefault_item_prefix and default_item_attr mark and highlight a default item, which Enter then selects; more_fmt formats the indicator. In a file list the default item is the first file, then the one after the file last read. Without those options the lists look as they did, no item is marked, the navigation keys only scroll a long list and Enter does what it did before. The highlight is applied only when the text.dat format displays the name with a plain %s. A text_sec or text<N> menu file displayed in place of a list keeps number entry only. The stock modopts.ini enables the marker and highlight, as it does for [shell]. For the file list's command keys ('?' and the sysop's A, R, E and D), select_item() gains two options: "keys", additional command keys returned to the caller (read with console.getkeys() in place of console.getnum()), and "no_default", for a list with no marked item. Ctrl-C at a file list now always quits; it used to read the next file when one had already been read. A clicked item number that could be the start of a longer one is now completed with Enter. First part of #1346; xtrn_sec.js is not changed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  267. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 20:05:50 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/menubar.js diff
    exec/tests/atcodes/lightbars.js diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/putmsg.cpp diff
    src/sbbs3/terminal.cpp diff
    src/sbbs3/terminal.h diff
    @BARDEFAULT:cmd@: let a display file name its first-highlighted item A lightbar menu always started on the first item in file order unless the script displaying it passed a command to MenuBar(), so a sysop editing only the menu file had no say in it. The new code displays nothing and is reported to scripts as the read-only console.bar_default (an empty string when the file has none). It takes the same C-escapes as @BAR:cmd@ and is forgotten with the other lightbar state when the hot-spots are cleared. load/menubar.js uses it only when the script gave MenuBar() no starting item: the user's last selection and an explicit argument (including false, for no highlight) still take precedence, and a command matching no item leaves the first one highlighted. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  268. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 17:26:30 GMT-0800 (PST)
    Added Files:
    

    exec/tests/atcodes/lightbars.js diff
    Add @-code tests for the lightbar codes exec/tests/atcodes/lightbars.js displays a line of lightbar items with console.putmsg() and checks what console.bars, console.bar_attr and console.bar_hot_attr report for: - @BAR:cmd@ ... @BAR@: command, position, width, starting attribute and source text; Ctrl-A codes inside the pair; multi-character and C-escaped commands; regions that share a command - the @[text]cmd@ shorthand, and that one with no command is not an item - @BARATTR@: one attribute, two, the command-key color alone, and the bare form - console.clear_hotspots() forgetting the items and both colors Unlike the other @-code tests it has to write to the terminal; each line it displays is erased again. The mouse hot-spot an item registers can't be read from a script and is not covered. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  269. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 17:21:45 GMT-0800 (PST)
    Modified Files:
    

    src/doors/syncduke/EVENTS_DESIGN.md diff
    src/doors/syncduke/SYNCDOOM_VS_SYNCDUKE.md diff
    syncduke: document the death cause, frag and end event records EVENTS_DESIGN.md's schema listed only start/level/death, with the death record's original fields. Add the cause and by fields, the frag and end records, how the cause is determined and how the lobby feed words each record. The original scope notes are annotated, not rewritten. SYNCDOOM_VS_SYNCDUKE.md no longer lists the events log as a difference beyond the one that remains: SyncDuke's end record is per door session, SyncDOOM's per game. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  270. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 17:17:21 GMT-0800 (PST)
    Modified Files:
    

    src/doors/syncduke/syncduke.h diff
    src/doors/syncduke/syncduke_door.c diff
    src/doors/syncduke/syncduke_events.c diff
    src/doors/syncduke/syncduke_game.c diff
    xtrn/syncduke/syncduke_lib.js diff
    syncduke: log what killed the player and an end-of-session record SyncDuke's activity log said less than SyncDOOM's, and its lobby feed less again. Bring both up to SyncDOOM's level of detail: - The "death" record gains "cause" (environment, suicide, monster or player) and, for a player kill, "by". A player kill is read from the frag the engine credits to the killer, which also covers kills with no damaging sprite (a stomp, a telefrag); otherwise the cause is the owner of the lethal hit: the player's own explosive, an enemy, or neither (a barrel or trap, a fall, drowning, a crusher). - A new "end" record (mode, frags, seconds since "start") is written when the door exits, on the hangup path too. Duke has no game-over edge to hang it on, since a death or level change drops MODE_GAME just as quitting to the menu does, so it is one record per session. - The lobby feed words a death by its cause, as SyncDOOM's does, and omits one at another player's hands (the killer's "fragged" line already reports it). A frag line now names the map. A death record without a cause, from an older door, still reads "died on <map>". No vendored engine or game source is changed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  271. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 17:07:24 GMT-0800 (PST)
    Modified Files:
    

    xtrn/syncdoom/lobby.msg diff
    xtrn/syncduke/lobby.msg diff
    syncduke/syncdoom: whole-word lobby menu items with colored command keys Each menu item was drawn as a command key in its own framed cell followed by the rest of the word, and only the rest of the word was the lightbar item, so clicking the key letter itself did nothing. Draw each item as the whole word in one attribute, spanning the menu box, and mark the full row as the item. The first letter of each word is shown as the command key through the new second field of @BARATTR (blue for SyncDuke, red for SyncDOOM). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  272. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 17:07:24 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/menubar.js diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/putmsg.cpp diff
    src/sbbs3/terminal.cpp diff
    src/sbbs3/terminal.h diff
    @BARATTR: optional second attribute, for a lightbar's command key @BARATTR:<attr>:<key-attr>@ names, after the selected-item attribute, a foreground color for the command key of each lightbar item, so that a menu whose items are whole words in one color (which makes the entire word, first letter included, one selectable and clickable region) can still show which letter is the key. @BARATTR::<key-attr>@ sets the key color alone. As with the selected-item attribute, the Terminal Server only records the value, exposed to JavaScript as console.bar_hot_attr; menubar.js does the drawing. It redisplays each unselected item with the first occurrence of its command in the key color, over the item's own background, when the menu is first displayed and whenever an item is deselected. A selected item is drawn entirely in the selected-item attribute. Only single-character commands are colored. Also: US spelling in two menubar.js comments. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  273. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 16:46:58 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    v3.22 release notes: lightbar @-codes, iCE colours with blink fonts Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  274. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 16:46:58 GMT-0800 (PST)
    Modified Files:
    

    xtrn/syncdoom/lobby.js diff
    xtrn/syncdoom/lobby.msg diff
    xtrn/syncduke/lobby.js diff
    xtrn/syncduke/lobby.msg diff
    syncduke/syncdoom: lightbar lobby menus Mark the five menu items of each lobby.msg with @BAR codes and the artists' selected-item colours (@BARATTR), and drive them with load/menubar.js in both the static and the live-panel menu loops: the arrow keys move the bar, Enter picks the highlighted item (it used to redraw the menu; '?' still does) and the items are clickable. The menus passed every control key through to the lobby so that the BBS's Ctrl-key handlers couldn't draw over the art. That included ESC, which left arrow-key and mouse-click sequences unparsed, the final 'M' of a click report being read as the Multi-player key. Hand ESC back to the BBS at the menus, as was already done for Ctrl-P. Art without @BAR codes, or a Terminal Server that predates them, gets the plain hot-key menu as before (though such a server displays the codes in this lobby.msg as literal text). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  275. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 16:46:58 GMT-0800 (PST)
    Added Files:
    

    exec/load/menubar.js diff
    Modified Files:

    src/sbbs3/atcodes.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/putmsg.cpp diff
    src/sbbs3/terminal.cpp diff
    src/sbbs3/terminal.h diff
    New lightbar @-codes for display files, with a JS library to drive them A display (menu) file can now mark its selectable items, so that a script can offer arrow-key navigation over art that was drawn with a lightbar in mind, without the item positions living in the script: @BAR:cmd@ ... @BAR@ everything displayed between the two codes, on one row, is an item with the command (key) 'cmd' @[text]cmd@ shorthand for a plain-text item; underscores in 'text' are displayed as spaces @BARATTR:attr@ the attribute of the selected item (an attr.ini style string, e.g. B3E), or a bare @BARATTR@ to use the attribute in effect at that point The Terminal Server only records the items: their position, width, starting attribute and source text. They are cleared and scrolled with the mouse hot-spots (so clearing the screen forgets them) but, unlike hot-spots, are kept whether or not the terminal has a mouse. Each item is also registered as a strict mouse hot-spot for its command. JavaScript sees them as the read-only console.bars array (cmd, x, y, width, attr, text) and console.bar_attr. The new load/menubar.js (MenuBar) does the rest: it highlights the current item by redisplaying its text in the selected attribute (the item's own colours reversed when the file names none), moves to the nearest item in the direction of an arrow key, wrapping at the ends, and returns the item's command for Enter. Items that share a command are one item, which is how a multi-row button is made. With no items it passes every key through, so a script can use it unconditionally. A Terminal Server without this change displays the new codes as literal text. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  276. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 16:46:58 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/con_out.cpp diff
    Don't let a Ctrl-A colour code cancel a bright-background code ctrl_a() masked the attribute with 0xf8 when applying a foreground colour code, which discards the BG_BRIGHT flag (bit 10) along with the old colour. A Ctrl-AE (bright background) code followed by a colour code, the order ans2asc -ice writes them in, therefore displayed a normal-intensity background, even for a user with iCE colours enabled. The bug dates from the introduction of BG_BRIGHT and Ctrl-AE in 48e7520e10 (2019-05-09). Keep the flag across foreground colour codes, as the background colour codes already do. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  277. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 16:46:58 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    exec/load/fonts.js diff
    exec/load/user_info_prompts.js diff
    src/sbbs3/text_defaults.c diff
    Let a user's iCE colour setting win over the default blink fonts Bright-background (iCE) colours and the blink/highblink alternate fonts both key off a cell's blink attribute in CTerm, so only one can be in effect. The terminal settings prompt resolved that by not asking the iCE colour question, and clearing the user's setting, whenever a blink font was loaded. On a BBS with blink fonts in its fonts.ini [default] section a user could therefore never enable iCE colours. Always ask the question, and have the user's answer decide: - fonts.js: when activating the 'default' section for a user with iCE colours enabled, deactivate the blink and highblink fonts instead and re-assert bright-background mode (deactivating a blink font turns blinking back on). A door's own [xtrn:*] fonts are unaffected. - user_info_prompts.js: apply a changed answer to the current session right away rather than at the next logon. - IceColorTerminalQ: say what the setting trades away, and drop the "black on yellow and NOT BLINKING" sample text. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  278. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 16:46:58 GMT-0800 (PST)
    Modified Files:
    

    xtrn/syncdoom/lobby.msg diff
    xtrn/syncduke/lobby.msg diff
    syncduke/syncdoom: new lobby menu art by tainted + grymmjack Replace both lobby.msg files with new 80-column ANSI art drawn for these doors by tainted and grymmjack (MiSTiGRiS / FIRE), adapted from the artists' 25-row originals: - 24 rows, since many 25-line terminals reserve a status row. - The menu box lists the keys the lobbies accept (M/S/H/L/Q) and sits above the bottom six rows, which the optional live panel overwrites. - SyncDOOM: the menu moved beside the logo; the area it vacated is filled with a red mound on a shaded backdrop. - The files end in @EOF@ so printfile() doesn't send a newline after the last row and scroll the top row off a 24-row screen. - Bright-background (Ctrl-A E) codes follow the colour codes they apply to. The SyncDuke title box uses a bright-yellow background, shown only to users with iCE colours enabled (brown otherwise). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  279. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 13:59:09 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/chksmb.c diff
    chksmb: report data blocks whose reference count doesn't match The data block check only counted free records in the allocation file and flagged active messages whose blocks were marked free. A block used by two messages but allocated once (cross-linked), or allocated with no message using it (leaked), went unreported; a cross-link surfaced only when the overwritten text happened to break a translation header. chksmb now counts, for every data block, the headers still allocated (deleted or not) that use it, and compares that with the block's reference count in the allocation file. Mismatches are reported per block and as "Data Block Reference Mismatches" in the summary, and the base is reported as having errors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  280. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 13:59:09 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/smbutil.c diff
    src/smblib/smballoc.c diff
    src/smblib/tests/smballoctest.c diff
    smblib: don't allocate over data or headers the allocation file misses smb_allocdat() and smb_allochdr() scanned the allocation file for free blocks until a read came up short and, when that read set EOF rather than an error, took the scan's position as the end of the file. An allocation file that read short or empty, as it can over a stalled network share, therefore placed the new message at block 0, on top of a live message. The same view made smb_fallocdat() and smb_fallochdr() append at block 0. A mail base was found with exactly this: an error notification written by a Windows host during a loopback CIFS stall was allocated data block 0, already in use, overwriting that message's text; the allocation record still counted one reference. The scans now read the length of the allocation file first and treat a short read before its end as an error. When a new message is appended rather than placed in free blocks, it now goes after the end of the data (or header) file if that file is longer than its allocation file accounts for: blocks past the end of the allocation file are unaccounted for, not free. smb_allochdr() also gains the maximum header offset check that the other header allocators have. smbutil's pack allocates while reading the old data and header files through the base's file pointers, so it now points them at the new files for the allocation calls; packed output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  281. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 13:36:32 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/tests/test.js diff
    src/sbbs3/exec.cpp diff
    Search mods and exec for relative ?script paths not found from ctrl A ?script command line (;EXEC, bbs.exec(), external program, editor and menu command lines) with a bare script name is searched for in the startup directory, mods and exec. A relative path containing a directory was only opened relative to the current directory, which is the ctrl directory, so ?tests/test.js failed even though exec/tests/test.js exists. Such a path is still tried relative to ctrl first, so every command line that resolved before resolves the same way (e.g. ?../xtrn/...). Only when it isn't found there is it searched for like a bare name: startup directory, then mods, then exec. The @-code test runner's usage comment now uses the short form: ;EXEC ?tests/test.js atcodes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  282. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 13:36:32 GMT-0800 (PST)
    Added Files:
    

    exec/tests/atcodes/byte_formats.js diff
    exec/tests/atcodes/duration_formats.js diff
    exec/tests/atcodes/freespace.js diff
    exec/tests/atcodes/modifiers.js diff
    exec/tests/atcodes/skipif diff
    Modified Files:

    exec/tests/test.js diff
    Add @-code tests, runnable from a terminal session @-codes are only expanded by the terminal server, so these tests need the bbs object and can't run under jsexec. exec/tests/atcodes/ covers: - display modifiers: case, alignment, width, truncation, zero-padding and thousands separators - byte-count formats (:B, :K, :M, :G, :V) - duration formats (:F, :!, :A, :T, :B, :V, :C, :W, :D, :E, :S, :M) - @FREESPACE@ and its K/M/G/T variants, checked against the free space in bytes The tests set the current user's note, credits and banked minutes to known values and restore them before returning. test.js now takes an optional sub-directory argument, so a sysop can run just these tests from a terminal session: ;EXEC ?<exec dir>/tests/test.js atcodes Under jsexec (and so in CI) the directory's skipif skips them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  283. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 13:33:53 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/sbbsecho.c diff
    sbbsecho: use the sub-board's storage mode when re-tossing bad echomail retoss_bad_echomail() passed "smb.status.attr & SMB_HYPERALLOC" as the storage mode to smb_addmsg(), so a message moved out of the bad-echo area into a sub-board configured for fast allocation was added with self-packing allocation instead, scanning the data allocation file for free blocks on every message. It has done so since the re-toss feature was added in 9f2c88e060 (2017-10-29). Use smb_storage_mode(), as the normal import path in fmsgtosmsg() does. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  284. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 13:30:28 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_msgbase.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/smblib/smblib.c diff
    src/smblib/smblib.h diff
    src/smblib/tests/smbidxtest.c diff
    smblib: add smb_getmsghdr_for_idx() to refuse another message's header smb_getmsghdr() reads whatever header is at msg->idx.offset and checks only its ID and version. A caller that has just looked the message up in the index therefore got no error when the index record pointed at some other message's header (a damaged index, or a header relocated between the lookup and the read) and went on to use that header's content. On the mail base that means one user being sent, or deleting, another user's message, since the index decides whose mailbox a message is in. smb_getmsghdr_for_idx() reads the header the same way, then fails with the new SMB_ERR_HDR_NUMBER when the header's message number is not the index record's. smb_getmsghdr() is unchanged, for the callers that have only an offset (the base-scanning utilities, and the terminal server, which compares the number itself in sbbs_t::loadmsg()). Use it where an index lookup is followed directly by a header read: - mail server: the POP3 size scan at login, RSET, LIST, UIDL, RETR, TOP and DELE, and the send-mail thread - JS MsgBase: get_msg_header(), get_all_msg_headers(), put_msg_header(), remove_msg() and the body/tail readers Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  285. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 11:52:03 GMT-0800 (PST)
    Modified Files:
    

    src/smblib/smballoc.c diff
    src/smblib/smblib.c diff
    src/smblib/tests/smballoctest.c diff
    smblib: don't misallocate or truncate on a bad allocation file or read Hazards in the allocation code that could overwrite or discard live message headers or text: - smb_allocdat() and smb_allochdr() treated a read error during the scan for free blocks as the end of the allocation file, and so allocated the new message at that point, on top of blocks in use. A read error now fails the allocation. The scan loops predate the 2004 split of smblib.c. - smb_freemsghdr() truncated the header file at the header being freed whenever the header allocation file was not longer than that header's end. A short or empty .sha (a missing one is created empty on open) or a failed length query therefore discarded every later header. It now truncates only when the header is exactly the last one accounted for, and fails when the header lies beyond the allocation file. - smb_freemsgdat() truncated the data file to the length implied by the data allocation file. A failed length query yielded -1, which divided to 0 and passed the ">= 0" check, truncating the data file to nothing; a short .sda truncated text the same way. It now truncates only the blocks it just removed from the end of the allocation file, and only when the data file was no longer than that file accounted for. - smb_freemsgdat() left the .sda open, exclusively, on two early returns when it had opened the file itself. - smb_new_msghdr(), when moving an existing header that has outgrown its blocks, unlocked a header lock held by its caller, so smb_updatemsg() completed its index write unlocked. It now leaves a caller-held lock in place in that case; smb_addmsghdr() still always unlocks. The truncation logic dates from 23523b22dfe (2017-11-16) and the header-growth path from b18b0f6590c (2023-05-07). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  286. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 11:52:03 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/mail.cpp diff
    delmail: replace the mail index and status under the header lock delmail() relied on the mail.lock file alone and never locked the mail base header. The lock file only stops a base from being opened; a process that already has it open (a mail server session or its send thread) can still add or update a message while the purge reads, compacts and rewrites the index. Such a write could be undone by the rewrite or, for a newly added message, be truncated off the index, and the purge wrote back the status record it read at the start, rolling back the last message number. The index and status are now read and rewritten under the header lock, which every writer takes. The headers and data of the removed messages are freed afterward, once nothing indexes them, so the lock is held only briefly. If the allocation files can't then be opened, the removed messages' blocks are left allocated rather than the purge being abandoned. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  287. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 11:52:03 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/smbutil.c diff
    src/smblib/smballoc.c diff
    src/smblib/smbfile.c diff
    src/smblib/tests/smballoctest.c diff
    smblib: keep a caller-held header lock in smb_freemsgdat() and friends smb_freemsgdat() (and so smb_freemsg_dfields() and smb_freemsg()) and smb_incmsg_dfields() unlocked the message base header on return even when the caller had locked it. A caller that locks the header, frees or references message data, and then rewrites the index from a copy it read earlier therefore did the rewrite unlocked: a message or file added by another process in between lost its index record, and the status record (last message number, total) was written back stale. Callers affected: smbutil's maintenance (which lost the lock at the first message it freed and held no lock file either), fixsmb, delusermail(), and smb_removefile(). These functions now unlock the header only when they locked it. Every caller either unlocks explicitly afterward or calls with the header unlocked, so none depended on the implicit unlock. Maintenance of a large base now holds the header lock for its whole duration, so a concurrent post waits (and can time out) instead of being dropped from the index. The unconditional unlock dates from 874e8bcdbc (2017-11-21). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  288. Rob Swindell (on Windows 11)
    Sat Nov 14 2026 11:52:03 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: never send a truncated POP3 LIST or UIDL listing The "list all" loop for LIST and UIDL stopped as soon as the mail base became locked, after "+OK" had been sent and before the terminating ".", so the client received a well-formed listing of only the first messages. A client that leaves mail on the server treats a message missing from the UIDL listing as removed, forgets it, and downloads it again as new on its next check: a session that collided with the daily e-mail purge caused 204 of 449 messages to be re-downloaded. The listing is now built first and sent only when every message was read; otherwise the reply is "-ERR" and the session ends. A failure to read a message's index or header also fails the listing, where before the message was silently left out. The lock check was added to the loop in 71aa48f825f (2026-01-16). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  289. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 10:04:38 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    Note the Unix free disk space fix in the v3.22 release notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  290. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 10:00:27 GMT-0800 (PST)
    Modified Files:
    

    src/xpdev/dirwrap.c diff
    Fix getfreediskspace()/getdisksize() on Unix for units larger than 1 The Unix (statfs and statvfs) branches of getdiskspace() divided the block count by the requested unit before multiplying by the block size. With a 4 KiB block size that made any unit of 1 GiB or more return 0 unless at least 4 TiB was free (e.g. @FREESPACEG@ showed 0 with 574 GB free), and rounded K and M results down to a multiple of the block size. Compute the byte total first, then divide by the unit, as the Windows branch already does. Affected callers include @FREESPACEK/M/G/T@, JS disk_free()/disk_size() and system.freediskspacek, the umonitor free space display, and the SBBSecho minimum free space check. Callers passing a unit of 1 were unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  291. Deucе
    Sat Nov 14 2026 08:58:08 GMT-0800 (PST)
    Modified Files:
    

    exec/load/ircd/link-security.js diff
    exec/load/ircd/tls.md diff
    exec/tests/ircd/link-security.js diff
    ircd: clarify WHOIS TLS reporting for unknown target endpoints

  292. Rob Swindell (on Debian Linux)
    Sat Nov 14 2026 01:19:43 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/atcodes.cpp diff
    Let @FREESPACE@ take a byte-count format parameter @FREESPACE@ (free space in the temp directory) now accepts the same optional byte-count format letter as @CPS@ and @FILE_BYTES@ (B, K, M, G or V), e.g. @FREESPACE:V@ for "27.8G". Without a parameter it is unchanged: the free space in bytes. The FREESPACEK, FREESPACEM, FREESPACEG and FREESPACET codes are unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  293. Deucе
    Sat Nov 14 2026 01:14:19 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/CHANGES diff
    src/syncterm/rip_test/rip_harness.md diff
    src/syncterm/ripper.c diff
    src/syncterm/ripper_test.c diff
    Fix RIPv1 numeric word handling and implement screen copy Decode signed base-36 fields as 16-bit words, apply consumer-specific conversions and bounds, and match numeric/text retention limits. Preserve requested state separately from effective drawing state, fix reserved-field descriptors and the nonpositive Bezier count fallback, and retain RIPv3 decoding policy. Implement RIP_COPY_REGION with overlap-safe snapshots of both blink buffers, absolute screen coordinates, RIPv1 alignment and extent behavior, and documented outward alignment for RIPv3. Bound bitmap accesses without replacing the image clipboard. Add parser, consumer and whole-bitmap regression coverage and document reference evidence and safe compatibility boundaries. Validation: production build, RIP/SkyPix CTests, and RIP tests under ASan/UBSan passed.

  294. Deucе
    Sat Nov 14 2026 00:16:34 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/CHANGES diff
    src/syncterm/ripper.c diff
    src/syncterm/ripper_test.c diff
    Allow RIPv1 commands to interrupt unfinished ANSI sequences Keep pending escape prefixes while SOH/STX commands assemble, resume escape processing after completion suppression, and release bogus introducers in stream order. Match dispatch deferral to the new priority and bound combined flushes when input fills the caller's buffer. Add split-input and bytewise coverage for repeated interruptions, resumed ANSI and autosense, graphics/text ordering, SkyPix payloads, and full-buffer drains with VT expansion.

  295. Deucе
    Fri Nov 13 2026 23:33:52 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/CHANGES diff
    src/syncterm/ripper.c diff
    src/syncterm/ripper_test.c diff
    Fix padded RIP autosense and level-0 block-mode alias Decode single autosense parameters numerically while preserving dedicated SkyPix spellings and the existing one-way disable policy. Recognize the explicit level-0 ESC spelling and route it to the shared level-9 block-mode handler. Return command recognition status for headless alias checks, and add exact-reply, following-text, split-input and bytewise regression coverage with transfer I/O compiled out.

  296. Deucе
    Fri Nov 13 2026 23:20:14 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/CHANGES diff
    src/syncterm/ripper.c diff
    src/syncterm/ripper_test.c diff
    Match RIPterm backslash delimiters and parser byte history Use RIPterm 1.54's bounded backslash checks for RIPv1 while retaining RIPv3 escaping. Record consumed command and ANSI bytes in history, restart bare pipes on introducers, and suppress a completion ESC before ANSI accumulation. Apply history tracking to local scene playback and expand headless regression coverage for exact host strings, passthrough text, and history at every two-part split and bytewise.

  297. Deucе
    Fri Nov 13 2026 22:36:22 GMT-0800 (PST)
    Added Files:
    

    src/syncterm/ripper_test.c diff
    Modified Files:

    src/syncterm/CHANGES diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/ripper.c diff
    Fix RIP input loss on terminal reset and packet-split parsing Preserve session callbacks when replacing the terminal, rebind physical-key callback data, and restore response callbacks from the saved terminal instead of reading freed memory. Flush pending text before checking deferred introducers and reserve headroom when releasing a lone introducer from a previous packet. Add headless regression coverage for keyboard/button output, callback behavior, and stream splits.

  298. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 21:49:10 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/atcodes.cpp diff
    Let @CPS@ take a byte-count format parameter @CPS@ now accepts the same optional byte-count format letter as @FILE_BYTES@ and @XFER_CPS@ (B, K, M, G or V), e.g. @CPS:V@ for "15.2K". Without a parameter it is unchanged: the rate in bytes per second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  299. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 21:39:29 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/listfile.cpp diff
    Pause after a batch-flag download before redrawing the file list Choosing D)ownload at the batch-flag prompt of a file listing returns to a list redraw that begins with FileListBatchCommands, whose Ctrl-A L clears the screen. Whatever start_batch_download() had just printed (the transfer result line, or an error such as "not enough time" or "file does not exist") was erased before the user could read it. Pause when anything was printed, as the prompt's ? (help) branch already does after displaying the batflag menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  300. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 21:20:16 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/date_str.c diff
    src/sbbs3/date_str.h diff
    src/sbbs3/download.cpp diff
    src/sbbs3/getmsg.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sftp.cpp diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    src/sbbs3/upload.cpp diff
    Show the duration and rate of single-file transfers After a single-file upload or download the terminal server now prints, for example: AP180701.ZIP (1,568,203 bytes) sent in 0:01:42 (15,374 cps). using two new text strings, FileSentIn and FileReceivedIn. They are built from @-codes rather than printf specifiers, so a sysop can choose the format. Batch and SFTP transfers, where the per-file duration isn't known, keep the FileNBytesSent / FileNBytesReceived message. New @-codes describe the most recent file transfer: @XFER_TIME[:fmt]@ duration, any duration format (default "!", 0:01:42) @XFER_CPS[:fmt]@ rate, any byte-count format (default B, bytes/second) @XFER_PROT@ protocol name ("SFTP" for SFTP transfers) @XFER_TIME@ and @XFER_CPS@ are empty when the duration is not known. The new strings use @FILE_NAME@ and @FILE_BYTES@. Message-attachment downloads and sendfile() by path (e.g. bbs.send_file()) have no file-base record, so they supply a temporary one holding the name and size; without it @FILE_NAME@ would expand to the QWK packet name. New duration format letter E: words down to the second ("1 minute 42 seconds", "1 hour 30 minutes 5 seconds"). The existing word formats (W, D) count whole minutes, which renders most transfer times as "0 minutes". Fixes #1158 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  301. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 20:58:19 GMT-0800 (PST)
    Modified Files:
    

    src/encode/base64.c diff
    src/encode/base64.h diff
    base64: relicense base64.c and base64.h under the 2-clause BSD license Both files were LGPL (base64.h only since the 2026-09-06 header rewrite; before that it carried a GPL notice). Their only authors are Deuce, who wrote the original implementation, and Rob; both agreed on #1235 to 2-clause BSD. Replace each notice with a one-line copyright and SPDX-License-Identifier: BSD-2-Clause header, the form Deuce uses in his recent sources. Fixes #1235 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  302. Rob Swindell (on Windows 11)
    Fri Nov 13 2026 20:47:35 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: don't apply the request rate limit to POP3 commands Every command received in the POP3 TRANSACTION state was counted against the request rate limiter, so an authenticated client with a large mailbox (e.g. RETR + DELE for each of 250 messages) exceeded a 500 request limit and was disconnected with "-ERR too many requests, try again later", logged as "Too many requests per rate limit". Those commands are only reachable after a successful login, failed logins are already handled by the login attempt filter, and concurrent connections are already limited, so the request rate limit now applies only to SMTP commands. The POP3 check was added in c8490b7429f (2026-03-11). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  303. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 18:57:19 GMT-0800 (PST)
    Added Files:
    

    exec/load/select_item.js diff
    Modified Files:

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/shell_lib.js diff
    exec/uselect.js diff
    select_item.js: shared numbered-list selector for uselect and area lists New exec/load/select_item.js library: the paged, arrow-key navigated numbered-list selection loop formerly in uselect.js. After the first draw it never clears the screen: moving the default item repaints only the old and new item lines and the prompt, and a page change repaints the item lines in place (falling back to a full redraw only if the terminal can't position the cursor). uselect.js now uses it, as do the message group/sub-board and file library/directory selection functions in shell_lib.js (the J command of the Synchronet Classic, Wildcat, Spitfire and Novice shells), which gain paging and Up/Down, Home/End and PgUp/PgDn navigation. A sysop's custom grps/subs<N>/libs/dirs<N> menu file is still displayed in place of the list, with number entry only. Customizing the default-item marker and highlight in ctrl/modopts.ini: [shell] default_item_prefix: "\x01U->" ; marks the default area (else '*') nondefault_item_prefix: " " ; same width, for the other areas default_item_attr: "\x01V" ; highlight the default area's name ; or "\x01n\x017\x01k" for a reverse-video (black on gray) bar ; more_fmt: format of the "[x-y of n]" indicator [uselect] default_item_fmt: "\x01U->\x01v%*s(\x01V%d\x01v) \x01V%s \x01U<-" nondefault_item_fmt: "\x01U \x01v%*s(\x01V%d\x01v) \x01U%s" ; reverse-video bar: replace "\x01V%s" with "\x01n\x017\x01k%s\x01n" The highlight is padded to the longest name in the list, so it forms an even bar. A prefix wider than one column narrows the 60-column area description field to match, so a line never reaches column 80 and wraps; both apply only to text.dat area list formats with the stock %-60.60s description field. The "[x-y of n]" indicator is indented to align with the item numbers after the marker. Without these options the lists look as they did in v3.21 ('*' marker), so an upgraded system's existing modopts.ini is unaffected; the stock ctrl/modopts.ini now sets the arrow marker and highlighted name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  304. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 17:47:50 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/uselect.js diff
    src/sbbs3/getstr.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbsdefs.h diff
    getnum: optionally return navigation keys; use it in uselect.js sbbs_t::getnum() takes an optional navkey pointer. When non-NULL, an up, down, home, end, page-up or page-down key hit before any digits is stored there and GETNUM_NAVKEY (-2) is returned. Existing callers are unaffected. console.getnum() exposes this as a third (navkeys) boolean argument: when true, a navigation key is returned as a one-character string matching the KEY_* constants in key_defs.js. uselect.js now uses console.getnum(..., true) instead of its own copy of the number-input logic, so it gets the native quit-key, Ctrl-C and type-ahead handling, and requires v3.22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  305. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 17:24:55 GMT-0800 (PST)
    Modified Files:
    

    exec/uselect.js diff
    uselect: page lists longer than the screen, add arrow-key navigation The uselect module printed every item in one pass, so a list longer than the terminal scrolled off the top (and tripped the screen pause). Now it shows only as many items as fit between the header and the prompt, with a dark gray "[first-last of total]" indicator on the prompt's blank line, configurable via the new modopts more_fmt option. Up/Down move the default item (scrolling the page as needed), PgUp/PgDn move by a page, and Home/End jump to the first/last item. A number may still be typed to select any item, on-screen or not. Number entry is now handled by a local getnum() mirroring sbbs_t::getnum(): Ctrl-C quits, a leading zero is rejected, and type-ahead suppresses auto-submit. Item names are padded to a common width, and hotspots are cleared before each redraw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  306. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 17:00:09 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    webv4/lib/forum.js diff
    webv4: cache a sub's forum threads instead of rebuilding them per request Every thread list, thread view, "load more" and vote refresh rebuilt the sub's threads from get_all_msg_headers(), reading every header in the sub. Reading the headers is only about a third of that cost: each field read from a header object costs about 1 us, so copying 13 fields from every message took as long again. getMessageThreads() now keeps the result in data/webv4/threads/<code>.json. The first line is a key made from the .shd and .sid file dates and sizes, max_messages, forum_no_spam and a format version, so any post, vote, deletion or header update rebuilds it. Nothing per-user is cached; unread counts are computed from the user's scan pointer after loading. The file is written a thread at a time (one JSON.stringify() of a large sub can exhaust the JS heap) to a temporary file that is then renamed into place, and not at all when the base changed within the last 5 seconds, since file dates have one-second resolution and hosts sharing the base may disagree on the time. The cached result is byte-identical to a rebuild. Measured on Linux: 9,103 messages: 392 ms -> 181 ms (rebuild and write: 630 ms) 23,248 messages: 925 ms -> 433 ms (1.35 s) 159,560 messages: 7.1 s -> 2.8 s (10.1 s) Part of #1339. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  307. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 16:54:51 GMT-0800 (PST)
    Added Files:
    

    exec/tests/source/skipif diff
    exec/tests/source/utf8.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/load/msgutils.js diff
    exec/load/sha1.js diff
    web/root/sajax-forum/client_functions.xjs diff
    xtrn/druglord/Drug.js diff
    xtrn/druglord/atm.js diff
    xtrn/druglord/druglord.js diff
    xtrn/druglord/pocket.js diff
    xtrn/fatfish/Fish.js diff
    xtrn/hamtest/Extra.js diff
    xtrn/hamtest/General.js diff
    xtrn/lord/gravyard/gravyard.js diff
    xtrn/lord/outhouse/outhouse.js diff
    xtrn/mc/mc.js diff
    Stock JS: replace raw CP437/Windows-1252 bytes; test for valid UTF-8 Thirteen stock scripts held raw bytes in the 0x80-0xFF range that are not valid UTF-8. SpiderMonkey 1.8.5 reads source byte-for-byte, so they work today, but later SpiderMonkey versions compile source as UTF-8, where these bytes are malformed, and UTF-8 editors show or save them as garbage. - CP437 characters in output strings (DrugLord's pound sign, Milliways Casino's logo box, the LORD Outhouse and Graveyard IGMs' decorations) are now \xNN escapes, so the output is byte-for-byte unchanged. Milliways Casino builds its 46-character borders once. - msgutils.js: the middle-dot (0xFA) in the backquote-to-ESC regex is now \xFA; it matches exactly the same text. - hamtest: General.js used Windows-1252 curly quotes, apostrophes and no-break spaces, which showed as accented letters on a CP437 terminal; they are now plain ASCII. Extra.js's two CP437 no-break spaces are now spaces. - Comments in sha1.js, client_functions.xjs and Fish.js use ASCII. Compiled and decompiled with SpiderMonkey 1.8.5, the escaped files are identical to the originals; Milliways Casino's logon screen output is byte-identical. New test exec/tests/source/utf8.js fails if any .js/.ssjs/.xjs file under exec/, xtrn/, web/ or webv4/ is not valid UTF-8 (rejecting overlong forms, surrogates and truncated sequences). It runs only in a source checkout, since a live install's xtrn/ also holds third-party doors. Fixes #1341 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  308. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 16:25:12 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_console.cpp diff
    js: rename console.ansi() to console.attrstr(), keep ansi() as an alias The method returns the attribute sequence for the user's terminal type (ANSI, PETSCII, or an empty string for terminals without attribute support), not only ANSI. The new name matches the underlying Terminal::attrstr() and the documentation now describes the actual behavior. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  309. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 16:21:59 GMT-0800 (PST)
    Modified Files:
    

    exec/mqtt_spy.js diff
    mqtt_spy: reset terminal attributes on status change and exit The spied-upon node's output can leave the spying terminal in any color (e.g. the user dropped while in a door or chat), so "New node status" and "Done spying" would inherit those colors. Send a full attribute reset first: the terminal-type-appropriate sequence from console.ansi(ANSI_NORMAL) when run in the terminal server (written raw, since the spied output bypasses attribute tracking and an attribute change via console.attributes or Ctrl-A could be a no-op), or an ANSI SGR 0 when run via jsexec. Also disable the JS time limit, since spying is open-ended. Fixes #1343 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  310. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 15:18:38 GMT-0800 (PST)
    Modified Files:
    

    exec/sbbslist.js diff
    sbbslist: fix blank page/stuck scrolling after Find or Go To After scrolling down the list and using Find (F) to narrow it, the page could go blank and every keystroke (up or down) scrolled up one line. Go To (G) an entry beyond the current page didn't scroll it into view. determine_top() compared the current entry against the stale page top after clamping it, and stepped that stale top by only one line, a regression from 3ad9155217 (notes-5-feat, 2020-03-29). After a Find shrank the list, top stayed past the end of the list and crept back one line per keystroke. Now the page top is computed from the current entry (scrolling just enough to show it), clamped to keep a full page shown, and Find resets the selection to the first match. Reported by Nightfox. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  311. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 12:32:41 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/imapservice.js diff
    exec/nntpservice.js diff
    nntpservice, imapservice: log passwords if the sysop enabled it 56bf760373 (stand-5-trip, 2026-11-11) and 0905d46be5 (hero-3-foul, 2026-11-11) masked the password in every logged NNTP AUTHINFO and IMAP LOGIN command line, leaving a sysop no way to see what a client actually sent when debugging a login problem. Honor the "Display/Log Passwords Locally" system option (SYS_ECHO_PW), as the mail and FTP servers already do for failed password attempts: log command lines unmasked when it's enabled, masked otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  312. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 12:17:42 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/filedat.c diff
    File listings: skip dotfiles when reading a file directory on *nix read_dirent_stats() skipped only "." and ".." on *nix. A name with a leading dot is never a legal file base filename (illegal_filename() rejects it), so skip them all: that covers "." and ".." and leaves clutter like .DS_Store out of the list. A dotfile that is in a file base anyway is still looked up on its own by getfilesize()/getfiletime(). Follows fd1fc7dfe3 (typically-19-lotus, 2026-11-11). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  313. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 12:16:53 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ansi_terminal.cpp diff
    src/sbbs3/ansi_terminal.h diff
    src/sbbs3/con_out.cpp diff
    src/sbbs3/terminal.h diff
    Send the ANSI music terminator raw on UTF-8 connections ANSI music is CSI M, N or | followed by note characters and ended by SO (0x0E). On a UTF-8 terminal, cp437_out() translated every byte through cp437_unicode_tbl[], which maps 0x0E to U+266B (beamed eighth notes), so the terminal never saw the terminator and silently discarded the tune. ANSI_Terminal now tracks when output is inside a music string: it starts on CSI N, CSI |, or CSI M without parameters (with parameters, CSI M is Delete Line), continues through the music alphabet, and ends on SO or on any other byte. While a string is open, SO is sent untranslated; outside one, 0x0E still renders as the CP437 glyph. The note characters no longer advance the tracked column, and a completed music string is removed from the saved line so restoreline() doesn't replay the tune. Fixes #1344 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  314. Rob Swindell (on Debian Linux)
    Fri Nov 13 2026 11:52:40 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_user.cpp diff
    js: document User.close() as a backward-compatibility no-op Since bc5a11bb62 (bacteria-20-what, 2026-11-11) a User object no longer holds user.tab open, so close() has nothing to do. Say so in its jsdocs description, rather than describing a file it no longer closes, and bump its version to 3.22 to mark the change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  315. Rob Swindell (on Windows 11)
    Thu Nov 12 2026 18:58:27 GMT-0800 (PST)
    Modified Files:
    

    src/Directory.Build.props diff
    Compile MSVC projects with /MP, 4 compiler processes per project Every project under src/ now compiles its source files in parallel (MultiProcessorCompilation), with CL_MPCount defaulting to 4 when nothing else sets it. A clean Release rebuild of sbbs3.sln on a 24-thread machine: no /MP 183s CL_MPCount=2 111s CL_MPCount=4 84s The cap is low because the GitLab runner overlaps several of these builds on one machine. Override from the command line with e.g. "build.bat /p:CL_MPCount=8"; the Visual Studio IDE sets CL_MPCount itself. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  316. Deucе
    Thu Nov 12 2026 04:44:48 GMT-0800 (PST)
    Added Files:
    

    exec/tests/ircd/trace.js diff
    Modified Files:

    exec/load/ircd/core.js diff
    ircd: report actual TRACE hops and handle nickname targets Report the directly connected next hop instead of repeating the final server name at each intermediate server. Stop wildcard hunts at a matching local server and handle nickname targets separately, leaving completion to the destination. Add TRACE regression coverage. Validated with 96 checks across TRACE, state and STATS suites, plus live server and nickname traces across a six-server test network.

  317. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 23:39:36 GMT-0800 (PST)
    Modified Files:
    

    exec/load/filebase.js diff
    filebase.js: don't re-check files that get_list() already found In a directory with file existence checking enabled, FileBase.get_list() has already checked each file: a missing file's size is -1. OldFileBase() checked each one again with file_getcase(), a network round trip per file where the file area is on a network share. It now uses get_list()'s size to tell whether the file exists, and calls file_getcase() only on a case-sensitive file system (not Windows), to correct the name's case. In a directory without existence checking, a file's path is returned without checking for the file, as FileBase.get_path() does. On a Windows host serving a 3,607-file directory from a Samba share, the webv4 Files page for that directory now takes 5 seconds (was 12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  318. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 23:39:35 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/filedat.c diff
    src/sbbs3/filedat.h diff
    src/sbbs3/js_filebase.cpp diff
    Read a file directory once to list it, not each file's size and date For a directory with file existence checking enabled (the default), FileBase.get_list() looked up each file's current size and date one file at a time: a case-correcting existence check, then a stat for the size and another for the date. Where the file area is reached over SMB that is three network round trips per file. On a Windows host serving a 3,607-file directory from a Samba share, get_list() took 30 to 46 seconds, and its web listings (the /files/ index and the webv4 Files page) about a minute. The new getfilestats() reads the storage directory once and fills in each listed file's size and date, which getfilesize() and getfiletime() then return without touching the disk. On Windows, _findfirst64() returns every entry's size and date with the directory listing itself; xpdev's opendir() can't be used, as its dirent carries only a name. Elsewhere, opendir() supplies the names and each matching file is stat()ed once. A name matches exactly or, failing that, ignoring case, as fexistcase() does. Files not found, and empty files, are left to the existing per-file checks. get_list() uses it for listings of 32 or more files. On that Windows host, get_list() for the 3,607-file directory now takes 0.8 seconds, the /files/ index 3.9 seconds (was 59), and the webv4 Files page 12 seconds (was 44). On Linux, sizes and dates are unchanged for all 86,449 listed files in 609 directories, except that a file whose stored name differs in case from the name on disk now gets its date: the old path corrected the case for the size check but not for the date check, and reported -1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  319. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 23:39:35 GMT-0800 (PST)
    Modified Files:
    

    webv4/pages/002-files.xjs diff
    webv4: don't list a file directory the user can't access The Files page listed a directory's files whenever file_area.dir[] had an entry for the requested code. file_area.dir has an entry for every directory, marking the ones the user can't access (can_access false, index -1); only the dir_list arrays are filtered. So anyone who knew or guessed a directory's code could list its files, including a guest viewing a directory configured NOT GUEST. Require can_access, as the download API already requires index >= 0. Downloads were not affected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  320. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 23:39:35 GMT-0800 (PST)
    Modified Files:
    

    exec/load/filebase.js diff
    webv4/lib/files.js diff
    Build file base paths without a per-file lookup OldFileBase() called FileBase.get_path() for each file. get_path() finds the file by name with a linear scan of the directory's index, so listing a directory was O(n^2) in its file count. Every webv4 download paid this cost too, since api/files.ssjs builds the whole list to find one file. A file's path is its directory's path plus its name, which is all getfilepath() builds, so build it directly. file_getcase() does the same case-correcting existence check that get_path() did and returns undefined for a missing file, as before. OldFileBase() now also returns each file's size from get_list(), and webv4's listFiles() uses it instead of calling file_size() twice per file. For a directory of 3,607 files, measured on a Windows host that reaches the file base over SMB, where each file stat costs about 3 ms: the get_path() calls took about 14 seconds and the file_size() calls about 22; the file_getcase() calls that replace them take 7. Locally on Linux, the whole listing drops from 2.6 to 0.1 seconds. Paths and sizes are identical for every file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  321. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 23:15:14 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/userdat.c diff
    GUEST ARS keyword and user.is_guest now match a not-logged-in user user_is_guest() returns true for user number 0 as well as for an account with the 'G' restriction. A NULL user (no user context, e.g. jsexec) is still not a guest. An unauthenticated web server request is evaluated as user number 0, which has no restrictions, so an access requirement of "NOT GUEST" on a file library or directory was satisfied without a login: the directory was listed and served under the web file vpath (e.g. /files/) and no HTTP authentication was requested. Such a request now fails "NOT GUEST" and gets a 401. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  322. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 22:54:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_user.cpp diff
    js: don't keep user.tab open for the life of a User object On Windows, with user.tab on an SMB share served by Samba, a shared byte-range lock can stay on the server after it is unlocked: when two handles hold a shared lock on the same record and the first to lock is the first to unlock, that handle's lock remains until the handle is closed. Readers still get the record; every exclusive lock on it fails. The User object kept a read-only user.tab descriptor open until it was finalized (4176df9717, 2018-06-07), and its reads have taken shared locks since aa673afdf1 (2026-06-02). When its descriptor was the one left holding the lock, the record stayed locked against writers for as long as the script's context lived. In the web server that includes the session's own http_logoff(), which runs before the context is destroyed. Symptom: when one webv4 user's requests overlapped, their logins and logouts each retried lockuserdat() for about 106 seconds and logged "!Error -104 writing user data for user #N" or "!ERROR -104 in logoutuserdat", and every page that user requested stalled for that long. Open, read and close the user base for each uncached read instead, so a lock left behind lasts no longer than the read. The object still caches the record, so this is one more open per re-read, not per property. User.close() remains and does nothing. Compiled with MSVC only. Fixes #1342 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  323. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 22:22:43 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    webv4/lib/events/forum.js diff
    webv4/lib/forum.js diff
    webv4: count unread forum messages from the index, not a lookup per number getSubUnreadCount() called MsgBase.get_msg_header() for every message number from the user's scan pointer to last_msg. Sparse numbering makes that far more lookups than messages, and lib/events/forum.js re-ran it for every sub, every refresh_interval (60 s), for each logged-in viewer of the forum's group or sub list. Symptom: on vert.synchro.net, with the message bases on an SMB share, get-group-unread-counts for a user with 28,900 unread messages took 355 s, so the 60 s scan ran back to back for as long as the page was open. It now takes 9 s; get-sub-unread-counts for one 20-sub group went from 69 s to 3 s, with identical output. Read the index once with MsgBase.get_index() and walk back from its end to the scan pointer. A header is read only when counting messages to the user and the index's name CRC matches. A sub whose last_msg, total_msgs, scan pointer and scan config are unchanged since it was last counted by the same script returns the previous count, so the event stream stops recounting idle subs. A message deleted without any other change to its sub is not noticed until then. In lib/events/forum.js, set last_run after the scan rather than before (fac16e6927, 2019-07-19), so a scan slower than refresh_interval is not followed immediately by another, and don't rebuild a sub's threads when its message base and the scan pointer are unchanged. Two fixes in getMessageThreads(): - With forum_no_spam set and max_messages=0 it threw a ReferenceError: is_spam() was passed an undefined variable (08a2638b8d, 2020-01-08). - With max_messages > 0 it read the numbers last_msg - max through last_msg, which hold fewer than max messages when numbering is sparse, so threads were dropped (61cb4097fb, 2016-12-25). Take the newest max messages from the index. The per-number unread loop has been there since webv4 was imported into this repository in 3f16cac564 (2020-09-07). Part of #1339. Thread views still read every header in the sub. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  324. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 22:13:13 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/javascript/SKILL.md diff
    javascript skill: scanning a base by index; source encoding Add a MsgBase subsection on walking the index instead of message numbers: numbers are sparse, so a first_msg..last_msg loop mostly looks up numbers that don't exist; get_index() and reading headers by offset; filtering on the index to/from fields (16-bit user numbers in mail, CRC-16 of the lower-cased name in subs); clamping client-supplied ranges; and the trap that get_msg_index() and get_msg_header() return null for vote records unless include_votes is true, which breaks a binary search over offsets and changes results when a per-offset loop is replaced with get_index(). Add a note on source encoding: write non-ASCII as "\xNN" escapes or ascii(), since the next-js branch compiles scripts as UTF-8, and how to edit a stock file that still contains raw CP437 bytes (#1341). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  325. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 22:04:18 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/gopherservice.js diff
    gopherservice: list a message area a page at a time Listing a sub read every header with get_all_msg_headers() and returned one line per message, so each request for a large sub (a crawler's, say) read and sent the whole area: 1.9 s just to read the headers of a 159,537-message sub, and a 159,537-line reply. List the newest messages first, max_msgs at a time (default 100), by walking the index offsets down from the end, then link to the next page with the new selector sub:<code>:before:<number>, which binary-searches the index for its starting point. The new -maxmsgs=N option sets the page size; 0 lists the whole area as before. Message selectors (sub:<code>:<number>) are unchanged. The first page of that sub now takes 0.07 s. Paging through three subs listed every message exactly once, newest first. Part of #1340. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  326. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 22:02:53 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/msgutils.js diff
    msgutils.js: getMessageThreads(sub, max) reads the newest max messages With a non-zero max, getMessageThreads() looked up every number from last_msg - max to last_msg. get_msg_header() returns null for a missing or deleted number, and the loop then threw "TypeError: header is null". When it didn't throw, it stored each header under header.num, which is not a header property, so every header landed under the key "undefined" and only the last one survived: a limit of 100 returned one message. On sparsely numbered subs the number window also held fewer than max messages. Take the newest max index records that are neither deleted nor votes, and read those headers by offset. Callers that pass no limit (ecReader by default) still read every header with get_all_msg_headers(). Part of #1340. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  327. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 22:01:47 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/imapservice.js diff
    imapservice: build a folder's index with one read; match UIDs to messages read_index() called get_msg_index() once per message to build the selected folder's index, and update_status() rebuilds it whenever the base's last_msg changes. For INBOX that is the mail base, whose last_msg changes whenever anyone on the system receives mail, so every connected client re-read the whole mail index one record at a time. Read it with a single get_index() call; vote records, which get_msg_index() returned as null, are skipped explicitly. On a 9,364-message mail base: 40 ms -> 25 ms per rebuild on Linux, more where each read is a network round trip. parse_seq_set() iterated every number of a UID range, so "UID FETCH 1:*" looped up to last_msg (752,280 on that base) and a range ending in 4294967295, as some clients send, would loop for about four billion numbers. A UID range is now matched against the folder's messages, and a sequence-number range is clamped to the number of messages. Old and new read_index()/parse_seq_set() produce identical results on the mail base for two users and on two subs, for full, reversed, duplicate, '*', out-of-range and malformed sets. Part of #1340. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  328. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 22:01:36 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/imapservice.js diff
    imapservice: don't log users' passwords With debug logging enabled (-d or -r), every received command line was logged verbatim, so a client using LOGIN put the user's password in clear text into the services log. Mask the arguments of a LOGIN command in that log line. AUTHENTICATE responses are read separately and were never logged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  329. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 21:58:57 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/nntpservice.js diff
    nntpservice: list article ranges from the index, not a lookup per number XOVER and XHDR called get_msg_header() for every number in the range the client asked for, without clamping it to the group's first and last messages. Article numbers are sparse on most groups, so most lookups were for numbers that don't exist, and an open range such as "XOVER 1-" on a group numbered from 317056 made about 318,000 lookups to list 1,044 articles. In the mail group only the user's own mail is listed, so even an exact range is mostly other users' messages. for_each_article() now clamps the range and, in a sub, binary-searches the index for the first article and reads headers by offset until it passes the end of the range; in the mail group it filters one get_index() read by user before reading any header. Ranges of up to 32 numbers are still looked up directly. Measured on Linux, same results throughout: mail group, full range (951 of 9,366): 3.9 s -> 0.1 s "1-317356" on a group numbered 317056+: 15.7 s -> 0.04 s dense ranges and single articles: unchanged LISTGROUP now reads the index once with get_index(), as count_msgs() already did, instead of one get_msg_index() call per message. XHDR also parsed an open-ended range ("N-") as ending at 0 and returned nothing; XOVER and XHDR now share one range parser that treats it as running to the last article. Part of #1340. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  330. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 21:53:43 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/nntpservice.js diff
    nntpservice: don't log users' passwords Every command line was logged verbatim, so each AUTHINFO PASS put the user's password in clear text into the services log (syslog/journal on *nix). This dates from the service's first version, b4dc5765eb (tops-11-roots, 2001-11-13). Mask the argument of any AUTHINFO subcommand other than USER wherever a received command line is logged: the per-command log line, the bogus command log line, and the reason text given to the IP filter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  331. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 21:04:10 GMT-0800 (PST)
    Modified Files:
    

    src/xpdev/filewrap.c diff
    xpdev: release a CIFS server lock left behind by a failed OFD lock On Linux, lock() and rdlock() use OFD fcntl() locks. On a CIFS mount (e.g. a Synchronet tree shared over SMB, or a loopback mount of the local Samba share), the kernel client acquires the byte-range lock on the server first and only then records it in the local VFS lock table. When that local step fails with EAGAIN - a conflict with another open file description's lock that is still being released locally - the request fails but the server lock is not rolled back. The client also shares one SMB handle among concurrent opens of a file with identical flags, so the orphaned lock blocks every lock request on that range (EACCES) until the process closes its last descriptor for the file. Since every thread waiting for the lock holds the file open while it retries, the lock persists until all waiters time out. For user.tab that is the full lockuserdat()/rdlockuserdat() retry budget, about 106 seconds, ending in USER_LOCK_ERROR (-104): e.g. "!ERROR -104 in logoutuserdat" when several SMTP sessions authenticate as the same user at once. When a non-blocking lock fails with EAGAIN on a CIFS/SMB2 filesystem, unlock the same range on the same descriptor, releasing the server lock. EACCES (a conflict reported by the server) grants nothing and is left alone, as are local filesystems, where unlocking after a failed request could trim an overlapping lock the descriptor already holds. Reproduced with two threads repeatedly taking a shared lock, then an exclusive lock, on the same 1000-byte record of a file on a CIFS mount (Linux 6.1, Samba 4.22): the first EAGAIN stalled every run, within a few thousand iterations. With this change, 18,200 iterations including 7 EAGAIN failures completed without a stall. Process-associated F_SETLK locks never stalled, as they cannot conflict within one process locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  332. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 21:04:10 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    js: don't freeze closing a non-blocking TLS socket Ending a cryptlib TLS session sends a close alert with a write timeout of at least 5 seconds, then waits for the peer to acknowledge it. On a non-blocking socket (e.g. an ircd client or server link) that stalled the whole event loop for 5 seconds per close, and longer when the peer's receive window was full. Now a non-blocking socket sends the alert only when it can go at once, behind no partly-written record (which the peer would see as a corrupt record), and shuts down the read side so cryptlib doesn't wait for the reply. A receive error shuts down both directions first. The errno is preserved across the session teardown. do_CryptFlush() kept the unflushed count after a permanent error, so a socket whose peer had reset kept polling as writable with pending output (about 96,000 wasted retries in a test). Only a timeout leaves anything that can still be sent, so the count is now cleared for any other error. This follows 38c93be5ba (logical-13-face, 2026-11-11). js_socket_recv() reported a failed pop with the return value (-1) instead of the cryptlib status, logging "Bad argument, parameter 1" for every receive error since 472692f792c (bullet-14-flesh, 2018-03-15). A normal peer disconnect is now logged at debug level as other read errors are. Tested on GCC/Linux only, against a TLS peer that stalls, resets, sends a corrupt record, or leaves a full window at close. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  333. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 21:04:10 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/jsexec/SKILL.md diff
    src/sbbs3/jsexec.cpp diff
    jsexec: exit 0 when a script is stopped or recycled by a signal A SIGTERM/SIGINT/SIGQUIT (or Windows console control event) or a SIGHUP recycle aborts the running script from the operation callback, so JS_ExecuteScript() fails and jsexec reported EXIT_FAILURE. Every routine "systemctl stop" or restart of a jsexec-hosted service (e.g. the chat_llm IRC bot) was therefore logged by systemd as status=1/FAILURE. Don't treat an abort caused by a local stop or recycle as a failure; an exit_code set by the script still takes precedence, and an abort for any other reason still exits 1. Also restore the "-> Terminated Locally" notice for Ctrl-C on Windows. Since aba1e3e94f (hosts-11-access, 2026-09-29) moved that notice out of the signal handler, it was gated on terminate_signal being non-zero, but CTRL_C_EVENT is 0. terminate_signal now starts at -1. Document both behaviors in the jsexec skill, along with the status stream being discarded when stdin is not a tty (use -S to see it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  334. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 21:04:10 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_internal.cpp diff
    js: don't write an int through the bool* behind js.terminated The js.terminated setter passed (int *)cb->terminated to JS_ValueToBoolean(), which stores a 4-byte JSBool. cb->terminated has pointed at a 1-byte bool since the BOOL->bool conversion in 118984e9af (soil-11-pick, 2024-01-19); the cast, written when it pointed at a BOOL, kept the compiler from flagging the mismatch. Every assignment to js.terminated therefore also overwrote the 3 bytes following the host's flag; in jsexec that is the 'recycled' global. Convert into a local JSBool and assign that instead, and propagate a conversion failure like the other setters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  335. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 19:56:20 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/qwkjob.cpp diff
    qwkjob: remove a user's stale temp packets before packing A packet is written as data/file/<user#>.<host>.<pid>.qwk.tmp and then renamed to <user#>.qwk. When the rename failed and the temp packet could not be removed either, only a later pack by the same process overwrote it: after a restart the pid differs and the file was left for good. The temp name has included the pid since bfab7b8c2b (2026-10-25), and has ended in .qwk.tmp since 3881be3f01 (2026-10-26). Remove any <user#>.*.qwk.tmp before packing and log a notice when one is found. This runs with the user's pack lock held, so no other job can be writing one. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  336. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 19:56:20 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/smbutil.c diff
    src/sbbs3/upload.cpp diff
    src/xpdev/filewrap.c diff
    src/xpdev/filewrap.h diff
    Retry renames and removals that another process briefly blocks A QWK pack over FTP on vert.synchro.net failed with a sharing violation (WinError 32) renaming its just-written temp packet to <user#>.qwk, and again removing it. The same error has been logged removing PERSONAL.NDX from a pack's temp directory on a local disk. In each case we had closed the file a moment earlier and it was free again soon after, as when a virus scanner or indexer opens a newly written file. The packet rename has been a single attempt since bfab7b8c2b (2026-10-25). Add three functions to xpdev (filewrap) that retry while the file is busy - ERROR_SHARING_VIOLATION on Windows, EBUSY elsewhere - up to 8 times, 250 ms apart, and fail at once on any other error: - xp_rename_file(): rename() - xp_replace_file(): rename that replaces an existing destination on every platform - xp_remove_file(): remove() Use them where a file we just wrote or received is renamed or removed: - qwkjob: the packet rename, replacing qwkjob_replace_file() - sbbs_t::fremove(), which now also returns whether the file was removed - sbbs_t::mv() and sbbsecho's mv() and delfile() - sbbsecho: the new area file and bad-bundle renames - ftpsrvr: queue_rep(), ftp_remove() and the empty-REP removal - smbutil: swapping the packed files into place - upload/bat_xfer: removal of a rejected or redundant received file Both mv() functions fall back to copying when the rename fails, then remove the source. With the source held open, the copy succeeded and the removal failed, leaving the file in both places; sbbsecho's mv() then returned success. A source that cannot be removed now has the copy removed and the move fails, so the file remains only where it was. filewrap.h's include guard no longer uses a reserved identifier. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  337. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 13:56:41 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    js: don't mark a TLS session drained while it holds a saved error When cryptlib meets a fatal error after copying plaintext, the pop returns that data with CRYPT_OK and reports the error on the next pop only. It has already consumed the input, so the descriptor never signals it. Since ab31f9f1c0 (2026-11-10) a short successful pop marked the session drained, js_socket_tls_readable() stopped probing, and an event-driven reader was never told of the failure while the TCP connection stayed open and idle (reported by Deuce on that commit). Each pop begins by clearing the session's error message, so a message present after a successful pop is that saved error: leave the session undrained then, and the next probe finds it. Asking for the message does no I/O, so a clean short read costs no extra wait. Reproduced with a TLS 1.2 peer that sends data and a corrupt record, or data and a close alert, in one write and keeps TCP open: a script reading from a "read" callback got the data and nothing more for 8 seconds before, and is told about 2 ms after the data now. Built with MSVC and GCC; the reproduction was run on the GCC build only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  338. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 13:56:41 GMT-0800 (PST)
    Modified Files:
    

    exec/load/ircd/core.js diff
    ircd: make outbound server link sockets non-blocking Accepted connections inherit nonblocking from their listener, but a socket the daemon connects itself stayed blocking, where send() loops until the peer has taken everything. A hub that stopped reading could hold the whole daemon in one send(). Set nonblocking once the link is connected (after the TLS handshake, for a TLS link), so Queue_Send() gets short counts and its SendQ limit applies, as for inbound links. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  339. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 13:56:41 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_internal.cpp diff
    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    js: don't block a non-blocking TLS socket's send on an idle peer cryptlib's write timeout defaults to 5 seconds and Socket never changed it, so send() on a TLS socket whose peer had stopped reading held the script for 5 seconds in the push and again in the flush, even with nonblocking set. In an event-driven script (the IRC daemon) that froze every other connection and timer for as long as one peer was slow. A non-blocking TLS socket now gets a zero write timeout, and the session's own timeout back if the script makes it blocking again. A flush that cannot finish is no longer an error: js_handle_events() retries it, for sockets with a read event, and wakes every 20 ms while any output is waiting. cryptlib waits 5 ms or more on the descriptor even with a zero timeout, so send() and the retry first check that the socket is writable. Socket.sendfile() on a non-blocking TLS socket would now give up as soon as the peer's window filled, so it waits for room and retries, as it does for a plain socket. Not changed: a script that sends on a non-blocking TLS socket without a read event keeps unsent output until its next send, and close() discards what the peer has not taken rather than waiting for it. Built with MSVC and GCC. On Windows, 600 KB sent to a peer idle for 20 seconds: longest send() 10.02 s before, 0.019 s after, with every byte delivered. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  340. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 13:55:43 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    webv4/lib/forum.js diff
    webv4: list a user's mail from one index read, not a lookup per number get_mail_headers() and getMailHeaders() called MsgBase.get_msg_header() for every message number from first_msg to last_msg. On a mail base whose numbers are sparse that is far more lookups than messages, and each one is a locked index search plus a header read. Symptom: the mail page (000-mail.xjs) on vert.synchro.net took 5 min 51 s to load for a logged-in user. The mail base held 9,262 messages numbered 727309-752178, so 24,870 lookups at about 8.6 ms each over an SMB share, 15,608 of them for numbers that no longer exist. Read the index once with MsgBase.get_index(), keep the records to or from the user, and read only those headers (926 here), by index offset. The same call now takes 2.3 s. The header's to_ext/from_ext are still what decide the listing, so the results are unchanged. The per-number loops have been there since webv4 was imported into this repository in 3f16cac564 (2020-09-07). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  341. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 13:20:22 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/atcodes.cpp diff
    @TUSED@/@TLEFT@: don't drop the first hours digit at 10+ hours The truncated HH:MM:SS duration format (the default for @TUSED@ and @TLEFT@) skipped the first character of sectostr()'s output to drop a leading zero, but did so unconditionally: once a duration reached 10 hours it removed the first digit of the hours instead, so a 14h44m session was shown as "4:44:30" (e.g. "Time used:" in the stock logoff.msg) and 100 hours as "00:00:00". Skip the leading character only when it is a '0'. Fixes #1336 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  342. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 13:04:27 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/answer.cpp diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/login.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/upload.cpp diff
    Check getuserdat() results where a failure was silently ignored getuserdat() zeroes user->number on failure (e.g. a user record lock timeout) and leaves the other fields as they were. Several callers ignored the result, so a transient read error was misreported or acted on with data never read: - ftpsrvr: the per-command refresh of the logged-in user's record set user.number to 0, so every following command failed with "530 Please login". Keep the session's existing user data and log the error. - login(): the user was treated as unknown, counting as a failed login attempt (toward the failed-login filter). Log the read error and fail the login the same way a failed user-base lookup already does. - RLogin: the password was checked against a record that wasn't read, so a valid user could be logged and counted as a failed password attempt and disconnected. A failed find_login_id() lookup was likewise logged as an unknown user and counted by badlogin(). Log the error and fall through to the interactive login instead. - mailsrvr: SMTP authentication by IP address turned a read failure into a permanent "ILLEGAL RELAY ATTEMPT" refusal; answer 451 instead, as the authenticated-relay check now does. - User-to-user upload: user_can_download() evaluated an uninitialized user_t when the recipient's record couldn't be read. Report the error and skip that recipient. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  343. Rob Swindell (on Debian Linux)
    Wed Nov 11 2026 13:04:27 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: don't treat a failed user re-read as an unauthenticated client When an authenticated SMTP client sent to an external address, the relay check re-read the user's record with getuserdat() and ignored the result. getuserdat() zeroes user->number on failure, so a transient error such as a user record lock timeout made the session unauthenticated: the RCPT was refused as an "ILLEGAL RELAY ATTEMPT" (553/550, a permanent failure) and the rest of the session ran without the user. The emails-per-day check re-read the record the same way. Re-read into a copy that only replaces the session's user record on success, and answer a failure with a 451 temporary error so the client retries. Seen with GitLab's notification mail: concurrent sessions for the same user stalled ~105 seconds in lockuserdat() and one was rejected as an illegal relay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  344. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 11:49:20 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/ssl.c diff
    ssl: don't clear the shared cert_path when a certificate load fails get_ssl_cert() and create_self_signed_cert() zeroed the static cert_path on failure, without a lock, while other threads could be in get_ssl_cert()'s retry loop. Those threads then tried to open "" for the rest of their retries, so one transient failure to read ssl.cert (e.g. from an overloaded network share) failed every TLS session being set up at the time: get_ssl_cert: Failed to open/read TLS certificate: SMTPS ERROR 'Data has not been initialised' (-11) setting private key SMTPS !Unable to set private key The path never changes once set, so leave it alone on failure, and set it under tls_cert_file_date_lock in ssl_sync(), which every reader of cert_path has already passed through. The clears date from 976801798b (2023-12-20) and d1c741d073 (2025-03-09). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  345. Rob Swindell (on Windows 11)
    Wed Nov 11 2026 11:49:20 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/exec.cpp diff
    src/sbbs3/js_global.cpp diff
    src/sbbs3/js_internal.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/services.cpp diff
    src/sbbs3/websrvr.cpp diff
    js: report a script file read error instead of running a partial script SpiderMonkey 1.8.5's JS_CompileFile() reads a script with getc() until EOF and never checks ferror(), so a read that fails part-way (e.g. on an overloaded network share) ends the script there. The partial text was then compiled and executed as if it were the whole file. Symptoms seen with exec/ on a stalled SMB share: Error: symbol 'USER_DELETED' not defined by script 'sbbsdefs.js' presence_lib.js line 163: SyntaxError: unterminated comment graphic.js line 544: SyntaxError: unterminated string literal webfileindex.ssjs line 241: TypeError: contents is undefined along with "!JavaScript FAILED to compile script" with no reason given (its fstat() failure path returns NULL without reporting an error). A script cut at a statement boundary ran its first part with no error at all. The same function sizes its buffer from fstat() and then stores every character read with no bound, so a file that grows between the two overruns the heap buffer in a release build. Add js_CompileFile(), which reads the file itself, grows its buffer as needed, and reports the errno and offset of a failed read as a JavaScript error, and use it in place of JS_CompileFile() for load(), require(), js.exec(), and the terminal, web, mail and services script launchers. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  346. Deucе
    Wed Nov 11 2026 11:09:28 GMT-0800 (PST)
    Added Files:
    

    src/sbbs3/ssl_test.c diff
    Modified Files:

    src/sbbs3/ssl.c diff
    ssl: balance certificate epoch locks and detect replacements Release cert_epoch_lock on both certificate-cache checkout paths, and start tracking an existing ssl.cert on the first sync. Restore each loaded certificate's epoch before every load attempt, including after self-signed certificate creation. Add standalone cryptlib regression tests for cache reuse, balanced locks, first-session self-signing, certificate replacement with an active session, and TLS clients without a local certificate. Fixes #1335

  347. Rob Swindell (on Debian Linux)
    Tue Nov 10 2026 22:33:48 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/websrvr.cpp diff
    src/xpdev/multisock.c diff
    src/xpdev/multisock.h diff
    Close server listening sockets as soon as shutdown begins The terminal, mail, FTP, and web servers kept their listening sockets open until cleanup(), which runs only after the wait for active clients and child threads. Nothing calls accept() during that wait, but the kernel still completes TCP handshakes into the listen backlog, so every client that connected during a shutdown or recycle sat on an unanswered connection until the sockets finally closed, then got a reset. On a busy web server that drain can last two minutes. Add xpms_close() to xpdev, which closes a set's sockets but leaves the set allocated, and call it in each server right after its accept loop exits. xpms_destroy() now uses it. The set must stay allocated rather than being destroyed early because the FTP transfer threads treat ftp_set == NULL as "server torn down": clearing it at the start of a recycle would abort in-progress transfers. The services server already closed its sockets at this point. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  348. Rob Swindell (on Debian Linux)
    Tue Nov 10 2026 22:33:48 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: reset parsed_vpath between requests on a keep-alive connection session->parsed_vpath is set when a request path falls under the file area virtual path prefix (FileVPathPrefix, e.g. /files/), but it lives in the session rather than in session->req, so close_request() never cleared it. Every later request on the same keep-alive connection was then treated as a file-area request by check_request(), which skips the "outside of web root" check and the entire webctrl.ini walk. Consequences: - AccessRequirements in webctrl.ini were bypassed. On wiki.synchro.net, GET /data/pages/wiki/syntax.txt returned 401 on its own, but 200 when sent after GET /files/ on the same connection. - Per-directory Rewrite, JSPreExec and [*.php] FastCGISocket settings were ignored, so a .php file fell back to the plain CGI handler from web_handler.ini, logging e.g. "CGI Error: .../wiki/index.php: line 1: /usr/local/bin/php-cgi: No such file or directory" in error.log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  349. Rob Swindell (on Debian Linux)
    Tue Nov 10 2026 22:33:48 GMT-0800 (PST)
    Modified Files:
    

    install/logrotate.d/sbbs diff
    logrotate sample: gzip rotated sbbs.log files A busy BBS writes several GB of syslog output a week, and the ten uncompressed weekly rotations kept by this config can add up to tens of GB. Compress them, but use delaycompress so the most recent rotated log (sbbs.log.1) stays plain text for grep. Compressed logs can be searched with zgrep, or ugrep -z. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  350. Rob Swindell (on Debian Linux)
    Tue Nov 10 2026 22:33:48 GMT-0800 (PST)
    Modified Files:
    

    install/logrotate.d/sbbs diff
    logrotate sample: signal rsyslogd to reopen sbbs.log after rotation Without a postrotate step, rsyslogd keeps its file descriptor on the renamed sbbs.log.1 and keeps writing there, while the newly created sbbs.log stays empty, until something else (e.g. the distro's own weekly rsyslog rotation) happens to make it reopen its files. Meanwhile notifempty skips sbbs.log, so "maxsize 1G" never applies: rotated files of 2-5 GB were the symptom. Use Debian's /usr/lib/rsyslog/rsyslog-rotate helper when present, otherwise send SIGHUP to rsyslogd directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  351. Rob Swindell (on Windows 11)
    Tue Nov 10 2026 22:21:43 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/jsexec.cpp diff
    jsexec: add -T to prefix log and status messages with the date and time A long-running script that logs to a file (-A) had no way to say when anything happened: working out the order and duration of events in an ircd log meant inferring the time from protocol messages that happen to carry one. With -T each message written by lprintf() or mfprintf() (script log() calls, JavaScript errors and warnings, and the per-run status lines) starts with the local date and time to the millisecond: 2026-11-10 22:03:30.494 info line Output written by print(), write() and the like is the script's own and is not prefixed, and syslog output (-d) already carries a time. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  352. Rob Swindell (on Windows 11)
    Tue Nov 10 2026 20:48:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    js: don't probe a TLS session known to hold no buffered plaintext Since 059de49b8e (2026-07-16), js_handle_events() and Socket.poll() call js_socket_tls_readable() for each TLS socket before waiting on its descriptor, to find plaintext that cryptlib has decrypted but not yet returned. The probe is a one-byte cryptPopData() with a zero read timeout, and on Windows that still waits on the descriptor for about a timer tick. The event loop dispatches one callback per iteration, so every callback paid that wait once per TLS socket with a read event: with 40 idle TLS sockets a script got about 3 callbacks per second instead of several hundred thousand. The ircd relays each line from a hub to every directly linked server, one queued callback per send, so with 46 linked servers Vertrauen took longer than the 30-second clock announcement deadline to read a hub's burst and dropped the link each time it was established. A pop that returns less than was asked for, or times out, leaves nothing buffered in the session: only new data on the descriptor can make it readable again, and select()/poll() reports that. Record it in the socket and skip the probe until a pop fills its caller's buffer or a new session is created. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  353. Rob Swindell (on Windows 11)
    Tue Nov 10 2026 20:48:57 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/getmsg.cpp diff
    src/sbbs3/sbbs.h diff
    Rename sbbs_t::show_msghdr_line() to show_msghdr_field() It displays one header field (subject, to, from) through a text.dat format string, not necessarily a whole line. Reword its header comment to match. No functional change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  354. Rob Swindell (on Windows 11)
    Tue Nov 10 2026 20:48:57 GMT-0800 (PST)
    Modified Files:
    

    src/xpdev/genwrap.c diff
    xp_popen(), xp_pipe_open(): the child inherits only its standard handles On Windows, both ran their command with plain handle inheritance, which gives the child every inheritable handle open anywhere in the process at that moment, including each file another thread has fopen()ed. The child then holds those files open until it exits, so the owning thread's remove() after fclose() fails with a sharing violation. Symptom: the FTP server packing a QWK packet at the same moment another server thread ran a command (most likely the web server's "lsar", via system.popen() in filecontents_lib.js, for an archive view): !ERROR 13 (Permission denied) (WinError 32) in pack_qwk.cpp line 660 (sbbs_t::pack_qwk) removing ".../PERSONAL.NDX" Name the standard handles in a PROC_THREAD_ATTRIBUTE_HANDLE_LIST so that nothing else is inherited. Where that isn't available (pre-Vista headers, Borland) or is refused, the command runs with plain inheritance as before. xp_system() is unchanged: services.cpp relies on it to pass a native service its socket. Introduced with xp_popen() in 5de72e0995 (2026-09-20) and with xp_pipe_open() in 17981f079f (2026-09-20). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  355. Rob Swindell (on Windows 11)
    Tue Nov 10 2026 20:48:10 GMT-0800 (PST)
    Added Files:
    

    exec/tests/ircd/motd.js diff
    Modified Files:

    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    ircd: stop reading the MOTD and ircd.conf when a read fails IRCClient_motd() and the ircd.conf parser both read with "while (!file.eof) line = file.readln()". File.readln() returns null when the read fails, but a failed read sets the stream's error flag, not its end-of-file flag, so eof stays false and the loop never ends. With text/ircmotd.txt on a network share that developed a fault, the first MOTD request after it left the server spinning in that loop and deaf to every link and client until it was killed. Both loops now end at the first null line. The MOTD is still terminated with numeric 376. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  356. Deucе
    Tue Nov 10 2026 11:10:19 GMT-0800 (PST)
    Modified Files:
    

    exec/load/ircd/core.js diff
    exec/tests/ircd/state.js diff
    ircd: preserve complete channel modes in LIST +M Stop trimming the last character from chanmode(), which no longer includes a trailing space. LIST +M now reports +nt as [+nt] and an empty mode set as [+]. Add regression coverage comparing LIST and MODE replies, including keyed and limited channels without exposing their arguments. All 82 IRCd state tests pass.

  357. Rob Swindell (on Windows 11)
    Mon Nov 09 2026 21:51:48 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_internal.cpp diff
    js: clear events that exit handlers register; don't abort on early timeout js_handle_events() clears the event list, run queue and listeners when the loop ends, but the host then runs the script's js.on_exit() handlers, and anything those register was left in the js_callback_t (the ircd queues js.setImmediate() callbacks while announcing its shutdown). Each entry roots its callback and "this" object, which kept the script's global object, and every socket reachable from it, alive after the context was destroyed. Where the host re-runs the script with the same js_callback_t (jsexec -l, static-loop services) the next run also dispatched the stale entries. js_EvalOnExit() now clears them after running the global scope's handlers. js.exec() runs a child script's handlers through a static helper instead, so that it cannot clear its caller's events. The terminal server runs each script in its own scope and is not covered (#1332). Since the clock refresh added in 2074253fa1 (2026-10-28), js_handle_events() aborts the script with "poll() returned ready, but didn't find anything" if the wait times out before the earliest timer is due by xp_timer()'s clock. It now waits again. That has not been observed to happen; it is the only path found to that error when no descriptor is ready. The error itself now reports the wait's return value, its timeout and the time remaining to the next timer. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  358. Rob Swindell (on Windows 11)
    Mon Nov 09 2026 21:51:48 GMT-0800 (PST)
    Modified Files:
    

    exec/ircd.js diff
    exec/load/ircd/core.js diff
    exec/tests/ircd/shutdown.js diff
    ircd: close every socket when the script exits An exit that does not go through DIE or RESTART (a script error, or termination by the host) left every client, link and listening socket open. Under "jsexec -l" the script is re-run in the same process, so the previous run's listener on the default port stayed bound alongside the new one and went on receiving connections that nothing accepted: the server linked out to its hub but could not be reached. Register Close_All_Sockets() as an exit handler. It is registered before the shutdown notification and exit handlers run last-in first-out, so peers are sent the QUITs before the sockets close. The P-line listeners are now kept in PLine_Sockets so that they can be closed too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

  359. Rob Swindell (on Debian Linux)
    Mon Nov 09 2026 21:28:39 GMT-0800 (PST)
    Modified Files:
    

    ctrl/text.dat diff
    src/sbbs3/petscii_term.cpp diff
    src/sbbs3/terminal.h diff
    src/sbbs3/text_defaults.c diff
    Don't leave an extra blank line before "N Files Listed" NFilesListed (text.dat 168) began with an unconditional CRLF, so ending a batch-flagged listing at the batch-flag prompt (which is preceded by a blank line and erased after the keypress) left two blank lines before the total. Use the conditional blank line (Ctrl-A ?) instead. That alone wasn't enough: clearline() issues a CR, which recorded the width of the line being erased in lastcrcol, so cond_blankline() still believed the line above had text. clearline() now preserves lastcrcol, since its CR doesn't end a line. This also fixes the same double blank line for any \1? string printed right after a cleared prompt (e.g. R_Download from the batch-flag prompt). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  360. Rob Swindell (on Debian Linux)
    Mon Nov 09 2026 21:28:39 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/listfile.cpp diff
    File listings: show the batch commands banner on every page for experts When batch flagging is enabled, each page after the first in a directory listing starts with the FileListBatchCommands banner, which also clears the screen. Expert users only got it for a plain listing (mode 0); in a file search or new-file scan it was suppressed, so the next page just scrolled in below the blank line left by the batch-flag prompt, with no header and the letters restarting at A, looking like a new directory. The expert setting still governs the directory header on a listing's first page, so multi-directory scans remain compact. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  361. Rob Swindell (on Debian Linux)
    Mon Nov 09 2026 20:09:41 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/str.cpp diff
    Fix SIF data display: first answer wiped, over-read past short data sof() cleared answers[0] on entry, a change made in 3688a141dd (floor-20-knew, 2022-03-03) while fixing CID 33227. answers is the data being displayed, not an output buffer, so the first byte of every READ_SIF / new-user SOF display was replaced with a NUL. The only bounds check was made before each field, so a string field could still read up to 'max' bytes past the end of a data file shorter than its SIF template expects. Limit getrec() to the bytes remaining. Fixes CID 661775 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  362. Rob Swindell (on Debian Linux)
    Mon Nov 09 2026 17:09:21 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/userdat.c diff
    logoutuserdat(): unlock the user record before closing the file Since 48922a15c6 (2025-12-17), logoutuserdat() has read the user record with leave_locked=true, written it with fputuserdat(), and closed the file without unlocking the record, relying on close() to release the lock. Every other user record writer unlocks explicitly. On Windows, the release of a byte-range lock still held at close happens whenever the OS gets to it (Microsoft's LockFileEx documentation recommends an explicit unlock). The web server calls logoutuserdat() after nearly every authenticated request, so a webv4 user firing parallel requests could leave their record locked long enough for the other request threads to exhaust their lock retries and log "!Error -104 writing user data for user #N". On Vertrauen's Windows web server, every request from one such user stalled for about two minutes before failing this way. That commit also dropped the dirtyuserdat() call that the previous putuserstr()/adjustuserval() writes had performed; restore it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  363. Rob Swindell (on Debian Linux)
    Mon Nov 09 2026 17:09:21 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    webv4/pages/000-register.xjs diff
    webv4/root/api/register.ssjs diff
    webv4: honor the new user questions during registration The registration form and handler read system.new_user_questions, which does not exist (the property is newuser_questions), so every question tested as not required. Fields set to Yes in SCFG could be left blank, duplicate real names were never checked, and an e-mail address was demanded even on systems configured not to ask for one. Now that a birthdate can be required, also reject impossible dates with system.check_birthdate() rather than accepting anything shaped NN/NN/NN. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  364. Deucе
    Mon Nov 09 2026 09:10:31 GMT-0800 (PST)
    Added Files:
    

    3rdp/build/cl-riscv-fastpoll.patch diff
    Modified Files:

    3rdp/build/GNUmakefile diff
    Merge branch 'rv64g_patch' into 'master' replaces supervisor only instructions with portable code that operates in user-land See merge request main/sbbs!742

  365. ct-clmsn
    Sun Nov 08 2026 19:01:08 GMT-0800 (PST)
    Added Files:
    

    3rdp/build/cl-riscv-fastpoll.patch diff
    Modified Files:

    3rdp/build/GNUmakefile diff
    replaces supervisor only instructions with portable code that operates in user-land

  366. Rob Swindell (on Debian Linux)
    Mon Nov 09 2026 00:44:26 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/listfile.cpp diff
    File listings: keep sizes near 1G and 1T within the size column Sizes that format to 7 characters, such as 1014.6M, overflowed the 6-wide size column of batch-flag listings and pushed the description one column to the right. The loop that retries with a larger unit ended before formatting with 1G, so a size in megabytes could never be promoted. Include 1G and 1T in the loop. The unit is now 64-bit, since a 32-bit unit would wrap to 0 and never terminate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  367. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 18:39:24 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgsrvr.c diff
    SCFG: correct several server menu help entries The PETSCII port settings do not make the server listen on those ports; they only identify connections arriving on them. The Terminal Server's concurrent connection limit counts only connections not yet logged in. The FTP QWK timeout limits the wait for a free packing slot, not packet creation, so its prompt is reworded as well. The Web Server's error and CGI directories may be full paths or relative to the content root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  368. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 18:04:23 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgsrvr.c diff
    SCFG: describe the options of the server menus in their help The Mail, Web, FTP and Global server menus and Failed Login Attempts explained only their purpose, and the protocol, CGI and Filebase sub-menus had no help of their own, so F1 there showed whatever help was displayed last. Give each of these menus a short entry per option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  369. Rob Swindell (on Windows 11)
    Sun Nov 08 2026 17:55:15 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/vdmodem/vdmodem.c diff
    vdmodem: ring immediately for a new incoming call The RING result was only sent when RING_DELAY (6 seconds) had passed since the previous RING, and the timestamp of that RING was never reset when a new call arrived. A caller connecting within 6 seconds of the previous call's last RING therefore waited out the remainder of that interval before the first RING, and with it the auto-answer; the main loop also logged "Incoming connection" on every pass while it waited. Real modems ring as soon as a call arrives, and a hunt group makes back-to-back calls to one node common, so send the first RING at once and keep the 6-second cadence only for the rings that follow. Dates from the original main loop in 3ec7fb7787 (2022-05-08). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  370. Rob Swindell (on Windows 11)
    Sun Nov 08 2026 17:55:15 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/vdmodem/vdmodem.c diff
    vdmodem: send the busy notice to callers when the modem is off-hook The listen thread only checked whether a call was already stored. A caller reaching a node that was off-hook with nobody connected (as a DOS BBS does with ATM0H1 during a local logon) was accepted and stored but never rang and got no busy notice: the connection sat silent until the caller gave up, and meanwhile the stored socket made the next caller receive the busy notice instead. The hunt group code already treated an off-hook, online or ringing node as busy; use the same test for every listening node, so such callers get the BusyNotice text and are disconnected. Behavior dates from the original listen thread in 3ec7fb7787 (2022-05-08). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  371. Rob Swindell (on Windows 11)
    Sun Nov 08 2026 17:55:14 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/vdmodem/readme.txt diff
    src/vdmodem/vdmodem.c diff
    vdmodem: hunt group, one listening TCP port shared by several nodes (#1175) Each SVDM process still serves one DOS node, but with Hunt=true in the root section of svdm.ini every node can listen on the same TCP port. The process that binds the port owns it: it accepts each connection, applies the IP filter, takes the call if idle, and otherwise offers the socket to the other nodes over per-node named pipes (\.\pipe\svdm-hunt-<port>-<node>), lowest node number first. The first idle node claims the offer, the owner duplicates the socket into that process with WSADuplicateSocket() and closes its own copy once the member acknowledges, and the member rings as if it had accepted the connection itself. When no node is free the caller gets the BusyNotice as before. A process that finds the port in use joins the group instead of exiting, and members retry the bind every 5 seconds so the port survives the owner exiting. Windows allows that bind while the departed owner's handed-off connections are still established, so no SO_REUSEADDR is needed. In hunt mode an off-hook or already-ringing owner also counts as busy, so such calls are handed on rather than parked on a node that will never ring. Non-hunt behavior is unchanged: a second process on the port still fails to bind, and the off-hook case is untouched. answer() and the S0= handler now test the Listen setting rather than the listening socket, since a member has no listening socket but must be able to auto-answer. WSAStartup requests Winsock 2.2 for WSADuplicateSocket(). Hunt is ignored, with a warning, together with -h. All nodes of a group must run as the same user at the same elevation: a node whose pipe can't be opened, or that can't receive the duplicated socket, is logged and skipped. Bump SVDM to v0.8; document multi-node use and the Hunt key in readme.txt. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  372. Rob Swindell (on Windows 11)
    Sun Nov 08 2026 17:55:14 GMT-0800 (PST)
    Modified Files:
    

    src/vdmodem/vdmodem.c diff
    vdmodem: keep the node number across ATZ ATZ re-reads svdm.ini, and read_ini() takes cfg.node_num from the Node key when one is present. The mailslots and events were already created under the node number the process started with, so a process started with a different -n value (or bumped past an in-use node by the mailslot loop) opened another node's write mailslot on its first response after ATZ, and that node's DOS program received this modem's output. A DOS BBS that sends ATZ as its very first command, before anything else has opened the write mailslot, hits this with any shared svdm.ini that sets Node. Save and restore cfg.node_num around the re-read. Introduced in 2fc0df9afa (2022-06-08), which made ATZ re-read the .ini file; the Node key dates from 8412cbe299 (2022-05-23). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  373. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 17:53:03 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/scfg/scfgsys.c diff
    SCFG: describe every option in the Terminal Server menu help The help covered only the menu's purpose, so a sysop pressing F1 had no description of most of its options. Give each option a short entry, and name the events#.log file used when the server's first node is above 1, here and in the Maximum Log File Size help. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  374. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 17:16:21 GMT-0800 (PST)
    Modified Files:
    

    ctrl/sbbs.ini diff
    docs/v322_new.md diff
    src/sbbs3/logfile.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgsrvr.c diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/startup.h diff
    Add NO_EVENT_LOG_FILE option to stop writing data/events*.log The event thread's log file duplicates what the server log already holds on systems that log to syslog, and it can only be bounded by the size limit it shares with the much smaller error logs. Setting EventLogLevel to 0 kept the file from being written, but that level also gates the server log, so it silenced event output there as well. The new Terminal Server option (SCFG: Event Log File) stops the file only. Nothing in the stock install reads it. With a size limit but max_logs_kept=0, fopenlog() never rotates, yet fprintlog() still closed the file at the limit, so every further line paid for a close and reopen. Close only when rotation can happen. SCFG already displays that combination as Unlimited; its help now says so, and also lists events.log among the size-limited logs. Fixes #1086 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  375. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 15:46:33 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/con_hi.cpp diff
    src/sbbs3/getstr.cpp diff
    src/sbbs3/writemsg.cpp diff
    Accept Unicode (UTF-8) text in the internal message editor On a UTF-8 terminal, the internal editor translated every typed character to CP437 and dropped any with no CP437 equivalent (e.g. "ǝ", "ʍ", "ɐ"), because its getstr() calls lacked K_UTF8. The subject prompt has passed K_UTF8 since f68a24d61b (registry-20-rail, 2024-02-20), so a subject could hold emoji while the body could not. getstr() now handles multi-byte UTF-8 input as characters: the bytes of a sequence are collected per keystroke, byte-offsets and display columns are tracked separately (via str_width/prev_char/next_char), and all editing operations (word-wrap, insert/overwrite, backspace, delete, Ctrl-W/Ctrl-D, Home/End, cursor keys, tab stops, centering) work on characters and columns. The line-length limit remains a byte limit (the caller's buffer size) while the wrap point is the terminal width in columns. Edits go through two shared routines (insert_bytes/ delete_range) that print the same screen state as before for CP437 input. redrwstr() moved to getstr.cpp (its only caller) and takes byte offsets for both the cursor position and the length, converting to columns itself. It previously compared a column count against a byte count and so, after a multi-byte character was typed into a K_UTF8 field (e.g. an emoji in a subject), moved the cursor back to the start of the field; text typed next overwrote the character on screen. A CP437-translated high-bit character (e.g. "¡") typed on a UTF-8 terminal was stored but never echoed, since the echo branch required the buffer to be valid UTF-8. It is now echoed via outchar(), which performs the CP437 to UTF-8 translation. The editor's per-line byte budget (MAX_LINE_LEN) grows from cols+1 to (cols-1)*UTF8_MAX_LEN+3 to hold multi-byte lines. The old value also left no room for the CR/LF of a full-width line: a 79-column line on an 80-column terminal lost its LF when the lines were rejoined. The "Export ASCII Characters Only" sub-board setting is an export-time conversion and does not restrict local input. Fixes #1317 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  376. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 15:46:33 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/prntfile.cpp diff
    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>

  377. Rob Swindell (on Debian Linux)
    Sun Nov 08 2026 15:46:33 GMT-0800 (PST)
    Modified Files:
    

    text/menu/textsrch.msg diff
    textsrch.msg: align the columns of the syntax and example tables The description column of the boolean-syntax table started at column 23 on two rows, 24 on three and 25 on one (the widest key, "phrase with space", is 19 characters and had only one space after it), and the AND/OR/NOT column drifted the same way. In the examples table the PCBoard row's description was one column left of the others. Keys now pad to a fixed width (two spaces past the widest key in each table) so every description starts at the same column; the keyword column likewise. Widest rendered line is 77 columns, and every ^A\-delimited segment still fits in 40 columns. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  378. Deucе
    Sun Nov 08 2026 15:03:04 GMT-0800 (PST)
    Added Files:
    

    ctrl/ircd-ca.pem diff
    Whoops, wrong dir

  379. Deucе
    Sun Nov 08 2026 14:05:03 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/CMakeLists.txt diff
    src/syncterm/ripper.c diff
    Fix SkyPix CI builds without SDL and on MSVC Create skypix_test only when ciolib exports WITH_SDL, rather than assuming WITHOUT_SDL=OFF means SDL is available. Inherit that definition from ciolib instead of forcing it on test sources, fixing the Alpine and NetBSD missing-SDL-header failures. Use the existing portable stricmp wrapper for RIP user variable lookup. CMake's newly enabled graphics code exposed the POSIX-only strcasecmp call as an unresolved symbol in the MSVC build. Validated native build and SkyPix regression tests, a complete fresh build with SDL discovery disabled, configuration with SDL explicitly disabled, and renderer cross-compilation for 32-bit and 64-bit Windows.

  380. Deucе
    Sun Nov 08 2026 13:06:49 GMT-0800 (PST)
    Added Files:
    

    src/syncterm/skypix-fonts/SOURCE.txt diff
    src/syncterm/skypix-fonts/courier.font diff
    src/syncterm/skypix-fonts/courier/11 diff
    src/syncterm/skypix-fonts/courier/13 diff
    src/syncterm/skypix-fonts/courier/15 diff
    src/syncterm/skypix-fonts/courier/18 diff
    src/syncterm/skypix-fonts/courier/24 diff
    src/syncterm/skypix-fonts/courier/30 diff
    src/syncterm/skypix-fonts/courier/36 diff
    src/syncterm/skypix-fonts/diamond.font diff
    src/syncterm/skypix-fonts/diamond/12 diff
    src/syncterm/skypix-fonts/diamond/20 diff
    src/syncterm/skypix-fonts/emerald.font diff
    src/syncterm/skypix-fonts/emerald/17 diff
    src/syncterm/skypix-fonts/emerald/20 diff
    src/syncterm/skypix-fonts/garnet.font diff
    src/syncterm/skypix-fonts/garnet/16 diff
    src/syncterm/skypix-fonts/garnet/9 diff
    src/syncterm/skypix-fonts/helvetica.font diff
    src/syncterm/skypix-fonts/helvetica/11 diff
    src/syncterm/skypix-fonts/helvetica/13 diff
    src/syncterm/skypix-fonts/helvetica/15 diff
    src/syncterm/skypix-fonts/helvetica/18 diff
    src/syncterm/skypix-fonts/helvetica/24 diff
    src/syncterm/skypix-fonts/helvetica/9 diff
    src/syncterm/skypix-fonts/opal.font diff
    src/syncterm/skypix-fonts/opal/12 diff
    src/syncterm/skypix-fonts/opal/9 diff
    src/syncterm/skypix-fonts/pearl.font diff
    src/syncterm/skypix-fonts/pearl/8 diff
    src/syncterm/skypix-fonts/ruby.font diff
    src/syncterm/skypix-fonts/ruby/12 diff
    src/syncterm/skypix-fonts/ruby/15 diff
    src/syncterm/skypix-fonts/ruby/8 diff
    src/syncterm/skypix-fonts/sapphire.font diff
    src/syncterm/skypix-fonts/sapphire/14 diff
    src/syncterm/skypix-fonts/sapphire/19 diff
    src/syncterm/skypix-fonts/times.font diff
    src/syncterm/skypix-fonts/times/11 diff
    src/syncterm/skypix-fonts/times/13 diff
    src/syncterm/skypix-fonts/times/15 diff
    src/syncterm/skypix-fonts/times/18 diff
    src/syncterm/skypix-fonts/times/24 diff
    src/syncterm/skypix-fonts/times/30 diff
    src/syncterm/skypix-fonts/times/36 diff
    src/syncterm/skypix-fonts/topaz.font diff
    src/syncterm/skypix-fonts/topaz/11 diff
    src/syncterm/skypix-fonts/topaz/8 diff
    src/syncterm/skypix-fonts/topaz/9e diff
    src/syncterm/skypix_test.c diff
    Modified Files:

    src/syncterm/CHANGES diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/syncterm/amigafont.h diff
    src/syncterm/bbslist.c diff
    src/syncterm/bbslist.h diff
    src/syncterm/ripper.c diff
    src/syncterm/scripts/menu_bbs_editor.wren diff
    src/syncterm/syncterm.iss diff
    src/syncterm/syncterm.man.in diff
    src/syncterm/wren_bind_menu.c diff
    Fix SkyPix rendering, font loading, and area fill Add a dedicated SkyPix graphics setting and preserve command/text ordering across receive boundaries. Accumulate font and transfer names through their closing terminators, restore normal rendering after font reset, and implement bounded seed fill without a size cutoff. Install native Amiga fonts, validate descriptors and strike paths, and enable bitmap feature guards in CMake. Add parser and rendering regression coverage, including every stream split and all bundled font entries. Fixes SourceForge ticket #299. Validated with SkyPix regression tests, 390 terminal tests, 7 menu tests, and a staged font installation.

  381. Deucе
    Sun Nov 08 2026 13:06:49 GMT-0800 (PST)
    Added Files:
    

    exec/ircd-ca.pem diff
    Add a set of trusted roots for IRCd This will be used to trust outgoing connections in the default config. Currently, this has the four Let's Encrypt roots in it... If LE issues new roots, or a hub gets a cert with a different root, this file will need to be updated.

  382. Rob Swindell (on Debian Linux)
    Sat Nov 07 2026 20:38:21 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfg/scfg.h diff
    src/sbbs3/scfg/scfgsub.c diff
    src/sbbs3/scfg/scfgxfr2.c diff
    src/uifc/uifc.h diff
    scfg: make long Actual File Paths viewable A directory with a blank or relative Actual File Path shows the resolved full path in [brackets] on the directory menu, where it is clipped at the window edge, and pressing Enter edited the (blank) stored value, so there was no way to read the whole path. Fixes #1327 - Pressing Enter on a blank Actual File Path now seeds the input box with the derived path, so it can be scrolled. Accepting it unchanged keeps the setting blank (derived); any edit is stored as typed. - The directory and sub-board configuration windows now widen to fit their longest line (minimum 72 columns, so an 80-column screen is unchanged) via a new opt_width() helper, so wider terminals show the full path. - MAX_OPLN raised from 75 to 256 (the screen-width limit); menu lines built with it were truncated to 47 characters of value after the 27 character label, which clipped the path before the window did. - Help text for Actual File Path, FidoNet Area Tag (dirs and subs), and Newsgroup Name now explains that a [bracketed] value is derived, not stored. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  383. Deucе
    Sat Nov 07 2026 20:04:24 GMT-0800 (PST)
    Modified Files:
    

    src/syncterm/CMakeLists.txt diff
    Preserve compiler commands in the DeuceSSH CMake probe Pass the parent C and C++ compilers, initial arguments, and launchers to the nested configure. CMake rewrites CC and CXX to executable paths, so inheriting them loses gcc from commands such as CC="ccache gcc".

  384. Deucе
    Sat Nov 07 2026 06:36:51 GMT-0800 (PST)
    Modified Files:
    

    exec/load/graphic.js diff
    Allow passing a line Frame object to the Graphic constructor For Kirkman.

  385. Deucе
    Sat Nov 07 2026 06:36:51 GMT-0800 (PST)
    Added Files:
    

    src/syncterm/scripts/scrollback_view_test.wren diff
    Modified Files:

    src/syncterm/Manual.txt diff
    src/syncterm/scripts/auto/connected/scrollback_view.wren diff
    src/syncterm/scripts/wrentest.wren diff
    src/syncterm/term.c diff
    src/syncterm/wren_host.c diff
    src/syncterm/wren_host.h diff
    Allow scrollback from the disconnected notice

  386. Rob Swindell (on Debian Linux)
    Fri Nov 06 2026 20:31:22 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/login.js diff
    login.js: accept a full e-mail address at the confirmation prompt When a user who failed to login accepts the offer to have their password e-mailed to them, login.js asked them to confirm their Internet e-mail address on the same line as the 45-character prompt. console.getstr() limits input to the remainder of the current screen line unless K_LINEWRAP is set, so the address was cut off at 18 characters on a 64-column terminal (34 on an 80-column one) and the confirmation then always failed with "Incorrect e-mail address" for anything longer. Print the prompt on its own line and pass K_LINEWRAP so the input may wrap on narrow (e.g. 40-column) terminals, as the reporter suggested. Fixes #1312 Reported by JustMike Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  387. Rob Swindell (on Debian Linux)
    Fri Nov 06 2026 20:31:22 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/telgate.cpp diff
    Don't drop remote output in telnet_gate() when the output buffer is full RingBufWrite() stores only what fits in the ring buffer and returns that count. telnet_gate() ignored the return value, so once the 20000-byte outbuf filled (any time the remote host produced output faster than the user's connection drained it), whatever didn't fit was silently discarded. A door sending Sixel graphics over an rlogin gate to a SyncTERM user lost chunks mid-image. Now the gateway receives from the remote only as much as the output buffer can hold (half that when expanding LFs, since the expansion can double the data) and idles, still forwarding the user's keystrokes, when there is no room; TCP back-pressure then throttles the remote host. The local echo path waits for the output thread to make room rather than dropping too. Verified with a fake rlogin host blasting 240 KB at a deliberately slow telnet client: before, the stream diverged at byte 19999 and 147 KB never arrived; after, all 240 KB arrive intact, including with TG_ECHO (keys sent mid-stream) and TG_EXPANDLF. Fixes #1325 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  388. Rob Swindell (on Windows 11)
    Fri Nov 06 2026 17:14:42 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_cryptcert.cpp diff
    src/sbbs3/js_cryptcon.cpp diff
    js: fix one-byte heap overrun when reporting a cryptlib error js_cryptcert_error() and js_cryptcon_error() allocate errlen + 1 bytes for the CRYPT_ATTRIBUTE_ERRORMESSAGE text and then write the NUL terminator at errstr[errlen + 1], one byte past the end of the block. With the MSVC debug CRT the overrun is detected by the free() that follows and reported with a modal assertion dialog, which stops the process on that thread: a jsexec-hosted ircd.js stalled behind the dialog as soon as a CryptCert attribute set failed during TLS server link validation. In release builds the write silently corrupts the heap. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  389. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 18:44:27 GMT-0800 (PST)
    Modified Files:
    

    exec/tests/socket/listening-close.js diff
    src/sbbs3/js_socket.cpp diff
    js: free the ListeningSocket constructor's protocol and interface strings The constructor never freed its copy of the protocol name on success, nor the interface string when the interface is given as one string and not an array: the socket set keeps its own copy of each. Every ListeningSocket leaked them. The listening-close.js test added in 13d94e6451 (fires-13-willow, 2026-11-05) is the first in the suite to construct a ListeningSocket, so the jsexec-testsuite-valgrind jobs began failing on the protocol name ("30 bytes in 6 blocks are definitely lost"). Free the protocol name once the set is built and the interface string after it is added. Extend the test with a single-string interface so valgrind covers that form too. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  390. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 18:22:15 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    js: don't leave a freed private on a socket whose constructor failed The Socket, ConnectedSocket and ListeningSocket constructors each free their private data and return failure when js_DefineSocketOptionsArray() fails, but by then JS_SetPrivate() has attached that data to the new object. The object's finalizer later ran do_js_close() on the freed memory and freed it a second time. Clear the object's private pointer before freeing, so the finalizer finds nothing to do. The path needs an allocation failure to reach, so there is no test in the suite. Checked by forcing js_DefineSocketOptionsArray() to fail in a scratch build: before, each constructor's failure ended in a double free or segfault at the next garbage collection; after, each throws and the collection is clean. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  391. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 18:20:55 GMT-0800 (PST)
    Added Files:
    

    exec/tests/socket/listening-close.js diff
    Modified Files:

    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    js: close a ListeningSocket's listeners on close() and finalize (#1296) A ListeningSocket keeps its listeners in a socket set and has no p->sock, so do_js_close() returned at its INVALID_SOCKET check before closing anything, and js_finalize_socket() skipped the set because the object is marked external. Neither close() nor garbage collection released the port: a script re-run in the same process (jsexec -l, a looping static service, the IRCd's /RESTART) either failed to bind (Unix) or bound a second listener beside the orphaned one (Windows with SO_REUSEADDR). do_js_close() now destroys the set, after removing its event handlers. A new set_owned flag, set only by the ListeningSocket constructor, limits that to sets the script created: a static service's server.socket wraps the set that Services owns and destroys itself, and is marked external too, so destroying every set here would have freed that one twice. A closed ListeningSocket then behaves like a closed Socket. The free(p->set) in js_finalize_socket() is removed: no non-external socket has a set, so it never ran. Add exec/tests/socket/listening-close.js: the port can be bound again after close(), after a second close(), after garbage collection, and after close() with a read handler installed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  392. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 18:01:18 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    Address Coverity CID 661670 js_socket_finish_connect(): stop collecting the asynchronous connect result if recv() reports more than was requested, which bounds sizeof result - received for the analyzer. recv() never returns more than the length it is given, so behavior is unchanged; a short result still reports ECONNABORTED. The function was added in 55431cba50 (ever-6-ears, 2026-11-04). Same change as made to finduserstr_ex() for CID 661303 in 90e345693a (hired-20-raid, 2026-10-29). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  393. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 17:59:29 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/javascript/SKILL.md diff
    javascript skill: point to the filebase skill Adds the filebase skill to the cross-references and to the list of stock FileBase scripts. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  394. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 17:59:29 GMT-0800 (PST)
    Modified Files:
    

    .claude/skills/smbutils/SKILL.md diff
    smbutils skill: file bases live in data/dirs, not data/file The skill gave data/file/<dircode> as the file base location in three places. The default is data/dirs (load_cfg.c builds it from the data directory unless the directory sets its own data_dir); data/file holds per-user transfer files such as QWK packets. Also points at the filebase skill for the JavaScript API. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  395. Rob Swindell (on Debian Linux)
    Thu Nov 05 2026 17:59:29 GMT-0800 (PST)
    Added Files:
    

    .claude/skills/filebase/SKILL.md diff
    filebase skill: the FileBase API, DIZ handling, adding a dir New skill for scripts that list, add, update or remove files in a file base: the FileBase class and its file metadata object, how add() treats descriptions and FILE_ID.DIZ, the filename rules and length limits, the directory object and its settings bits, and addfiles.js. It also covers adding a directory by editing ctrl/file.ini, that remove() leaves the file on disk unless told to delete it, and that the web server only acts on ctrl/recycle while it has no sessions running. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  396. Deucе
    Thu Nov 05 2026 17:08:54 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/scfg/scfgnet.c diff
    src/sbbs3/scfg/scfgxtrn.c diff
    Respect maximum daily frequencies in SCFG

  397. Deucе
    Wed Nov 04 2026 22:38:01 GMT-0800 (PST)
    Added Files:
    

    exec/load/ircd/channel-policy.js diff
    exec/load/ircd/services-compatibility.md diff
    exec/load/ircd/services-lines.js diff
    exec/load/ircd/services-state.js diff
    exec/tests/ircd/channel-policy.js diff
    exec/tests/ircd/clock-stall-network.js diff
    exec/tests/ircd/config-reload-network.js diff
    exec/tests/ircd/config-reload.js diff
    exec/tests/ircd/connect-cancel-network.py diff
    exec/tests/ircd/invitemasks.js diff
    exec/tests/ircd/mode-network.js diff
    exec/tests/ircd/services-211.js diff
    exec/tests/ircd/services-fileserv-relay.js diff
    exec/tests/ircd/services-legacy.js diff
    exec/tests/ircd/services-lines.js diff
    exec/tests/ircd/services-policy-legacy.js diff
    exec/tests/ircd/services-policy-relay.js diff
    exec/tests/ircd/services-policy.js diff
    exec/tests/ircd/services-protocol-probe.sjs diff
    exec/tests/ircd/services-review.js diff
    exec/tests/ircd/services-state.js diff
    exec/tests/socket/connect-callbacks.js diff
    exec/tests/socket/connect-callbacks.sjs diff
    exec/tests/socket/connect-cancel-fixture.c diff
    exec/tests/socket/connect-cancel.py diff
    exec/tests/socket/connect-cancel.sjs diff
    exec/tests/socket/connect-tls.sjs diff
    Modified Files:

    exec/ircd.js diff
    exec/ircdcfg.js diff
    exec/load/ircd/PROTOCOL.md diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/client-security.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/exceptions.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services-help.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/load/ircd/tls.js diff
    exec/load/ircd/tls.md diff
    exec/load/ircd/unregistered.js diff
    exec/load/ircd/user.js diff
    exec/tests/ircd/config-editor.js diff
    exec/tests/ircd/lib.sjs diff
    exec/tests/ircd/link-security.js diff
    exec/tests/ircd/rolling.js diff
    exec/tests/ircd/services-relay.js diff
    exec/tests/ircd/state-fixture.sjs diff
    exec/tests/ircd/state.js diff
    exec/tests/ircd/tls-network.py diff
    exec/tests/ircd/tls-worker.sjs diff
    exec/tests/ircd/tls.js diff
    exec/tests/ircd/visibility.js diff
    src/sbbs3/js_internal.cpp diff
    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    ircd: complete services support and connection stability for 2.11 Translate IRCServices Bahamut commands into negotiated Synchronet capabilities. Add routed SVSNICK/SVSMODE, owned AKILL expiry, invite masks, extended channel policies and native realname/nickname S-lines. Keep services authority, native operator modes, BBS account proof and client TLS observations independent; embedded NickServ/ChanServ share the registered markers and channel policies. Preserve services timestamp-zero authority without resetting channel age or existing ops. Filter unsupported modes together with their arguments, deliver rejected JOIN/SJOIN corrections even when privacy hides channels, and preserve canonical hub state across old-leaf bursts, departures and reconnects. Recognize routed native FileServ helpers without granting account, operator or TLS proof. Preserve non-ASCII S-lines and translate conditional services timestamps through incarnation-bound mappings separate from canonical time and BBS authentication. Reject numeric-only MODE input without terminating the callback engine. Stage configuration reloads so open/read/parser failures retain the active identity, classes, trust, timers, TLS cache and services; preserve startup/editor defaults and parser errors. Detect callback stalls before consuming queued CLOCK samples and require fresh nonce confirmation before rejecting suspect announcements. Queued pushes cannot extend the recovery deadline or confirm stale clock state. Add native Socket.connectTLS(callback[, timeout=10]) using the asynchronous TLS worker and cancellation lifecycle. Defer outbound IRC credentials until TLS and certificate validation finish, cancel obsolete TCP/TLS attempts on successful REHASH or shutdown, and reject outbound TLS on hosts lacking the native API. Plaintext links to old leaves remain supported. Retain pending Socket.connect descriptors until the existing worker completion is collected on the JS thread. JS close() invalidates the socket immediately, suppresses its callback and defers native close, preventing descriptor reuse while DNS or connect is still running. Drain completions before releasing roots at event teardown; reject overlapping connects and descriptor replacement, and unwind worker startup failures. Preserve synchronous and borrowed-descriptor behavior using one main-thread-only flag, without mutexes or reference counting. Teardown may wait for the system resolver or connect timeout. Validate on FreeBSD with native JSexec: focused MODE, failed-REHASH, queued-clock and silent-TLS reproductions; 18 certificate cases; 6 acceptTLS and 7 connectTLS API cases; automatic/manual links and six TLS route groups; callback, queue, SQLite, BBS, FileServ/DCC, embedded/external services and six-server suites. Run services, policy, visibility and rolling/reconnect checks with unmodified 1.3a, 2.0, 2.3 and 2.7 leaves below current hubs. Base visibility expectations on FULLCHAN and bound TLS worker-drain recovery separately from IRC responsiveness. Retain coverage of 6bd095d0's services authority and final shutdown queue flush. Add deterministic delayed-DNS, queued-completion, GC, teardown and startup-failure regressions, plus native IRCd failed/successful REHASH and shutdown tests. Verify callback results, binds, modes and synchronous/borrowed sockets; re-run the TLS and 30-case network suites and all 16 legacy-leaf compatibility runs.

  398. Rob Swindell (on Debian Linux)
    Tue Nov 03 2026 22:17:33 GMT-0800 (PST)
    Modified Files:
    

    exec/spamlearn.js diff
    spamlearn.js: honor spamblock_exempt.cfg before blocking a spam-trap sender The block option adds the sender to spamblock.cfg through system.filter_ip(), and its comments claimed that this honors spamblock_exempt.cfg. It does not: filter_ip() consults only ipfilter_exempt.cfg. The mail server's built-in spam-bait path checks spamblock_exempt.cfg itself before calling filter_ip(), so a host the sysop had exempted from spamblock.cfg could still be written into it by a spamlearn.js trap hit. Check the exemption file here the same way, by IP address and by hostname, and log a NOT BLOCKING line instead. Tested under jsexec against a scratch ctrl directory: an exempt hostname and an exempt IP address left spamblock.cfg untouched, a non-exempt host was appended as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  399. Rob Swindell (on Debian Linux)
    Tue Nov 03 2026 22:17:33 GMT-0800 (PST)
    Modified Files:
    

    ctrl/spamblock.cfg diff
    docs/v322_new.md diff
    src/sbbs3/mailsrvr.cpp diff
    Mail Server: match client hostnames against spamblock.cfg again Hostname patterns in ctrl/spamblock.cfg have not matched anything since 2f2c9ac9f6 (palace-19-bold, 2019-05-24), which dropped the hostname comparison because the file was then re-read from disk on every inbound SMTP connection and a second pass over a multi-megabyte file was a real cost. Only the client IP address has been compared since, while the stock file's comments (and the wiki) kept describing hostname blocking as a supported, hostname-lookup-dependent feature. Both halves of that reason are gone: the file has been cached in memory since v3.21c, and the cached lookup matches two strings in a single pass over the list, exactly as the ipfilter_exempt.cfg and spamblock_exempt.cfg checks in the same function already do. So pass the hostname too. As with host.can, this needs the Mail Server's hostname look-ups enabled. The log line now includes the hostname (as the host.can line does) and the 550 reply says "CLIENT BLOCKED" rather than "CLIENT IP ADDRESS BLOCKED", since the match may now be by hostname. Rewrite the stock spamblock.cfg comments: mention CIDR notation and the exemption file, and replace the long-obsolete description of the auto-added "; SMTP SPAM BAIT ... / ; Hostname: ..." comment lines with the TAB-separated metadata format (t=, p=, r=, e=, u=, h=) that filter_ip() has actually written for years, plus SpamBlockDuration and trashman. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  400. Rob Swindell (on Debian Linux)
    Tue Nov 03 2026 22:17:33 GMT-0800 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    exec/delfiles.js diff
    delfiles.js: don't abort the purge on a file already missing from disk FileBase.remove() with delete=true throws when the file is gone from disk, and that uncaught exception ended the whole delfiles run: the timed event returned -1 every night and no file after the stale entry was ever purged (seen on Vertrauen: one doorbell-camera JPEG missing since September left 3045 over-age files in the directory). A missing file now counts as already deleted: log a warning and remove only the file base entry. Removal failures of any kind are caught and reported with alert() so the loop continues with the next file. The max-files purge now resolves and logs the full path like the max-age purge does. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  401. Rob Swindell (on Debian Linux)
    Tue Nov 03 2026 22:17:33 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/xtrn.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    Address Coverity CIDs 661496 and 661497 in door launching xtrndat(): when writing BBSDEV.DRP or DOORDROP.INI fails, or BBSDEV.DRP cannot be made read-only, remove the file with fremove(), which ignores a missing file and reports any other failure. A failed removal after the chmod() failure would otherwise leave a complete but writable drop file behind with nothing in the log. (CID 661496) external(): annotate the /dev/null redirection in the forked child. A descriptor of 0-2 is left open because it is now one of the child's standard streams. (CID 661497) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  402. Rob Swindell (on Debian Linux)
    Tue Nov 03 2026 22:17:33 GMT-0800 (PST)
    Added Files:
    

    exec/tests/scfg_paths_test.js diff
    Modified Files:

    exec/chat_llm.js diff
    chat_llm: verify SCFG menu paths against the option index Indexing scfgindex.h (the new scfg source crawler in the local exec repo) gave the corpus SCFG's real option breadcrumbs, which fixed the questions whose wording matches an option label. Retrieval is ranking though, not verification. Measured on five everyday-phrasing questions ("how do I limit how many files a user can download per day?"), none of the scfg chunks reached the top twelve and three replies still named a path that does not exist -- including one where the right wiki page WAS retrieved and the option was mislocated anyway, which no amount of ranking would have fixed. fix_scfg_paths() checks a finished reply's SCFG path claims against the 2065 locations the index knows, the way strip_fake_urls() polices citations. A claim whose option label occurs exactly once in SCFG is rewritten to the real path -- "File Options > Downloads Per Day" becomes "System > Security Options... > Security Level Values > Downloads Per Day". Otherwise the longest real prefix survives, and otherwise the path is dropped and the bare SCFG mention kept. The count goes into the [prof] line as scfgfix=N, because the chat log is the only place a misfire on real traffic would be noticed. Only a chain the reply ATTRIBUTES to SCFG is checked. sbbsctrl has a menu tree of its own ("servers -> ftp -> configure"), and the terminal interface has menus too, so rewriting an unattributed path into an SCFG one would be worse than the error it replaces. A real SCFG path stated without naming SCFG is therefore left alone -- the check misses those rather than risk corrupting unrelated text. Three details the tests pin down, each of which broke a correct reply on the way here: A hop has to look like a label: Title Case or leading digits, continuing only with capitalized words or a short list of connectors. With spaces allowed freely, "SCFG->System->Security Options... is where the password lives" matched through to "lives" and the rewrite ate the sentence. Trailing ellipsis and sentence periods normalize away on both sides. Submenu labels carry a "..." that a model routinely omits, so comparing literally turned the CORRECT "System > Security Options... > Create Self-signed Certificate" into a bare "System". URL spans are excluded before matching, since wiki page IDs are colon-separated and ":" is one of the separators a chain can use. The ground truth is derived from the index's scfg chunks and cached on the index object, which load_index() replaces when the .idx mtime changes -- so a nightly rebuild cannot leave stale paths behind, and an install whose index_sources has no scfg source gets an inert check. exec/tests/scfg_paths_test.js covers the above plus the fabrications actually logged in #synchronet, and skips cleanly when the install's index carries no SCFG options. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

  403. Rob Swindell (on Debian Linux)
    Tue Nov 03 2026 22:17:33 GMT-0800 (PST)
    Modified Files:
    

    exec/avatars.js diff
    Include the offending text in the avatars.js JSON parse warning When an "SBBS User Avatars" message's JSON block fails to parse, the alert() only said "Error SyntaxError: JSON.parse parsing JSON", which tells the sysop nothing about which text failed (SpiderMonkey 1.8.5's SyntaxError carries no position). The warning now includes the length of the joined JSON text and its first and last 40 characters (truncation, the likely cause on a QWK hop, shows in the tail), and the full text is logged at debug level for a sysop who wants all of it. Prompted by RickV's report in the DOVE-Net SYNC sub. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  404. Deucе
    Tue Nov 03 2026 17:35:27 GMT-0800 (PST)
    Added Files:
    

    exec/tests/ircd/services-compat.js diff
    exec/tests/ircd/services-relay.js diff
    exec/tests/ircd/services-routing.js diff
    exec/tests/ircd/services-sjoin.js diff
    exec/tests/ircd/shutdown.js diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/PROTOCOL.md diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services.md diff
    exec/load/ircd/unregistered.js diff
    ircd: preserve services authority and refresh trust for 2.10 Refresh connected servers' and remote users' U-line status on REHASH, using one case-insensitive lookup for live trust changes and introductions. Service aliases become available or lose authority without reconnecting. Allow validated services SJOINs to name known users on any route, including local users. Preserve their source, status and timestamp authority through relaying hubs, retaining origin route checks and ordinary member limits. Relay complete services MODE, TOPIC and membership corrections even when an intermediate hub already has matching state. Honor saved services topic timestamps and preserve the services prefix downstream. Keep the services JOIN/MODE timestamp protections and TS-zero parsing. Do not require services links to be hubs for reserved bot introductions, cross-route KILLs or JUPE's SQUIT/SERVER sequence. Remove the old subtree before introducing its JUPE replacement, without inheriting its services trust. Permit global services notices without user mode +o, and relay remote global notices beyond their first receiver. Validate source routes before granting services privileges for INVITE/KILL/AKILL/RAKILL/SQUIT. Stop embedded services before the final synchronous shutdown queue flush so their QUIT/SQUIT messages survive DIE, RESTART and service shutdown. Keep shutdown bounded and idempotent, including blocked or broken links. Bump the IRCd version to 2.10 and document the routing rules. Add focused services, spoofing and shutdown regressions, plus a live services-to-edge- to-hub-to-leaf test using IRCServices 5.1.24's Bahamut wire forms. Validation: 273 tests across 15 isolated native JSexec suites, 30 tests in the six-server integration suite, and seven live services relay tests pass (310 total). git diff --check is clean. No mixed-version process run was performed for these changes; older hubs retain their implementation limits.

  405. Deucе
    Tue Nov 03 2026 07:50:51 GMT-0800 (PST)
    Modified Files:
    

    src/sbbs3/qtmonitor/CMakeLists.txt diff
    src/sbbs3/qtmonitor/tests/mqtt_tls_test.cpp diff
    Use linked OpenSSL for qtmonitor TLS regression server

  406. Deucе
    Tue Nov 03 2026 07:31:09 GMT-0800 (PST)
    Added Files:
    

    src/sbbs3/qtmonitor/tests/mqtt_tls_test.cpp diff
    Modified Files:

    src/sbbs3/qtmonitor/CMakeLists.txt diff
    src/sbbs3/qtmonitor/README.md diff
    src/sbbs3/qtmonitor/mqttclient.cpp diff
    Fix qtmonitor TLS-PSK handshake with cryptlib DH parameters

  407. Deucе
    Mon Nov 02 2026 13:56:33 GMT-0800 (PST)
    Added Files:
    

    exec/tests/lightbar_scroll_test.js diff
    Modified Files:

    exec/lbshell.js diff
    exec/load/lightbar.js diff
    Add scrolling to lightbar menus and lbshell externals

  408. Deucе
    Mon Nov 02 2026 13:56:33 GMT-0800 (PST)
    Modified Files:
    

    exec/lbshell.js diff
    Fix lbshell external program menu vertical positioning

  409. Rob Swindell (on Debian Linux)
    Sun Nov 01 2026 00:20:35 GMT-0700 (PST)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgxtrn.c diff
    src/sbbs3/writemsg.cpp diff
    src/sbbs3/xtrn.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    Offer BBSDEV.DRP and DOORDROP.INI drop files to external editors Both types are now in SCFG's drop file list for external message editors, not only online programs. When an editor uses one, the message editor launch writes the file to the node directory, hands the editor its path in the BBSDEV_DRP or DOORDROP_INI environment variable (the %f specifier keeps naming the message text file) and, for DOORDROP.INI, removes the file after the editor exits. A failure to write the file aborts the editor instead of launching it with a dangling path. The DOS-side path of a drop file (the DOSEMU drive on Linux, the doscmd drive on FreeBSD, the short path on Windows) moves from exec_xtrn() into dos_drop_path(), so the editor launch shares it. The doscmd drive letters, until now string literals in the .doscmdrc writer, get DOSCMD_* macros alongside the DOSEMU_* ones. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  410. Rob Swindell (on Debian Linux)
    Sat Oct 31 2026 23:58:54 GMT-0700 (PST)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs/v322_new.md diff
    exec/load/sbbsdefs.js diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgxtrn.c diff
    src/sbbs3/xtrn.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    src/xpdev/unicode_defs.h diff
    Add DOORDROP.INI door drop-file support A new drop file type (XTRN_DOORDROP) writes the named-value drop file specified in docs/doordrop_ini.md (version 1.0): the file hands a door the session details as KEY=value lines grouped in sections, so a door reads only the keys it needs. The sysop selects it in SCFG like any other drop file type and the door receives the file's absolute path in the DOORDROP_INI environment variable and via the %F command-line specifier. The writer in xtrndat() fills every key Synchronet has a source for: system identity and FTN addresses, the connection type (stdio, socket with the inherited handle, local, fossil or uart), the user's account details and preferences, the terminal size, type, character set and detected CTerm capabilities, the remaining time and idle limit, the door entry's code and name, and the Synchronet-specific [x-sbbs] keys (security level, flags, exemptions, restrictions, expiration, minutes and credits) that MODUSER.DAT adjusts. Text values are written in CP437, or in UTF-8 when the door's new "Support UTF-8 Encoding" option is set, and are cleaned as the spec requires: control and bidirectional format characters become '?', a non-breaking space becomes a space, and a value that would exceed the 255-byte line limit is cut at a character boundary (text) or left out (anything else). Launch handling: a DOORDROP.INI door always runs with no stdio echo, so COMM_TYPE=stdio means what the spec says; a multiuser door on a multinode system gets its file in the node directory even when the sysop chose the start-up directory, since that directory is shared by every node running the door; and the file is removed after the door exits. The UART keys describe COM1, the port Synchronet's virtual UART driver always emulates. external()'s BBSDEV.DRP-only environment variable parameter becomes a variable name plus path, so either drop file type's variable reaches the door on every launch path (native, DOSEMU and Windows DOS). XTRN_UTF8, until now an editor-only option, is also offered for online programs that use this drop file type. unicode_defs.h gains the nine bidirectional format code points the spec treats as control characters. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  411. Rob Swindell (on Debian Linux)
    Sat Oct 31 2026 23:30:47 GMT-0700 (PST)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI 1.0: terminal type and size are required Make TERM_TYPE, TERM_COLS and TERM_ROWS required unless COMM_TYPE is local, answering Deuce's review that too few keys were mandatory: a conforming file could leave out the terminal dimensions, and a door would then assume 80x24 (and a missing TERM_TYPE, a dumb terminal) whatever the caller actually had. Every host knows these values, since it uses them itself, and every older drop file carried them. The DOS example now writes the screen size, and the Synchronet notes say where it comes from. Promote the specification from draft to version 1.0, replacing the "don't implement" banner with a note that later versions add keys under the Extensions and versioning rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  412. Rob Swindell (on Windows 11)
    Sat Oct 31 2026 23:16:20 GMT-0700 (PST)
    Modified Files:
    

    src/sbbs3/getmsg.cpp diff
    src/sbbs3/sbbs.h diff
    Fix CP437 header templates printed as UTF-8 for UTF-8-flagged messages msghdr_text() converts a CP437 text.dat template (MsgSubj, MsgTo, MsgFrom, the message list formats) to UTF-8 into a 128-byte buffer when a message's header fields are flagged UTF-8. The stock MsgSubj string is 72 CP437 bytes with 30 box-drawing characters: exactly 128 bytes as UTF-8. Since 99b0b63767 (2019-08-03) that conversion only succeeded by writing the NUL-terminator one byte past the buffer. bb5ff19c18 (2026-07-29) made cp437_to_utf8_str() reserve the terminator inside the passed size, so the MsgSubj conversion now fails and msghdr_text() falls back to the raw CP437 template, which the caller still prints in P_UTF8 mode, i.e. untranslated. On a UTF-8 terminal the first header line of every message with the HFIELDS_UTF8 aux attribute (e.g. all posts from a system that flags web-posted headers as UTF-8) came out as CP437 mojibake. Messages without the flag never take this path and were unaffected. Size the buffer for any text.dat item (MAX_TEXTDAT_ITEM_LEN CP437 characters of at most three UTF-8 bytes each). And since text.ini and bbs.replace_text() can install longer strings, make the failure path coherent: msghdr_text() logs a warning and returns NULL when the template can't be converted, and show_msghdr() (via the new show_msghdr_line()) and list_msg() then display that line entirely in CP437, header fields included, instead of mixing charsets. A template with nothing to convert is returned as-is rather than being treated as a failure. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  413. Deucе
    Sat Oct 31 2026 22:33:15 GMT-0700 (PST)
    Added Files:
    

    src/syncterm/audio_apc_test.c diff
    Modified Files:

    src/syncterm/CHANGES diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/audio_apc.c diff
    src/syncterm/audio_apc.h diff
    src/syncterm/term.c diff
    Stop session audio before disconnect teardown Stop cterm music, effects, status-line streams, and every APC channel before releasing any audio-device references. xptone_close drains all remaining streams, so closing channels one at a time could wait for other session audio to finish. Run cleanup before protocol shutdown and the remote-disconnect notice, cover the outer quit path, and reset notification state for every channel. Keep cterm ownership of its music and effects handles until cterm_end. Add a headless real-mixer regression that checks all streams are empty at the first device close, with finite and looping queues, status-line audio, repeated cleanup, patch cleanup, and subsequent sessions. Verified native build and CTest, MinGW compilation, and remote EOF with SDL dummy audio: the old build remained blocked on a 30-second clip, while the fixed build returned promptly.

  414. Deucе
    Sat Oct 31 2026 16:27:07 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/scripts/menu_web_lists_test.wren diff
    Modified Files:

    src/syncterm/CMakeLists.txt diff
    src/syncterm/run_wren.sh diff
    src/syncterm/wren_bind_menu_settings.c diff
    Fix the crash when adding the first web list Initialize the web-list array terminator before moving entries. When the list starts as NULL, realloc creates uninitialized storage and the old code copied a garbage pointer into the terminator slot. The menu could then walk past the array while rebuilding its rows. Add an isolated, offline menu-VM regression with allocator poisoning. Cover first insertion, append, head/middle insertion, duplicate rejection, URI updates, deletion, and inserting again after deleting every entry. The unpatched binary crashes; the patched build passes all 38 checks. Reported by Accession via IRC. Closes #1273

  415. Rob Swindell (on Windows 11)
    Sat Oct 31 2026 15:27:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/dorkit.js diff
    src/sbbs3/exec.cpp diff
    xtrn/gttrivia/gttrivia.js diff
    Scope a script's js.auto_terminate/terminate_on_disconnect change to itself sbbs_t::js_callback is one struct per node, shared by every script that js_execfile() runs during the session. dorkit.js (since 5a4e103ff3d, and terminate_on_disconnect since fc82a6d9116) clears both flags at load and only sets them again in its own disconnect-timeout path, so after a normal exit from a dorkit door (e.g. LORD) every later script on the node ran with the disconnect abort and the recycle abort disabled. Seen on vert: a caller played LORD, then Good Time Trivia, then dropped the connection. The node stayed "in use" for 20+ hours, its thread rereading the trivia question files in a loop, ignoring the disconnect; only the JavaScriptTimeLimit counter would eventually have ended it. - js_execfile() saves the two flags before executing a script and restores them afterward, so a script's change can't leak into the next one. - dorkit.js restores the caller's values via js.on_exit() as well. - gttrivia.js: console.getkeys() returns a number (not a string) on abort or when the caller is offline; doMainMenu() converted that to "0" and fell through to its ACTION_PLAY default forever. Treat a non-string or empty result, or an offline caller, as Quit. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  416. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:39 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/822header.js diff
    exec/load/acmev2.js diff
    exec/load/age.js diff
    exec/load/ansiterm_lib.js diff
    exec/load/asc2htmlterm.js diff
    exec/load/attr_conv.js diff
    exec/load/attrdefs.js diff
    exec/load/avatar_lib.js diff
    exec/load/backgroundlog.js diff
    exec/load/bajalib.js diff
    exec/load/bayes.js diff
    exec/load/bmp_lib.js diff
    exec/load/calendar.js diff
    exec/load/callsign.js diff
    exec/load/cardlib.js diff
    exec/load/cfglib.js diff
    exec/load/cga_defs.js diff
    exec/load/clock.js diff
    exec/load/cmdshell.js diff
    exec/load/cnfdefs.js diff
    exec/load/cnflib.js diff
    exec/load/coldfuncs.js diff
    exec/load/consensus_vote.js diff
    exec/load/cterm_lib.js diff
    exec/load/cvslib.js diff
    exec/load/dd_lightbar_menu.js diff
    exec/load/dnshelper.js diff
    exec/load/dorkit.js diff
    exec/load/event-emitter.js diff
    exec/load/event-timer.js diff
    exec/load/fido.js diff
    exec/load/fidoaddr.js diff
    exec/load/fidocfg.js diff
    exec/load/filebase.js diff
    exec/load/filedir.js diff
    exec/load/finger_lib.js diff
    exec/load/form.js diff
    exec/load/ftelnethelper.js diff
    exec/load/funclib.js diff
    exec/load/geoip.js diff
    exec/load/getkeye.js diff
    exec/load/graphic.js diff
    exec/load/gwarlib.js diff
    exec/load/hexdump_lib.js diff
    exec/load/html2asc.js diff
    exec/load/http.js diff
    exec/load/inputline.js diff
    exec/load/install-3rdp-xtrn.js diff
    exec/load/install-binkit.js diff
    exec/load/ircbot_commands.js diff
    exec/load/ircbot_functions.js diff
    exec/load/irclib.js diff
    exec/load/jpath.js diff
    exec/load/json-chat.js diff
    exec/load/json-client.js diff
    exec/load/json-db.js diff
    exec/load/json-sock.js diff
    exec/load/json_lines.js diff
    exec/load/key_defs.js diff
    exec/load/layout.js diff
    exec/load/lightbar.js diff
    exec/load/lockfile.js diff
    exec/load/logging.js diff
    exec/load/logonlist_lib.js diff
    exec/load/lordlib.js diff
    exec/load/mailproc_util.js diff
    exec/load/mailutil.js diff
    exec/load/mapgenerator.js diff
    exec/load/menulib.js diff
    exec/load/mimehdr.js diff
    exec/load/modopts.js diff
    exec/load/mouse_getkey.js diff
    exec/load/msgutils.js diff
    exec/load/newsutil.js diff
    exec/load/nntp_client_lib.js diff
    exec/load/nodedefs.js diff
    exec/load/nodelist_options.js diff
    exec/load/portdefs.js diff
    exec/load/presence_lib.js diff
    exec/load/qengine.js diff
    exec/load/relpath.js diff
    exec/load/salib.js diff
    exec/load/sauce_lib.js diff
    exec/load/sbbsimsg_lib.js diff
    exec/load/sbbsini.js diff
    exec/load/sbbslist_html.js diff
    exec/load/sbbslist_lib.js diff
    exec/load/sha1.js diff
    exec/load/siflib.js diff
    exec/load/slyedit_dct_stuff.js diff
    exec/load/slyedit_misc.js diff
    exec/load/smbdefs.js diff
    exec/load/sockdefs.js diff
    exec/load/sprite.js diff
    exec/load/telnet_lib.js diff
    exec/load/termcapture_lib.js diff
    exec/load/typeahead.js diff
    exec/load/uifcdefs.js diff
    exec/load/url.js diff
    exec/load/user_info_to_sysop.js diff
    exec/load/userprops.js diff
    exec/load/utf8_ascii.js diff
    exec/load/utf8_cp437.js diff
    exec/load/utf8_utf16.js diff
    exec/load/vga_defs.js diff
    exec/load/xbin_defs.js diff
    exec/load/xbin_lib.js diff
    exec/load/xtrnmenulib.js diff
    exec/load: remove stale CVS keywords and trailing whitespace Remove the leftover CVS $Id$ (and $Revision$) comments from 58 libraries, along with the blank line each one left behind, and strip trailing whitespace from 84 files. Whitespace and comments only. Files that use "$Revision$" in code to build a VERSION or REVISION string (cvslib, event-timer, graphic, json-db, json-sock, sbbslist_html, xbimage_lib) keep their keywords; only their trailing whitespace is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  417. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/userdefs.js diff
    userdefs.js: add PT/SC header, fix tab alignment, remove CVS $Id$ Add the PT/SC file header (tab-size 4, use-tabs) used by the sibling sbbsdefs.js and nodedefs.js, and realign the USER_, QWK_, and CHAT_ constant blocks with tabs so they line up at ts=4; they had mixed tabs and spaces that aligned at no tab width. Also remove the stale CVS $Id$ keyword and trailing whitespace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  418. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    .claude/skills/javascript/SKILL.md diff
    javascript skill: console.attributes vs raw ANSI SGR colors Document that console.attributes reflects the last requested attribute, not colors set by raw SGR sequences, and that Synchronet restores the requested attribute after nodesync(), pause prompts, and message/file displays, so scripts should set colors with Ctrl-A codes or console.attributes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  419. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    v322_new: note emulated baud, pause prompt, and ANSI tracking fixes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  420. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_terminal.cpp diff
    ANSI_Terminal: fix cursor tracking of ED, CNL/CPL, DECSTBM, IND, and RIS The output parser tracked every ED (CSI Ps J) as homing the cursor and resetting the line counter, but only CSI 2J does that (and only on ANSI-BBS terminals such as SyncTERM). Synchronet itself sends CSI J for Ctrl-A J, @CLR2EOS@, and console.cleartoeos(), after which the tracked row/column were wrong: the next auto-pause came late, and with console.optimize_gotoxy enabled, a following gotoxy() could be skipped entirely. Also track, matching SyncTERM's cterm: - CNL (CSI E) and CPL (CSI F) moving to column 1 - DECSTBM (CSI r) homing the cursor when the margins are valid - IND (ESC D) moving down one line - RIS (ESC c) resetting the attribute to the terminal default DECSC/DECRC (ESC 7 / ESC 8) remain untracked. Fixes #1314 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  421. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_terminal.cpp diff
    ANSI_Terminal::getxy(): discard partial coordinates when restarting When an unexpected byte interrupted the cursor position report, getxy() pushed the bytes received so far back into the keyboard buffer and started looking for a new report, but kept any row/column digits already accumulated into *y/*x. The digits of the next report were then appended to them, yielding a wrong position (e.g. row 1 followed by a report of row 5 returned 15). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  422. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_terminal.cpp diff
    ANSI_Terminal: reset the background to default with SGR 49, not 39 attrstr() emitted SGR 39 (default foreground) when switching to an attribute with BG_UNKNOWN, so the terminal's background color was never reset. A background left set (e.g. by ANSI art) then bled into the text that followed, while curatr claimed the default background, e.g. when pause() or putmsg() restored an attribute saved after an ESC[0m. Introduced in 374282bf81 (skins-28-shop, 2025-03-30). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  423. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/getkey.cpp diff
    getkey: erase the spinning cursor when aborted while waiting for input When an abort (e.g. Ctrl-C) arrived while getkey() was waiting in inkey() with a spinning cursor (K_SPIN), getkey() returned without erasing the spinner. Only the abort check at the top of the loop erased it. pause() then backspaced over its prompt using the prompt's own length, so the first of those backspaces was spent on the spinner and the prompt's first character (e.g. the '[' of "[Hit a key]") was left on the screen. Loop back to the top-of-loop abort check instead, which erases the spinner before returning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  424. Rob Swindell (on Debian Linux)
    Fri Oct 30 2026 19:20:38 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_terminal.cpp diff
    src/sbbs3/prntfile.cpp diff
    src/sbbs3/putmsg.cpp diff
    Track emulated output rate changes in all output, restore after putmsg() A message containing a raw DECSCS sequence (ESC[0;6*r) left SyncTERM at the emulated baud rate for all following output (prompts, etc.), most noticeably after aborting the message display with Ctrl-C or 'N' at the pause prompt. putmsg() only restored the output rate when it had been changed by an @BPS:n@ code, which updates term->cur_output_rate; a DECSCS sequence sent in any other output was passed through untracked. And the restore was skipped entirely in P_NOATCODES mode, which is how network-originated messages are displayed. Have ANSI_Terminal's output parser track the output speed selected by any DECSCS sequence sent (from message text, JS console.write(), etc.), and restore the original rate whenever it changed, regardless of P_NOATCODES (in both putmsg() and printfile()'s line-at-a-time mode). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  425. Deucе
    Fri Oct 30 2026 12:46:41 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/fileserv.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv.js diff
    fileserv: identify IRC transport when rejecting DCC browser commands Tell users explicitly that a command arrived via IRC PRIVMSG rather than DCC chat, then explain how to open a new browser. This makes failures understandable when a client retains a disconnected DCC window as an IRC dialog. Reject browser-only commands and current-directory shortcuts before authorization or catalog work. Show full IRC syntax for LIST, INFO and GET, distinguish browser commands in HELP, and document LS, QUIT and EXIT aliases. Add regressions for private NOTICE replies, transport instructions, disconnected-browser fallback, and unchanged DCC behavior. All 48 native FileServ checks and git diff --check pass.

  426. Deucе
    Fri Oct 30 2026 10:43:26 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/config-case.js diff
    Modified Files:

    exec/load/ircd/config.js diff
    exec/tests/ircd/services.js diff
    ircd: parse INI section and key names without case sensitivity Normalize section dispatch and key lookup in the shared configuration reader and section handlers, including direct calls from tools. Preserve section arguments and configuration values such as passwords and paths. Apply Enabled and Disabled consistently for every spelling. EmbeddedServices Enabled=false disables authority hosting while retaining the leaf authority host and policies; Disabled=true still skips the entire section. Recognize explicit services trust lists regardless of section capitalization. Add regressions covering all supported sections and keys across lower, upper and mixed case in daemon and editor modes, policy flags, value preservation and save/reload behavior. Update the disabled-section test to use Disabled for whole-section suppression. Validation: all 73 native jsexec checks pass, along with a converter round-trip check and git diff --check.

  427. Deucе
    Fri Oct 30 2026 10:36:13 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/config-editor.js diff
    Modified Files:

    exec/ircdcfg.js diff
    exec/load/ircd/config.js diff
    ircdcfg: configure embedded services and fix editor persistence Add editors for local BBS services, the central services authority, FileServ access and DCC settings, clock policy, and WebIRC gateways. Validate numeric input, preserve values on cancellation, and mask operator and link passwords. Fix Save and Quit, Save As destinations, default allow rules, ban reasons, new operator flags, class deletion, and server rule matching by name. Preserve hub assignments when renaming peers and include inbound-only rules in the server list. Initialize defaults for missing configurations, recognize uppercase INI extensions, and preserve cleared Info text and explicit empty services trust lists across saves without changing blank-value defaults elsewhere. Add 19 scripted configurator regressions. All 65 configurator, TLS, and services checks pass under native jsexec; the STDIO interface smoke check also passes.

  428. Deucе
    Thu Oct 29 2026 23:14:49 GMT-0700 (PDT)
    Modified Files:
    

    .claude/skills/text/SKILL.md diff
    exec/tests/ircd/services-fixture.py diff
    src/sbbs3/gtkmonitor/events.c diff
    src/sbbs3/umonitor/umonitor.c diff
    Fix stale attribute configuration references and IRCd fixtures Point the Unix and GTK monitor colour editors and text skill documentation at attr.ini. Omit attribute files from the isolated IRCd services fixture. Native configuration loading provides colour defaults, so these tests do not need either attr.cfg or attr.ini. Validated all four native BBS fixtures using a fresh template without attribute files; git diff --check passes.

  429. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/ircd/services-fixture.py diff
    tests: copy ctrl/attr.ini, not attr.cfg, into the ircd services fixture attr.cfg was replaced by attr.ini in b5365030a7 (scores-11-main, 2024-05-21), so services-fixture.py, added in 7ab40ac2e6 (trim-54-tube, 2026-10-22), failed with FileNotFoundError against a current ctrl directory, and the TLS and services network tests that depend on it could not run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  430. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    src/sbbs3/pack_qwk.cpp diff
    src/sbbs3/userdat.c diff
    Address Coverity CIDs 661198 and 661301-661304 js_socket_tls_thread(): the acceptTLS worker's one-byte send() that wakes the JS thread went unchecked. Had it failed, the notification socket would never become readable and the script's callback would never run, since the JS side's reference keeps the other end open. Retry on EINTR; on any other failure log it and shut down the write side, so the JS thread still wakes on EOF and collects the handshake status. (CID 661302) The two MISSING_LOCK reports against the same code are annotated, not changed: do_js_close() reads the pending handshake's socket on the JS thread, the only thread that writes it, and the worker's unlocked use of the session precedes the notification after which the JS thread takes it over under the mutex. (CIDs 661301, 661304) pack_qwk(): remove the empty-index and stale NEWFILES.DAT temp files with fremove(), which ignores a missing file and reports any other failure, as the QWK job's other removes do. (CID 661198) finduserstr_ex(): stop the bulk read if read() reports more than was requested, which bounds want - got for the analyzer. (CID 661303) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  431. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: ignore the #anchor when matching a wiki URL to the query append_wiki_url_if_missing() only appends a wiki link when a query word also appears in the URL. It tokenized the whole URL, #section anchor included, and anchors are full of generic how-to words ("step", "adding", "your"). So an off-topic "step on toes" matched howto:dove-net#step_3_adding_your_system and the reply got a DOVE-Net link. Match against the page name only; the appended URL still keeps its anchor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  432. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/chat_llm.ini diff
    ctrl/chat_llm_opening_persona.utf8 diff
    exec/chat_llm.js diff
    chat_llm: open some guru sessions with a classic guru.dat greeting With an LLM module configured, a private guru chat skipped guru.dat entirely and every greeting came from the model. Now a fraction of openings (guru_greeting_chance, default 0.25) use a line from the guru file's HELLO section instead, the way the pre-LLM Guru opened. Lines needing the caller's real name, phone, birthdate or age are skipped, since this engine has no live terminal session to fill them from. The opening-greeting persona also gets the period-vocabulary rule the main persona has: this BBS is "the board", never "the boards". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  433. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/chat_llm_persona.utf8 diff
    chat_llm: give the guru persona period-accurate BBS vocabulary The guru kept saying "the boards" to mean a BBS's message areas, a web-forum phrasing BBS callers and sysops didn't use. Most occurrences came from the persona prompt itself: its canned "nothing in the archive" reply was "I haven't seen anything about that on the boards." Change that line to "on the subs" (or "in the echoes" for a FidoNet or DOVE-Net topic), and add a STYLE rule listing the period terms: a "board" is one BBS and this one is "the board", singular; "boards" means several BBSes; message areas are subs, message bases, conferences, or echoes; users are callers who call or log on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  434. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncscumm/build.bat diff
    syncscumm: drop the backend junction on every build.bat exit build.bat replaces the tracked backends/platform/termgfx symlink with a junction to door\ and used to leave it in place. The next CI checkout in that runner slot replaces the junction with the symlink file again and, on the way, deletes door\'s files through it -- without restoring them in the same pass. Usually a different job absorbed that and the following checkout put the files back, but on 2026-10-29 two windows-x86 [syncscumm] jobs ran back to back in VERT's slot 0, and job 1832617 found door\ empty: "door does not appear to contain CMakeLists.txt". - Call :drop_junction on success and on the :error path, so no junction survives into the next checkout. - :drop_junction tests the junction as a directory rather than via module.mk, so a junction to an emptied door\ is still removed. - Step 1 removes a stale junction with rmdir: del /Q on a junction deletes the files in its target. - Step 1 restores any door\ file git reports deleted, covering stale junctions already left in other runner slots. Only deleted files are checked out, so local edits are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  435. Rob Swindell (on Debian Linux)
    Thu Oct 29 2026 22:22:31 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgxfr2.c diff
    scfg: note that an explicit directory vdir name overrides the library's The library's "Virtual Sub-directories" setting (source of the virtual sub-directory names) is ignored for any directory whose own "Virtual Sub-directory" name is set explicitly. Say so in the setting's help text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  436. Deucе
    Thu Oct 29 2026 16:34:09 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/utf8_codepages.c diff
    src/conio/utf8_codepages.h diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/bbs_cache.c diff
    src/syncterm/bbs_cache.h diff
    src/syncterm/bbs_cache_test.c diff
    Decode legacy BBS cache names as CP437 through conio Directory entry names in SyncTERM v1.10b are CP437, not UTF-8. Map each byte through conio before applying the Unicode 18 canonical case fold, then use conio to encode the normalized hash input as UTF-8. This preserves v2-compatible keys for equivalent Unicode names without rejecting or misreading extended CP437 bytes. Expose conio existing UTF-8 scalar encoder and remove the cache helper dependency on libencode UTF-8 routines. Replace UTF-8 input vectors with CP437 regression cases, cover all nonzero input bytes, and test accented case pairs, box drawing, and CP437 byte sequences that also happen to be valid UTF-8. Verified native CMake and GNUmake release builds, cache regression tests, MinGW compilation, and comparison against v2 canonical keys for 255 single bytes, 65025 pairs, and 10000 mixed CP437 names.

  437. Deucе
    Thu Oct 29 2026 14:50:56 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/GNUmakefile diff
    Link SyncTERM encode helpers before xpdev The per-BBS cache keys now pull utf8.o from libencode, whose Unicode helpers are provided by libxpdev. GNU linkers do not revisit the earlier xpdev archive, leaving undefined Unicode symbols on Linux, Alpine, ARM64, NetBSD, and MinGW. Place encode and hash before xpdev in the GNUmake final link. Verified the original failure and corrected link with native GNU ld.bfd and MinGW, and completed a full GNUmake release build with ld.bfd.

  438. Deucе
    Thu Oct 29 2026 11:50:25 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/LICENSE.UNICODE diff
    src/syncterm/bbs_cache.c diff
    src/syncterm/bbs_cache.h diff
    src/syncterm/bbs_cache_test.c diff
    src/syncterm/bbs_cache_unicode.h diff
    src/syncterm/tools/import_cache_unicode.py diff
    Modified Files:

    src/syncterm/CHANGES diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/SyncTERM.vcxproj diff
    src/syncterm/bbslist.c diff
    src/syncterm/objects.mk diff
    src/syncterm/term.c diff
    Use v2-compatible per-BBS cache keys (ticket 297) Derive portable cache directory names from the Unicode 18 canonical full case fold and SHA-256, matching SyncTERM v2.0a. Use the keys for cache creation, entry rename/delete, and orphan cleanup, and quote literal directory names in APC cache-list glob patterns. Remove cache trees without glob expansion or following symlinks/reparse points. Preserve existing name-based directories without attempting migration. Add focused key, listing, and cache lifecycle regression coverage, plus a reproducible import of the required Unicode data subset.

  439. Deucе
    Thu Oct 29 2026 09:13:23 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/socket/standalone.sjs diff
    tests: preserve standalone runtime quotes through Windows system() Invoke cmd.exe with explicit /D /S /C quoting when launching standalone socket tests. Windows CRT system() strips leading executable quotes differently from the no-console CreateProcess path; starting with cmd.exe preserves the quoted runtime, control directory and worker arguments in both cases. Reproduced the failure through the Windows UCRT system() entry point using the CI-built executable under Wine. The corrected command succeeds through UCRT, all 40 Windows test scripts pass, and injected callback failures still fail the suite.

  440. Deucе
    Thu Oct 29 2026 09:01:59 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/socket/standalone.sjs diff
    tests: fix standalone socket runner startup across CI platforms Pass jsexec -U to match Unix CI, whose ctrl/exec bundle omits node configuration files. Socket callback tests do not require a complete BBS configuration. Normalize the source root and enumerate build directories before appending the runtime filename, avoiding intermediate wildcard components unsupported by Windows globbing. Double trailing backslashes in quoted Windows arguments so the control directory does not absorb the worker script argument. Reproduced the original failures with the Unix CI directory layout and the CI-built Windows executable under Wine. Verified 59 jsexec, 48 jsdoor and 40 Windows test scripts pass; injected callback failures still fail the suites.

  441. Deucе
    Thu Oct 29 2026 08:44:51 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/socket/callback-closures.sjs diff
    exec/tests/socket/callback-fairness.sjs diff
    exec/tests/socket/standalone.sjs diff
    Modified Files:

    exec/tests/dns/records.js diff
    exec/tests/socket/callback-closures.js diff
    exec/tests/socket/callback-fairness.js diff
    tests: fix jsdoor DNS loading and isolate callback regressions Load DNS dependencies from explicit source paths in the runtime global scope. Keep the wire-format regressions independent of the IRC helper, whose run_tests function replaces the outer suite runner under jsdoor. Run socket fairness and closure regressions in standalone processes using the same runtime revision as the suite. Start each worker with a failing exit code and clear it only after callback assertions complete, so deferred callbacks cannot escape the suite result. Validated on FreeBSD with the CI jsdoor binary (48 tests) and jsexec (59 tests). Injected callback failures make both suites exit unsuccessfully.

  442. Rob Swindell (on Windows 11)
    Thu Oct 29 2026 00:10:56 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/answer.cpp diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/login.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/services.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    src/sbbs3/websrvr.cpp diff
    Report a failed user lookup as an error, not as an unknown user matchuser() and finduserstr() returned 0 both when no user matched and when name.dat or user.tab could not be opened or read, and find_login_id() passed that through. Every authenticating server then treated a lookup that never ran as a bad login: it logged "UNKNOWN USER" (with the password when Echo Password is on), counted a failed attempt against the client, and at the filter threshold banned its IP. The SMTP recipient lookup bounced mail with a permanent 550 the same way. A short read of name.dat returned a bogus user number. The scanning bodies are now matchuser_ex() and finduserstr_ex(), which return a USER_* error code when the user base could not be searched; matchuser() and finduserstr() clamp that to 0 so their other callers and system.matchuser() are unchanged. find_login_id() propagates the error, and system.find_login_id() clamps it for scripts. The login paths in the mail, FTP, web, Services and terminal servers log the error at LOG_ERR and answer with a temporary failure (-ERR [SYS/TEMP], 454 4.7.0, 451 4.3.0, 421) without calling badlogin(); the SSH path no longer starts new-user registration on one. Seen on vert on 2026-10-27 when a handle leak (c42d0dc07c) exhausted the process's stdio streams: for four hours every real login was reported as an unknown user and a mail client retrying a valid account was banned for 90 days. Closes #1307. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  443. Deucе
    Wed Oct 28 2026 13:54:52 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/fileserv-catalog.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv.js diff
    ircd: match FileServ library filters by short name Use library short names for IncludeLibs, ExcludeLibs and PublicLibs so Main selects the Main library even when its internal code prefix is empty. Directory filters continue to match full internal directory codes. Parse export masks as comma-separated lists with surrounding whitespace trimmed, preserving spaces within names. Update configuration examples and cover empty prefixes, names containing spaces, exclusions and native guest ARS. Validation: all 43 unit checks and 6 native BBS fixture checks passed; git diff --check passed.

  444. Deucе
    Wed Oct 28 2026 11:56:48 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/fileserv-catalog.js diff
    exec/load/ircd/fileserv.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv-network.py diff
    exec/tests/ircd/fileserv.js diff
    ircd: speed up FileServ browsing and honor current location in LIST Cache the configured user-transfer directory, including its absence, so special-directory checks do not repeatedly rebuild the native file-area object. Use numeric directory IDs for native access checks, skip libraries already found accessible, and apply directory listing filters before evaluating access. Make bare LIST and LIST . browse the current DCC location while retaining explicit directory listings and keeping navigation confined to DCC chat. Update command help and documentation and cover the behavior with native API and real DCC tests. Validation: 41 unit checks, 5 native fixture checks, and the full FileServ network suite passed. With 500 directories, LIBS catalogue processing fell from about 83 seconds to 55 milliseconds.

  445. Deucе
    Wed Oct 28 2026 11:25:29 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/fileserv-catalog.js diff
    exec/load/ircd/fileserv-worker.js diff
    exec/load/ircd/fileserv.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv-network.py diff
    exec/tests/ircd/fileserv.js diff
    exec/tests/ircd/services-network.py diff
    ircd: browse FileServ libraries and directories by short name Use native library and directory short names instead of internal code prefixes in FileServ listings and virtual paths. Deduplicate libraries by name so libraries sharing empty prefixes remain visible, and reject ambiguous directory names. Provide root, library and directory levels in DCC chat. Support CD into libraries and directories, parent and root navigation, PWD, and listings relative to the current location. Preserve full internal directory codes as aliases and retain existing export-filter and native access-check semantics. Update help and documentation. Validate 38 unit checks, four native BBS cases, hierarchical DCC browsing and transfers, and services access through a v1.3 relay with clean native worker and server exits.

  446. Deucе
    Wed Oct 28 2026 10:51:40 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/fileserv.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv-network.py diff
    exec/tests/ircd/fileserv.js diff
    ircd: honor FileServ channel browser transport options Forward !fserve arguments to CHAT so an explicit PLAIN request produces DCC CHAT rather than defaulting to encrypted SCHAT. Keep case-insensitive transport parsing and the configured TLS policy, and reject unexpected arguments. Document and advertise the TLS/PLAIN option. Verify channel transport choices and policy refusals in the 34-check FileServ suite and native CHAT/SCHAT network tests.

  447. Deucе
    Wed Oct 28 2026 10:37:18 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/dns/records.js diff
    Modified Files:

    exec/load/dns.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/fileserv-worker.js diff
    exec/load/ircd/fileserv.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv-network.py diff
    exec/tests/ircd/fileserv.js diff
    exec/tests/ircd/stats.js diff
    exec/tests/ircd/tls.js diff
    ircd: support dual-stack FileServ endpoints and asynchronous DNS Allow shared Address/Bind hostnames with A and AAAA records, plus optional Address4/Bind4 and Address6/Bind6 overrides. Select the endpoint using the client's IRC address or private ADDRESS override while preserving existing numeric configurations. Resolve names through dns.js without blocking IRC, share pending lookups, cache answers within their TTL, and fail clearly when the requested family is unavailable. Capture the advertised address, numeric bind and expected peer for each request so queued and active transfers retain consistent endpoints. Cancel pending DNS requests without allowing late replies to start DCC sessions. Expose the new settings in STATS and document dual-stack/NAT configuration. Fix dns.js AAAA zero compression, truncated-record validation and unsigned 32-bit TTL decoding. Audit resolver callers for dependent workarounds and retain the separate IRC NICK 0::1 serialization workaround. Validate native IPv4/IPv6 SEND, SSEND, SCHAT, resume, hostname resolution, missing AAAA, DNS timeouts and cancellation. All 53 FileServ workers and the IRCd exit normally. FileServ access through a v1.3 relay, RBL network tests, DNS wire-format regressions, and IRC state/configuration suites pass.

  448. Deucе
    Wed Oct 28 2026 09:52:47 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/socket/accept-tls.sjs diff
    exec/tests/socket/callback-closures.js diff
    exec/tests/socket/callback-fairness.js diff
    Modified Files:

    exec/load/ircd/core.js diff
    exec/load/ircd/tls.md diff
    exec/tests/ircd/tls-network.py diff
    exec/tests/ircd/tls.js diff
    src/sbbs3/js_internal.cpp diff
    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    src/sbbs3/sbbs.h diff
    ircd: prevent TLS accepts from starving server links Add native asynchronous TLS accepts with owned worker state, cancellation, and process-exit cleanup. Keep IRC registration on the callback thread and bound pending handshakes. Detect older hosts and retain their synchronous TLS path with a one-time warning. Service ready sockets, due timers, and queued callbacks fairly so connection scans cannot suppress CLOCK announcements. Cover callback closures, GC, TLS completion and shutdown, handshake saturation, and legacy-host fallback. Validation: native TLS network suite, 19 TLS regressions, 10 clock checks, SendQ checks, and scheduler regressions with poll and select.

  449. Deucе
    Wed Oct 28 2026 09:34:47 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/fileserv-catalog.js diff
    exec/load/ircd/fileserv-worker.js diff
    exec/load/ircd/fileserv.js diff
    exec/load/ircd/fileserv.md diff
    exec/tests/ircd/fileserv-fixture.py diff
    exec/tests/ircd/fileserv-network.py diff
    exec/tests/ircd/fileserv.js diff
    Modified Files:

    exec/load/ircd/channel.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/load/ircd/unregistered.js diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/stats.js diff
    exec/tests/ircd/tls.js diff
    ircd: add opt-in per-BBS FileServ with DCC and native access checks Load FileServ through the embedded services manager, disabled by default. Support wildcard library and directory filters, explicit public exports, native BBS access and download checks, and private or channel commands. Require authentication to the serving BBS for protected files; linked nickname accounts alone do not grant file access. Provide NOTICE replies, DCC SEND/CHAT with optional or required TLS, resume, bounded queues, cancellation, and native download accounting. Run catalog scans and blocking DCC operations in supervised POSIX workers with authenticated control channels and authorization leases so IRC stays responsive. Handle FileServ nickname collisions and channel timestamp claims without disrupting legacy links. Document configuration, commands, and existing API limitations. Track per-request ARS client context in work item 1310: https://gitlab.synchro.net/main/sbbs/-/work_items/1310 Validate native DCC/TLS transfers, access checks, accounting, queues, cancellation, shutdown, and services authentication through v1.3 and v2.0 relays. All 40 workers in the final FileServ network run exited normally; services, state, TLS, STATS, and related regression suites passed.

  450. Deucе
    Wed Oct 28 2026 01:00:10 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/suppressions.vg diff
    Suppress inlined SpiderMonkey deferred-free leak during background cleanup

  451. Deucе
    Wed Oct 28 2026 00:37:12 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/config.js diff
    exec/load/ircd/link-security.js diff
    exec/load/ircd/services-backend.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services-help.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/load/ircd/tls.md diff
    exec/tests/ircd/link-security.js diff
    exec/tests/ircd/services-link.js diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services-notices.js diff
    exec/tests/ircd/services.js diff
    ircd: refine services trust, memo notifications, and TLSROUTE lookup Treat INI Services sections as the complete services trust list. Add the built-in Synchronet trust entries only when no Services sections exist, including when explicit sections are empty or disabled. Keep automatic memo checks after identification quiet for empty mailboxes and omit their completion summaries. Preserve waiting-mail notices, per-BBS errors, explicit STATUS replies, and timeout progress without emitting blank notices. Accept older helpers that return only status text. Resolve TLSROUTE server masks with the shared server lookup and report the selected canonical name, retaining admission and route-security checks. Document the behavior and add regressions for trust selection and rehash, automatic versus explicit memo status, silent progress, and wildcard routing. Services and link-security suites passed, along with the full services network regression through a v2.0 relay; all child IRCds exited cleanly.

  452. Deucе
    Wed Oct 28 2026 00:15:29 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/services-logging.js diff
    Modified Files:

    exec/load/ircd/config.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services.js diff
    ircd: retain leaf authority settings when services hosting is disabled Treat EmbeddedServices.Enabled=false as disabling authority hosting rather than skipping the entire section. Leaves now retain their configured Host and policy instead of silently falling back to services.synchro.net and ignoring the actual authority. Replace per-fragment services diagnostics with complete RPC summaries, request correlation, timings, and explicit rejection reasons. Exclude credentials, session proofs, command arguments, memo bodies, and raw errors from the new diagnostics. Preserve queued replies for the same connection when a verified nickname timestamp changes, using the existing bounded predecessor session record. Add parser and diagnostic regressions and exercise explicitly disabled authority hosting on leaves in the network test. Validated with 108 focused tests and the full services network regression through a v2.0 relay; all child IRCds exited cleanly.

  453. Deucе
    Tue Oct 27 2026 23:48:56 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/stats.js diff
    Modified Files:

    exec/load/ircd/core.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/services-network.py diff
    ircd: expose public configuration and services RPC state in STATS Extend STATS U with the effective BBS and central services settings, authority discovery/trust state, and RPC transport status. Keep existing U-line rows and lowercase u's uptime report. Add STATS F for server/network identity, clock, capability and TLS CA configuration state, B for RBL settings, W for WebIRC host masks, and ? for report help. Extend server, listener, operator and class reports with their missing public settings. Report every inbound server independently so inbound-only links and differently ordered C/N lists are not omitted. Whitelist public fields, omit passwords, private paths and RPC secrets, and sanitize and bound the new configuration rows to the IRC wire limit. Add coverage for report completeness, remote wildcard queries, secret exclusion and wire framing. Verify that services RPC updates another server's WHOIS identity and that remote STATS U works through an actual legacy relay. All nine STATS tests, 38 connection tests and the native services network regression pass.

  454. Deucе
    Tue Oct 27 2026 22:40:28 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircdcfg.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/unregistered.js diff
    exec/tests/ircd/connect.js diff
    ircd: make the advertised network name configurable Read Networkname from [Info], defaulting to Synchronet, and use it in both the 001 welcome and 005 NETWORK token so clients identify the same network from either reply. Validate the name as a bounded printable token and preserve it when saving the configuration. Expose the setting in ircdcfg's Server Information menu. Configuration reloads apply changes to new connections and restore the default when the setting is removed. Verify default welcome and ISUPPORT values and custom names after REHASH. All 38 connection tests pass; native configuration checks cover save, reload, removal, blank values and malformed names.

  455. Deucе
    Tue Oct 27 2026 22:18:51 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/services-help.js diff
    exec/tests/ircd/services-creator.js diff
    exec/tests/ircd/services-help.js diff
    exec/tests/ircd/services-migrations.js diff
    exec/tests/ircd/services-registration.js diff
    Modified Files:

    exec/load/ircd/channel.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services-store.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/exceptions-network.py diff
    exec/tests/ircd/services-exceptions.js diff
    exec/tests/ircd/services-expiry.js diff
    exec/tests/ircd/services-link.js diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services.js diff
    ircd: enforce registered channel ownership and expand services help Require a new channel founder's current nickname to belong to an authenticated NickServ identity, while retaining PASS authentication and existing registrations. Correct automatic creator ops when an empty registered channel is recreated: founders and OP/SOP accounts keep ops, VOICE accounts receive voice, and unrelated creators lose ops. Track the initial grant separately from bursts and later manual grants, and recheck policy and channel identity before applying queued corrections. Add ordered, transactional services database migrations from deployed schema 3 to schema 4. Preserve accounts, linked identities, registrations, access lists and exception grants, and roll back failed upgrades. Provide detailed HELP COMMAND and subcommand help for NickServ, ChanServ and MemoServ, including syntax, permissions, behavior and examples. Keep help public and bound NOTICE replies to the IRC wire limit. Cover policy and queued-action races, migration preservation and rollback, help routing and framing, and native channel recreation through updated servers and actual v1.3/v2.0 leaves. Channel-state and services regression tests pass.

  456. Deucе
    Tue Oct 27 2026 21:22:11 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/server.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/exceptions-network.py diff
    exec/tests/ircd/services-exceptions.js diff
    exec/tests/ircd/services-expiry.js diff
    exec/tests/ircd/state.js diff
    ircd: keep ChanServ outside registered channels Stop joining and opping ChanServ during registration, enforcement and startup. Let empty channels disappear while retaining registrations in SQLite; restore saved mode locks, kept topics, managed exceptions and authenticated access on recreation. Allow trusted services users to issue INVITEs without channel ops and normalize local invitation channel names. Keep the op check for ordinary users and document older INVITE parser limitations. Cover empty-channel lifecycle, authority restart, policy restoration and outside invites. Validate native networks with v1.3 and v2.0 leaves alongside existing services, expiry and network-state regressions.

  457. Deucе
    Tue Oct 27 2026 20:46:07 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/rbl-network.py diff
    exec/tests/ircd/rbl.js diff
    Modified Files:

    exec/load/ircd/core.js diff
    exec/load/ircd/unregistered.js diff
    ircd: check RBLs asynchronously without stalling the event loop Use dns.js A-record queries and hold each tested connection in its bounded receive queue until admission completes. Apply the same gate to WEBIRC client IP checks and inbound server handshakes. Preserve response filtering, exemptions and allow-through behavior on DNS failures. Ignore stale or duplicate replies and carry callback state explicitly for the Synchronet runtime. Build complete IPv4 and IPv6 DNSBL query names without the system resolver. Add controlled admission regressions and native UDP DNS tests for delayed replies, listings, retries, timeouts and disconnected clients. Verify existing connection, WEBIRC and network-state regressions.

  458. Rob Swindell (on Debian Linux)
    Tue Oct 27 2026 19:41:31 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsecho.c diff
    sbbsecho: bundle full packets immediately; keep long runs from going stale A remote AreaFix RESCAN of every area could fill the disk: outbound packets that reached the maximum packet size were held in the temp directory until the end of the run, so a large export accumulated every exported message there, uncompressed (32 GB in the reported case). The ever-growing temp directory and outbound packet list also made each new packet slower to create, stretching the run to about 20 hours. - Bundle each outbound packet as soon as it is full, and drop it from the outbound packet list. pktname() no longer reuses a name within a run: a packet already moved into a bundle no longer exists on disk, and a same-named packet would replace it inside that bundle. - During long runs, refresh the time stamps of sbbsecho.bsy and the BSO node lock files (at most once a minute), so a run that outlasts BsyTimeout isn't considered stale and joined by a concurrent instance. - Check MinFreeDiskSpace for the temp and outbound directories before creating each new outbound packet, and stop gracefully (as on a termination signal) rather than writing until the disk is full. - When an echomail export stops early, save the export pointer of the last message processed instead of the sub-board's last message, so the remaining messages are exported by the next run rather than skipped. This also affected an export interrupted with Ctrl-C. Fixes #1301 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  459. Rob Swindell (on Debian Linux)
    Tue Oct 27 2026 19:41:31 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mqtt.cpp diff
    mqtt: keep the client list current while the broker is unreachable (#1306) mqtt_client_on() returned early whenever the broker connection was down, skipping the client list update along with the publish. A client that disconnected during a broker outage was never removed, so it stayed in the retained client/list topic and the "client" count indefinitely, and a client that connected during the outage was never listed. This affects libmosquitto builds using an external broker, which reconnect automatically after the link drops. The client list is now maintained regardless of broker connection state; only the publishing is skipped while disconnected. The client count, served count, and client list are republished on every broker (re)connect, so the retained topics catch up with whatever changed during the outage, and stale values left by a previous run are replaced at startup. The list is now guarded by the existence of a client handle (the list is freed in mqtt_close()) rather than by the connection state, and the list lock is held through publishing so that a stale snapshot can't be published after a newer one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  460. Deucе
    Tue Oct 27 2026 19:01:09 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/exceptions.js diff
    exec/load/ircd/exceptions.md diff
    exec/tests/ircd/exceptions-network.py diff
    exec/tests/ircd/exceptions.js diff
    exec/tests/ircd/services-exceptions.js diff
    exec/tests/ircd/state-fixture.sjs diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services-store.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/load/ircd/unregistered.js diff
    exec/tests/ircd/link-security.js diff
    exec/tests/ircd/state.js diff
    ircd: add channel exceptions and persistent ChanServ grants in 2.9 Support +e ban exemptions and external/moderated message bypasses without granting membership or subscriptions. Preserve complete BBS usernames in masks and reject unsupported selectors. Synchronize exceptions through CHANEXCEPT-aware MODE, bursts and CSYNC while filtering unsupported operations for legacy peers and retaining hub authority over leaves. Add authenticated ChanServ EXCEPT management with SQLite persistence, queued-action checks and restoration that preserves manual entries. Fix channel forwarding through embedded services without a physical route. Document the feature and cover exception semantics, persistence, reconnects and authority restarts. Validate native mixed networks with v1.3 and v2.0 servers and existing services integration.

  461. Deucе
    Tue Oct 27 2026 16:56:30 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/client-security.js diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/link-security.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/load/ircd/tls.js diff
    exec/load/ircd/tls.md diff
    exec/load/ircd/unregistered.js diff
    exec/tests/ircd/link-security.js diff
    exec/tests/ircd/services-notices.js diff
    exec/tests/ircd/services.js diff
    exec/tests/ircd/state.js diff
    exec/tests/ircd/tls-network.py diff
    exec/tests/ircd/tls.js diff
    ircd: enforce optional services TLS policy across the full route Add independent RequireTLS settings for BBS services and the embedded authority, both disabled by default. Protect authentication, private account and memo commands, and account/channel changes while keeping HELP, public INFO, and LOGOUT available without TLS. Check client and server transports before dispatch and recheck pending private replies. Negotiate CLIENTTLS to report each owning server's client connections. Keep reports on the user object, reject foreign ownership and conflicting security claims, and preserve legacy links without sending new commands to incapable peers. Unknown paths cannot satisfy an enabled TLS policy. Report complete client-to-client WHOIS security using numeric 671 only for an entirely encrypted path. Explain plaintext or unknown paths with 320, and reassess forwarded WHOIS replies at the requesting server. Also accept both native CryptLib error spellings for missing optional certificate attributes and certificate-chain exhaustion, without masking other validation failures. Bump SynchronetIRCd to 2.8 and document the settings and protocol behavior. Validation: 220 regression tests; native certificate validation and three-hub TLS/plaintext/reconnect integration; services interoperability through a legacy 2.0 relay; git diff --check.

  462. Deucе
    Tue Oct 27 2026 15:25:42 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/link-security.js diff
    exec/load/ircd/tls.js diff
    exec/load/ircd/tls.md diff
    exec/tests/ircd/link-security.js diff
    exec/tests/ircd/tls-network.py diff
    exec/tests/ircd/tls-worker.sjs diff
    exec/tests/ircd/tls.js diff
    Modified Files:

    exec/ircd.js diff
    exec/ircdcfg.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/unregistered.js diff
    exec/load/ircd/user.js diff
    exec/tests/ircd/state.js diff
    ircd: add validated TLS server links and route security reporting Support dedicated TLS listeners and automatic/manual outbound server links. Validate the peer hostname, certificate dates, server-authentication usage and trust chain against an explicit PEM CA bundle before sending IRC credentials. Enforce TLS-required inbound peers before password/QWK authentication, close on validation failure without plaintext fallback, and expose the settings in ircdcfg with configuration round-trip support. Add optional LINKSEC observations and an unprivileged TLSROUTE command to report each server hop's encryption and certificate-checking endpoint. Accept remote observations through configured hubs, keep legacy gaps and untrusted leaf claims unknown, and retain contradictory evidence without reporting a verified route. Tie observations to live topology edges so splits and same-name reconnects discard old state; explicitly distinguish embedded services from network links. Preserve existing plaintext links and legacy services without requiring the new capability during rolling upgrades. Validation: 127 state/config/services checks, native certificate rejection and multi-hub TLS/reconnect scenarios, and all nine rolling-upgrade checks against each of the saved 1.3 and 2.0 IRCds.

  463. Deucе
    Tue Oct 27 2026 11:26:48 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/services-backend.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/services-link.js diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services-notices.js diff
    ircd: share MemoServ access across linked BBS accounts Allow a verified login to any network identity member to read telegrams for all accounts in that group. READ, STATUS, and automatic checks visit group mailboxes with the configured MEMOACCOUNT first; server-qualified commands select accounts on that BBS. Recheck authorization before each request and reply so logout and unlinking revoke pending access. Continue checking other mailboxes when a BBS is unavailable, and retain the outer request while mailbox progress arrives. Keep nickname delivery at its configured destination unless MemoServ@server explicitly selects a linked account there. Reject missing or ambiguous BBS members and conflicting explicit destinations. Negotiate these capabilities with the authority so older implementations cannot silently ignore delivery overrides. Explain shared telegram access in LINK confirmations and HELP. Add regression coverage for group access, destination selection, partial failures, stale replies, and legacy capability handling. Extend the isolated network test to verify reads from both BBSes with only one group login and reset fixture telegrams through the native API between runs. Validation: 92 native tests and an isolated network through a v2.0 relay, including authority restart and mailbox revocation. All IRCds exited cleanly.

  464. Deucе
    Tue Oct 27 2026 11:26:48 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/services-link.js diff
    Modified Files:

    exec/load/ircd/config.js diff
    exec/load/ircd/services-backend.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services-store.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/services-expiry.js diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services-notices.js diff
    exec/tests/ircd/services.js diff
    ircd: link BBS accounts through shared services identities Allow independently authenticated accounts on different BBSes to share nickname registrations and ChanServ permissions. Require both exact accounts in one IRC session and a short-lived, state-bound LINK confirmation before atomically merging their complete network identities. Add ACCOUNTS, UNLINK, per-nickname MEMOACCOUNT routing, and a configurable MaxNicks limit defaulting to 10. Retain one verified login per BBS while keeping telegram access specific to each authenticated account. Revalidate logins, reject stale replies and queued actions after ownership changes, and coalesce overlapping session checks to avoid spurious retry errors. Negotiate multi-login support with helpers and retain single-login behavior for older implementations. Keep standard IRC transport through legacy relays. Document the commands and use SQLite schema 3 without migration. Validation: 77 native tests and isolated networks through v1.3/v2.0 relays, including authority restarts, linked rights, mailbox isolation, unlinking, and older-helper fallback. All IRCd children exited cleanly.

  465. Rob Swindell (on Windows 11)
    Tue Oct 27 2026 10:48:47 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    Close an sbbs_t's log file after its last log line, not before The destructor closed logfile_fp, then logged "destructor end" (under _DEBUG). For an event thread instance, lputs() lazily reopens data/events.log into logfile_fp, so that final line reopened the file and the object was destroyed with it open: one stdio stream leaked per destruction. Since e2cc0e5bba (2026-10-25) the event thread runs each QWK sweep job in its own sbbs_t, so the leak recurred with every REP import or QWK pack. On vert about 500 jobs exhausted the C runtime's 512 stdio streams in 12 hours, after which every fopen()/fdopen() in the process failed with EMFILE: POP3 could not open mail.shd, the Terminal Server could not open node.log or nonodes.txt, FTP logins failed, and the event thread logged "Too many open files" reading system stats every 10 seconds. Real users' logins were then misreported as unknown users and penalized (#1307). The lazy reopen in lputs() dates from 39ad6926a1 (2025-03-01) and the post-close log line from 9e0fcab856 (2018-07-25); the long-lived event thread instance leaked only once, at shutdown. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  466. Rob Swindell (on Windows 11)
    Tue Oct 27 2026 10:48:47 GMT-0700 (PDT)
    Modified Files:
    

    src/Directory.Build.targets diff
    Build: generate PDBs for local Release|Win32 builds, keep /OPT:REF The Release|Win32 suppression of PDB generation and LTCG in src/Directory.Build.targets now applies only when CI=true, i.e. on the GitLab runner. Local Release builds get their .pdb files back, so a Release build deployed to a BBS can be symbolized from a crash dump. Most projects do not set OptimizeReferences/EnableCOMDATFolding, and linking with /DEBUG flips the linker default to /OPT:NOREF, which keeps unreferenced code. Set both for every Release|Win32 link, so re-enabling PDBs does not grow the binaries (ans2asc.exe: 46080 -> 14848 bytes, same as the CI build). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  467. Deucе
    Tue Oct 27 2026 09:45:02 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/services-expiry.js diff
    exec/tests/ircd/services-notices.js diff
    Modified Files:

    exec/load/ircd/config.js diff
    exec/load/ircd/services-backend.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services-store.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services.js diff
    ircd: expire unused registrations and clarify remote BBS replies Persist nickname and channel last-used timestamps and expose them through INFO. Add independent NickExpireDays and ChannelExpireDays settings to the central services configuration, both disabled by default. Renew a nickname while its authenticated owner uses that nick, and a channel while an authenticated founder or access-list member is present. Batch usage writes and expiry checks once per minute, retain brief visits, and flush usage on clean shutdown. Expired channels drop their access rows and part ChanServ; nickname expiry preserves account-based channel access. Use schema version 2 directly, without migration for undeployed services. Identify the BBS in remote NickServ and MemoServ NOTICE replies and include the qualified /msg target. Carry that context through authentication results, errors, telegram chunks and completion replies. Keep central registration notices network-wide and provide concrete HELP addresses. Validation: 51 native unit tests and the live services network checks through a v2.0 relay passed, including restart persistence and clean child process exits. git diff --check passed.

  468. Deucе
    Tue Oct 27 2026 09:45:02 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cterm.c diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/Info.plist diff
    src/syncterm/Manual.txt diff
    src/syncterm/PackageInfo.in diff
    src/syncterm/dpkg-control.in diff
    src/syncterm/haiku.rdef diff
    src/syncterm/syncterm.c diff
    src/syncterm/syncterm.rc diff
    Bump to v1.10b

  469. Rob Swindell (on Windows 11)
    Mon Oct 26 2026 20:38:15 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/data_ovl.cpp diff
    Defer the "Loading message pointers" meter the same way Share the deferred-progress callback 5ea61816cf (2026-10-26) added for the duplicate-user search with getmsgptrs(), so the logon-time meter also draws only once loading has outlasted the progress interval and erases only if it was drawn. Add the release note for both. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  470. Rob Swindell (on Windows 11)
    Mon Oct 26 2026 20:38:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/data_ovl.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/userdat.c diff
    Bulk-read the user base when searching it for a duplicate field finduserstr() walked user.tab through readuserdat(), which per record does a seek, a shared byte-range lock, a read, and an unlock. With the data directory on an SMB share each lock is a synchronous round trip, and a new-user sign-up runs this scan five times (IP address, alias against real names, handle, then real name and handle again from newuser.cpp as the safety net 4182066dd5 (2025-12-30) added). On vert that was about 8 seconds of "Searching for duplicates" meters. Read the file 64 records at a time without the per-record lock and split the records in memory, as 247ed952d2 (2026-08-17) did for total_users(). Windows byte-range locks are mandatory, so a bulk read overlapping a record another process is rewriting fails; any record the bulk read didn't deliver is re-read singly with the lock, since a false "not found" here would admit a duplicate. The final progress callback reports the scan complete rather than the record it stopped on. Draw the meter only once a scan has outlasted the progress interval, and emit the trailing erase only if it was drawn, so a fast scan leaves nothing on screen. The 500 ms interval is now PROGRESS_INTERVAL so both sites share it. Measured on a 1,457-record user base over SMB: one scan drops from 1,639 ms to 12 ms. The per-record scan dates from 8a22b2466a (2022-10-17). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  471. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 19:58:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/nopen.c diff
    src/sbbs3/pack_qwk.cpp diff
    src/sbbs3/pack_rep.cpp diff
    src/sbbs3/qwkjob.cpp diff
    Address Coverity CIDs 661075-661079 in QWK packing and fmutex_close() pack_qwk(): the external compressor command was built with cmdstr(temp_cmd(ex), ..., ex). temp_cmd() adds the compressor's configured mode flags to ex, but the order in which function arguments are evaluated is unspecified, and GCC evaluates the trailing ex first, so cmdstr() never saw those flags. That decides whether a DOSEMU system converts the paths on a "native" compressor's command line. Call temp_cmd() first. This dates from 65cbf055bb (feed-3-crash, 2025-01-09). (CID 661075) fmutex_close(): the EBUSY unlink retry added in 9021d114d2 (buys-3-beats, 2026-10-26) waited up to a second without checking the lock file's identity again, so a lock that aged out and was taken over meanwhile could be removed from under its new holder. Repeat the stat() and inode comparison before each retry. POSIX has no unlink by descriptor, so the remaining window between the check and the unlink is annotated. (CID 661077) qwkjob_pack_locked(): remove the staged .qwk.tmp with fremove(), which ignores a missing file and reports any other failure through errormsg(), as the job's other removes do. After a failed rename the file should exist, so every error is reported there; a failure would otherwise leave it in data/file with nothing in the log. (CID 661076) pack_rep(): fexistcase() is called to correct the file name's case, so its result is discarded explicitly. (CID 661079) CID 661078 (time_t cast to uint for an elapsed-seconds count) is left as is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  472. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 18:19:07 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/qwk.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/qwkjob.h diff
    qwkjob: take over a QWK lock whose holder on this machine has ended A QWK lock file left by a crashed or killed process on a POSIX host stayed in force until it aged out: an hour for a user lock and 12 hours for a hub lock, which the event thread holds through each call-out and which every hub import needs. One crash mid call-out stopped that hub's call-outs and imports on every host for up to 12 hours. A lock's text now names its holder process: "<host name> (<machine> pid <pid>)", the machine being gethostname() as in the job temp dir names. When a lock is busy and its holder is a process of this machine that is no longer running, qwkjob_open_lock() removes the lock and takes it, logging "Took over <lock>, left by an ended process: <holder>". A holder on another machine, a running one, or a lock written by an older version (which names no process) is still waited out until max age, as before. All QWK job locks (user, hub and <rep>.lock) and the terminal's QWK transfer lock go through qwkjob_open_lock(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  473. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 17:38:11 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/un_qwk.cpp diff
    src/sbbs3/un_rep.cpp diff
    unpack_qwk, unpack_rep: create qnet/<ID>.in with mkpath() mkpath() returns success when the directory is already there and also creates a missing data/qnet/, where MKDIR() would fail and the file move after it would fail too. unpack_rep() discarded MKDIR()'s result (because it failed for every file after the first); it now logs a failure like unpack_qwk() does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  474. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 17:25:39 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/pack_qwk.cpp diff
    src/sbbs3/un_qwk.cpp diff
    pack_qwk: no NEWFILES.DAT in off-line packets; unpack_qwk: reuse <hub>.in Since bfab7b8c2b (buses-11-jade, 2026-10-25), a QWK packet packed off-line (FTP, web, scripts, the event thread) is built by sbbs_t::init_job(), which loads the user's file directories (getusrdirs()) for REP import. The old event-thread pre-pack never loaded them, so create_filelist() found no directories and no off-line packet ever carried a NEWFILES.DAT. Now every user with QWK_FILES set got one, and QWK_FILES is in QWK_DEFAULT, so on VERT 76 QWKnet node accounts started receiving it the day the new build ran. Nothing saves the user's advanced new-file scan time after an off-line pack, so each packet repeated the same list (142 KB per packet for one node whose scan time was from 2017). pack_qwk() now builds NEWFILES.DAT only for an interactive download, as before. That exposed a bug in unpack_qwk() on the hub side: it called MKDIR on data/qnet/<HUBID>.in for every file a hub packet carried and logged "!ERROR 17 (File exists)" whenever the directory was already there. It now creates the directory only when it doesn't exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  475. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 15:26:03 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/nopen.c diff
    src/sbbs3/nopen.h diff
    src/sbbs3/qwkjob.cpp diff
    fmutex_close(): retry an unlink another host blocks; read QWK lock text shared When two hosts' event threads act on the same QWK pack semaphore (both glob data/pack*.now), the one that finds the user's lock busy opens the lock file briefly: to stat it, to try creating it, and to read the holder's text for the log. On Windows those opens don't permit deletion, so the holder's unlink over SMB/CIFS fails with EBUSY if it lands inside one. This happened on 2026-10-26 between VERT and a Linux host: the Linux host's older build (from before 251c99b699 (camera-37-lies, 2026-10-25)) returned from fmutex_close() without closing the lock file, and that user's QWK packets stayed blocked on every host until the process was restarted. The current fmutex_close() already closes the descriptor when the unlink fails, but leaves a lock file nobody holds, so the user waits for it to age out (an hour for a QWK user lock). - fmutex_close() now retries an unlink that fails with EBUSY, up to FMUTEX_UNLINK_RETRIES (10) times, LOCK_RETRY_DELAY (100 ms) apart, and treats the file vanishing meanwhile as removed. - qwkjob_lock_busy() on Windows reads the holder's text through a handle that permits FILE_SHARE_DELETE (the read added by 4365e08932 (fuel-0-know, 2026-10-25)), so reading the text no longer blocks the holder's removal. Its stat and create attempts still can, which the retry covers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  476. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:55:54 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/qwkjob/pack.js diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/jsexec.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/qwkjob.h diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/services.cpp diff
    src/sbbs3/websrvr.cpp diff
    web/root/qwk.ssjs diff
    qwkjob: log like the hosting session; name files after this machine QWK job log lines carried a fixed per-server label ("ftp <alias> ...", "web", "srvc", "term") where the server's own lines carry the client socket number. Each session now hands the job a copy of its server's job host labeled with its socket (FTP, Web and Services, formatted "%04d" like their other lines) or "Node N" (Terminal Server scripts), so the lines read "1752 <alias> Packing QWK Message Packet". Jobs started from event-thread scripts get no label, since the event log already tags them. The per-host part of job file names (temp dirs, data/file staging names and the FTP and Web REP names) was the configured system host name, a FQDN ("vert.synchro.net"). It is now the machine name from gethostname() ("VERT"), as in sbbs.<host>.ini and the per-host semaphore files; the new qwkjob_local_host_name() returns it, made safe for a file name, and qwk.ssjs uses system.local_host_name. The lock files' owner text is unchanged. The data/file staging names now say what they hold: <user#>.<host>.<pid>.qwk.tmp for a QWK packet being packed, and <user#>.<host>.ftp<socket>.rep.tmp / <user#>.<host>.web<token>.rep.tmp for a REP packet being queued. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  477. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:25:28 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/qwkjob.cpp diff
    qwkjob: include <signal.h> for kill() qwkjob.cpp's process liveness check calls kill(pid, 0) on non-Windows platforms, but the declaration was only reaching it indirectly through glibc headers. The FreeBSD, NetBSD, OpenBSD and macOS builds failed with "use of undeclared identifier 'kill'". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  478. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/qwkjob.cpp diff
    ftpsrvr: drop an empty REP upload at once; qwkjob: pre-Vista OpenProcess - FTP import_rep() removed a 0-byte REP only when the job failed. When the user's QWK job lock was busy or the job slots were full, the empty file was queued in data/file/ and left for the event thread's sweep to remove a minute later. It is now removed whatever the job result. - PROCESS_QUERY_LIMITED_INFORMATION, used to tell whether the process that owns a temp/qwk/ job directory still runs, exists only for Windows Vista and later (_WIN32_WINNT >= 0x0600). Older targets now use PROCESS_QUERY_INFORMATION. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  479. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    web/root/qwk.ssjs diff
    qwk.ssjs: queue each REP upload under names of its own When a REP upload could not be imported at once (the user's QWK job lock busy, the job slots full, or a failure unrelated to the packet), queue_rep() staged it as data/file/<user#>.<host>.web<client.socket>.tmp and renamed it to <user#>.rep, or <user#>.<hex time>.rep when that existed. client.socket reads 0 in qwk.ssjs, so concurrent uploads for one user on one host wrote the same staging file; and the queue name was checked and then renamed onto, which replaces an existing file on POSIX. Two such uploads queued one file: one REP was lost and the other could be posted twice. The staging and queue names now carry the token that already names the received file in temp/rep/ (hex time and 32 random bits): <user#>.<host>.web<token>.tmp, renamed to <user#>.<token>.rep. The event thread's sweep imports any data/file/*.rep by its leading user number, in this and older versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  480. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/tests/qwkjob/hub.js diff
    src/sbbs3/nopen.c diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/qwkjob.h diff
    fmutex_close(): remove only our own lock file; hub lock ages out at 12 h fmutex_open() takes over a lock file older than its max_age, and nothing refreshes a lock's time stamp while it is held. fmutex_close() then unlinked by name, so a holder that outlived max_age removed the lock of the process that took it over, leaving the next job free to run beside it. On POSIX, fmutex_close() now unlinks only when the open descriptor and the named file have the same device and inode; a missing or different file is no longer ours and is left alone. The descriptor is now always closed: a failed unlink used to return early and leak it. (Windows deletes on close and is unchanged.) The QWKnet hub lock is held across the event thread's call-out, which can run longer than the hour that QWK job locks were given for a crashed holder. The hub lock goes back to 12 hours (QWKJOB_HUB_LOCK_MAX_AGE, as before the QWK job locks); the per-user and REP locks, held only for one pack or import, keep 1 hour (QWKJOB_USER_LOCK_MAX_AGE). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  481. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/qwkjob/pack.js diff
    src/sbbs3/exec.cpp diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/qwkjob.cpp diff
    web/root/qwk.ssjs diff
    qwkjob: spare live jobs' temp dirs; FTP and web packet re-checks - The temp/qwk/ prune judged a job directory stale by its modification time alone (1 hour), so a running job whose directory sat idle (a slow archiver, a stalled network file system) could have it deleted. The age is now 6 hours, and a directory named for this host is kept while its process is running: another process is checked with kill(pid, 0) (OpenProcess() on Windows), this process by the job directories it has in use. - FTP: while waiting for a packing slot, a QWK download now re-checks for data/file/<user#>.qwk after each wait and sends a packet another session created meanwhile, instead of packing again over the one being sent. - qwk.ssjs: an "empty" pack result serves a packet another session created since the first check, as the FTP server does. - A job's headless sbbs_t has no usable startup or server hosts for a JavaScript context, which an EX_SH ?script archiver could reach through external() -> js_execxtrn(). js_execxtrn() and js_execfile() now refuse in a job ("JavaScript not available in QWK jobs") without calling js_init(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  482. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/qwk.cpp diff
    qwk: take the QWK job lock before a REP upload, not after it qwk_upload() took the user's QWK job lock only once the protocol had received the REP, so when another session (FTP, Web, a script or another host) held it, the user's uploaded packet was refused and deleted, and had to be sent again. The lock is now taken before the upload prompt, as qwk_download() does, and held through unpack_rep(); a busy lock shows QWKTransferInProgress before any transfer starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  483. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    web/root/qwk.ssjs diff
    Name received REP files in temp/rep/ by host, server and process The FTP server received an uploaded REP as temp/rep/<user#>.<sock>.rep and qwk.ssjs as temp/rep/<user#>.<client.socket>.rep. Both servers default their temp directory to ../temp/, the Web server may run as a separate process (or on another host sharing the install), and socket numbers are per process, so two uploads for one user could write the same file; in qwk.ssjs client.socket even reads 0. The FTP server now uses <user#>.<host>.ftp<pid>.<sock>.rep, with the host name made file-name safe as for its data/file/ staging names. qwk.ssjs has no process ID available, so it uses <user#>.<host>.web<hex-time><32-bit random>.<sock>.rep, and logs the path with the qwk_unpack() result. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  484. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/qwkjob/hub.js diff
    exec/tests/qwkjob/unpack.js diff
    src/sbbs3/qwkjob.cpp diff
    qwkjob: judge a packet empty only under its locks qwkjob_unpack_qwk() and qwkjob_unpack_rep() checked for (and removed) an empty packet over a minute old before taking the hub lock, or the user and <rep>.lock locks. A QWKnet call-out such as qnet-http.js receive_qwk() opens data/<HUBID>.qwk for writing and downloads into it while the event thread holds that hub's lock across the call-out, so another host's sweep could remove the file mid-download, as soon as the download had stalled for a minute. The check now runs after the locks are taken, so a busy lock leaves the file alone; the regular-file and wildcard check still comes first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  485. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    ftpsrvr: keep a REP import off the control thread's stack receive_thread() imports a received REP before its 226 reply, which can take a while, and read the user number and alias through xfer->user, which points into ctrl_thread()'s stack. When the server is going down (ftp_set is NULL), ctrl_thread() waited only 2 seconds for the transfer before returning, leaving the import to read a dead stack frame and, after it, to write *xfer.lastactive there. The transfer now carries the user number and alias by value for the import, the post-import activity stamp is skipped during shutdown like the existing *inprogress update, and ctrl_thread() keeps waiting (up to 60 seconds) while the transfer is in progress. The receive thread is counted in thread_count, so the server's cleanup still waits for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  486. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/tests/qwkjob/hub.js diff
    exec/tests/qwkjob/pack.js diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/qwkjob.h diff
    src/sbbs3/sbbs.h diff
    qwkjob: take over a QWK lock left by a crashed holder after an hour The user (data/pack<user#>.lock), REP and hub (data/qnet/<HUBID>.lock) locks were taken with TIMEOUT_MUTEX_FILE (12 hours) as the fmutex maximum age. On POSIX a lock file outlives a holder that crashes, and these locks are now taken by the Web server, Services and jsexec too, so one crash left that user's or hub's QWK traffic refused for up to 12 hours, logged only at debug level. The jobs and the Terminal Server's QWK download and upload now take the locks with QWKJOB_LOCK_MAX_AGE (1 hour). A refusal is logged with the holder's text and how long the lock has been held, at LOG_NOTICE once that exceeds QWKJOB_LOCK_NOTICE_AGE (5 minutes), else at LOG_DEBUG. The event thread's hub call-out takes the lock through qwkjob_lock_hub(), so it logs the same way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  487. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: release notes for QWK packing and import outside the event thread Add the v3.22a entries for the qwkjob work: FTP and Web servers packing QWK and importing REP packets themselves, QwkTimeout's new meaning, qwk.ssjs no longer refusing a second upload, system.qwk_pack() and system.qwk_unpack(), the QWKnet hub-lock rollout caveat, the terminal refusal while another session packs, NO_QWK_EVENTS, the ?script archiver limitation, and the fixes (control messages applied, NEWFILES.DAT included, .bad pruning, empty inbound packets removed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  488. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/qwkjob.cpp diff
    web/root/qwk.ssjs diff
    qwkjob: queue a REP left behind by a failed import, don't delete it FTP and qwk.ssjs removed the received REP after any failed import that left the file in place. Besides an empty packet (which the job leaves alone outside data/file/), that also happens when the import fails for a reason unrelated to the packet: the job's temp directory can't be created, the job instance can't be set up, the server is shutting down mid-import, or the move to .bad failed. Deleting the file then lost the user's replies, and qwk.ssjs still answered 200, so qnet-http.js would not send them again. After a failed import, both now remove the file only when it is empty, and otherwise queue it under data/file/ exactly as for a busy or throttled import, so the event-thread sweep retries it (and keeps it as .bad through the normal path if it really is bad). A file the job already imported or moved to .bad is left to the job, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  489. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/qwkjob/hub.js diff
    exec/tests/qwkjob/unpack.js diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/qwkjob.cpp diff
    web/root/qwk.ssjs diff
    qwkjob: import only regular files; keep fresh empty packets A packet path handed to qwkjob_unpack_rep() or qwkjob_unpack_qwk() is now required to name one existing regular file and to contain no wildcard characters, checked before any lock, temp directory or file move. Before, a directory was refused only because fexist() is false for one (logged as "already gone"); a FIFO blocked the job on open, holding the user or hub lock with it; a device such as /dev/null reports 0 bytes and was removed as an empty packet; and a "*" or "?" in the path matched other files in fexist(). Such a path is now logged as "not a regular file" at LOG_ERR, returns QWKJOB_FAILED and is left alone. A missing file is still the debug-level "already gone" case: another host's sweep imported it. An empty packet is removed only when it sits in the sweep directory (data/file/ for a REP, data/ for a hub packet) and has not been modified for more than a minute; otherwise the import fails and the file is left where it is. An empty file there may be one that an FTP upload or an external fetcher has just created and is still writing, and removing it would unlink the file under the writer and silently lose the packet; the event thread used to skip empty packets altogether. The hub sweep now passes a young empty packet over with only a debug line each pass. FTP and the Web server's qwk.ssjs receive a REP into temp/rep/, outside the sweep directory, so they now remove their own file after a failed import; before, FTP would have queued an empty upload for the sweep. The event thread no longer adds its own debug line for a busy hub; qwkjob_lock_hub() already logs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  490. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    src/sbbs3/qwkjob.cpp diff
    qwkjob: run the event thread's QWK sweeps and hub packing as jobs The Terminal Server's event thread had its own copy of the QWK logic: the data/pack*.now and data/file/*.rep sweeps for users, the data/<HUBID>.q?? inbound sweep and the timed hub REP pack. All of it shared temp/event/, and the hub code took no lock, so a script's system.qwk_pack("HUB") could merge new messages into data/<HUBID>.REP while the call-out was sending it. The call-out then deleted the REP, the export pointers had already advanced, and those messages were never sent. The sweeps now call qwkjob_unpack_rep(), qwkjob_pack() and qwkjob_unpack_qwk(), so the logic lives in one place and every packet gets its own temp/qwk/ job directory. The globs and the removal of packets for deleted, inactive or unknown users stay as they were; a .now semaphore or a queued REP whose user is busy elsewhere is left for the next pass. Three event-thread host contexts carry the existing unpackREP, packQWK and QNET prefixes, so the job lines still reach events.log as before, and they are exempt from the concurrency cap. The timed hub pack takes the hub lock with qwkjob_lock_hub(), packs with qwkjob_pack_rep_locked(), updates time.ini and runs the call-out as before (still in the event thread, with its node directory and JS context), and only then unlocks. While the lock is held, a pack or import for that hub from any other job, including the call-out script itself, gets "busy"; a hub whose lock is held when it is due is retried on the next pass rather than marked as run. Behavior changes: - A failed user REP is kept as data/file/<user#>.rep.<hex>.bad and the newest 10 per user are retained. The event thread's old prune pattern ("%u.rep.*.bad", no zero padding) never matched, so they accumulated. - A failed hub packet keeps its own name (<HUBID>.qwk, or .qw1 etc. from qnet-ftp.js) in the .bad name, and the newest 10 <HUBID>.q??.*.bad are retained, as the event thread did. Renaming a .bad file back still gets it swept, for user and hub packets alike. - A 0-byte inbound hub packet is removed and logged instead of being skipped on every pass forever. - An import whose packet disappeared after the caller found it (imported by another host's sweep) is skipped with a debug line, as the event thread did, instead of being logged as a missing packet. The Terminal Server's job hosts also used scfg.temp_dir, which in that process is the node-relative "temp", so jobs started from the node and event JS contexts made their directories under ctrl/tempqwk/. They now use the parent of the event thread's temp directory (startup temp_dir, else ../temp), as Services does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  491. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    src/sbbs3/services.cpp diff
    qwkjob: give Services and Terminal Server JS contexts a host system.qwk_pack() and system.qwk_unpack() throw "QWK packing not available in this context" unless a qwkjob host was set. Set one in every JavaScript context the Services server creates (js_initcx() is the only creation path, static and per-client services alike) and in every Terminal Server context, so service scripts, node scripts and timed-event scripts can pack and import QWK/REP packets. Services logs through its own lputs() (MQTT, error.log). The Terminal Server builds two hosts when it starts: one for node contexts (lines go through lputs()) and one for the event thread (is_event_thread, lines go through eputs() and events.log). sbbs_t::js_init() picks one by is_event_thread. Event-thread jobs are exempt from the concurrency cap. The mail server and background load() contexts get no host and still throw instead of crashing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  492. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    web/root/qwk.ssjs diff
    qwkjob: name queued-REP staging files by host and server A REP that cannot be imported at once is staged beside its final name in data/file/ and renamed into place, so the event thread's *.rep sweep never sees a half-written packet. data/file/ is shared by every BBS host, and FTP and Web socket numbers come from separate processes (and hosts), so a name built from the user and socket number alone could collide. Both servers now stage as <user#>.<host>.<srv><sock>.tmp with srv "ftp" or "web", the host being the name the server already uses for lock ownership, reduced to filename-safe characters. The name matches neither the *.rep sweep (Windows tests 8.3 short names too, so the web staging name no longer ends in .reptmp) nor the pack's <user#>.<host>.<pid>.tmp shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  493. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    web/root/qwk.ssjs diff
    web: pack QWK and import REP packets in-process via qwkjob The Web Server now gives every JavaScript context a qwkjob host, so system.qwk_pack() and system.qwk_unpack() work in .ssjs pages. qwk.ssjs (used by remote QWKnet nodes running qnet-http.js) calls them instead of touching a semaphore file and polling for the Terminal Server's event thread, which made every GET wait on the event thread's cycle and fail with 503 after 60 seconds when events were disabled. GET: "busy" and "throttled" reply 503 with Retry-After: 60, "empty" replies 204, any other failure replies 503 with the result in the status text. POST: the body is written to the temp directory and imported before the reply. When the user's lock is held or the job cap is reached, the REP is queued as data/file/<user#>.rep (or <user#>.<hex-time>.rep if that name is taken) for the event thread's sweep, and the reply is still 200, because qnet-http.js re-sends the REP on any other status and the replies would be posted twice. A failed import is kept as .bad and also replies 200, since re-sending the same packet cannot help. A pending REP no longer blocks a new upload (the 409 is gone). If the binary lacks the new methods, qwk.ssjs falls back to the previous semaphore and direct-write paths, with a 500 ms sleep in the pack wait loop instead of a busy spin. The dead CVS $Revision keyword is replaced by a plain version string. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  494. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    ftpsrvr: only treat the QWK reply packet upload as a REP The receive thread decided an upload was a QWK reply packet from its directory number (-1), but a sysop's local file system STOR/APPE is also received with directory -1. Such an upload was then run through the REP import: moved to data/file/<user#>.rep.<hex-time>.bad, deleted if empty, or queued as data/file/<user#>.rep (or imported, if it was a valid REP), so the file vanished from its destination while the client got "226 Upload complete". The STOR <qwk-id>.rep branch now marks the transfer explicitly and passes that to filexfer(). Also: - Stage a cross-volume copy of a queued REP as <user#>.<socket>.tmp rather than .reptmp: on Windows "*.rep" also matches 8.3 short names, whose extension for .reptmp is .REP, so the sweep could pick up a partial copy. - Report EEXIST when no free queue name is found, instead of whatever errno was left over. - Reset the control connection's inactivity clock after a QWK pack, so a pack that takes longer than MaxInactivity doesn't drop the session on the next read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  495. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    ftpsrvr: pack QWK and import REP packets in-process via qwkjob A QWK download (RETR <qwk-id>.qwk, and SIZE/MDTM of that name) used to create a data/pack<user#>.<host>.now semaphore and poll for up to QwkTimeout seconds while the Terminal Server's event thread built the packet. An FTP-only instance, or one whose event thread was busy or disabled, timed out with "451 Time-out waiting for packet creation." The control thread now calls qwkjob_pack() itself: - no new messages: 550 (unchanged); logged-in at a terminal node: 550 Logged-in elsewhere - the user's pack lock is held (another session, script or host is packing or importing for the same user): immediate 451 "Packet creation already in progress" (unchanged text) - the per-process job cap is reached: retry once a second for up to QwkTimeout, then the unchanged time-out 451, so QwkTimeout keeps its meaning as the longest a RETR waits - if the client disconnects, the pack still completes and the packet stays in data/file/ for the next RETR A REP upload (STOR <qwk-id>.rep) is now received into <temp>/rep/<user#>.<socket>.rep and imported by the receive thread after the file is closed and before the 226, instead of being left in data/file/ for the event thread. A packet that fails to import is kept as data/file/<user#>.rep.<hex-time>.bad (an empty one is removed) and the client still gets 226, since uploading it again would not help. When the user's lock is held or the job cap is reached, the REP is queued for the event thread's sweep as data/file/<user#>.rep, or <user#>.<hex-time>.rep if a REP is already pending; temp and data can be on different volumes, so a failed rename falls back to a copy under a name the sweep ignores, then a rename. The control connection's inactivity clock is reset after the import. QWK job log lines are prefixed "ftp" and go through the server's own log function (so LOG_ERR lines reach error.log and MQTT). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  496. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/qwkjob/fixture.qwk diff
    exec/tests/qwkjob/hub.js diff
    Modified Files:

    exec/tests/qwkjob/skipif diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/pack_rep.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/qwkjob.h diff
    src/sbbs3/sbbs.h diff
    qwkjob: QWKnet hub REP packing and QWK import for any server or script Add the hub direction of the QWK job API, so this BBS acting as a QWKnet node can pack a REP for, or import a QWK packet from, a hub outside the Terminal Server's event thread: - qwkjob_pack_rep() loads the hub's export pointers (data/qnet/<HUBID>.ptr), runs pack_rep() into data/<HUBID>.REP (an unsent REP is merged into, as before) and saves the pointers. It does not touch ctrl/time.ini or run the call-out command; those stay with the event thread's schedule. - qwkjob_unpack_qwk() imports a QWK packet from any path; on success the file is removed, on failure it is kept as data/<HUBID>.qwk.<hex-time>.bad (newest 10 kept), so a sysop can retry it by renaming it back for the event thread's sweep. An empty packet is discarded without an error. - Both are serialized per hub by data/qnet/<HUBID>.lock and return "busy" when it is held. qwkjob_lock_hub(), qwkjob_unlock_hub() and qwkjob_pack_rep_locked() let the event thread hold that lock across the pack and the call-out, so a scripted pack can't merge messages into a REP the call-out is sending (and then deleting). - An unknown or disabled hub is "bad_hub"; qwkjob_find_hub() matches a hub ID case-insensitively. - pack_rep() gains an optional out-parameter counting what it packed: it returns true both when it packed something and when there was nothing new (so the pointers get saved), which callers could not tell apart. - system.qwk_pack(hub_id) and system.qwk_unpack(hub_id, path) now select the hub direction for a string argument. The hub job's sbbs_t has no user (useron.number == 0, online == ON_LOCAL), as in the event thread. Audit of the hub paths in a headless job (pack_rep.cpp, un_qwk.cpp, qwktomsg.cpp, netmail.cpp qwktonetmail(), qwk.cpp update_qwkroute()): - term->lncntr/newline() in pack_rep(): the job's discarding Terminal. - useron: every use in qwk_import_msg() and qwktonetmail() is gated on fromhub or reads the zeroed user (not a QWK node, not a sysop), the same as the event thread. - external() with the hub's pack/unpack commands, when libarchive can't do the job: both ran in a job with the zeroed job startup (zip packing a REP for an unsupported format, and an unpack command after a libarchive extraction failure). As in the event thread, a command whose program isn't listed as native in xtrn.ini is treated as a DOS program and not run. - sbbs_t::terminated (unpack_qwk's per-message check) stays false in a job; host->terminated is polled only between job steps. - update_qwkroute() rewrites data/qnet/route.dat without a lock, so two imports at once (different hubs, or a hub and a QWK node's REP) can lose a route entry; already true across hosts today. - mqtt, startup->, ::lputs and node_num uses: none beyond those audited for the user direction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  497. Rob Swindell (on Debian Linux)
    Mon Oct 26 2026 00:07:08 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    exec/load/text.js diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/qwkjob.cpp diff
    src/sbbs3/qwkjob.h diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    qwk: terminal QWK download and upload take the per-user pack lock A terminal user's own QWK download or REP upload took no lock, so it could run at the same time as a background pack or REP import for the same user (FTP, Web, a script): two packs both advanced the message pointers and both qwk_success() calls deleted the same mail. sbbs_t::qwk_download() now holds data/pack<user#>.lock from before pack_qwk() through qwk_success() and the pointer restore. sbbs_t::qwk_upload() holds it around unpack_rep() only, not the protocol receive, which can take minutes while nothing conflicts. The lock is taken non-blocking with the same owner text and max age as the event thread; if it is busy, the user sees the new QWKTransferInProgress text and the call returns false without touching any pointers. The lock file name is now built in one place, qwkjob_user_lock_name(), shared by qwkjob.cpp and qwk.cpp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  498. Rob Swindell (on Windows 11)
    Mon Oct 26 2026 00:03:35 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    Mail server: keep the mailproc script's callback struct alive with its context Fixes a crash in sbbs.dll (remove_js_socket_event) when an SMTP client thread ends. b43e1c8256 (2009-01-14) made js_mailproc() reuse one JS runtime, context and global object per SMTP client thread, created on the first mailproc and destroyed only when the thread ends, but left its js_callback_t as a local of js_mailproc(). The "js" object and the client.socket Socket object created in that persistent global recorded a pointer to the local, which was gone as soon as the first js_mailproc() call returned. Nothing followed that stale pointer after the call until 85e04a4262 (2026-09-30) made every Socket object remember its script's callback struct at creation and consult it when closed. From then on, destroying the context at thread end finalized client.socket, do_js_close() walked the event list of a js_callback_t that was a dead stack frame, and the mail server crashed with an access violation. Move the js_callback_t to smtp_client_thread(), beside the runtime, context and global, and pass it to js_mailproc(). It is still zeroed and given the logger on each invocation, as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  499. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 18:47:21 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/sexyz/last_ack.js diff
    exec/tests/sexyz/skipif diff
    Modified Files:

    src/sbbs3/sexyz.c diff
    sexyz: don't drop the receiver's last ACK on exit (#1300) A YMODEM receive ended without sending the ACK for the batch-terminating empty header block. A sender that waits for that handshake reported a failed transfer, or retried until it timed out, although every file had been received intact. 34af5f34b5 (2026-07-24) buffered the producer side of the output path for every mode except windowed and segmented ZMODEM, so X/YMODEM in both directions too. The ACK for YMODEM header block 0 went into that buffer. An ordinary header got it flushed by the next receive, which flushes before waiting for input; the empty header ends the batch, so receive_files() returned success at once, and the shutdown path waited only for the ring to drain, never for the producer buffer, so the ACK never reached the output thread. Flush the ACK before returning from the termination block, and treat a failed send or flush of it as an error. At shutdown, flush the producer buffer before waiting on the ring, then wait for the output thread to finish sending what it read from the ring (a new output_idle event), so nothing is left behind in its linear buffer when the process exits. Buffer the producer only for a streaming ZMODEM send, the case it was added for: X/YMODEM and every receiver send short, ack-paced responses. Bump the sexyz revision to 3.7. The new test exec/tests/sexyz/last_ack.js plays a YMODEM batch and an XMODEM file into sexyz's stdio mode over a bidirectional File.popen() and expects the final ACK on the wire, then EOF, without sending anything further that would prompt a flush. Unix only, since stdio mode is. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  500. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 18:47:20 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_global.cpp diff
    src/sbbs3/js_socket.cpp diff
    src/sbbs3/jsexec.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/services.cpp diff
    src/sbbs3/websrvr.cpp diff
    Route JS Socket log output to the script host's logger, not the terminal server's js_socket.cpp logged everything through the file-global lprintf(), which inside sbbs.dll/libsbbs.so resolves to main.cpp's terminal-server logger. The mail, web and services servers each keep their own static lprintf(), so a Socket's debug trace, TLS errors and listening-socket failures from their scripts appeared in the Terminal Server's log, were tagged "term" in error.log and published under the terminal server's MQTT topic. Under jsexec on Windows the terminal startup is NULL, so the output was dropped entirely and errors were written to an error.log in the current directory through the DLL's zeroed scfg. This dates from the Socket class's introduction in a8352397c7 (2001-06-12); the TODO noting it was added in 34587421f7 (2023-11-21). Add an lprintf function pointer to js_callback_t, set by every host when it initializes its callback struct and inherited by background load() threads. js_socket.cpp resolves its logger through the socket's js_cb, falling back to the terminal server's when a host set none, and passes the same pointer to ssl_sync(), add_private_key(), destroy_session() and xpms_create(). The cryptlib attribute helpers take the socket private struct instead of a bare session so they can reach it, and their TLS messages now carry the socket number like the rest. Resolves #700 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  501. Deucе
    Sun Oct 25 2026 18:19:04 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cterm.adoc diff
    Document SGR 90

  502. Deucе
    Sun Oct 25 2026 17:43:12 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/CMakeLists.txt diff
    Build DeuceSSH static library with position-independent code

  503. Rob Swindell (on Debian Linux)
    Sun Oct 25 2026 16:24:00 GMT-0700 (PDT)
    Added Files:
    

    src/doors/syncretro/test_disc.c diff
    Modified Files:

    src/doors/syncretro/CMakeLists.txt diff
    src/doors/syncretro/M2_INPUT.md diff
    src/doors/syncretro/syncretro_binds.c diff
    src/doors/syncretro/syncretro_input.c diff
    syncretro: numpad is the keypad by position; Shift reaches all 16 disc detents The numeric keypad drove the Intellivision keypad by printed digit. The two devices are upside down relative to each other (a PC numpad has 7 8 9 across the top, the Intellivision keypad has 1 2 3 there), so in a cartridge that reads the keypad as a direction -- Tron Deadly Discs aims its throw by key position -- the top-left numpad key fired bottom-left. The whole vertical axis was flipped, not only the diagonals: numpad 8 is the bottom-middle keypad key. Reported by Deuce as the numpad diagonals being upside down. Numpad 7/8/9 now map to keypad 1/2/3 and 1/2/3 to 7/8/9; 4/6, 5, 0, Clear and Enter are unchanged. The number row has no shape and stays by digit, so it remains the way to type a game-variant number; the same number typed on the numpad enters its positional counterpart. The disc was capped at eight positions: the door only ever sent d-pad bits, and FreeIntv composes a diagonal from two of them but reads the full 16-way ring only from the left analog stick, which the door used solely for the paddle-cart sweep. Holding Shift now turns the held direction one detent clockwise on that stick (Up is NNE, Up+Left is NNW, Left is WNW, and so on round the ring), so every one of the sixteen is a key or two plus Shift. While the stick speaks for a controller its d-pad bits are withheld, because the core ORs both into one controller word. Shift is read from the evdev modifier edges (SyncTERM) and from kitty's LEFT_SHIFT/RIGHT_SHIFT functional codes; the byte path has neither Shift nor a key-up and is unchanged. The sixteen stick vectors are chosen on the core's own quantized grid: FreeIntv divides each axis by 8192 before atan2 and buckets the angle into fifteen 24-degree slots, so the detent is a property of the quantized integer pair, not of the nominal angle. The paddle sweep's vectors move onto the same table (E/ESE and W/WNW), which is what they already decoded to. test_disc.c drives the real input module through SyncTERM physical-key reports and decodes the results with a copy of the core's arithmetic: every numpad key, all sixteen detents plain and shifted, the withheld bits, the sweep, and a gamepad console left untouched. The help screen gains the Shift row and notes that the numpad is by position; M2_INPUT.md documents both. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  504. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 16:11:10 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/xmodem.c diff
    src/sbbs3/xmodem.h diff
    Relicense xmodem.c and xmodem.h under the 2-clause BSD license Matches the license zmodem.c and zmodem.h adopted in ea25028dae (2026-08-23). Also rename the include guard from _XMODEM_H_ to XMODEM_H_, since identifiers beginning with an underscore and an uppercase letter are reserved for the implementation. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  505. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 16:03:24 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    js: route every FIONBIO ioctl through one helper Five sites passed the address of private_t's BOOL nonblocking field to ioctlsocket() through a (ulong*) cast. That is correct only while the field stays four bytes wide; the connect-thread copy of the same field was converted to bool in 118984e9af (2024-01-19) and broke exactly this way, fixed in 6a90215fb1 (2026-10-25). Add set_socket_nonblocking(), which copies the flag into a local and passes that, so the pointer type is compiler-checked and the field's width no longer matters. The local is u_long on Windows and int elsewhere, the width each platform's FIONBIO consumer actually reads. The ulong locals used until now are 8 bytes on LP64 and only worked on little-endian targets. Use the helper for all nine FIONBIO calls in the file, dropping three single-use locals. The TLS session setup also set TCP_NODELAY via a ulong; use an int there, as elsewhere since 77d90bedea (2026-05-05). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  506. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 14:39:19 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbsexec.c diff
    src/sbbs3/vdd_func.h diff
    src/sbbs3/xtrn.cpp diff
    Allow concurrent DOS doors on the same node number from two BBS hosts The mailslots and events the Windows VDD (sbbsexec.dll) and its host share were named by node number alone since 7e3e47141a (2000-10-10), so a second BBS instance on the same system (another Synchronet install or a different BBS package using our FOSSIL/UART driver) running a DOS program for the same node number failed its launch with an ERR_CREATE on the rd mailslot. The host now creates the legacy names first, the mailslot before the events since its name is machine-global and CreateMailslot() fails atomically when it exists. On ERROR_ALREADY_EXISTS it retries once with a ".<pid>" suffix and launches the VDM with SBBSEXEC_INSTANCE=<pid> in its environment; the VDD appends the suffix to every name it opens. With no variable set the VDD uses the exact legacy names, so an older sbbsexec.dll keeps working wherever a launch worked before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  507. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 13:38:29 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: note the asynchronous connect blocking-mode and descriptor fixes Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  508. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 13:37:37 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_internal.cpp diff
    src/sbbs3/js_socket.cpp diff
    js: release asynchronous connect resources on setup failure and clear Socket.connect() with a callback linked and GC-rooted the connect event before allocating the thread's argument block and copying the hostname. When either allocation failed, the function closed the socket pair and returned an error, but left the event in the list pointing at the closed descriptors, so the next event-loop pass selected on them. Allocate the thread arguments first; the event is only linked once nothing after it can fail. Clearing all pending events freed a pending connect event without closing its socket pair's read end, leaking a descriptor each time a script ended with an asynchronous connect in flight. Both date from 1928973941 (2021-04-02). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  509. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 13:37:37 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_socket.cpp diff
    js: restore the socket's blocking mode after an asynchronous connect The connect thread restored the caller's nonblocking setting by passing the address of the one-byte bool in its argument block to ioctlsocket() as a ulong. The read took in the padding and the port field behind it, so the value was nonzero for any nonzero port and the socket was always left nonblocking, whatever mode the script had set. A Socket.connect() with a callback on a blocking socket therefore returned a nonblocking one: send() of more than the kernel would buffer failed with EWOULDBLOCK instead of waiting. Copy the flag into a ulong first. Dates from 1928973941 (2021-04-02). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  510. Rob Swindell (on Windows 11)
    Sun Oct 25 2026 13:37:37 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/ircd/core.js diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/js_internal.cpp diff
    src/sbbs3/js_socket.cpp diff
    src/sbbs3/js_socket.h diff
    src/sbbs3/sbbs.h diff
    js: report asynchronous connect failures and keep callbacks alive Socket.connect() with a callback ran the resolve and connect on a thread and sent the result over a socket pair that the callback engine never read: it set is_connected the moment the thread started and invoked the callback regardless. A refused connect, or a hostname that did not resolve (that path sent nothing at all), reached the callback looking connected with no peer address. The IRC daemon then sent its server handshake into dead links to unreachable hubs and, since outbound connects are serialized, delayed its reconnect to a reachable one. The thread now reports {error, gai} on every path and the engine reads it before the callback, setting is_connected, error and error_str. The socket is not marked connected while the connect is pending. Every stored event callback (js.setTimeout/setInterval/setImmediate/ addEventListener, Socket.on/once/connect, console.on/once) was a bare JSFunction* with no GC root, and JS_ValueToFunction() returns the shared function behind a closure, dropping its scope. A callback that captured a variable crashed in the interpreter when invoked. Store and root the function object that was passed, and call it with JS_CallFunctionValue(). Windows select() was given a negative timeval when no timer was pending and empty descriptor sets when only timers were pending, so connect-only scripts exited with "Timeout with no event" and timer-only scripts with "poll() returned with error 22". Pass NULL for an infinite wait and sleep when there is nothing to select on. All three date from the callback engine's introduction in 1928973941 (2021-04-02) and 06ec7d4148 (2021-04-13). The ircd's connect-failure notice now includes the error text. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  511. Deucе
    Sun Oct 25 2026 00:06:37 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircd.js diff
    exec/load/ircd/PROTOCOL.md diff
    exec/load/ircd/core.js diff
    exec/tests/ircd/clock.js diff
    exec/tests/ircd/state.js diff
    ircd: replace periodic clock probes with negotiated announcements CLOCK replies taking more than two seconds were discarded and immediately retried, allowing synchronized hubs to disconnect for lack of a fresh verification despite receiving every response. Negotiate CLOCKPUSH between upgraded hubs. Retain reciprocal probes for admission, then publish CLOCK -1 timestamps every 15 seconds and disconnect after more than 30 seconds without a valid announcement. This halves periodic CLOCK traffic while preserving the existing wire protocol for older hubs and the clock exemptions for leaves and services. Accept delayed probe replies when their entire skew uncertainty range fits within MaxSkew, instead of discarding them at two seconds or accepting a range that only partially overlaps the limit. Switch pending receive callbacks to unthrottled processing once a server authenticates. Reused registration queues could otherwise retain the client limit of four commands per two seconds and delay CLOCK traffic. Document the protocol and cover admission, periodic cadence, skew bounds, missing announcements, callback stalls, queue handoff and compatibility. Validation: 76 state, 10 live clock, 37 client connection and 9 mixed v2.4 network tests passed; git diff --check passed.

  512. Rob Swindell
    Sat Oct 24 2026 22:26:25 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/DDMsgReader/DDMsgReader.example.cfg diff
    xtrn/DDMsgReader/DDMsgReader.js diff
    xtrn/DDMsgReader/ddmr_cfg.js diff
    xtrn/DDMsgReader/readme.txt diff
    xtrn/DDMsgReader/revision_history.txt diff
    Merge branch 'ddmsgreader_thread_view_sauce_info_and_list_align_fix' into 'master' DDMsgReader: Added thread view when reading messages (with the * key); scrolling help screens; message list alignment fix (with help from AI) See merge request main/sbbs!741

  513. Eric Oulashin
    Sat Oct 24 2026 22:26:25 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/DDMsgReader/DDMsgReader.example.cfg diff
    xtrn/DDMsgReader/DDMsgReader.js diff
    xtrn/DDMsgReader/ddmr_cfg.js diff
    xtrn/DDMsgReader/readme.txt diff
    xtrn/DDMsgReader/revision_history.txt diff
    DDMsgReader: Added thread view when reading messages (with the * key); scrolling help screens; message list alignment fix (with help from AI)

  514. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:42 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/xpdev/unicode.c diff
    src/xpdev/unicode_defs.h diff
    xpdev: treat U+2060 Word Joiner as a zero-width character unicode_is_zerowidth() listed U+FEFF but not U+2060, its replacement for in-text use since Unicode 3.2 and now the UTF-8 detection probe (see the preceding answer.cpp change for #1284). So U+2060 in text was measured as one column, and on conversion to CP437 came out as the unsupported-character glyph instead of being dropped like the other zero-width characters. Add UNICODE_WORD_JOINER to the codepoint enum and to the zero-width list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  515. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:42 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/answer.cpp diff
    answer: detect UTF-8 with U+2060 Word Joiner, not obsolete ZWNBSP Terminal auto-detection has sent U+FEFF (ZWNBSP) after a CR and taken the second cursor-position report as the verdict since 11d3f59f5a (error-3-cancel, 2019-06-28): column 1 or 2 means UTF-8. Since Unicode 3.2, U+2060 is the in-text zero-width no-break character and U+FEFF is just the byte-order mark, which a terminal may render as an unsupported character. A UTF-8 terminal drawing a full-width replacement glyph lands on column 3 and goes undetected. Probe with U+2060 (E2 81 A0) instead. glibc wcwidth() gives both 0, and in tmux both leave the cursor where it was, so conforming terminals see no change. A terminal too old to know U+2060 and drawing it one column wide still lands on column 2 and is detected, with unicode_zerowidth=1. The "x < 3" threshold stays: 0x81 is a C1 control in ISO-8859-x, so a Latin-1 terminal that swallows it prints two glyphs and lands on column 3, which must not read as UTF-8. Fixes #1284 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  516. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:42 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    src/sbbs3/text_defaults.c diff
    text.dat: no space before @ELLIPSIS@ On a UTF-8 terminal @ELLIPSIS@ expands to U+2026, so the logon line read "Logging on to Vertrauen as Deuce …" with a detached ellipsis. The space dates from 59179278b1 (heroes-19-maps, 2019-07-11), which replaced "Saving..." and the like with "Saving @ELLIPSIS@"; strings added later copied that form. All 16 uses had it. Drop the space in each, and regenerate text_defaults.c to match. ASCII terminals get "Saving..." again, as before 2019. The space *after* the ellipsis in Disconnecting is kept. Fixes #1288 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  517. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:42 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/webirc.js diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/unregistered.js diff
    exec/tests/ircd/lib.sjs diff
    ircd: apply bans and RBLs to the client IP passed by WEBIRC for 2.7 Z:Lines and RBLs were checked only when a connection was accepted, against the gateway's IP, and K:Lines (including services AKILLs) were matched only against user@hostname. A client behind a WEBIRC gateway whose IP resolved to a hostname therefore escaped IP bans and RBL listings entirely. After an accepted WEBIRC, check the client's IP against Z:Lines and the configured RBLs, and match K:Lines against user@ip as well as user@hostname, both at registration and when a new ban is scanned against connected users. The RBL loop moves into RBL_Blocked() for the shared use. A WEBIRC that is malformed or not accepted (wrong password or untrusted gateway) now closes the connection with ERROR instead of letting the client register under the gateway's IP. Fix check_dnsbl() building a malformed query for IPv6 addresses, with the RBL name repeated after every group, so no IPv6 client was ever found listed. Add exec/tests/ircd/webirc.js covering the accepted, rejected and malformed WEBIRC cases, a K:Line and an RBL listing of the client IP, and the gateway's own clients still registering. The RBL case uses nip.io as a stand-in blocklist and is skipped if it does not resolve. Bump the IRCd version to 2.7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  518. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:42 GMT-0700 (PDT)
    Modified Files:
    

    exec/irc.js diff
    irc.js: pass the user's real IP address to the IRC server via WEBIRC Every BBS user reached the IRC server from the BBS's own IP address, so IP bans placed on the server or by services could not target an individual user without banning the whole BBS, and a banned user could get around a ban by connecting through the BBS. When configured, send WEBIRC with the user's IP address and hostname before registering, as web gateways such as chat.synchro.net do. The password is sent only when the IP address actually connected to is listed in webirc_servers, never by server name: a round-robin name such as irc.synchro.net can resolve to servers run by others. New [irc] options in ctrl/modopts.ini: webirc_password (matching the server's [WebIRC] Password) and webirc_servers (comma-separated IP addresses). Without them, behavior is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  519. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:42 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/shell_lib.js diff
    exec/xtrn_sec.js diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/termaudio_cache.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    text/sound/README.txt diff
    Add console sound methods and modopts.ini section sound/music keys The section hooks added in 96736a3631 (orders-4-aging, 2026-10-19) could only play a sound by evaluating a bbs.atcode("SOUND:...") expression. Sound is now a feature in its own right: console.play_sound(), play_music(), cache_sound(), music_volume(), stop_music() and stop_sound() give scripts what the terminal audio @-codes do, through the same code: the @-codes and the methods now share sbbs_t::play_sound() and cache_sound(), so the terminal's audio file cache tracking, the content-hash check, the size limits, the text/sound path restriction and the NO_SOUND gate apply equally to both. modopts.ini gains [shell] main_sound, file_sound, main_music and file_music, and [xtrn_sec] enter_sound and enter_music, each naming a file in text/sound. The main_enter, file_enter and eval_first expressions remain for anything else. Requesting the music that is already looping no longer restarts it; only its volume is set. Moving between two sections that share a theme would otherwise start it over on every hop. Stopping the music, and running any external program (which may have changed or stopped it), forgets what was playing, so the next request starts it again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  520. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:41 GMT-0700 (PDT)
    Modified Files:
    

    exec/qwk_sec.js diff
    qwk_sec.js: make the settings screen's value strings replaceable The Ctrl-A mode values ("Expand to ANSI", "Leave in", "Strip") and the "Un-read Only" e-mail value were the only hard-coded user-visible text left in the QWK menu module. They now go through gettext(), so they can be replaced in the [qwk_sec.js] or [JS] section of ctrl/text.ini, or translated in ctrl/text.<lang>.ini. See #1281 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  521. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:41 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfg.c diff
    SCFG: offer SOUND and MOUSE in the Required Terminal Flag menu Adds the new SOUND and MOUSE ARS keywords to the "Set Required Terminal Type/Capability" picker, and expands its help text to describe each of the eight choices. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  522. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:41 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/ars.c diff
    src/sbbs3/ars_defs.h diff
    src/sbbs3/chk_ar.cpp diff
    src/sbbs3/userdat.c diff
    ARS: add SOUND and MOUSE terminal capability keywords SOUND is true when the terminal can play audio files (the same gate the @SOUND: family of @-codes uses) and the user has not turned off BBS-initiated sound. MOUSE is true when the terminal supports mouse hot-spots. This lets a display file gate content around a sound clip, e.g. @SHOW:SOUND@@WAIT:100@@SHOW@ to hold the connection open only for callers who will hear it. Without a live terminal (sessionless evaluation, e.g. in the web and FTP servers), SOUND follows only the user's sound setting and MOUSE the user's stored mouse setting. Failing either keyword reports the existing NoAccessTerminal text. Also adds the v3.22 release-note entry for the SCFG template sub-board fix (#1280). Fixes #1292 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  523. Rob Swindell (on Debian Linux)
    Fri Oct 23 2026 20:52:41 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgsub.c diff
    SCFG: allow only one template sub-board per message group Enabling "Use this Sub-board as a Template for New Subs" now clears the option on the other sub-boards in the same group, and pasting a copy of the template sub-board into a group that already has one no longer produces a second template. Cut-and-paste still moves the template. Fixes #1280 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  524. Deucе
    Fri Oct 23 2026 18:01:17 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/server.js diff
    exec/tests/ircd/network.js diff
    exec/tests/ircd/state.js diff
    ircd: avoid mode churn when applying channel snapshots Applying CSYNC used to clear every channel mode, op, voice and ban before restoring the hub snapshot. Reconnecting leaves consequently displayed local removals followed by hub additions even when their state matched. Reconcile the authoritative snapshot against existing state instead. Remove obsolete flags, statuses and bans, add missing entries, and update changed keys, limits and channel age without resetting matching state. Preserve the setter, timestamp and spelling of retained bans. Keep hub authorization and the existing protections against resurrecting departed users. Add regressions for silent identical snapshots, exact state differences, fresh channels and repeated corrections in a six-server network. Validation: 63 state tests, 30 network tests and 9 visibility tests with an actual v2.0 leaf passed. Reported by Accession on irc.

  525. Rob Swindell
    Thu Oct 22 2026 16:20:14 GMT-0700 (PDT)
    Added Files:
    

    xtrn/slyvote/version_history.txt diff
    Modified Files:

    xtrn/slyvote/readme.txt diff
    xtrn/slyvote/slyvote.js diff
    Merge branch 'slyvote_cursor_ai_code_review' into 'master' SlyVote: Small changes based on Cursor AI code review See merge request main/sbbs!739

  526. Eric Oulashin
    Thu Oct 22 2026 16:20:14 GMT-0700 (PDT)
    Added Files:
    

    xtrn/slyvote/version_history.txt diff
    Modified Files:

    xtrn/slyvote/readme.txt diff
    xtrn/slyvote/slyvote.js diff
    SlyVote: Small changes based on Cursor AI code review

  527. Rob Swindell
    Thu Oct 22 2026 16:19:43 GMT-0700 (PDT)
    Modified Files:
    

    docs/slyedit_readme.txt diff
    exec/SlyEdit.js diff
    exec/load/slyedit_dct_stuff.js diff
    exec/load/slyedit_ice_stuff.js diff
    exec/slyedcfg.js diff
    Merge branch 'slyedit_cursor_AI_code_review_changes' into 'master' SlyEdit: A couple small changes based on Cursor AI code review See merge request main/sbbs!740

  528. Eric Oulashin
    Thu Oct 22 2026 16:19:43 GMT-0700 (PDT)
    Modified Files:
    

    docs/slyedit_readme.txt diff
    exec/SlyEdit.js diff
    exec/load/slyedit_dct_stuff.js diff
    exec/load/slyedit_ice_stuff.js diff
    exec/slyedcfg.js diff
    SlyEdit: A couple small changes based on Cursor AI code review

  529. Deucе
    Thu Oct 22 2026 12:33:59 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/services-backend.js diff
    exec/load/ircd/services-common.js diff
    exec/load/ircd/services-core.js diff
    exec/load/ircd/services-store.js diff
    exec/load/ircd/services.js diff
    exec/load/ircd/services.md diff
    exec/tests/ircd/services-bbs-worker.sjs diff
    exec/tests/ircd/services-bbs.js diff
    exec/tests/ircd/services-fixture.py diff
    exec/tests/ircd/services-network.py diff
    exec/tests/ircd/services.js diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/unregistered.js diff
    exec/load/ircd/user.js diff
    exec/tests/ircd/state.js diff
    ircd: add opt-in BBS account services for 2.6 Load NickServ and MemoServ into the daemon and authenticate against native BBS accounts. Use QWK ID, user number and first-on date for stable account ownership; expose escaped aliases instead of mutable chat handles. Deliver memos through BBS telegrams with native file locking and consuming reads. Add SQLite-backed nickname registration, GHOST and grace-period enforcement, plus account-based ChanServ access, automatic status, mode locks and topics. Require explicit EmbeddedServices Enabled=true before hosting the central authority, then select its instance by listening address and services DNS. Keep local services disabled by default and yield to authenticated external services so existing configurations cannot activate a replacement. Authenticate helper routes and session cookies across legacy relays, reject ordinary clients impersonating helpers, and redact credentials and RPCs. Preserve channel authority around legacy zero timestamps and encode leading IPv6 colons safely in NICK introductions. Use top-level timer callbacks and queued native operations to avoid the current JS embedding defects. Add isolated native BBS, SQLite, transport and mixed-version network tests, including opt-in through REHASH, ghosting, enforcement, authority restart and external services takeover. Bump the IRCd version to 2.6 and document configuration, commands and runtime limitations.

  530. Deucе
    Thu Oct 22 2026 12:33:59 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/unicode.c diff
    Fix CP437 0xFE mapping See https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP437.TXT for official mappings.

  531. Rob Swindell (on Debian Linux)
    Thu Oct 22 2026 10:11:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web Server: fix doubled byte count for large non-chunked POSTs A non-chunked POST body larger than MAX_POST_LEN (4 MiB) is spooled to a temp file by post_to_file(), which adds each read to req.post_len. That field still held the Content-Length, so it ended at twice the body size and every such request logged a false "!ERROR Browser said they sent N bytes, but I got 2N". The following clamp to the Content-Length hid the error from everything else, so the stored body and the length seen by scripts were already correct. Zero post_len before spooling, as the chunked path already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  532. Rob Swindell (on Debian Linux)
    Thu Oct 22 2026 10:11:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web Server: don't keep a stale content handler after PathInfoIndex is_dynamic_req() runs once before a directory's webctrl.ini is read and again after PathInfoIndex resolves the request to the index script. The first pass, seeing the original path's extension (e.g. /robots.txt or /x.md), stored the matching web_handler.ini handler in req.xjs_handler, and the re-check never cleared it, so the handler (txt_handler.js, md_handler.js, ...) ran against the index script instead: the script's source was rendered as a text page, and requests that should reach the script never did. Clear the handler on every check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  533. Rob Swindell (on Debian Linux)
    Thu Oct 22 2026 10:11:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web Server: don't let lingering client sockets stall termination close_socket() half-closes the socket and then waits for the peer to close its side, for up to max_inactivity seconds in a single blocking call that ignored terminate_server. Clients that never close (abandoned scraper connections, typically) held each session thread there for up to a minute after its inactivity timeout. By then close_session_socket() had already removed the session from current_connections, so shutdown_sessions() could not reach it, and a server stop or recycle waited on these threads for minutes. Poll in one-second slices and stop waiting once terminate_server is set. The normal-operation bound is unchanged. This also applies to sockets the listener thread rejects (rate-limited, ip-silent.can, max clients), which go through the same function. Also, after "!TIMEOUT waiting for N active clients to disconnect", no longer follow it with "Done waiting for active clients to disconnect". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  534. Rob Swindell (on Debian Linux)
    Thu Oct 22 2026 10:11:15 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/modopts.ini diff
    docs/v322_new.md diff
    exec/load/shell_lib.js diff
    exec/xtrn_sec.js diff
    Add modopts.ini hooks evaluated upon entering BBS sections shell_lib.js's menu_loop() now evaluates the [shell] main_enter or file_enter expression from modopts.ini when the current menu's node_action changes to NODE_MAIN or NODE_XFER. Keying on node_action, rather than on the menu object, keeps a hop between two main-area menus (as obv-2, major, and spitfire have) from re-triggering it, and the initial menu after logon gets no event, so it doesn't step on anything the logon module just did. Every shell built on shell_lib.js gets this. xtrn_sec.js gains [xtrn_sec] eval_first, matching the name logon.js uses, evaluated when the external programs section is entered. The motivating use is terminal audio, e.g.: main_enter = bbs.atcode("SOUND:main.ogg") Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  535. Deucе
    Wed Oct 21 2026 20:27:29 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/visibility.js diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/PROTOCOL.md diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/unregistered.js diff
    exec/load/ircd/user.js diff
    exec/tests/ircd/lib.sjs diff
    exec/tests/ircd/network.js diff
    exec/tests/ircd/rolling.js diff
    exec/tests/ircd/state.js diff
    ircd: fix hidden-channel synchronization for 2.5 Hidden channels omitted from initial leaf bursts could later be created by runtime JOINs without the remote operator list. Authorized MODEs then produced spurious channel-operator errors from uninvolved leaves. Advertise FULLCHAN and send complete channel state to updated leaves, with secret/private visibility enforced in client replies. Keep older leaves unaware of hidden channels until their first local member joins, send authoritative catch-up state, and withdraw cached memberships after the last local PART, KICK or QUIT. Apply the same policy to runtime events and public/hidden mode transitions while preserving hub authority. Translate numeric NICKIP and NICKIPSTR addresses in bursts and live nickname introductions so 1.3a leaves retain correct IPv4 metadata. Add native legacy configuration support to the test harness and wait for throttled client commands to finish before inspecting rapid JOIN/PART results. Bump SynchronetIRCd to 2.5 and document the compatibility behavior. Validation: - 58 state regression checks passed. - Live visibility tests passed with historical 1.3a, 2.0, 2.3 and 2.4 leaves. - Mixed 2.0/2.5 and 2.3/2.5 hub/leaf rollout tests passed. - Existing client, network, clock and timestamp suites passed.

  536. Deucе
    Wed Oct 21 2026 18:19:57 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-conn.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/test_conn.c diff
    Reserve outstanding receive credit when replenishing SSH stream windows

  537. Deucе
    Wed Oct 21 2026 14:48:25 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ircd/PROTOCOL.md diff
    exec/load/ircd/timestamps.js diff
    exec/tests/ircd/clock.js diff
    exec/tests/ircd/rolling.js diff
    exec/tests/ircd/state.js diff
    exec/tests/ircd/timestamps.js diff
    Modified Files:

    exec/ircd.js diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/unregistered.js diff
    exec/load/ircd/user.js diff
    exec/tests/ircd/connect.js diff
    exec/tests/ircd/lib.sjs diff
    exec/tests/ircd/network.js diff
    exec/tests/ircd/skipif diff
    Fix IRCd state synchronization and preserve rolling upgrades Channel state and nick presence could diverge when timestamps were rewritten in transit, losing modes were not explicitly removed, or corrections raced with leaf activity. Preserve trusted timestamps and resolve channel and topic conflicts consistently, including same-second changes and topic clears. Keep hubs authoritative over untrusted leaves. Assign network timestamps to leaf channel objects, replicate their mappings between upgraded hubs, and send authoritative channel snapshots without resurrecting pending PARTs. Verify clocks before linking mutually configured upgraded hubs and while linked, with a configurable 30-second default skew limit. Keep legacy hubs, leaves, and services usable throughout a rolling upgrade. Gate protocol extensions by capability and use JOIN/MODE corrections for old leaves, including TS-zero modes and compatibility with their -l parser. Accept legacy burst state only for newly introduced, exclusive leaf channels; retain route validation and hub authority over established channels. Bound NAMES and snapshot member lists by wire length, preserve mode arguments and founder status, and document the protocol and remaining legacy limits. Validation: 220 checks pass, including nine live mixed-version tests against the previous daemon for modes, presence, leaf and hub reconnects, and clock compatibility. All test daemons were stopped and git diff --check passes.

  538. Deucе
    Tue Oct 20 2026 22:17:37 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/term.c diff
    Initialize reported emulation speed from BBS entry (ticket 294) Seed DECRQSS speed reporting from the effective output emulation rate when the terminal is created. Saved BPS rates are then visible to the host before it sends a DECSCS command.

  539. Deucе
    Tue Oct 20 2026 22:11:44 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cterm.c diff
    src/conio/cterm.h diff
    src/conio/cterm_dec.c diff
    src/conio/cterm_test.c diff
    Fix status display type 2 transitions (ticket 293) Route remaining input to the selected display immediately and preserve cursor positions across status display changes. Keep retired status parsers alive until active writes and nested macros return, and release status subterminals when their owner ends. Add six regression tests and strengthen direct status-parser cursor coverage. All 323 terminal tests pass normally and with ASan/UBSan, and the SyncTERM build succeeds.

  540. Deucе
    Tue Oct 20 2026 16:09:44 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/bitmap_con.c diff
    Use CIOLIB_COLOR_RGB, not 0xff Reported by Accession via IRC.

  541. Rob Swindell (on Debian Linux)
    Sun Oct 18 2026 22:28:22 GMT-0700 (PDT)
    Modified Files:
    

    exec/llm_index.js diff
    llm_index.js: cap index size below SpiderMonkey's max string length The index is written with one JSON.stringify() and read back by chat_llm.js with one File.read() + JSON.parse(), so it can never exceed SpiderMonkey 1.8.5's 2^28-1 char string limit. A large enough crawl (e.g. a raised index_max_chunks over big DOVE-Net subs) died at write time with a bare "InternalError: allocation size overflow", which reads like a heap problem; raising the JS heap (see #1291) only lets the crawl get further. build_index() now keeps a running estimate of the serialized size and stops adding chunks before 240 MiB, warning how many were dropped and what to change. Chunks arrive in source priority order (msgs newest-first), so the tail is the least valuable. write_index() also catches a JSON.stringify() failure, removes the .tmp file and reports an actionable error. Below the cap the output is byte-identical to before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  542. Rob Swindell (on Debian Linux)
    Sun Oct 18 2026 22:28:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    v322_new.md: note chksetup.js's Record Terminal Width editor check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  543. Deucе
    Sun Oct 18 2026 06:27:26 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-conn.c diff
    Free DeuceSSH channel reply slots when channel setup fails

  544. Deucе
    Sun Oct 18 2026 00:00:03 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/test_auth.c diff
    ssh: report authentication allocation sweep stages and responder failures

  545. Deucе
    Sun Oct 18 2026 00:00:03 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/CMakeLists.txt diff
    src/ssh/ssh-conn.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/test_conn.c diff
    ssh: release registered channel resources on shutdown and expose NetBSD fchmod

  546. Rob Swindell (on Debian Linux)
    Sat Oct 17 2026 20:08:50 GMT-0700 (PDT)
    Modified Files:
    

    exec/chksetup.js diff
    chksetup.js: warn when FSEditor or SlyEdit doesn't record terminal width Both editors wrap to the user's actual terminal width, but unless their editor entry has "Record Terminal Width" enabled in SCFG, messages written with them carry no Columns header field. Readers on other terminal widths then can't have the text nicely re-word-wrapped, and QWK-networked copies (e.g. on DOVE-Net) lack the field too. Report any FSEditor or SlyEdit editor entry (matched by its command line, not its internal code) that doesn't have this setting enabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  547. Deucе
    Sat Oct 17 2026 17:03:19 GMT-0700 (PDT)
    Added Files:
    

    src/ssh/test/dssh_test_wait.h diff
    src/ssh/test/test_framework.c diff
    src/ssh/test/test_key_setup.c diff
    Modified Files:

    src/ssh/README.md diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/dssh_test.h diff
    src/ssh/test/test_conn.c diff
    src/ssh/test/test_selftest.c diff
    Fix DeuceSSH test synchronization and assertion cleanup lifetime

  548. Deucе
    Sat Oct 17 2026 17:03:19 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/CMakeLists.txt diff
    Expose DeuceSSH POSIX declarations in strict C builds

  549. Deucе
    Sat Oct 17 2026 17:03:19 GMT-0700 (PDT)
    Added Files:
    

    src/ssh/cmake/DeuceSSHCStandard.cmake diff
    src/ssh/test/c_standard.cmake diff
    src/ssh/test/c_standard_fixture/CMakeLists.txt diff
    src/ssh/test/c_standard_fixture/main.c diff
    Modified Files:

    src/ssh/CMakeLists.txt diff
    src/ssh/README.md diff
    src/ssh/test/CMakeLists.txt diff
    Allow DeuceSSH C11 mode on macOS x86 compilers without C17 support

  550. Rob Swindell (on Debian Linux)
    Sat Oct 17 2026 16:01:42 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircd.js diff
    ircd: bump the IRCd version to 2.3 2.2 has covered two behavior fixes since it was set: surviving a stalled callback engine (d411e916a9, mind-4-viewing, 2026-09-20) and the end of the 100 ms send-queue retry that closed connections left running forever (#1289). A hub without the latter accumulates load until it can no longer answer PINGs and splits the network, so peers and opers need a version string that tells the fixed servers apart in /VERSION and /TRACE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  551. Rob Swindell (on Debian Linux)
    Sat Oct 17 2026 15:59:28 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/sendq.js diff
    Modified Files:

    exec/load/ircd/core.js diff
    exec/load/ircd/user.js diff
    ircd: stop retrying the send queue of a closed connection forever Queue_Send() re-arms itself on a 100 ms timer while a socket won't accept more data. User_Quit() closed a local user's socket without purging its send queue, and Socket.send() on a closed socket fails without throwing, so the drain kept re-arming: every user who disconnected with output still queued (typically a ping timeout on a client that had stopped reading) left a 10 Hz timer running for the life of the process. Those orphans accumulate. On cvs they reached about 70 timers (about 825 events per second) within a day, and after 5.5 days the callback engine was pinned at 100% of a core, could no longer answer PINGs in time, and every linked server dropped it. Queue_Send() now purges and returns when the socket is no longer connected, which covers every path that closes a connection with output pending, and User_Quit() purges the local user's queues as the server quit path already did. exec/tests/ircd/sendq.js covers the 100 ms back-off on a stalled socket, the immediate continuation of a partial send, and dropping (not retrying) output left on or queued to a closed socket. Fixes #1289 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  552. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/filecontents_lib.js diff
    filecontents: treat bare .xz and .zst files as viewable archives libarchive now reads a bare compressed file as a single-file archive, and ARCHIVE_TYPES already listed gz and bz2, so add the other two compressors libarchive commonly supports. This lets the web file index and inventory_archives.js list their contents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  553. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/filedat.h diff
    src/sbbs3/scfg/scfgxfr1.c diff
    scfg: accept only formats Synchronet can create as Supported Archive Formats The Supported Archive Formats list names the types Synchronet creates itself with libarchive (QWK/REP packets and temporary download archives), and users may pick any of them as their QWK packet type. Only zip, 7z, tgz and tbz can actually be created, but SCFG accepted anything, and its help invited adding more types: a sysop who listed "gz" offered users a packet type that always failed to build. A bare .gz holds a single file, so it can never hold a QWK packet anyway. SCFG now removes any type that cannot be created, says which, and marks the configuration changed so a stale entry is dropped even when the field is left unedited. The creatable set is CREATABLE_ARCHIVE_FORMATS in filedat.h, beside create_archive(). The help text no longer suggests that the list affects which archives can be read; the File Options overview said it covered mail attachments and the testable/extractable file types, which it does not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  554. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/filecontents_lib.js diff
    exec/tests/filecontents_test.js diff
    src/sbbs3/filedat.c diff
    src/sbbs3/filedat.h diff
    src/sbbs3/js_archive.cpp diff
    Read bare compressed files (.gz, .bz2, .xz, .zst) as single-file archives The Archive class and the file-base archive code could not open a bare compressed file, even with its extension listed as a supported archive type: they failed with "-30 Unrecognized archive format". libarchive only decompresses a non-archive when its "raw" format is enabled, and archive_read_support_format_all() deliberately leaves raw out. All four libarchive read sites now get their reader from new_archive_reader(), which adds the raw format, and pass each header through check_archive_entry(). Raw matches any input, so a raw result is accepted only when a decompression filter was applied; an uncompressed non-archive still fails as unrecognized. The entry is named after the file minus its compression extension (log.txt.gz -> log.txt) rather than from the gzip header, whose stored name is optional and may contain a path. A raw entry's size is unknown until decompressed, so Archive.list() reads the data to supply it. filecontents_lib.js caches "unreadable" verdicts that only a change in EXTRACTORS re-examines, so bump it to 2: .gz files previously recorded as unreadable get listed on their next view. Hosts sharing file areas should run this build before then, or an older build re-records the failure under the new version. Fixes #1278 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  555. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/msgs.ini diff
    docs/v322_new.md diff
    exec/chksetup.js diff
    Add the DOVE-Net Health conference to the stock msgs.ini New DOVE-Net sub-board for discussion of health topics: diet, fitness, medications, illness. It is conference 2025 on the VERT QWK hub. chksetup.js now expects 26 DOVE-Net sub-boards (25 outside JSexec). The v3.22 release notes list it, along with the AI Discussion and AI Playground conferences added in b4ef898195 (haven-23-icon, 2026-09-21), which had not been noted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  556. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgsub.c diff
    scfg: auto-assign a unique QWK conference number to new sub-boards A new sub-board is initialized as a copy of the group's template sub (or the last sub in the group), and the copy kept the source's static QWK conference number. Adding a sub to a group whose template has one (e.g. DOVE-Net, conference 2001) silently created a duplicate conference number. When the template's number is static, assign the new sub the group's highest conference number + 1, skipping any number in use system-wide. Gaps are deliberately not filled: they may be retired conferences still known to users' offline readers. A template with a dynamic number (0) still yields a dynamic one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  557. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/chksetup.js diff
    chksetup.js: expect 25 DOVE-Net sub-boards (24 outside JSexec) The AI Discussion and AI Playground conferences added to the stock msgs.ini in b4ef898195 (haven-23-icon, 2026-09-21) weren't counted, so check_dove_net reported "25 sub-boards configured (instead of the expected: 23)" on a correctly configured system. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  558. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: note chksetup.js's new DOVE-Net hub check in v3.22 notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  559. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/chksetup.js diff
    chksetup.js: check the DOVE-Net (VERT) QWK hub settings A new check_dove_net_hub test reads the [qhub:VERT] section of msgs.ini (when present and enabled) and reports settings that degrade DOVE-Net messages: - "Include HEADERS.DAT File" = No: the hub then receives none of the extended header fields (Message-ID, time zone, seconds, editor, columns, organization, etc.) - "Include Kludge Lines" = Yes while HEADERS.DAT is included: redundant - "Include VOTING.DAT File" = No - Ctrl-A Codes not set to "Leave in" (i.e. Strip or Expand) Prompted by a DOVE-Net Ads post whose origin system has never sent HEADERS.DAT, leaving no way to tell from the header how it was posted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  560. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: honor "= false" for boolean chat_llm.ini keys iniGetObject() already converts true/false values to booleans, but load_config() and its callers compared these keys against the STRING 'false', which never matched. So setting any of memory_persist, reply_dedup, memory_summary_in_prompt, stream or simulate_typos to false was silently ignored. memory_persist = false, the documented setting for bots in public channels that shouldn't retain anything about strangers, still wrote per-speaker memory files. New cfg_bool() normalizes all five in load_config() (booleans, numbers, and false/no/off/0 strings; unset keeps the default of true), and the use sites test the booleans. Tested: an ini with the five keys off yields false for each, unset yields true, and a chat turn with memory_persist = false leaves the speaker's memory file untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  561. Rob Swindell (on Debian Linux)
    Fri Oct 16 2026 21:19:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: reject a provider/endpoint mismatch at config load Ollama serves both its native /api/chat and an OpenAI-compatible /v1/chat/completions on the same port, so pairing the wrong provider with an endpoint doesn't fail at the HTTP level. provider=openai against /api/chat failed only after the full generation, with "no choices in response: <raw JSON>"; a sysop (Keyop) hit exactly that in #synchronet while following the advice to switch endpoints. load_config() now compares the endpoint's path with the provider (/api/chat = ollama, .../chat/completions = openai) for both endpoint and endpoint_fallback, and throws an error naming the fix, before any request. For URLs whose path doesn't say (e.g. behind a proxy), the response parsers also recognize the other API's reply shape and say so instead of dumping the raw JSON. Tested against Ollama: both mismatches fail at once (0.0s) with the new messages; both correct pairings still reply; the live config still loads; chat_openai() aimed at /api/chat reports the native shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  562. Rob Swindell
    Fri Oct 16 2026 18:45:58 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/ddfilelister/ddfilelister.js diff
    xtrn/ddfilelister/readme.txt diff
    xtrn/ddfilelister/revision_history.txt diff
    Merge branch 'dd_file_lister_small_AI_code_review_changes' into 'master' DDFIleLister: Small AI code review changes/fixes See merge request main/sbbs!738

  563. Eric Oulashin
    Fri Oct 16 2026 18:45:58 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/ddfilelister/ddfilelister.js diff
    xtrn/ddfilelister/readme.txt diff
    xtrn/ddfilelister/revision_history.txt diff
    DDFIleLister: Small AI code review changes/fixes

  564. Rob Swindell (on Debian Linux)
    Thu Oct 15 2026 16:12:48 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    exec/chat_llm_irc.js diff
    exec/llm_index.js diff
    chat_llm: create data/chat/ parents with mkpath(), not mkdir() persona_dir(), the IRC bot's PERSONA_DIR, and llm_index's write_index() each created data/chat/<persona>/ with mkdir(), which makes only the last path component. On an install with no data/chat/ yet (any fresh one), the directory was never created, so the first per-caller memory save threw "cannot write .../data/chat/default/user_0001.json.tmp" after the LLM had already replied, and the guru chat ended with "chat_session JS call failed". Reported by a sysop (Keyop) in #synchronet. Verified with a not-yet-existing nested MEMORY_SUBDIR: the previous chat_llm.js reproduced the exact error; this one creates the path and writes the memory file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  565. Rob Swindell (on Debian Linux)
    Thu Oct 15 2026 15:50:44 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/chat_llm.ini diff
    chat_llm.ini: default to Ollama's native /api/chat provider The stock config pointed provider=openai at Ollama's OpenAI-compatible /v1/chat/completions endpoint, which silently ignores think:false. With a "thinking" model such as qwen3.5:9b, the model spends all of max_tokens on hidden reasoning and returns an empty reply; the guru chat then ends with "chat_session JS call failed" after a long, GPU-busy pause. Reported by a sysop (Keyop) in #synchronet. Measured against the same Ollama server with qwen3.5:9b and "hi": provider=openai returned an empty reply after 12.6s; provider=ollama with /api/chat replied in 1.7s. Default to provider=ollama / http://localhost:11434/api/chat, explain the thinking-model trap next to the setting, list the endpoint form each provider expects, and correct the keep_alive comment, which claimed Ollama's per-request keep_alive was unsupported (the native provider sends it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  566. Rob Swindell (on Debian Linux)
    Wed Oct 14 2026 20:32:34 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: note the new TheDraw fonts for tdfiglet.js in v3.22 notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  567. Nigel Reed
    Wed Oct 14 2026 20:32:34 GMT-0700 (PDT)
    Added Files:
    

    ctrl/tdfonts/3d-fade.tdf diff
    ctrl/tdfonts/4max.tdf diff
    ctrl/tdfonts/4maxx.tdf diff
    ctrl/tdfonts/aligatr2.tdf diff
    ctrl/tdfonts/amcslash.tdf diff
    ctrl/tdfonts/ansiltr2.tdf diff
    ctrl/tdfonts/ansiltr3.tdf diff
    ctrl/tdfonts/ansiltr4.tdf diff
    ctrl/tdfonts/ansiltr5.tdf diff
    ctrl/tdfonts/antrfont.tdf diff
    ctrl/tdfonts/ascii_2.tdf diff
    ctrl/tdfonts/basic.tdf diff
    ctrl/tdfonts/bigout.tdf diff
    ctrl/tdfonts/blunder.tdf diff
    ctrl/tdfonts/blunders.tdf diff
    ctrl/tdfonts/boilpont.tdf diff
    ctrl/tdfonts/boldme.tdf diff
    ctrl/tdfonts/bolger.tdf diff
    ctrl/tdfonts/bow.tdf diff
    ctrl/tdfonts/broadway.tdf diff
    ctrl/tdfonts/buba.tdf diff
    ctrl/tdfonts/calvin.tdf diff
    ctrl/tdfonts/calvin_l.tdf diff
    ctrl/tdfonts/calvin_s.tdf diff
    ctrl/tdfonts/cfh-amig.tdf diff
    ctrl/tdfonts/classic.tdf diff
    ctrl/tdfonts/colosall.tdf diff
    ctrl/tdfonts/commodre.tdf diff
    ctrl/tdfonts/compact.tdf diff
    ctrl/tdfonts/compfigl.tdf diff
    ctrl/tdfonts/crest.tdf diff
    ctrl/tdfonts/cricket.tdf diff
    ctrl/tdfonts/cyberlrg.tdf diff
    ctrl/tdfonts/cyblarge.tdf diff
    ctrl/tdfonts/cybmedum.tdf diff
    ctrl/tdfonts/cybsmall.tdf diff
    ctrl/tdfonts/defleprd.tdf diff
    ctrl/tdfonts/dosrebel.tdf diff
    ctrl/tdfonts/elite.tdf diff
    ctrl/tdfonts/fade-1.tdf diff
    ctrl/tdfonts/fade-2.tdf diff
    ctrl/tdfonts/fb-line.tdf diff
    ctrl/tdfonts/fraktur2.tdf diff
    ctrl/tdfonts/fristi.tdf diff
    ctrl/tdfonts/future.tdf diff
    ctrl/tdfonts/georgia1.tdf diff
    ctrl/tdfonts/gothic.tdf diff
    ctrl/tdfonts/greek2.tdf diff
    ctrl/tdfonts/henry3d.tdf diff
    ctrl/tdfonts/hieroglp.tdf diff
    ctrl/tdfonts/hobbes.tdf diff
    ctrl/tdfonts/holywood.tdf diff
    ctrl/tdfonts/icecream.tdf diff
    ctrl/tdfonts/impossbl.tdf diff
    ctrl/tdfonts/isomet1.tdf diff
    ctrl/tdfonts/isomet2.tdf diff
    ctrl/tdfonts/isomet3.tdf diff
    ctrl/tdfonts/isomet4.tdf diff
    ctrl/tdfonts/jazmine.tdf diff
    ctrl/tdfonts/jsfraste.tdf diff
    ctrl/tdfonts/jsfthick.tdf diff
    ctrl/tdfonts/jsfthin.tdf diff
    ctrl/tdfonts/jsfwide.tdf diff
    ctrl/tdfonts/kevin3.tdf diff
    ctrl/tdfonts/kewl-tdf.tdf diff
    ctrl/tdfonts/kolo-tdf.tdf diff
    ctrl/tdfonts/lkergnme.tdf diff
    ctrl/tdfonts/mabus.tdf diff
    ctrl/tdfonts/mabus12.tdf diff
    ctrl/tdfonts/maxfour.tdf diff
    ctrl/tdfonts/medium.tdf diff
    ctrl/tdfonts/merlin1.tdf diff
    ctrl/tdfonts/merlin2.tdf diff
    ctrl/tdfonts/middlage.tdf diff
    ctrl/tdfonts/mindbend.tdf diff
    ctrl/tdfonts/mirror.tdf diff
    ctrl/tdfonts/nancyjfa.tdf diff
    ctrl/tdfonts/nancyjip.tdf diff
    ctrl/tdfonts/nancyjul.tdf diff
    ctrl/tdfonts/nvscr2.tdf diff
    ctrl/tdfonts/nvscript.tdf diff
    ctrl/tdfonts/ogre.tdf diff
    ctrl/tdfonts/patchese.tdf diff
    ctrl/tdfonts/patorjk.tdf diff
    ctrl/tdfonts/r.tdf diff
    ctrl/tdfonts/rammsten.tdf diff
    ctrl/tdfonts/rapid.tdf diff
    ctrl/tdfonts/raster.tdf diff
    ctrl/tdfonts/redphonx.tdf diff
    ctrl/tdfonts/relief.tdf diff
    ctrl/tdfonts/relief2.tdf diff
    ctrl/tdfonts/robojoke.tdf diff
    ctrl/tdfonts/roman.tdf diff
    ctrl/tdfonts/rounded.tdf diff
    ctrl/tdfonts/rowancap.tdf diff
    ctrl/tdfonts/royafnt1.tdf diff
    ctrl/tdfonts/royafnt2.tdf diff
    ctrl/tdfonts/rozzo.tdf diff
    ctrl/tdfonts/sabotage.tdf diff
    ctrl/tdfonts/shadow.tdf diff
    ctrl/tdfonts/smallr.tdf diff
    ctrl/tdfonts/smlisom1.tdf diff
    ctrl/tdfonts/smlslant.tdf diff
    ctrl/tdfonts/standard.tdf diff
    ctrl/tdfonts/starwars.tdf diff
    ctrl/tdfonts/sturbo.tdf diff
    ctrl/tdfonts/sub-zero.tdf diff
    ctrl/tdfonts/swamplnd.tdf diff
    ctrl/tdfonts/sweet.tdf diff
    ctrl/tdfonts/tdfonts-2.tdf diff
    ctrl/tdfonts/tdfonts-3.tdf diff
    ctrl/tdfonts/tdfonts-4.tdf diff
    ctrl/tdfonts/tech.tdf diff
    ctrl/tdfonts/tengwar.tdf diff
    ctrl/tdfonts/thick.tdf diff
    ctrl/tdfonts/thicko.tdf diff
    ctrl/tdfonts/tic.tdf diff
    ctrl/tdfonts/ticks.tdf diff
    ctrl/tdfonts/ticksslt.tdf diff
    ctrl/tdfonts/trek.tdf diff
    ctrl/tdfonts/univers.tdf diff
    ctrl/tdfonts/usflgorg.tdf diff
    ctrl/tdfonts/visions.tdf diff
    ctrl/tdfonts/wetleter.tdf diff
    ctrl/tdfonts/whimsy.tdf diff
    Add 125 TheDraw font files (167 new fonts) from MR !737 From Nigel Reed's closed MR !737, sourced from https://www.roysac.com/thedrawfonts-tdf.html, keeping only fonts not already in ctrl/tdfonts. A .tdf can hold several fonts, so duplicates were found by comparing each font's type, spacing, character offsets and glyph data, not file names. The MR's 126 files held 236 fonts. Of those, 19 were already in the repo (one of them renamed), and the four roysac collection files repeated most of the MR's own single-font files and each other. Where a font appeared in both a single-font file and a collection, the single-font file keeps it. 4maxx.tdf, tdfonts-2.tdf, tdfonts-3.tdf and tdfonts-4.tdf are rewritten to hold only their unique fonts, and tdfonts_org.tdf is dropped because every font in it is elsewhere. Fonts that share a name with an existing font but have different glyphs (Colossal, Fraktur, Medium, Metal, Outline, ...) are kept, because they are variants rather than copies. All 167 fonts load and render with tdfonts_lib.js. The MR branch's unrelated sbbsecho TRACE commit is not included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  568. Rob Swindell
    Wed Oct 14 2026 20:32:25 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Merge branch 'remoteipheader-access-log' into 'master' Make RemoteIPHeader actually reach the access log See merge request main/sbbs!735

  569. DaiTengu
    Wed Oct 14 2026 20:32:25 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Make RemoteIPHeader actually reach the access log

  570. Rob Swindell (on Debian Linux)
    Tue Oct 13 2026 20:32:55 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/getmsg.cpp diff
    src/sbbs3/wordwrap.c diff
    src/sbbs3/wordwrap.h diff
    Word-wrap message text that contains only ANSI color codes The terminal server's message reader disabled word-wrapping for any message body containing "ESC[", to avoid mangling ANSI art. A single color code anywhere in a message was enough to leave every paragraph unwrapped. Krystal BBS Software, for example, stores each paragraph as one long line and colors the quoted-reply header with an ANSI sequence, so its posts displayed as overlong lines. Now only text with non-SGR control sequences (e.g. cursor positioning) or incomplete sequences is left unwrapped; color-only text is wrapped. wordwrap() also now treats complete ANSI CSI sequences as zero-width (as it already did Ctrl-A codes), rather than counting their bytes as columns, which broke lines containing color codes too early. This affects all wordwrap() callers: message display, quoting, QWK export re-wrapping, and the JS word_wrap() function. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  571. Rob Swindell (on Debian Linux)
    Mon Oct 05 2026 11:54:25 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.8: a door that can't decode UTF-8 rejects it Remove the sentence 01b8eb2fcc (doors-3-clip, 2026-10-02) added saying FILE_UTF8 depends on the door, not the content, and that a door can rely on it rather than inspect the text. What a producer writes depends on its configuration, and the wording invited a door to assume an encoding from its own configuration instead of reading the key. ASCII is valid either way, so the key needs no stability across sessions. In its place: a door that can't decode UTF-8 MUST reject a file with FILE_UTF8=1. Doors are not required to support UTF-8. Say the Synchronet implementation's FILE_UTF8 depends on the door's configuration rather than on the door. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  572. Rob Swindell (on Debian Linux)
    Sun Oct 04 2026 20:54:03 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: POP3 LIST/UIDL skips unreadable messages instead of stopping In the POP3 LIST and UIDL (all messages) loop, a failure to read a message's index entry, lock its header, or read its header ended the listing early. Every message after the bad one was then missing from the client's view of the mailbox. Skip just the bad message instead: the error is still logged, and the other messages keep their POP3 numbers, so RETR and DELE still work on them. A failed socket write still ends the loop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  573. Rob Swindell (on Debian Linux)
    Sun Oct 04 2026 20:49:20 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: stop sending the message after a body line fails to send When a send failed partway through the message body, sockmimetext() broke out of the body loop but still went on to MIME-encode any attachments and send the "." end-of-data terminator over the dead connection. With DKIM signing enabled, that terminator finalized the verify pass's body hash over the truncated body, so every dropped connection mid-DATA was also logged as the error "DKIM body hash changed between sign and send - message delivery aborted", though nothing had changed and the delivery had already failed. Return as soon as a body line fails to send, as is already done when the header terminator fails. Fixes #1279 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  574. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 18:21:12 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/userdat.c diff
    Reject future birthdates in birthdate_is_valid() The validator had a lower bound (1900) but no upper bound, so a birthdate such as 09/11/2890 was accepted at new-user registration and stored, and getage() then reported a negative age (-864). A birthdate later than today is now invalid. Every entry path that validates (new-user and profile prompts via system.check_birthdate()) rejects it, and getage() returns 0 for any such record already stored. Fixes #1277 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  575. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 17:02:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.8: sections mandatory to write, optional to read State the asymmetry in one sentence, answering Deuce's question on r/bbs of whether a compliant reader could fail on a compliant writer's file: every producer writes section headers, so a reader that requires them and one that ignores them both parse every conforming file. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  576. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 15:08:43 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.8: FILE_UTF8 depends on the door, not content Say that a producer sets FILE_UTF8 from the door's declared UTF-8 support, writing 1 even when every text value in a session happens to be ASCII, so the key is stable across runs of the same door and a door can rely on it rather than inspect the text. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  577. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 13:53:12 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: convert em-dashes and curly quotes in replies to ASCII The persona forbids em-dashes, but qwen3.5:9b emits them anyway, along with curly quotes and en-dashes, which mojibake on CP437 terminals and in IRC relays. sanitize_reply() now maps em-dash to " -- ", a spaced en-dash to " -- " and a bare one to "-", curly quotes to straight ones, and an ellipsis to "...". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  578. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 13:53:12 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm_irc.js diff
    chat_llm_irc: don't reply to other bots Another BBS's guru (PooBahLoo_Guru) and ours traded five replies in two minutes in #synchronet, each answering the other. Never speak to a nick that looks like a bot: "bot" or "guru" as a delimited part of the nick ("VERT_Guru", "bot-x"), a CamelCase part ("SomeBot", "GuruBob"), or a trailing suffix ("chatbot"). Plain substrings don't count, so nicks like "Abbott" or "Robotron" are still answered. Their lines still feed the channel context, and relays queued for them are still delivered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  579. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 13:39:33 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: let the guru tell people which model it runs on Asked "what LLM are you using?" on IRC, the guru deflected ("whatever LLM is configured in chat_llm.ini") because nothing in its prompt named the model, and the question pulled the generic howto:llm-guru wiki text into retrieval, which it then parroted. Add an @llm_model@ persona macro, expanded from the configured model=, so a persona can state the real model and it tracks config changes. Classify "which model/LLM/AI are you" style questions as conversational so they skip retrieval like the other about-the-bot questions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  580. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 13:33:50 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.8: name the PETSCII and ATASCII members The bare names now mean the member everyone implements, the C64 set and the standard Atari 8-bit set, and a producer that knows the connection uses another member names it with a hyphen after the family: PETSCII-C128, PETSCII-VIC20, PETSCII-PET, ATASCII-INTL. A consumer that doesn't know a member falls back to the family. The PETSCII case modes are runtime-switched, so they are never named, and TERM_TYPE carries only the family. Answers Deuce's point that the names were ambiguous. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  581. Rob Swindell (on Debian Linux)
    Fri Oct 02 2026 13:27:50 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.8 Incorporate Deuce's review on r/bbs (2026-10-02): - PETSCII and ATASCII are families of character sets, not single mappings; the names say which family, a door confines itself to what the members share, and a later draft may add a way to name a member - USER_KEY is required (unless local): the host, which knows whether its user numbers are reused, derives a never-reused key, so a door always has one field to key per-user data on - TERM_COLORS names which SGR color methods the terminal honors (8, 16, 256, 16777216), replacing the claim that every ANSI terminal has the CGA palette; 8 covers terminals that render SGR 1 as bold, not bright - FILE_TIME is required: it is the moment TIME_LEFT was measured, and a door whose clock agrees with the host's may subtract the time since - The path type names the encoding the door's runtime expects for file names (POSIX bytes, the Windows ANSI code page, the DOS path), and a path that can't be represented is left out - The file's encoding is stated as a rule (UTF-8 iff a line is exactly FILE_UTF8=1), and comparisons are exact except IANA charset names - A door that looks the file up by name looks for DOORDROP.INI in that exact spelling; no case folding - The key-prefix trade is stated plainly Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  582. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 20:45:32 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.7: COMM_TYPE is what the door sees Say that an emulator's TCP connection back to the host is not the door's comm type: a DOS door on a DOSBox null-modem port still sees a COM port, so its type is fossil or uart. Narrow the connect-back open question to a native door that connects itself, note that no known door or host does, and list what such a type would need. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  583. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 20:41:55 GMT-0700 (PDT)
    Modified Files:
    

    webv4/root/api/events.ssjs diff
    webv4: events.ssjs: don't declare top-level consts Keyop reported on IRC #synchronet (2026-10-01): !JavaScript /sbbs/webv4/root/api/events.ssjs line 13: TypeError: redeclaration of const keepalive, Request: /api/events.ssjs?subscribe=nodelist The web server keeps one JS context (and global object) for the life of a client connection, so every request on a keep-alive connection runs in the global left behind by the previous one. Re-running a top-level "const" declaration in that global throws. events.ssjs never returned while its client was connected until 7399e3a62d (belly-3-lone, 2026-07-29) bounded the stream's lifetime. Now, when the stream times out and the EventSource reconnects over the same connection, the script runs a second time and dies at line 13. Use "var" for the four top-level declarations. The consts inside the forEach() callback are function-scoped and unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  584. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 17:13:36 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.7: FILE_TIME is a datetime, not ascii Add a datetime type, YYYY-MM-DDThh:mm:ss with an optional UTC offset in RFC 3339 form, and give FILE_TIME that type instead of carrying its shape in prose under an ascii type. Nothing a producer writes changes. The date type stays date-only; a reader wanting only the date of a datetime takes the text before the T, as NuSkooler suggested on the GitHub mirror. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  585. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 15:06:48 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbsecho.c diff
    sbbsecho: support FSP-1030 UCSFROM/UCSTO/UCSSUBJ control lines FTS-0001 packet headers hold 35 bytes of To/From and 71 of Subject, which in UTF-8 can be as few as 8 and 17 characters. FSP-1030 (preserved as FRL-1021) carries the full field in a ^AUCSFROM:, ^AUCSTO: or ^AUCSSUBJ: control line. GoldED+ and AmberEdit now write them. Export: when a UTF-8 message's To, From or Subject does not fit its packet header field, echomail export and create_netmail() add the matching UCS* line with the full value (not on ASCII-only sub-boards, and not when the message already carries one). Import: for a UTF-8 message (per CHRS/CHARSET, or auto-detection), a UCS* line replaces the header field only if it extends what the packet header already says (allowing for a trailing partial UTF-8 sequence left by the sender's tosser), so it cannot substitute a different name or subject. An applied line is consumed; any other is kept as an unrecognized control line, as before. The full fields are worked out before anything matches on them: - twit list and subject filtering check the full fields as well as the packet's, so a filtered name or word past the cut is still caught, and entries written against cut names keep matching - netmail recipient matching (robots, AreaFix/ping, sysop aliases, user lookup) and the echomail recipient notification use the full To; user name matching ignores non-ASCII bytes, so a cut To could otherwise match a different local user than the full one Refs #1276 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  586. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 14:57:11 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbsecho.c diff
    sbbsecho: don't cut UTF-8 header fields mid-character on export FTS-0001 packed-message headers hold 35 bytes of To/From and 71 bytes of Subject. SMB header fields are unbounded, so export truncates them, and it did so by byte count: a UTF-8 field over the limit (e.g. a Cyrillic name, 2 bytes per letter) could end in a partial multi-byte sequence, which readers show as a replacement character. Echomail export and create_netmail() now copy these fields with utf8_strlcpy() when the message's header fields are UTF-8 and valid, so the cut falls on a character boundary. On ASCII-only (SUB_ASCII) sub-boards the field is converted from UTF-8 to CP437/ASCII before truncation rather than after, so it no longer converts an already-split sequence and keeps up to twice as many characters. Fixes #1276 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  587. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 13:35:39 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.7: why FILE_UTF8 rather than FILE_CHARSET Close the "other file encodings" open question with the reason: a bool the host may only set for a door that declared UTF-8 support keeps the decoding burden on the host, which can always transcode to CP437 or UTF-8, whereas an open-ended charset name would oblige every door to handle or refuse whatever a host might write. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  588. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 13:35:39 GMT-0700 (PDT)
    Modified Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.7: add ATASCII ATASCII joins the character set names for COMM_CHARSET and TERM_CHARSET and the TERM_TYPE tokens, modelled on PETSCII: it is a glyph set and a control-code set at once, with 0x9B as end of line. The can't-use-this- charset message rule notes that CR LF shows as graphics on an ATASCII terminal. Closes the ATASCII open question; Synchronet never writes it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  589. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 13:35:39 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    smbutil: list the 'L' lock-file regression fix in v322_new.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  590. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 13:35:39 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/smbutil.c diff
    smbutil: 'L' command leaves the message base lock file behind again Since bb6381902f (boots-19-reads, 2026-01-16), smb_close() removes the base's lock file whenever smb_t.is_locked is set. smbutil's 'L' command locks the base and then closes it, so the lock file it had just created was immediately deleted and 'L' did nothing. Clear is_locked after 'L' creates the lock, so the file stays until 'U' removes it. Reported by Nelgin (EOTLBBS) via DOVE-Net. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  591. Rob Swindell (on Debian Linux)
    Thu Oct 01 2026 13:35:39 GMT-0700 (PDT)
    Added Files:
    

    docs/doordrop_ini.md diff
    docs: DOORDROP.INI draft 0.7, renamed from DROPFILE.INI The customary file name is now DOORDROP.INI and the environment variable DOORDROP_INI. DROPFILE.INI was too close to the DROPFILE.### of DTS-0001, the 1992 named-value proposal the draft cites as prior art, and the rename comes before more implementations hardcode the old name (one host already shipped against draft 0.3 under it). The document moves to docs/doordrop_ini.md. The status section records the old names so readers of earlier drafts and that implementation can connect the two, and the naming open question is closed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  592. Rob Swindell (on Windows 11)
    Wed Sep 30 2026 23:43:54 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/vdmodem/vdmodem.c diff
    vdmodem: Don't spin a CPU in the main loop when idle or connected (#1176) With the default MainLoopDelay and SocketSelectTimeout of 0 (from 5fd72f315e, 2024-03-25), the main loop never blocked: SVDM used a full logical CPU while waiting for calls, and while connected. Rate pacing also spun whenever received data was waiting on the socket. Each pass now blocks: in select() while online (SocketSelectTimeout now defaults to 1ms), otherwise in the process-handle wait for at least 1ms, including while rate-limited so the mailslot and hangup event are still serviced every millisecond. The timer resolution is raised to 1ms for the duration of the loop so these waits (and thus the emulated data rate) aren't quantized to the default ~15ms tick. Setting SocketSelectTimeout=0 restores the old spin-wait while online. Incremented version to 0.7 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  593. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 22:24:10 GMT-0700 (PDT)
    Modified Files:
    

    docs/dropfile_ini.md diff
    docs: DROPFILE.INI draft 0.6 Looking the file up by name in a directory is allowed but discouraged: the door is always given the full path, and a door that looks by name anyway must ignore case and still accept a full path. Audit of Synchronet's external program options against the file: - New IDLE_LIMIT key in [session]: seconds without caller input before the host ends the session, so a door can warn the user or run its own idle timer - New [door] section with DOOR_CODE and DOOR_NAME, the configured entry that launched the program, for a program installed under several entries - TIME_LEFT mapping includes the door's extra time and maximum time; for a free-time door it is the lesser of the maximum time and the time until the next event, else omitted - Standard-I/O echo conflict noted: stdio requires no echo, so Synchronet treats the no-echo option as set for this drop file type - New X_SBBS_SECTION vendor key: the internal code of the external program section the door entry belongs to - To-dos for the "Use Real Name" option (gate USER_REALNAME, never alter USER_ALIAS) and WWIV color codes Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  594. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 20:47:25 GMT-0700 (PDT)
    Modified Files:
    

    docs/dropfile_ini.md diff
    docs: DROPFILE.INI draft 0.5 Incorporate NuSkooler's review of draft 0.3 (FSX BBS, 2026-09-30): - U+2028/U+2029 and the bidirectional format characters count as control characters, closing a key-injection hole in readers that split on them - USER_KEY starts with a letter or digit; doors prefix or hash it before using it in a path, so a device name or ".." can't reach the file system - Security: the file is only as trustworthy as whoever can write it; the host should make it writable only by itself; personal details should be a per-door sysop choice - Hosts keep other sessions' handles out of the door (handle list on Windows, close-on-exec on POSIX) - Unknown token values read as the key's default, never a more privileged one; LF-splitting readers strip the trailing CR - New TERM_TERMINFO key for the Telnet/SSH/RLogin terminal type name; TERM_NAME names its source - Screen size is a snapshot; a door that cares re-queries the terminal - SYS_FTN_ADDR lists every address, primary first, with optional @domain - New path type: file system bytes, never converted or cut; non-text values that don't fit are left out rather than cut - TERM_TYPE gains avatar, for converters from DORINFO1.DEF - FILE_CHARSET and ATASCII declined for now; SESSION_ID, connect-back doors, test files and message editor keys recorded as open questions Looking the file up by name in a directory is allowed but discouraged: the door is always given the full path, and a door that looks by name must ignore case. Add a coverage audit against the older drop files (DOOR.SYS, DOOR32.SYS, DORINFO1.DEF, CHAIN.TXT, CALLINFO.BBS, SFDOORS.DAT, TRIBBS.SYS, PCBOARD.SYS, DOORFILE.SR, BBSDEV.DRP, XTRN.DAT, Phenom Dropfile and DTS-0001), listing each field with no key and why, with proposals for the real gaps (phone, logons, last call, transfer totals, time used). Fix the DOOR.SYS citation: DTS-0001 is not DOOR.SYS but a 1992 proposal for a named-value DROPFILE.###, now cited as prior art; DOOR.SYS cites the Synchronet wiki page. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  595. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 20:19:01 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web Server: bound the shutdown wait for child threads, re-kick while waiting cleanup() looped on thread_count with no deadline. The previous commit (the shutdown() kick of listed session sockets) ends that loop quickly whenever the lingering thread is blocked on its client socket, but a thread blocked anywhere else - a script in a native call, a CGI pipe, a mutex - is out of its reach, and one such thread still held the whole server (and under systemd, the stop timeout) hostage until SIGKILL. Give up after TIMEOUT_THREAD_WAIT (60 s), the same bound the terminal, mail and FTP servers put on their own thread waits, logging "!TIMEOUT waiting for N child thread(s) to terminate" at error level. While waiting, re-run shutdown_sessions() every 5 s: a connection that completes its TLS handshake after the first pass is only then registered in current_connections, and each pass also logs what is still connected. A thread still running at the deadline is abandoned; the counter is left undestroyed (with a "!!!! Terminating with N child thread(s) still running" warning, as active_clients already does) so its eventual thread_down() is harmless. thread_count is initialized once per server start, not per recycle, so a thread abandoned by a recycle still decrements the right counter when it finally exits. Validated against a scratch web server (MaxInactivity = 10s) with an SSJS page that calls mswait(120000): before, the kick fired and the server was still "Waiting for 2 child threads" when SIGKILLed at 100 s; after, it logs the timeout and exits cleanly 73 s after SIGTERM (10 s client wait + 60 s thread wait), exit code 0, no core. The slow-client scenario from the previous commit still exits in 13 s. Budget note for systemd hosts: the worst case is now MaxInactivity plus 60 s. With the default TimeoutStopSec of 90 s and MaxInactivity = 1m, SIGKILL still arrives first; raise TimeoutStopSec or lower MaxInactivity if the timeout diagnostics are wanted in that case. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  596. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 19:51:43 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Web Server: shutdown() lingering session sockets when the client wait expires At terminate/recycle the web server thread waits up to MaxInactivity for the active clients to disconnect on their own, then gives up with "!TIMEOUT waiting for N active clients" and enters cleanup(), which loops until every child thread has exited. Nothing between those two steps did anything to the sessions that were still alive: a session thread blocked in a socket wait (the request-line read, the TLS close dance, the output thread's send) stayed blocked, cleanup() has no deadline, and the process never exited. On 2026-09-30 one idle HTTPS session on this host held the whole httpd service in "Waiting for 2 child threads to terminate" until systemd's 90 s stop timeout SIGKILLed it, 60 s of that budget having already gone to the active-client wait. Once the active-client wait expires, shutdown(SHUT_RDWR) the socket of every session still registered in current_connections. That wakes the blocked reader (recv() returns 0, poll() reports HUP) and lets the session thread run its normal teardown and exit; cleanup() then finishes within a second or two. Shutting down rather than closing keeps the descriptor owned by the session thread, which still performs the one real close, the same way the terminal server handles node sockets at terminate (8101584ded, symbol-19-seek, 2026-07-05). To make that safe, the session's current_connections node is now removed in close_session_socket(), immediately before the descriptor is closed, instead of at session-thread exit. Both the removal and the shutdown pass take the list lock, so the list never names a closed (and possibly reused) descriptor and a socket found in it is guaranteed to still be open. Validated against a scratch web server (MaxInactivity = 10s) with a plain HTTP client that sends a partial request line and then one byte every two seconds, so the session's inactivity timer never fires: before this change the server was still "Waiting for 2 child threads" 60 s after SIGTERM and had to be SIGKILLed; after it, the session is shut down the same second the client wait expires and the process exits 13 s after SIGTERM. Not covered: a connection still inside the TLS handshake is not yet in current_connections (it is added after the handshake, in client_on), so it cannot be kicked; cryptlib bounds that handshake at about 30 s. Which call the 2026-09-30 session thread was actually blocked in is not known (the SIGKILL left no core), so this is the safety net for that class of hang, not a fix for a specific blocking call. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  597. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 19:07:32 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbs_ini.c diff
    sbbs.ini: warn when a server-setting string value doesn't fit its field The same silent truncation as the previous commit, for the server settings sbbs_read_ini() copies into the *_startup_t structs. The config-library helper could not simply be reused here: sbbs.ini is read by the host program (sbbscon, sbbsctrl, ...) before any server exists, and libsbbs's lprintf() drops output until a server has installed its startup struct, as the first test showed (the xtrn.ini warning logged, the sbbs.ini one vanished). Two of the programs that compile this file, ntsvcs and sbbsctrl, provide no lprintf() of their own either. So the reader reports through the log callback (lputs/cbdata) of the startup struct it is filling, which every *_startup_t carries in its common leading members and which sbbscon installs before it reads the ini; a program that installed none stays silent, as before. A local ini_get_str() does the lookup and the checked copy, and the 51 copy sites move onto its INI_GET_STR() macro. Verified on a scratch install with a 265-character [BBS] LoginRequirements: sbbscon logs "!Config value 'LoginRequirements' truncated from 265 to 40 chars: ..." at startup, before the servers' own messages. Only the Linux build is verified. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  598. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 18:57:39 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scfglib.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfglib2.c diff
    Config loading: warn when an .ini string value doesn't fit its field Every string read from ctrl/*.ini into a fixed-size scfg_t field went through SAFECOPY(), which cuts silently. A value longer than its field (a 101-character external program command line, say) was simply lost past the limit, with nothing in any log, and the resulting behavior had to be reverse-engineered: a scratch external configured with a 103-char command ran without its trailing %n argument. Values reach those files by many paths (SCFG, scripts, hand editing, other tools), so SCFG's own input limit is not the only one in play. Add scfg_ini_get_str() and its INI_GET_STR() macro, which do the iniGetString() lookup and the copy into the field, and log a warning naming the key, the limit and the whole value when it had to be truncated, and move the 137 copy sites in scfglib1.c and scfglib2.c onto it (each now names its key once). Every program that links the config readers already supplies the lprintf() that load_cfg.c and readtext.c require, so there is no new link requirement. Verified by loading a scratch config with that 103-character command: "!Config value 'cmd' truncated from 103 to 100 chars: ..." is logged once, and the build is warning-free. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  599. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 18:54:48 GMT-0700 (PDT)
    Modified Files:
    

    docs/dropfile_ini.md diff
    docs: DROPFILE.INI draft 0.4 Changes since draft 0.3 (e7a825704e, mode-3-declare, 2026-09-26): - The bool type is now 0 (false) or any other unsigned decimal (true), so a key can later define values above 1 that mean true plus more detail, the way TERM_RIP grew from a yes/no into a version. Consumers test nonzero and must not compare against 1; producers write only 0 or 1 unless the key defines another value; a value above 1 must be a refinement of true, so a door that treats it as 1 still works. - TERM_MOUSE is the first key to use that: 1 = cell reports, 2 = pixel reports too (SGR-Pixels, mode 1016). The termgfx doors latch pixel mode today only from a DECRPM reply some terminals never send, or from a report that lands past the text grid; 2 closes that window. Source adds DECRQM requests for modes 1006 and 1016 on non-CTerm terminals, which report a mode without changing it. - PREF_MOUSE now means consent, not a hot-spot wish: 0 = the user has turned mouse use off, so a door must not enable reporting for hot-spots, menus or scrolling. A pointer-driven door (steering, aiming) may still capture the pointer and then offers its own switch. Synchronet has no per-user hot-spot setting; its MOUSE setting is the user's answer to "Does your terminal support mouse reporting". - Synchronet notes: TERM_MOUSE from per-session detection, falling back to the user's setting when detection was silent; PREF_MOUSE=0 when the setting is off. New to-do: keep the detected capability on the Terminal object, never in autoterm, because Terminal::get_flags() ORs the user's manual flags into the detected ones, so a detected MOUSE would override a user's "no"; the MOUSE setting then means consent and its question is reworded and defaulted from detection. - The forked-CTerm to-do is ticked (done in 45d5185bdb, lens-28-were, 2026-09-30). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  600. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 18:42:33 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/xtrn_sec.cpp diff
    DOOR.SYS: derive the caller-alarm field as PCBOARD.SYS does Fixes #1251 The DOOR.SYS writer hardcoded field 9 ("caller alarm") to Y, while the PCBOARD.SYS writer sets its alarm from whether an answer sound is configured and ctrl/sound.mute is absent. The same sysop setting therefore reached a door or not depending only on which drop-file format the door was configured for. Use the PCBOARD.SYS expression for DOOR.SYS too. Verified with a scratch external that copies its DOOR.SYS out: field 9 is Y with an answer sound configured and N once sound.mute exists. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  601. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 18:42:33 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/qwk.cpp diff
    QWK: restore the resume pointer and clean up after a failed download Fixes #1261 Fixes #1260 pack_qwk() advances both of a sub-board's pointers for every message it packs: the new-scan pointer and the on-line reader's resume position. When the download then failed (aborted transfer, quit at the protocol prompt, not enough time), qwk_download() put back only the new-scan pointers, so the next on-line read of that sub-board started at the last packed message rather than where the user had left off. Save and restore both. bbs.qwk_download() and bbs.qwk_upload() also depended on setup that only the QWK section stub does around them: refreshing the user's directory list (and sub-board list for QWK network nodes), and clearing the node's temporary directory afterwards. qwk_download() removed only the .qwk file, leaving MESSAGES.DAT, the index files, CONTROL.DAT and the rest in temp for the remainder of the session. Both methods now do that setup themselves, and the download clears the temp directory when done, so a custom shell or module can call them from anywhere. Verified on a scratch terminal server, quitting at the protocol prompt: before, the resume pointer had advanced from 0 to 1 and seven packet files remained in temp; after, both pointers are back at 0 and temp is empty. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  602. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 18:18:23 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_socket.cpp diff
    src/sbbs3/services.cpp diff
    Services: end a script's blocking socket read when it is terminated Fixes #1255 On shutdown the services thread closes the listening sockets and then waits, with no limit, for every dynamic service client to disconnect. A client blocked in Socket.recvline() only noticed the shutdown when the read's own timeout expired, since the read loop never looked at the termination flag. nntpservice.js reads with a 300-second timeout once its message base has closed, so one idle NNTP session held shutdown for up to five minutes, well past systemd's 90-second stop timeout, and the process was SIGKILLed. Backtraces from a stuck instance show exactly that: the client thread in js_recvline() with timeout=300, the services thread in its wait loop. The socket object's private data has a pointer to the script's callback struct, but it was only filled in when a script installed a socket event. Set it when every socket object is created (through a quiet lookup that returns NULL for a context without a "js" object), check it in the recvline read-check loop, and replace the single blocking wait inside js_socket_recv() with one-second steps that stop when the script is terminated, so recv() with a long timeout ends early too. Meanwhile the services thread logs, every ten seconds, which services still have clients connected and how many. Verified on a scratch services server with one idle NNTP client past its message-base close: SIGTERM to exit took more than 60 seconds before (the test gave up) and 2 seconds after. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  603. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 18:18:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/smbutil.c diff
    src/xpdev/conwrap.c diff
    src/xpdev/conwrap.h diff
    xp_getch(): return 0 at end of input instead of an uninitialized byte Fixes #1256 xp_getch() only checked read() for -1. At end of input read() returns 0, so the function fell through and returned whatever happened to be in its uninitialized stack byte. smbutil's message reader took that garbage as a keypress, hit its default case and prompted again, forever, at full CPU: "smbutil r1 base < /dev/null" printed 433,382 prompts in three seconds. Initialize the byte and treat read() <= 0 as the failure path, so end of input returns 0 like a read error (the header now says so), and make smbutil's reader stop on a 0 when its input is not a terminal. On a console a 0 can be the first of an extended key's two reads, so there the reader keeps looping as before. The other callers (chksmb, sbbsecho) only pause for a keypress and were never looping, so they need no change. Verified with the same command on a scratch message base: one prompt, "End of input", exit status 0, and the same through a pipe. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  604. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 17:59:54 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    Mail Server: don't log POP3 passwords or SMTP AUTH credentials Fixes #1267 With the receive/response debug options on, the mail server logged the POP3 PASS line, the SMTP AUTH LOGIN username and password responses, the AUTH PLAIN response (all base64, trivially decoded), and the AUTH PLAIN initial response on the command line was logged at LOG_DEBUG regardless of options. The "!Bad AUTH ..." notices logged the raw argument at NOTICE level. Anyone who could read the log could recover every password used to authenticate to the server. Redact those lines unless the sysop has set the "Echo Passwords Locally" system option (SM_ECHO_PW), the way the password-failure messages already honor it: a received command line is logged through loggable_line(), which replaces a POP3 password or an AUTH initial response with a placeholder, and a line that is nothing but credentials (an AUTH response) is logged as "<credentials>". Verified on a scratch mail server with the debug options on: POP3 USER/PASS, AUTH PLAIN (initial response and challenge forms), AUTH LOGIN and a malformed AUTH LOGIN argument all authenticate or fail as before, and the log holds no trace of the password in clear or base64; with SM_ECHO_PW set the lines are logged in full, as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  605. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 17:59:25 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/exec.cpp diff
    src/sbbs3/execmisc.cpp diff
    src/sbbs3/inkey.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/xtrn.cpp diff
    cmdstr(): bound the output by the caller's buffer size Fixes #1191 cmdstr() limited its output to the size of its own member buffer even when writing into a caller-supplied one whose size it was never told, so a caller with a smaller buffer could be overflowed. @TYPE: and @INCLUDE: did exactly that, expanding into atcode()'s output buffer with a bound of 511. Add an overload that takes the output buffer's size (with the mode as a required argument, so a call passing a NULL buffer and a mode can never resolve to it by accident) and route the unsized form through it with the member buffer's size. Every caller that passes its own buffer now passes its size too: atcode() hands over the maxlen it already had, and the Baja interpreter, the hot-key handler and execmisc pass sizeof their arrays. An expansion that does not fit is now logged as truncated instead of silently cut. Verified on a scratch terminal server: a short @INCLUDE: still displays the file through the sized path, and a 400-character one is handled within the caller's buffer. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  606. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 17:59:25 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    Web Server: log script errors, don't send them to the client Fixes #1203 js_ErrorReporter() wrote every uncaught JavaScript error, with the script's absolute path and line number, into the HTTP response body as well as the log, and the request still completed with a 200 and the page's content type. That disclosed the server's layout to any visitor who could make a script throw, and any error message that interpolated request data (a query parameter, header or cookie) was a reflected script-injection vector in the BBS's own origin. Log the error only. A reported error (a warning does not count, nor does exit(), which reports nothing) marks the session, and exec_ssjs() then fails the request instead of sending what the script produced before failing, so the normal 500 error path answers it. An error after the script has already sent its headers can only be logged, as before. Verified on a scratch web server: a page that throws with a query parameter in the message returns 500 with an empty body and the error is in the log; a page that ends with exit() still returns 200. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  607. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 17:59:25 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/sbbsdefs.js diff
    exec/msglist.js diff
    src/doors/termgfx/CMakeLists.txt diff
    src/doors/termgfx/audio_mgr.c diff
    src/sbbs3/getmsg.cpp diff
    src/sbbs3/putmsg.cpp diff
    src/sbbs3/sbbsdefs.h diff
    Strip terminal commands (APC strings) from displayed message text Fixes #1254 putmsg() strips a fixed list of terminal *queries* from everything it displays (so a reply never lands in the user's input), but passed every state-changing sequence through, and made no distinction between a sysop's display file and a message body. SyncTERM's C;S (store file) APC in a message therefore wrote a file into the SyncTERM cache of everyone who read it, persistently, under any name the poster chose. Add a P_NOAPC mode (and the matching sbbsdefs.js constant) under which putmsg() strips every APC string (ESC _ ... ESC \), and set it where message text is shown: show_msg() for the sub-board and mail readers, and the msglist.js lightbar reader. Display files keep full pass-through, since sysops embed fonts and images in them. The one shipped consumer that trusted a cached file by name alone, termgfx's door audio manager, now plays a client-cached track only when the MD5 the C;L listing reports for it matches the door's own copy, as syncterm_cache.js and the zmachine already require; without a door-side copy to check against, the client's file is not trusted and the track is uploaded as before. md5.c joins fnv1a.c as a hash-lib source compiled straight into termgfx. Verified on a scratch terminal server with a post and a mail carrying a C;S APC followed by a colored line: both readers show the text, the C++ reader keeps the SGR color code, and neither emits the APC. Every termgfx door rebuilds. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  608. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 16:49:11 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/filedat.c diff
    src/sbbs3/filedat.h diff
    src/sbbs3/upload.cpp diff
    src/smblib/smblib.vcxproj diff
    Blind uploads: answer the name search from the batch cache too (#1132) The blind-upload path refuses a file whose name already exists in any dupe-checked directory, and that search still opened and read every directory's index once per file, the same cost the hash scan had before the batch cache. Cache a hash of each index name (FNV-1a over the name folded to lower case, since the question is whether the name exists in any case) alongside the size and hash values, and answer the name search from it: a hash hit is confirmed by reading that one index, so a false positive costs an index read rather than a wrong "already online" verdict. dupe_cache_findfile() and dupe_cache_findname() now fall back to findfile() themselves when given no cache, so the callers no longer branch on whether one exists. Verified on the scratch install across three batch uploads under strace: every other directory's index was opened once per batch by the name pass and reused by the hash scan, where it had been opened once per file, and a file re-sent under an existing name was refused by the name pass. fnv1a.c is added to the MSVC smblib project, where the other hash sources are compiled; that side is not verified here. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  609. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 16:19:49 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/upload.cpp diff
    Upload: name the file being processed with @FILE_NAME@, not a format string The ProcessingUploadedFile text string added in the previous commit carried the filename as a printf %s parameter, which meant bputs() could not expand @-codes in it (a formatted string is untrusted, since the parameter could itself contain an @-code) and the ellipsis had to be spelled out. Instead, make the file being processed the subject of the @FILE_* codes for the duration of uploadfile() (current_file, as the download and file-info paths already do) and write the string with @FILE_NAME@ and @ELLIPSIS@, output with a plain bputs(). A sysop can now use any of the @FILE_* codes in that string. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  610. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 16:09:05 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/filedat.c diff
    src/sbbs3/filedat.h diff
    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    src/sbbs3/upload.cpp diff
    src/smblib/smbfile.c diff
    src/smblib/smblib.h diff
    Batch uploads: read each directory's file index once per batch (#1132) The duplicate-file scan that follows every upload opened and read every dupe-checked directory's file index (the .sid) for every uploaded file, so a batch of N files cost N passes over every index: on a system with 1,300 directories that is 1,300 opens and a full index read per file, and each open is a round trip when the data lives on a file server. Add a duplicate-check cache (dupe_cache_* in filedat.c) holding the size and hash values of each directory's files, read from its index the first time the directory is consulted and kept for the life of the batch. process_batch_upload_queue() creates it for the whole batch, uploadfile() consults it when present and records each file it adds so a later file in the same batch is checked against it too. A single-file upload is unchanged: the same one pass over the indexes it always made. smb_findfile()'s size-and-hash comparison moves into smb_filehash_match() so the cache and the index search apply the same rule. Also print the file's name before its upload testers, hashing and duplicate scan begin (new ProcessingUploadedFile text string), so the user can tell which file a long post-processing step belongs to. Verified on a scratch install with a fake batch protocol: within one batch, a file with the same content as an earlier one was reported as already uploaded, and so was one in a later batch; strace showed each directory's index opened once per batch by the duplicate scan. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  611. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 15:08:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbsecho.c diff
    SBBSecho: generate a Message-ID for imported netmail too (#1167) fmsgtosmsg() generated an RFC822 Message-ID only for messages going into a sub-board (added in 0eccdade66, 2005-09-01, for echomail cross- referencing); the mail-base branch never did. Every netmail SBBSecho imports was therefore stored without one, and SBBSecho's own locally originated notifications (e.g. "FAILED Area Management Request from ...", which have no net origin) are exactly what chksmb flags as "No Message-ID", as reported in the issue. Generate the default Message-ID after the branch, for netmail and echomail alike, the same way the BBS does for every message it stores. Verified on a scratch install by importing a packet holding a plain netmail and an AreaFix request from an unconfigured node: both the imported netmail and the resulting failure notification now carry a Message-ID and chksmb reports the mail base OK. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  612. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 15:08:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbsecho.c diff
    SBBSecho: don't write a stored-message header into an inbound packet import_netmail() marks a netmail message as received by writing its stored-message (*.msg) header back to the file it was read from. Since e7b93ae3f3 (types-26-ease, 2025-11-01) that write-back ran for packets too: update_fmsghdr() seeks to offset 0 and writes the 190-byte fmsghdr_t, which lands on the packet header and the first message. Any message that followed the imported netmail in the same packet was then read through the overwritten bytes (its type word became 256, from the destzone/origzone bytes of the stored header), reported as "Grunged message", and the packet was set aside as bad, losing the rest of its netmail and echomail. Before that commit the write-back was conditional on a *.msg path. Only write the header back for a *.msg file, at both of the sites that were made unconditional. The robot (uses_msg) site already branched on it. Reproduced with a hand-built Type-2+ packet carrying two netmail messages: the second was grunged at offset 177 with type 256 before the fix, and both import cleanly after it. Shipped in SBBSecho 3.37 with v3.21c and v3.21e. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  613. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 14:47:44 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/getmsg.cpp diff
    src/sbbs3/readmail.cpp diff
    src/sbbs3/readmsgs.cpp diff
    src/sbbs3/sbbs.h diff
    src/smblib/smbhash.c diff
    src/smblib/smblib.h diff
    Verify the title before acting on a subject-CRC match in the readers (#1208) The "search title forward/backward" commands (> and <) of the sub-board and mail readers decided that two messages share a title by comparing the 16-bit subject CRC stored in the index, and jumped to the first CRC match without ever reading its header. A CRC-16 collision therefore silently landed the user on a message with an unrelated title, and the real next match was skipped. The same omission gated a non-sub-op's view of deleted posts on the raw from-name CRC. Treat the index CRC as the candidate filter it is, the way the rest of these files already use the name CRCs: on a CRC hit, read the header and compare the actual strings. - New smb_subject_match() in smblib compares two subjects with the same normalization smb_subject_crc() applies (leading "RE:" prefixes, letter case and trailing white-space ignored); the RE:-skipping is now shared by both functions - New sbbs_t::msg_subject_matches() does the CRC pre-check, then loads the candidate header and compares subjects; all four title-search loops use it - The deleted-post visibility check for non-sub-ops confirms the author by name after the CRC match, mirroring the private-post check below it Reproduced on a scratch terminal server with three posts whose first and second titles share a CRC-16 (only the third truly matches the first): before, > from message 1 landed on message 2; after, it lands on message 3 and < returns to message 1, in both the sub-board and the mail reader. smb_subject_match() unit-checked against RE:, case, white-space and NULL inputs. The deleted-post change was not exercised. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  614. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 14:15:34 GMT-0700 (PDT)
    Modified Files:
    

    docs/dropfile_ini.md diff
    docs/v322_new.md diff
    exec/load/cterm_lib.js diff
    src/sbbs3/answer.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/terminal.h diff
    src/sbbs3/xtrn_sec.cpp diff
    Detect and report a forked CTerm's third version component (#1250) CTerm forks (e.g. TERMinator) answer the version query with a three-part version: the CTerm major.minor they were forked from, plus their own fork revision. Synchronet parsed only the first two parts, so the fork's own revision was lost. The integer encoding of console.cterm_version (major*1000 + minor) is too established to change, so the third component is stored separately: - Terminal::cterm_fork holds the fork revision (0 when the terminal is not a CTerm fork); cterm_version still holds the base CTerm version, so all existing feature checks keep working unchanged - New console.cterm_fork JS property exposes it (read/write, like cterm_version) - BBSDEV.DRP line 10 now retains the third component (e.g. "1.332.4"), as that spec requires for forked CTerms - The logon "received CTerm version report" log line includes it - cterm_lib.js sets console.cterm_fork too when it does its own DA query (the fallback for when the terminal server did not detect the version) Verified on a scratch terminal server with a client answering the query with "1;332;4c" (logged as 1.332.4, cterm_version=1332, cterm_fork=4) and with the usual SyncTERM "1;332c" (cterm_version=1332, cterm_fork=0). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  615. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 02:55:29 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    v3.22 release notes: translatable menu words, stock translations, @HOT@ Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  616. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 02:23:02 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/spitfire/file.msg diff
    text/menu/transfer.msg diff
    Transfer menus: "Batch Transfer Menu", not "Batch/Bi-dir xfers" Bidirectional file transfers haven't been supported since the v3.19 file base; the B command opens the batch transfer menu. The default and spitfire transfer menus now say so, with the translatable Transfer and Menu words. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  617. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 02:19:53 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.de.ini diff
    ctrl/text.es.ini diff
    ctrl/text.fr.ini diff
    Stock Spanish, French and German text: Main, Text, Transfer, etc. Translations for the Main, Text, Transfer, Area, Logoff, Section and Node strings, where the word differs from the English one. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  618. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 02:19:53 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/batchxfr.msg diff
    text/menu/chat.msg diff
    text/menu/e-mail.msg diff
    text/menu/editor.asc diff
    text/menu/mailread.msg diff
    text/menu/main.40col.msg diff
    text/menu/main.msg diff
    text/menu/maincfg.msg diff
    text/menu/maininfo.msg diff
    text/menu/major/main.asc diff
    text/menu/msgscan.asc diff
    text/menu/multchat.msg diff
    text/menu/pcboard/brdm.asc diff
    text/menu/privchat.asc diff
    text/menu/renegade/email.msg diff
    text/menu/renegade/main.msg diff
    text/menu/renegade/message.msg diff
    text/menu/renegade/transfer.msg diff
    text/menu/sentmail.msg diff
    text/menu/simple/filelist.asc diff
    text/menu/simple/main.asc diff
    text/menu/simple/readmsg.asc diff
    text/menu/simple/sendmsg.asc diff
    text/menu/spitfire/chat.msg diff
    text/menu/spitfire/e-mail.msg diff
    text/menu/spitfire/file.msg diff
    text/menu/spitfire/main.msg diff
    text/menu/spitfire/msg.msg diff
    text/menu/spitfire/multchat.msg diff
    text/menu/tempxfer.asc diff
    text/menu/transfer.40col.msg diff
    text/menu/transfer.msg diff
    text/menu/wildcat/file.asc diff
    text/menu/wildcat/main.asc diff
    text/menu/wildcat/msg.asc diff
    text/menu/xfercfg.msg diff
    text/menu/xferinfo.msg diff
    Stock menus: display Main, Text, Sysop, Transfer, Area, Logoff, Section and Node from the text strings These words are now displayed by @-code in the command menus, in the same way as the other translatable words; their lower-case uses are capitalized. The help screens, and label rows whose layout depends on a fixed width, are left as they were. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  619. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 02:13:58 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Add more translatable word text strings Main, Text, Sysop, Transfer, Area, Logoff, Section and Node: further words the stock menus use often, for display by @-code. They are inserted ahead of the noun strings (FileNoun ... UsersNoun), which keeps the *Noun group together at the end and renumbers it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  620. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:57:03 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/batchxfr.msg diff
    text/menu/chat.msg diff
    text/menu/e-mail.msg diff
    text/menu/main.40col.msg diff
    text/menu/main.msg diff
    text/menu/maincfg.msg diff
    text/menu/maininfo.msg diff
    text/menu/major/email.asc diff
    text/menu/major/file.asc diff
    text/menu/major/msg.asc diff
    text/menu/major/quickscn.asc diff
    text/menu/msgscan.asc diff
    text/menu/multchat.msg diff
    text/menu/pcboard/brdm.asc diff
    text/menu/privchat.asc diff
    text/menu/simple/filelist.asc diff
    text/menu/simple/main.asc diff
    text/menu/simple/readmsg.asc diff
    text/menu/simple/sendmsg.asc diff
    text/menu/spitfire/e-mail.msg diff
    text/menu/spitfire/file.msg diff
    text/menu/spitfire/multchat.msg diff
    text/menu/tempxfer.asc diff
    text/menu/transfer.40col.msg diff
    text/menu/transfer.msg diff
    text/menu/userinfo.msg diff
    text/menu/xfercfg.msg diff
    text/menu/xferinfo.msg diff
    Stock menus: capitalize nouns and display them from the text strings In the command menus, the lower-case nouns message(s), file(s), mail, user(s) and menu are now capitalized and displayed by the same @-codes as their capitalized forms (e.g. "Find text in @MessagesNoun@"), so they follow the user's language too. The rows keep their layout. The help screens (msglist, msgview, batflag) are prose and are left in lower case. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  621. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:56:16 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/batchxfr.msg diff
    text/menu/batflag.msg diff
    text/menu/chat.msg diff
    text/menu/e-mail.msg diff
    text/menu/editor.asc diff
    text/menu/mailread.msg diff
    text/menu/main.40col.msg diff
    text/menu/main.msg diff
    text/menu/maincfg.msg diff
    text/menu/maininfo.msg diff
    text/menu/major/email.asc diff
    text/menu/major/file.asc diff
    text/menu/major/main.asc diff
    text/menu/major/msg.asc diff
    text/menu/msglist.asc diff
    text/menu/msgscan.asc diff
    text/menu/msgview.asc diff
    text/menu/multchat.msg diff
    text/menu/obv-2/qwk.msg diff
    text/menu/pcboard/brdm.asc diff
    text/menu/privchat.asc diff
    text/menu/qwk.msg diff
    text/menu/renegade/email.msg diff
    text/menu/renegade/main.msg diff
    text/menu/renegade/message.msg diff
    text/menu/renegade/transfer.msg diff
    text/menu/sentmail.msg diff
    text/menu/simple/filelist.asc diff
    text/menu/simple/readmsg.asc diff
    text/menu/simple/sendmsg.asc diff
    text/menu/spitfire/msglist.asc diff
    text/menu/spitfire/msgview.asc diff
    text/menu/spitfire/multchat.msg diff
    text/menu/tail.msg diff
    text/menu/tempxfer.asc diff
    text/menu/transfer.40col.msg diff
    text/menu/transfer.msg diff
    text/menu/xfercfg.msg diff
    text/menu/xferinfo.msg diff
    Stock menus: clip over-long rows at the right margin A translated word longer than the English one can push a full-width menu row past the right margin, where the terminal wraps it and leaves a blank line. The menus that display translatable words now begin with @TRUNCATE@, so such a row is cut off at the margin instead. Nine menus that use all 80 columns in English (the spitfire and wildcat sets) are left without it, since truncating would change their English display. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  622. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:56:16 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.de.ini diff
    ctrl/text.es.ini diff
    ctrl/text.fr.ini diff
    exec/viewimsgs.js diff
    Stock Spanish, French and German text: single-word strings, fixes text.es.ini, text.fr.ini and text.de.ini now translate the single-word strings: the command words and nouns the stock menus display by @-code (List, Next, Search, Read, File, Message, ...), month and weekday abbreviations, and Never, Deleted, Deleting, Locally and the like. Wrong existing entries are corrected, among them French On/Off ("Sur", "De"), Minutes ("Compte-rendu") and the [JS] File ("Lime"); German On ("Auf"), Seconds ("Mnachschlag"), FREE ("KOSTEN") and Unlimited ("Unbergrenzt"); Spanish Yes ("Si"). The ago/from-now words are ones that read correctly after the number. Words whose first letter is a command key are chosen so they don't collide within a prompt (e.g. the QWK menu keys), and List starts with L in all three because the quoting prompt displays that key. German keeps Download and Upload, which are in common use and would otherwise share H. viewimsgs.js accepted only P and N while displaying the translated Previous and Next words; it now accepts the keys it shows. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  623. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:30:25 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/batchxfr.msg diff
    text/menu/batflag.msg diff
    text/menu/chat.msg diff
    text/menu/e-mail.msg diff
    text/menu/editor.asc diff
    text/menu/mailread.msg diff
    text/menu/main.40col.msg diff
    text/menu/main.msg diff
    text/menu/maincfg.msg diff
    text/menu/maininfo.msg diff
    text/menu/major/email.asc diff
    text/menu/major/file.asc diff
    text/menu/major/main.asc diff
    text/menu/major/msg.asc diff
    text/menu/msglist.asc diff
    text/menu/msgscan.asc diff
    text/menu/msgview.asc diff
    text/menu/multchat.msg diff
    text/menu/pcboard/brdm.asc diff
    text/menu/privchat.asc diff
    text/menu/renegade/email.msg diff
    text/menu/renegade/main.msg diff
    text/menu/renegade/message.msg diff
    text/menu/renegade/transfer.msg diff
    text/menu/sentmail.msg diff
    text/menu/simple/filelist.asc diff
    text/menu/simple/readmsg.asc diff
    text/menu/simple/sendmsg.asc diff
    text/menu/spitfire/chat.msg diff
    text/menu/spitfire/e-mail.msg diff
    text/menu/spitfire/file.msg diff
    text/menu/spitfire/main.msg diff
    text/menu/spitfire/msg.msg diff
    text/menu/spitfire/msglist.asc diff
    text/menu/spitfire/msgview.asc diff
    text/menu/spitfire/multchat.msg diff
    text/menu/tail.msg diff
    text/menu/tempxfer.asc diff
    text/menu/transfer.40col.msg diff
    text/menu/transfer.msg diff
    text/menu/wildcat/file.asc diff
    text/menu/wildcat/main.asc diff
    text/menu/wildcat/msg.asc diff
    text/menu/xfercfg.msg diff
    text/menu/xferinfo.msg diff
    Stock menus: display command words and nouns from the text strings In 45 of the stock menu files, the words that have a text string of their own (Quit, List, Next, Select, Upload, Download, Configure, Search, View, Chat, Reply, Send, Read, Delete, Edit, Change, Toggle, Find, Scan, Forward, Post, New, and the nouns File(s), Message(s), Menu, Mail, User(s)) are now displayed by @-code, e.g. "@List@ files in dir". A word translated once in a text.<lang>.ini file then appears in every menu, so a language needs fewer (or no) menu files of its own. The command keys are unchanged. Only a word that begins a command's description, or a capitalized noun, is replaced; section headings on a colored bar, split forms like "[Q]uit", the sysop menus and the WWIV-style menus are left as they were. Each run of padding after a replaced word becomes a space and a @POS:<column>@ anchor, so the columns and borders that follow stay in place when a translated word is longer. The English display is unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  624. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:25:24 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Add translatable noun text strings FileNoun, FilesNoun, MessageNoun, MessagesNoun, MenuNoun, MailNoun, UserNoun and UsersNoun ("File", "Files", ...): the nouns most used in the stock menus and prompts, for display by @-code (e.g. @FilesNoun@). The IDs carry a Noun suffix because the bare words are taken: text.js defines each ID as a global variable, and File, User and (in several scripts) Menu, Users and Messages are JavaScript classes or globals. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  625. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:17:43 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    docs/v322_new.md diff
    exec/load/text.js diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Add translatable command-word text strings Search, View, Chat, Reply, Send, Read, Delete, Edit, Change, Toggle, Find, Scan, Forward, PostVerb ("Post"; the Post ID is already the post-on-sub question) and New: single words for menu files and prompts to display by @-code (e.g. @Search@), so one set of stock menus can follow the user's language instead of needing a menu set per language. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  626. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 01:15:26 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/batchxfr.msg diff
    text/menu/batchxfr.rip diff
    Batch transfer menu: show the translatable Quit key and word The menu hard-coded "Q Quit", but batchxfer.js quits on the Quit key of the user's language, so with e.g. the Spanish text the menu showed a key that did nothing. The .msg and .rip menus now display @QUITCHAR@ and @Quit@ (the RIP button sends that key), as the QWK menus do. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  627. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 00:51:13 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    src/sbbs3/putmsg.cpp diff
    @HOT@: make @-codes displayed in the hot-spot attribute clickable too The auto-mouse hot-spot attribute (@HOT@) only applied to literal text in a display file; the expansion of an @-code shown in that attribute was not a hot-spot. The QWK menu's command keys stopped being clickable when they became @-codes (e.g. @QUITCHAR@), and the @MSGREREAD@ and @MSGREPLY@ keys in the mail menus never were. An @-code expanded in the hot attribute is now a hot-spot that sends the displayed text (when it contains no white-space), honoring the hungry or strict setting. putmsg() also clears the hot attribute when it finishes, so it can't carry over to @-codes in a later prompt. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  628. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 00:33:46 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/chksmb.c diff
    chksmb: compute a message's data block count once The data-block verification loop re-evaluated smb_datblocks(smb_getmsgdatlen(&msg)), which walks every data field, as its bound on each iteration. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  629. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 00:33:46 GMT-0700 (PDT)
    Modified Files:
    

    src/smblib/smbfile.c diff
    src/smblib/tests/smbfilenametest.c diff
    smb_removefile(): find the file's index record before changing anything The file's header was marked deleted and its data freed before its index record was looked up. A file passed in without its index record loaded (idx.number of 0, e.g. from smb_getmsghdr() alone) matched nothing, so the function failed with a "name not found" error only after leaving the index pointing at a deleted header. The index is now read and searched first; when the record is not there, SMB_ERR_NOT_FOUND is returned with the base untouched and an error that names the index record number. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  630. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 00:26:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/str.cpp diff
    New-scan hour entry: match am/pm by unique prefix, not first letter The hour prompt recognized the am/pm suffix by its first letter alone and tested AM first, so a translation whose AM and PM words begin with the same letter could never select PM. The typed suffix must now be one of the two words, or the beginning of exactly one of them: "1 p" and "1 pm" still work, an abbreviation that fits both words re-prompts, and so does a suffix that is neither (e.g. "1 apple", formerly taken as 1 am). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  631. Rob Swindell (on Debian Linux)
    Wed Sep 30 2026 00:20:42 GMT-0700 (PDT)
    Modified Files:
    

    exec/automsg.js diff
    exec/batchxfer.js diff
    exec/load/meme_chooser.js diff
    exec/load/user_info_prompts.js diff
    exec/sbbsimsg.js diff
    exec/text_sec.js diff
    exec/viewimsgs.js diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/download.cpp diff
    src/sbbs3/email.cpp diff
    src/sbbs3/getmsg.cpp diff
    src/sbbs3/getstr.cpp diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/readmsgs.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/str.cpp diff
    src/sbbs3/upload.cpp diff
    Quit key: more prompts, menu files, and high-bit Quit letters More prompts show and accept the resolved Quit key: the message vote prompt and the auto-message prompt (both displayed the translated Quit mnemonic but accepted only Q), the default-protocol prompt (user_info_prompts.js) and the meme chooser. Command keys are now declared before a prompt's menu file is displayed, so an @QUITCHAR@ in a custom menu file shows the key the prompt accepts: xfer_prot_menu() declares the protocol keys, plus the caller's extra keys (new optional argument), before displaying the protocol menu, and batchxfer.js and text_sec.js set console.cmd_keys before their menus. Scripts that are load()ed rather than executed as modules (viewimsgs.js, sbbsimsg.js, the libraries above) are not covered by the terminal server's per-script reset, so they clear console.cmd_keys themselves; text_sec.js clears it on leaving a section, so its section prompt always uses the same Quit key. The "~@Quit@" mnemonic compared the Quit key as a signed char against an unsigned first letter, which showed the explicit "(X)" key for any Quit word starting with a byte of 0x80 or above. getnum() no longer echoes a NUL when aborted while there is no Quit key. (#1242) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  632. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 23:47:14 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.es.ini diff
    docs/v322_new.md diff
    exec/batchxfer.js diff
    exec/privatemsg.js diff
    exec/qwk_sec.js diff
    exec/sbbsimsg.js diff
    exec/text_sec.js diff
    exec/viewimsgs.js diff
    Stock menus declare their command keys; Spanish Quit is "Salir" The private message, instant message, batch transfer, text section, and instant-message viewer menus set console.cmd_keys, so a translated Quit word that starts with one of their command letters no longer takes that letter (e.g. a Quit word starting with T at the Telegram prompt). The QWK menu resolves its Quit key the same way instead of with its own copy of the rule. With collisions handled, the stock Spanish Quit goes back to "Salir", and Select is translated ("Elegir"). (#1242) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  633. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 23:35:15 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/data.cpp diff
    src/sbbs3/download.cpp diff
    src/sbbs3/email.cpp diff
    src/sbbs3/getkey.cpp diff
    src/sbbs3/getmsg.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/scansubs.cpp diff
    src/sbbs3/upload.cpp diff
    Prompts declare their command keys, so Quit never shadows one Every prompt that combines the Quit key with other keys now declares those keys before it displays itself: the transfer protocol prompts (including the e-mail and netmail attachment prompts and the message attachment download prompt, which still let a translated Quit shadow a protocol), the file list prompts, the "Do you mean this user?" prompt, and the new-scan pointer prompts. The prompt then shows and accepts the resolved Quit key, e.g. "(Q)Salir" where a Spanish "Si" or a protocol already uses S. The file list download prompt now treats Ctrl-C as Quit rather than Next. unique_quit_key() and append_quit_key() are replaced by this. (#1242) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  634. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 23:24:13 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/obv-2/qwk.msg diff
    text/menu/qwk.msg diff
    text/menu/spitfire/qwk.msg diff
    QWK menus: don't truncate translated command words The menu files padded each command word to a fixed width (@Word|L9@), which cut off any translation longer than the English word. The words are now displayed at their natural width and the text that follows each one is anchored with @POS:<column>@, so a longer word uses the blank space before the next column or the border. English output is unchanged. A word long enough to reach the next anchor pushes the rest of that line right; of the stock translations only the French and German Quit do, in the spitfire menu. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  635. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 23:24:13 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    Show the resolved Quit key in @QUITCHAR@ and the ~@Quit@ mnemonic When a prompt's declared command keys move the Quit key off the first letter of the Quit word, a "~@Quit@" mnemonic now shows the key itself before the word, e.g. "(Q)Salir", and shows the bare word when there is no Quit key. @QUITCHAR@ expands to nothing in that case. (#1242) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

  636. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 19:31:59 GMT-0700 (PDT)
    Modified Files:
    

    exec/fseditor.js diff
    FSEditor: keep the trailing space of a "-- " signature delimiter line FSEditor trims trailing whitespace from each line when it saves, which turned the standard signature delimiter "-- " (RFC 3676) into "--". The delimiter is how a signature is recognized and stored as the message tail, so a message saved from FSEditor lost that separation. A line of exactly "-- " is now saved as is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  637. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 19:27:06 GMT-0700 (PDT)
    Added Files:
    

    src/smblib/tests/smbupdatetest.c diff
    Modified Files:

    src/sbbs3/writemsg.cpp diff
    src/smblib/smbfile.c diff
    src/smblib/smblib.h diff
    src/smblib/tests/GNUmakefile diff
    Edit only a message's body, and write its new text before freeing the old editmsg() freed a message's data blocks before allocating and writing the replacement, and wrote the header last. A failure in between (an allocation or write error, or a crash) left the header naming blocks that were already free, which the next message could be given and overwrite. It also put the body and tail (the signature, or an imported message's tear and origin lines) in the editor together and stored the result as a single body field, so after an edit the tail was no longer kept apart: the terminal server word-wrapped the signature with the body, and JavaScript readers found it in the body instead of the tail. editmsg() now edits only the body and keeps the tail as it is, and stores the text with the new smb_updatemsgtxt(), which writes the new data blocks, then the header and index, and only then frees the old blocks. A failure part-way leaks blocks (which chksmb reports and fixsmb reclaims) rather than leaving the message pointing at freed ones. smb_updatemsgtxt() is the former body of smb_updatefile(), from 3a687044d3 (item-11-focal, 2026-09-21), which already replaced a file record's text this way; smb_updatefile() now calls it. Add smbupdatetest to src/smblib/tests. Fixes #1252 Fixes #1270 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  638. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 19:00:13 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsecho.h diff
    SBBSecho v3.38 First version change since the v3.21e release (v3.37). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  639. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 18:57:46 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsecho.c diff
    SBBSecho: give each generated NetMail a unique MSGID serial The MSGID of a NetMail message SBBSecho creates itself (AreaMgr replies, notify lists, etc.), added in 96712a1c35 (focuses-28-lives, 2021-11-12), used the current time in seconds as its serial. Messages created within the same second, such as the parts of a notify or area list split across several NetMails to one node, therefore shared a MSGID, which FTS-0009 requires to be unique for the origin address, and which a receiving tosser checking NetMail for duplicates by MSGID could discard. The serial is now the current time, or one more than the last serial used, whichever is greater. Related: #1257 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  640. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 18:53:22 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/chksmb.c diff
    src/sbbs3/fixsmb.c diff
    src/sbbs3/smbutil.c diff
    src/smblib/smblib.c diff
    src/smblib/smblib.h diff
    fixsmb/chksmb/smbutil: don't skip headers after a corrupt one fixsmb, chksmb and the analysis pass of smbutil pack step from one header to the next by the header's calculated length (the sum of its fields). When a header is damaged so that its fields add up to more than its stored length (a field length overwritten, or its tail zeroed), that step jumps over the headers that follow: fixsmb leaves them out of the index it rebuilds, and chksmb neither counts them nor reports them as orphaned. New smb_msghdrblocks() returns the blocks a header occupies for this purpose: the lesser of its stored and calculated lengths, and at least one block. The two differ only for a damaged header; a header is rewritten in place only when its new length fits in the blocks it already has. fixsmb also treated a live header as a duplicate, and left it out of the index, when a deleted header with the same message number came before it. That is the normal state of a header that grew and was relocated (the old copy is marked deleted), so such messages were dropped from the rebuilt index. Deleted headers no longer count toward duplicate numbers, unless -undelete is given. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  641. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 18:32:37 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsecho.c diff
    SBBSecho: export a message's declared charset as its CHRS A message posted with a MIME charset other than UTF-8 (for example from an NNTP client set to ISO-8859-1 or Windows-1252) was exported to FidoNet as "CHRS: CP437 2", so FTN readers mis-rendered its accented characters. Netmail and echomail export now share ftn_charset(). When a message has 8-bit body text, no FTN charset and is not UTF-8, its MIME charset is mapped to the matching FTS-5003 identifier: LATIN-1/2/5/9, CP1250/1251/ 1252, CP850/852/866 (or CP437). Names are matched ignoring case, '-' and '_'. Charsets FTS-5003 has no identifier for still export as CP437. The configured origin line is CP437, so it is reduced to ASCII when the message goes out in one of those other 8-bit charsets. A message whose only 8-bit text is the origin line is still labeled CP437. Fixes #1259 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  642. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 18:00:32 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/getmsg.cpp diff
    src/sbbs3/scansubs.cpp diff
    New-scan pointer list: show "All" for a sub with nothing read When a new-scan pointer was set by date and a sub had no messages before that date, the pointer correctly landed before the sub's first message, but the pointer list showed the first message's date. That date is later than the one the user entered, so the setting looked like it had been ignored (#1266). getmsgtime() now returns 0 when the pointer is before the first message, and the pointer list shows the "All" text string for such a sub (all of its messages are new). A group's "All" date prompt now defaults to the latest pointer date among the subs that have actually been read, and a date prompt with nothing read defaults to the current time, as the all-groups prompt already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  643. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 17:03:34 GMT-0700 (PDT)
    Added Files:
    

    src/smblib/tests/smbfilenametest.c diff
    Modified Files:

    src/smblib/tests/GNUmakefile diff
    smblib tests: file names that differ only in case Add smbfilenametest, run by "make test", for a file base holding names that differ only in case: that a name lookup prefers an exact-case match, that smb_findfile_other() skips only the file named by number, and that removing one file drops only its own index record, identified by the index's number even when the header's copy no longer matches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  644. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:55:20 GMT-0700 (PDT)
    Modified Files:
    

    src/smblib/smbfile.c diff
    smb_findfile(): prefer an exact-case name match A file name lookup returned the first index record matching the name while ignoring case. When a base holds names that differ only in case, the later of them could never be found by name: FileBase.get(), update(), and remove() all reached the earlier file instead, whatever case the caller gave. Return an exact-case match when there is one, and otherwise the first case-insensitive match as before. A lookup given the stored case still stops at the first match; one given a different case now reads the rest of the index, as a lookup of a name that isn't there already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  645. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:55:20 GMT-0700 (PDT)
    Modified Files:
    

    src/smblib/smbfile.c diff
    smb_removefile(): remove only the file's own index record Removing a file dropped every index record whose name matched the file's, ignoring case, not just its own. In a base holding names that differ only in case (e.g. a.txt and A.txt), removing either one also dropped the other's index record, orphaning its header and data: still active in the base, but no longer findable or listed. Identify the record by the number in the index record the file was loaded from. The header carries the same number, but nothing checks the two agree on read, and a header whose number no longer matched would leave the file's index record in place, pointing at a header already marked deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  646. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:55:20 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/file.cpp diff
    src/sbbs3/filedat.c diff
    src/sbbs3/filedat.h diff
    src/sbbs3/js_filebase.cpp diff
    src/smblib/smbfile.c diff
    src/smblib/smblib.h diff
    File renames: check a new name against every other file, ignoring case Renaming a file checked for a duplicate with smb_findfile(), which returns the first case-insensitive match. For a rename that changes only the case, that match may be the file being renamed: FileBase.update() then refused the rename as a duplicate of itself, while the file-info editor skipped the check for such renames. But a base can already hold names differing only in case (renamed in by the since-fixed file-info editor check, or colliding in the 64-character index name), and there a case-only rename in the editor could give two files an identical name. On a case-sensitive file system the rename could also replace the other file on disk. Add smb_findfile_other(), and a findfile_other() wrapper, which match a name ignoring case against every file but the one being renamed, and use them in both rename paths for any change of name, including case. A case-only rename now succeeds unless another file already has that name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  647. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:55:19 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/file.cpp diff
    File name editor: check the new name, not an uninitialized buffer When a sysop renamed a file from the file-info editor, the check for an existing file of the new name was handed 'path' before anything had been written to it, rather than the name just entered. The check read stack garbage, so renaming a file onto another in the same directory was not refused: it overwrote that file on disk and left two index records with the same name. Present since ef11784f06 (founder-3-nickel, 2021-05-13), which added file info editing from the extended file info prompt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  648. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:55:19 GMT-0700 (PDT)
    Added Files:
    

    src/smblib/tests/smballoctest.c diff
    Modified Files:

    docs/v322_new.md diff
    src/sbbs3/chksmb.c diff
    src/smblib/smballoc.c diff
    src/smblib/smblib.c diff
    src/smblib/tests/GNUmakefile diff
    SMB: reference-count message data over its whole span A message's data is allocated as one contiguous span, and smbutil pack references shared data over that span, but smb_freemsg_dfields() and smb_incmsg_dfields() adjusted the counts one data field at a time: each field from the block its offset falls in, for as many blocks as its own length rounds up to. When the body ends inside a block and a tail follows, that block was adjusted twice and the block the tail spills into not at all. So: * deleting a message never freed the tail's spill block (a leak, which a pack reclaims); * after a pack re-referenced shared data by span, deleting one copy freed blocks the other copies still used; * fixsmb, rebuilding the .sda from zero per field, left the spill block of every live message with a tail counted 0, so the next self-packing allocation could overwrite the end of that message. Signature tails make this common for mail: savemsg() stores everything after a "-- " line as a tail, and mail to several local recipients shares one copy of the data. Both functions now adjust the whole span in one call, and fixsmb, which uses smb_incmsg_dfields(), rebuilds by span. smb_getmsgdatlen() returns the extent of the data (the end of the furthest field) rather than the sum of the field lengths; the two are equal for all data written today. chksmb checked only the blocks the per-field arithmetic reached, so it could not see a spill block marked free. It now checks every block of the span, and reports those as misallocated active data blocks, which fixsmb repairs. Add smballoctest to src/smblib/tests. Fixes #1253 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  649. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:21:23 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/viewfile.cpp diff
    File view prompt: show the full filename; log files missing on disk The view/extended-info prompt squeezed the name into an 8.3 buffer, so every SyncTERM-1.x-setup.exe was labeled "SyncTERM.exe". Show the name in full; a long one wraps the prompt rather than becoming ambiguous. Viewing a file whose record exists but whose file doesn't still tells the user only "File not found", but now also logs a warning naming the file, its directory, and the path, since it's the sysop's to fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  650. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:21:23 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/filecontents_lib.js diff
    src/sbbs3/js_filebase.cpp diff
    FileBase.update(): don't take a name's case difference for a rename FileBase lookups ignore case, but update() compared the caller's name with the stored one exactly. Updating useredit.exe (stored lowercase) under its on-disk spelling UserEdit.exe was taken as a rename to useredit.exe, which "already exists in base" -- the same record -- and threw. Had the check passed, the file on disk would have been renamed to lowercase. update() now carries on with the stored name when the caller's differs only in case. filecontents_lib.js also names the record by its stored spelling when saving an archive listing, so viewing such a file no longer fails with this error on builds without the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  651. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 16:19:36 GMT-0700 (PDT)
    Added Files:
    

    src/smblib/tests/GNUmakefile diff
    src/smblib/tests/smbfiletest.c diff
    src/smblib/tests/smbidxtest.c diff
    Modified Files:

    src/sbbs3/file.cpp diff
    src/sbbs3/sbbs.h diff
    Keep a file's auxdata when editing its extended description Editing a file's extended description in the terminal server replaced the record's data through editmsg(), which only knows the message layout. It freed both data fields, wrote just the new description, and left the TEXT_TAIL field in the header: for a record with a description, the tail then pointed past the new text into free space or another record's data; for a record with only auxdata, the tail was overwritten and the auxdata (including the stored archive content listing) was lost. editfileinfo() now calls a new editfileextdesc(), which runs the same editor on the description, reads the record's stored auxdata back from disk (the file lister loads records without it), and replaces both fields with smb_updatefile(). The record's index position is re-read first, as smb_updatemsg() does, since other nodes may have changed the index since the listing was loaded. smb_getmsgtxt() appends a CRLF to each data field's text, so that one CRLF is dropped from the auxdata before it is written back; otherwise every edit would add one. Add src/smblib/tests/, with a GNUmakefile ("make" builds the tests, "make test" runs them), smbfiletest covering both record layouts, and smbidxtest for the index auto-repair in smb_new_msghdr(). Fixes #1269 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  652. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 15:51:10 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/str.cpp diff
    New-scan time entry: re-prompt the hour in place The date/time entry prompts share one line (Year, Month, Day, Hour, Minute). When the hour was rejected, the re-prompt started a new line and repeated the "Hour:" prompt. Instead, erase the rejected input, sound the bell, and present the suggested value in the same field. (#1265) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  653. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 15:29:51 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/str.cpp diff
    New-scan time entry: re-prompt for an hour of 1-12 without am/pm On a 12-hour-clock system, a bare hour of 1-12 is ambiguous: after seeing "12 am", typing "12" means midnight to the user but noon as a 24-hour value. Reject it and re-prompt with the hour and the original time's am/pm pre-filled (e.g. "3" becomes "3 pm"), so Enter accepts it or the suffix can be changed. Other invalid input re-prompts with the original value. A bare 0 or 13-23 is still accepted as a 24-hour value; 24-hour-clock systems are unchanged. (#1265) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  654. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 14:39:07 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/date_str.c diff
    src/sbbs3/getnode.cpp diff
    src/sbbs3/main.cpp diff
    Dates, times, and node activity follow the user's language A terminal session's copy of the configuration pointed at the system's default text strings, so the weekday and month names, "Never", and the node status/activity text formatted through it ignored the user's text.<lang>.ini translations. Point it at the session's own text strings. Displayed times also take their am/pm from the NScanAmQ and NScanPmQ text strings (" am"/" pm", whose leading space is the separator) instead of hard-coded English, as does the node list's download ETA. (#1265) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  655. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 14:39:07 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/str.cpp diff
    New-scan time entry: show am/pm in the hour field, drop the pm?/am? question On a 12-hour-clock system, the hour field was pre-filled with just the hour (e.g. "1" for 1:29 pm), followed by a "pm?" or "am?" yes/no question whose default came from the original time. Users read the bare hour as a 24-hour value and ended up with pm when they meant am. The hour is now pre-filled with its am/pm (e.g. "1 pm") and accepts either an hour of 1-12 with an am or pm suffix ("1 am", "1pm", "1 p") or a bare 24-hour value (0-23); the separate question is gone. The suffix is matched by the first letter of the translatable NScanAmQ and NScanPmQ text strings, so translations of those must start with different letters. Hours over 23 are now rejected in 24-hour mode as well. (#1265) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  656. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 14:37:30 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/getmsg.cpp diff
    Message listings: don't emit control chars from UTF-8 header fields Converting a UTF-8 header field to CP437 can yield a control character: U+263A (white smiling face) maps to 0x01, i.e. Ctrl-A. Since a81d979492 (teeth-19-temp, 2026-07-28) the message/mail listings pass the converted fields through bputs(), which interprets such bytes rather than displaying them. A subject ending in U+263A put "\1\r\n" at the end of its line: the Ctrl-A consumed the CR (toggling CON_ECHO_OFF for users without flag M), and the bare LF left the column at the P_TRUNCATE limit, so the entire next listing line was truncated to nothing. msghdr_field() now replaces any control character in the converted field with the inverted question mark used for unsupported code points. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  657. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 14:34:35 GMT-0700 (PDT)
    Added Files:
    

    xtrn/mrc/.gitignore diff
    mrc: ignore the live config and stats files mrc-client.ini and mrc-connector.ini are the sysop's copies of the *.example.ini files, and mrcstats.dat is written by mrc-connector.js at run time. None belong in the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  658. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 14:12:23 GMT-0700 (PDT)
    Modified Files:
    

    .claude/skills/jsexec/SKILL.md diff
    jsexec skill: stale exec image through a CIFS mount Document the cfg->size != sizeof(scfg_t) error that survives a rebuild when exec/ is reached through a Linux CIFS/SMB mount: while any process is still running the old binary through the mount path, new execs get the same cached old image. Covers how to tell, how to clear it, and how to keep long-running services from causing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  659. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 14:12:23 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/jsexec.cpp diff
    jsexec: don't call lprintf() from the SIGTERM/SIGHUP handlers break_handler() and recycle_handler() logged "Terminated/Recycled Locally" via lprintf(), which locks output_mutex. A signal arriving while the main thread was inside lprintf() deadlocked the process on that mutex, so a long-running jsexec service (IRC bot, ircd) could ignore SIGTERM until systemd's stop timeout SIGKILLed it. Reproduced in 15 of 40 SIGTERMs to a script that logs continuously; 0 of 40 with this change. The handlers now only record the signal and set the flags; the messages are logged from the main thread once js_exec() returns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  660. Rob Swindell (on Debian Linux)
    Tue Sep 29 2026 13:02:11 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_internal.cpp diff
    js: report limit and background context in "Infinite loop" errors The error now includes the limit that was exceeded and whether the operation callback belongs to a load(true, ...) background thread, so a report identifies which counter fired. A long-running jsexec script that sets js.branch_limit = 0 in its own context can still hit this error from another callback, and the old message gave no way to tell them apart. Also print the uint32_t counter with %u rather than %lu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  661. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 21:17:32 GMT-0700 (PDT)
    Modified Files:
    

    exec/batchxfer.js diff
    batchxfer.js: make "use strict" take effect; const -> var "use strict" followed the require() calls, so it was not a directive and the module never ran in strict mode (#1263). Move it to the top of the file. Also replace the two const declarations with var: one was re-declared on every pass of the menu loop, and const semantics differ between SpiderMonkey 1.8.5 and 128. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  662. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 21:14:03 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    v3.22 release notes: translated Quit key fix, stock es/fr Quit words Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  663. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 21:06:21 GMT-0700 (PDT)
    Modified Files:
    

    exec/qwk_sec.js diff
    src/sbbs3/sbbs.h diff
    Harden command keys: empty command words, negative char in toupper() - qwk_sec.js: an empty command-word text string gave a NUL command key, which cut short the key list passed to console.getkeys() and disabled the other menu keys; now it is logged as an error and skipped (Quit falls back to 'Q') - sbbs.h: the yes_key() ... pointers_key() helpers now cast the first character to uchar before toupper(), which is undefined for a negative (high-bit) char, e.g. a translation starting with a CP437 letter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  664. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 21:06:21 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.es.ini diff
    ctrl/text.fr.ini diff
    Spanish/French text: Quit words no longer collide with Download The stock Spanish ("Dejar") and French ("Demissionner") translations of Quit start with D, the same key as Download. The QWK menu fell back to Q for Quit, but its menu files displayed D for both. Use "Terminar" and "Quitter", which collide with no QWK menu key. (#1242) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  665. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 21:06:21 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/obv-2/qwk.msg diff
    text/menu/qwk.msg diff
    text/menu/spitfire/qwk.msg diff
    QWK menu files: fixed-width command words, lowercase obv-2 keys Give each translatable command-word @-code in the default, spitfire, and obv-2 QWK menus a fixed width (e.g. @Download|L8@), the length of the English word, so a translation of a different length is padded or truncated instead of shifting the menu borders. The obv-2 menu's command keys are lower-case again (@DOWNLOADCHAR|D@ etc.), as they were before the keys became @-codes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  666. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 20:36:17 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    text/menu/obv-2/qwk.msg diff
    text/menu/qwk.msg diff
    text/menu/qwk.rip diff
    text/menu/spitfire/qwk.msg diff
    QWK menu files: show translatable command keys and words The QWK menu files (default, RIP, obv-2, and spitfire) now display their command keys with the @UPLOADCHAR@, @DOWNLOADCHAR@, @CONFIGURECHAR@, @SELECTCHAR@, @POINTERSCHAR@, and @QUITCHAR@ @-codes and, where a line uses the command word itself, the translatable @Upload@, @Download@, @Select@, @Pointers@, and @Quit@ text strings. With English text the menus display as before, except that the obv-2 menu's key letters are now uppercase. The obv-2 command words keep their lowercase, two-color style for words of any length: lower-cased with the D modifier and colored with a no-wrap rainbow (@RAINBOW:G:G:G:HK@), restored with @RAINBOW:DEFAULT@ at the end of each word. (#1242) Also remove the defunct "Bidirectional REP/QWK Transfer" option from the RIP and obv-2 QWK menus: no version of the QWK menu accepts its 'B' key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  667. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 20:36:17 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    Add the 'D' @-code format modifier: lower-case the expanded value @CODE|D@ and @CODE-D@ lower-case the expanded @-code value, the counterpart of the 'U' (upper-case) modifier, with the same alignment behavior. E.g. @Download|D>@ displays the Download text string in lower-case, at its natural length. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  668. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 20:25:04 GMT-0700 (PDT)
    Modified Files:
    

    text/menu/batchxfr.rip diff
    text/menu/transfer.rip diff
    RIP menus: drop the defunct bidirectional batch transfer option The batch transfer menu accepts no 'B' key (bidirectional transfers are not supported), so remove its "Bidirectional Transfer" button and label from batchxfr.rip, and relabel transfer.rip's batch menu button from "Batch/Bidirectional" to "Batch File Transfer". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  669. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 20:18:41 GMT-0700 (PDT)
    Modified Files:
    

    exec/qwk_sec.js diff
    qwk_sec.js: take the QWK menu command keys from translatable text The QWK menu's Download, Upload, Configure, Select, Pointers, and Quit keys now come from console.*_key (the first letters of the translatable command-word text strings) instead of hard-coded English letters. When two keys collide (e.g. a translation's Quit and Download both start with the same letter), an error naming the strings and the user's language is logged for the sysop. The first command in the order Download, Upload, Configure, Select, Pointers keeps the key; Quit falls back to 'Q'. (#1242) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  670. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 20:12:47 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    exec/load/text.js diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Add translatable Upload/Download/Configure/Select/Pointers command keys New text.dat strings Upload, Download, Configure, Select, and Pointers (reusable command words, translatable in text.<lang>.ini), each with a command key taken from its first letter, uppercased, like the existing Yes/No/Quit/All/List/Next/Prev keys: - C++: upload_key(), download_key(), configure_key(), select_key(), pointers_key() - JS: console.upload_key, download_key, configure_key, select_key, pointers_key - @-codes: @UPLOADCHAR@, @DOWNLOADCHAR@, @CONFIGURECHAR@, @SELECTCHAR@, @POINTERSCHAR@ New @RAINBOW:DEFAULT@ restores the sysop-configured rainbow colors after a @RAINBOW:<list>@, so a display file can use its own rainbow list without changing @RAINBOW@ output for the rest of the session. The existing console.*_key properties now return the uppercased key, the same value as their C++ counterparts, rather than the raw first character of the text string (only different for a translation starting with a lowercase letter). For localizing the QWK menu (#1242). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  671. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 19:12:20 GMT-0700 (PDT)
    Modified Files:
    

    exec/qwk_sec.js diff
    qwk_sec.js: strict mode, and match the old C++ menu's text handling - Move "use strict" to the top of the file, where it takes effect (#1263) - Upper-case only an ASCII first letter of the Quit text for the quit key, like C toupper() does (and as the C++ protocol prompts still do), so a translation starting with a non-ASCII letter gets the same quit key in both places - Expand @-codes in a QWK settings text string that has no % specifiers, as the C++ bprintf() did when printing such a string Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  672. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 18:50:35 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgsys.c diff
    SCFG: require at least one QWK Section loadable module The QWK menu has no built-in fallback, so removing every "QWK Section" module entry would leave users with only an error message. Like the Email, Chat, and Text File Section modules, don't allow deleting or cutting the last entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  673. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 18:37:51 GMT-0700 (PDT)
    Added Files:
    

    exec/qwk_sec.js diff
    Modified Files:

    docs/v322_new.md diff
    src/sbbs3/load_cfg.c diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    Make the QWK menu a loadable JavaScript module (qwk_sec.js) Replace the built-in QWK message packet menu with exec/qwk_sec.js, run as the new "QWK Section" loadable module (SCFG->System->Loadable Modules, main.ini [module] qwksec, default "qwk_sec"). The menu keys, prompts, and settings screen are unchanged. Packet transfer stays in C++ via bbs.qwk_download() and bbs.qwk_upload(). With the menu in JavaScript, its prompts and command keys can be localized there, which is the intended fix for #1242. If the module can't be run, the user sees an error message instead of the menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  674. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 18:21:16 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/sbbs.h diff
    Add bbs.qwk_download(), bbs.qwk_upload(), bbs.get_archive_formats() Move the QWK menu's Download and Upload commands into sbbs_t member functions exposed to JavaScript, and the settings screen's archive-type list into user_archive_formats(), in preparation for making the QWK menu a loadable JavaScript module (#1242). qwk_download() snapshots the message scan pointers before packing and restores them on every outcome except a successful transfer, and deletes the packet after every attempt. This fixes two bugs: - When the estimated transfer time exceeded the user's time left, the menu exited with the pointers already advanced by packing, so the packed messages were never offered again. - After a failed or aborted transfer, the packet was left in the temp directory and resent by the next Download without repacking, so the pointers were not advanced and the same messages were downloaded again next session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  675. Rob Swindell (on Debian Linux)
    Mon Sep 28 2026 17:15:17 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/download.cpp diff
    src/sbbs3/getkey.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/upload.cpp diff
    Don't let a translated Quit key shadow a command key (#1242) The Quit key is the first letter of the (translatable) "Quit" text string, but many prompts pair it with hard-coded English command keys and test for Quit first. When the two collided, the command became unreachable: with the stock Spanish translation (Quit: Dejar) the QWK menu's 'D' (Download) exited the menu, and with "Salir" 'S' (Select areas) did. This has been the case since the Quit key became translatable in 9513bdbaa6 (paper-3-legs, 2021-11-18). Add unique_quit_key(), which returns 'Q' instead when the translated Quit key is already one of a prompt's command keys, and append_quit_key(), which adds that key to a getkeys() key list. Use them in the QWK menu, the transfer protocol prompts (whose keys include 'D' and 'S' in the stock configuration), the file remove/old-files prompt and the file list batch flag prompt (whose stock FileListBatchCommands text shows "[Q]uit"). A prompt that displays the Quit mnemonic via @Quit@ still shows the translated letter when this fallback applies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  676. Rob Swindell (on Debian Linux)
    Sat Sep 26 2026 16:08:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/dropfile_ini.md diff
    docs: DROPFILE.INI draft 0.3 Changes since draft 0.2 (7022cd5556, suppliers-28-info, 2026-09-26): - New host keys in [system]: SYS_HOSTNAME (public Internet host name), SYS_FTN_ADDR (primary FidoNet address, for inter-BBS games), SYS_LOCATION, SYS_OP_AVAILABLE (whether the sysop can be paged) and SYS_DATE_FORMAT (mdy, dmy or ymd). SYS_OP now allows any name the sysop is configured with, not only an alias. - New user keys in [user]: USER_EMAIL (the user's address on the host), USER_NETMAIL (the user's forwarding address, Internet or FidoNet) and USER_PROTOCOL (how the caller connected: telnet, rlogin, ssh, raw, websocket or serial). USER_ROLE gains guest, so doors can avoid saving progress for a shared account. USER_HANDLE may be an amateur radio call sign. - TERM_BACKSPACE (8 or 127, the byte the Backspace key sends) replaces TERM_SWAP_DELETE, which door authors had to decode. - Phenom Dropfile, a JSON drop file for Mystic BBS, is cited as related prior art, and its author added to the reviewers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  677. Rob Swindell (on Debian Linux)
    Sat Sep 26 2026 12:37:48 GMT-0700 (PDT)
    Modified Files:
    

    docs/dropfile_ini.md diff
    docs: DROPFILE.INI draft 0.2 Changes since draft 0.1 (8afe199205, schools-20-cars, 2026-09-25): - The file may be written by a BBS or any other system that runs doors, so the spec now calls the writer the "host", defined once in the introduction. - The [bbs] section is now [system], with its keys renamed to match: SYS_SOFTWARE, SYS_NAME, SYS_OP, SYS_NODE_NUM, SYS_NODE_COUNT, SYS_QWKID, SYS_VENDOR and SYS_VERSION. SYS_NODE_NUM and SYS_NODE_COUNT replace the one-letter-apart BBS_NODE and BBS_NODES, and SYS_QWKID says plainly what the ID is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  678. Rob Swindell (on Debian Linux)
    Fri Sep 25 2026 22:20:14 GMT-0700 (PDT)
    Added Files:
    

    docs/dropfile_ini.md diff
    docs: add DROPFILE.INI draft specification A draft of a new door drop file: named KEY=value lines in INI sections, readable by a DOS door in a dozen lines of C, Turbo Pascal or QBasic and by the Win32 and Python INI APIs. It carries what doors commonly read from DOOR.SYS, DOOR32.SYS and DORINFO1.DEF, plus user preferences (sound muted, screen pause, mouse hot-spots) and detected terminal capabilities (Sixel, JPEG XL, CTerm features, kitty and evdev key reports, color depth), so a door needs no other drop file and no terminal probing of its own. The draft also specifies what the older formats leave unsaid: how the path reaches the door (DROPFILE_INI or the command line), per-node file placement, the rules for an inherited socket or serial handle (blocking mode, socket options, no shutdown()), text encoding, and vendor-prefixed extension keys. Non-normative notes describe how Synchronet would write the file, including X_SBBS_* keys for doors that use MODUSER.DAT, and list the Synchronet work needed first. Open questions and a list of reviewers close the document. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  679. Rob Swindell (on Debian Linux)
    Fri Sep 25 2026 14:35:43 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/ini_file.c diff
    xpdev: iniGetBool() reads "Y" as true isTrue() recognized only "true", "yes" and "on" (in any case), so a value of "Y" fell through to strtol() and read as false. A Y/N flag, the form many BBS and door files use, therefore always came back false. Accept "Y" (and "y") as true too. The integer getters share isTrue(), so an integer key set to "Y" now reads as 1, as "yes" already did. The only bare "Y" values in the stock ctrl files are protocol hotkeys (key=Y), which are read as strings and are unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

  680. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 21:21:14 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_parser.cpp diff
    src/sbbs3/ansi_parser_test.cpp diff
    ANSI_Parser: end an SOS string on its string terminator ESC \ inside an SOS string moved the parser to the ESC state instead of completing the sequence, so the byte after the terminator was parsed as though it followed an ESC. A CR or LF there (the usual case) made the sequence broken and putmsg() stripped the whole SOS; a printable character was swallowed as the sequence's final byte; an escape sequence following it was lost track of. This dates from 374282bf81 (skins-28-shop, 2025-03-30). ESC \ now completes an SOS exactly as it completes an APC, DCS, OSC or PM string: final state, ansi_was_cc set, final byte '\'. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  681. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 21:19:21 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_parser.cpp diff
    src/sbbs3/ansi_parser.h diff
    src/sbbs3/ansi_parser_test.cpp diff
    ANSI_Parser: cap CSI parameters and intermediate bytes ansi_sequence was already limited to max_sequence_len (1024) bytes, but ansi_params and ansi_ibs grew without limit. The terminal output path parses every byte sent to the user, and handle_SGR_sequence() calls get_pval() once per parameter, each call copying and rescanning the whole parameter string: cubic in the sequence length. A single 40 KB SGR sequence in a message took about 53 seconds of CPU to display, per reader. Parameter and intermediate bytes past the cap are now dropped and the sequence completes normally. It isn't treated as broken, because putmsg() prints the rest of a broken sequence as text. The filters putmsg() applies look only at the final byte, the first parameter byte, exact intermediate strings and the start of ansi_sequence, so truncation doesn't change what it strips. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  682. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 19:29:43 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/shell_lib.js diff
    shell_lib: offer each group's and library's current area, not a stale copy shell_lib.js copied every group's current sub-board and every library's current directory into arrays when it loaded, and area selection never updated them. After changing sub-boards or directories in one group or library and moving to another, picking the first again offered (and on Enter selected) the area that was current when the shell started. The "*" marking the current area in the sub-board and directory lists was stale the same way. dir_up() and dir_down() also stored into the entry for the new directory number rather than the current library, overwriting another library's saved directory. The core already keeps the current sub-board per group and directory per library, so read it when needed: cursub(grp) and curdir(lib) select that group or library briefly and read bbs.cursub or bbs.curdir. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  683. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 19:25:22 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/smbutil.c diff
    smbutil pack: free the space of a message it drops When pack drops a message whose data it can't copy, or for which it can't allocate a header, the data space already allocated for it in the packed base was left allocated with nothing referencing it: blocks lost until the next pack. Both skip paths were added by aee485f478 (reducing-28-isle, 2026-09-15). Pack only appends to the new .sdt and .sda, so the dropped message's data is always the last allocation in each; pack_drop_dat() truncates both back to where it started. smb_freemsgdat() isn't usable mid-pack: it unlocks the SMB header pack holds, and it truncates smb.sdt_fp, which is the original data file being read. For data shared with an earlier index, the extra reference is now added only once the header is allocated, so a header failure leaves nothing to undo. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  684. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 19:12:26 GMT-0700 (PDT)
    Modified Files:
    

    exec/sdos.js diff
    sdos.js: don't print a blank line after CLS command_loop() reset screen_cleared at the top of each pass, before testing it, so the flag CLS sets was never seen and a CRLF went out right after every clear screen. Clear the flag after the prompt is printed instead. The flag was added in 669776215e (aqua-3-cake, 2026-09-18). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  685. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 17:54:55 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/termaudio.c diff
    src/sbbs3/termaudio.h diff
    src/sbbs3/termaudio_cache.cpp diff
    src/sbbs3/termaudio_test.c diff
    termaudio: trust a cached sound only if its contents match its name Message text can write into a reader's SyncTERM file cache: putmsg() strips the C;L query but passes the C;S store command through. A post could therefore store its own file under the content-addressed name of one of the system's sounds, and later sessions, seeing that name in the C;L listing, would play it instead of uploading the real one. An entry is now accepted only when the MD5 the client reports for the file matches the hash in its name, so a planted file is treated as absent and overwritten by the next upload. A file planted during the current session can still be played until that session ends. Also: Keys typed while waiting for the C;L reply were discarded, and a reply too large for the buffer was abandoned partway, leaving its remainder to be read as keystrokes. The reply is now scanned by a separate, unit- tested function: bytes before the reply are handed back to the input stream in order, and an oversized reply is read to its end and used up to what fit. Lines the truncation cuts short fail the MD5 check. Only letters and digits are taken from a file's extension when building its cache name, which is sent inside an APC. A ';' there split the command's fields, and an ESC could end the string. The cache name of each file is remembered for the session, keyed on size and modification time, so replaying a large preloaded file no longer reads and hashes all of it again just to find it already cached. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  686. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 17:27:39 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/genwrap.c diff
    xp_popen(): don't reuse the output buffer after a failed realloc On Windows, xp_popen() grows its output buffer with realloc_or_free(), which frees the old buffer when realloc() fails. The failure branch broke out of the read loop without clearing the pointer, so the line-splitting loop that follows read freed memory and the free() at the end released it a second time. The pointer is now cleared, leaving the same state as a command that produced no output. The POSIX side reads straight into the string list and never reallocates, so it is unaffected. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  687. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 17:20:16 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/termaudio.c diff
    src/sbbs3/termaudio.h diff
    src/sbbs3/termaudio_cache.cpp diff
    src/sbbs3/termaudio_test.c diff
    text/sound/README.txt diff
    Make @CACHE_AUDIO: preload the file @MUSIC: and @SOUND: will play Preloading a large file did not work, for two independent reasons. @CACHE_AUDIO: resolved its argument under text/, while @SOUND: and @MUSIC: resolve under text/sound/, so "@CACHE_AUDIO:theme.ogg@" and "@MUSIC:theme.ogg@" named different files. All three now resolve through one function, termaudio_resolve_sound(), taking a bare filename in text/sound/. @SOUND: and @MUSIC: also enforced max_sound_file_size before checking whether the client already held the file, so a file larger than that limit was refused even after @CACHE_AUDIO: had sent it. The limit bounds what may be sent while a display file is drawing, so it now applies only when an upload is actually needed. Before reading, a file is refused only if it exceeds both limits, since nothing larger could have been cached. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  688. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 17:20:07 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_parser_test.cpp diff
    src/sbbs3/ansi_terminal.cpp diff
    src/sbbs3/ansi_terminal.h diff
    src/sbbs3/con_out.cpp diff
    src/sbbs3/terminal.h diff
    Keep whole control strings out of the line buffer restoreline() replays the line buffer to redraw a line after, for example, a node message interrupts it. The line buffer already skipped the body of a DCS/OSC/PM/APC string, but kept its "ESC _" introducer and the final byte of its terminator. Replaying those opens a string the terminal never sees closed, so it swallows all following output: an @SOUND: in a prompt, followed by an incoming node message, was enough. term_out() now records where each sequence begins in the line buffer and rolls the buffer back to that point when a sequence completes, or breaks, having been a control string. CSI sequences are left in place, so restoreline() still restores colors. ansi_parser_test.cpp pins the parser states this depends on. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  689. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 16:37:18 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgsys.c diff
    Make the audio size limits editable in SCFG System->Advanced gains Max Sound File Size and Max Cached File Size. main.ini is written by SCFG rather than edited by hand, so a setting stored there needs a menu entry or a sysop cannot change it. Both options are appended to the end of that menu so the existing option indices, which the handler switches on by number, do not shift. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  690. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 16:30:52 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ansi_parser_test.cpp diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/putmsg.cpp diff
    src/sbbs3/termaudio_cache.cpp diff
    Emit pass-through control sequences from the source, not the parser copy putmsg() re-emitted a control sequence to the client by writing ANSI_Parser::ansi_sequence, which is now capped at 1KB. A sixel image or a font-loading DCS larger than that in a display file or a message was sent truncated, without its terminator, leaving the client inside a control string and swallowing everything that followed until some unrelated terminator appeared. Nothing was logged, because the path reaching that code is a completed sequence rather than a broken one. The sequence is now written from the caller's own buffer, recording the offset where it began. That is independent of the cap and avoids a copy. Also from the same review: The C;L query is issued with output-rate emulation suspended. It was paced by the emulated rate like any other output, so on a rate-limited session the reply missed its timeout and the client cache was recorded empty for the rest of the session, making every sound re-upload. Reading an APC reply no longer clears a pending abort. clearabort() also zeroes the line counter, so a user who pressed Ctrl-C during a display file had it swallowed and the pause counter reset. The size cap is compared in off_t. Truncating to uint32_t let a file of 4GiB or more pass the check and then be read and base64-encoded whole. @MUSICOFF: clamps its fade argument. A negative value became a fade of about fifty days, so the code that stops the music did not. The per-path warning list is bounded. @-codes are reachable from message text on a sub-board whose n_pmode clears P_NOATCODES, so a single post naming many distinct missing files could otherwise grow it without limit. Reading an APC reply also has an overall deadline rather than only a per-byte timeout, and the line-buffer suspension around an upload is saved and restored rather than assumed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  691. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 16:15:25 GMT-0700 (PDT)
    Added Files:
    

    text/sound/README.txt diff
    Modified Files:

    docs/v322_new.md diff
    Document the terminal audio @-codes Adds text/sound with a README covering the codes, the formats a terminal's libsndfile decodes, the two size limits and why they differ, and the user's own off switch. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  692. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 16:11:32 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsdefs.h diff
    Identify the former occupant of user.misc bit 25 Bit 25 was CTERM_FONTS, removed in 462ff72b05 (slot-13-task, 2019-07-12) because nothing read it. It was part of TERM_FLAGS, so terminal auto-detection set it, and it survives in user records created before that removal: 39 of 1457 on one system, every one of them first logging on in 2019 or earlier. Naming it makes the constraint checkable. The absent #define is what made the bit look available. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  693. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 16:04:10 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    exec/load/text.js diff
    exec/user_settings.js diff
    exec/user_terminal.js diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Move the sound toggle into the terminal settings menu Suppressing sound is a terminal capability, so it belongs with ANSI, color, character set and mouse in user_terminal.js rather than in the general defaults menu next to message and file-scan preferences. That menu labels its options with gettext() rather than text.dat ids, so the UserDefaultsSound string is no longer needed and text.dat returns to 949 entries. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  694. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 15:56:55 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/userdefs.js diff
    src/sbbs3/sbbsdefs.h diff
    Move NO_SOUND to an unused user.misc bit Bit 25 has no definition in sbbsdefs.h, but it is set in existing user records: 39 of 1457 on one system, including user #1. Defining NO_SOUND there silently muted the terminal bell and, through cterm_lib.js, door audio for every user carrying it. Bit 30 is both undefined and clear in all 1457 records, so NO_SOUND moves there. A note marks bit 25 as unavailable, since an absent #define was what made it look free. Doors that emit audio APCs directly, rather than through cterm_lib.js, were unaffected, which is why door engine audio kept working while @BEEP@ and the JavaScript lobby sounds did not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  695. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 15:44:23 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    Add @-codes for terminal sound effects and background music @SOUND:, @MUSIC:, @MUSICVOL:, @MUSICOFF@, @SOUNDOFF@ and @CACHE_AUDIO:, so a sysop can attach audio to a menu or a prompt without writing any JavaScript. Nothing reaches a terminal that cannot play it: each code returns immediately when terminal auto-detection found no libsndfile, or when the user has set NO_SOUND. Stopping sound is deliberately exempt from the latter, since the flag can be set while a loop is already playing. @SOUND: and @MUSIC: take a bare filename under text/sound, resolved in two stages so the argument cannot name anything outside that directory. @CACHE_AUDIO: uploads without playing, for a large file placed where a delay is acceptable; its type is part of the code name rather than an argument because the capability gate depends on it, and C;S is a general verb with no feature query of its own. Volume is accepted as a percentage or with a dB suffix and always reaches the wire as dB. SyncTERM's mixer is dB-native and its bare-percent path is clamped at unity and integer-only. max_sound_file_size and max_cache_file_size in main.ini bound what a display file can send. They are two separate limits because @SOUND: uploads synchronously while a display file is drawing and @CACHE_AUDIO: does not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  696. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 15:39:38 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/termaudio_cache.cpp diff
    Modified Files:

    src/sbbs3/main.cpp diff
    src/sbbs3/objects.mk diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbs.jsdocs.vcxproj diff
    src/sbbs3/sbbs.vcxproj diff
    src/sbbs3/termaudio.h diff
    Track what the terminal already holds in its audio file cache SyncTERM's C;S cache is a directory on the client's own disk, keyed by dialing-directory entry, and it survives disconnect. So a sound file needs uploading once per client machine rather than once per session, which is what makes background music practical at all. One C;L query per session records what is already there. It is issued by the server and only by the server: putmsg() strips C;L out of displayed text precisely so untrusted text cannot elicit a reply and desynchronize the input stream, and that guarantee holds only while nothing else can trigger the query. Cache entries are named for the hash of their contents, so editing a file without renaming it produces a new entry rather than leaving a stale copy playing forever. That also removes any need to compare digests against the C;L reply: absence of the name is the miss. A missing, truncated or malformed reply leaves the list empty, so every file uploads. Failing that way costs bandwidth; failing the other way would play silence indefinitely with no diagnostic. Also adds the APC emitters for load, queue, flush and channel volume. The channel conventions are fixed in termaudio.h because exec/load/cterm_lib.js writes to the same terminal and the two must agree: 2 for music, 3 through 15 rotating for effects. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  697. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 14:53:57 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/text.dat diff
    exec/load/cterm_lib.js diff
    exec/load/text.js diff
    exec/load/userdefs.js diff
    exec/user_settings.js diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/con_out.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/text.h diff
    src/sbbs3/text_defaults.c diff
    src/sbbs3/text_id.c diff
    Add a user setting to suppress BBS-initiated sound New NO_SOUND bit in user.misc covering both the terminal bell and the terminal audio @-codes added in a following change. Negative polarity, so a default of zero preserves today's behavior for every existing user. Bits 25 and 30 were the only two free, which is the argument for one flag rather than separate bell and audio bits. The bell is gated in cp437_out(), the one point where a BEL byte reaches the terminal, so @BELL@, text.dat strings and message text are all covered by a single check. @SOUND@ reports the setting; user_settings.js toggles it on 'V', the mnemonic letter still free in that menu. cterm_lib.js honors the flag by reading user.settings directly, so a script respects the user's choice without needing a newer Synchronet, and takes console.audio_files as a fast path when the terminal server has already detected it. A false reading there cannot distinguish "no libsndfile" from "no audio APC at all", so that case still queries. user_settings.js guards the new text string on the running binary having it: bbs.text() returns undefined for an unknown id, and the exec tree can be updated ahead of the binary. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  698. Rob Swindell (on Debian Linux)
    Thu Sep 24 2026 14:47:14 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/ansi_parser_test.cpp diff
    Modified Files:

    src/sbbs3/ansi_parser.cpp diff
    src/sbbs3/ansi_parser.h diff
    src/sbbs3/ansi_terminal.cpp diff
    src/sbbs3/ansi_terminal.h diff
    src/sbbs3/con_out.cpp diff
    src/sbbs3/terminal.h diff
    Handle bulk control strings without stalling or bloating output state Three fixes to the terminal output path, none of them specific to any one control string. They also cover the graphics blob APCs that cterm_lib.js already writes through console.write(). ANSI_Parser now caps ansi_sequence at 1KB and counts the remainder in sequence_overflow. A megabyte-scale APC or DCS payload was appended byte by byte to a std::string that nothing reads except the broken-sequence warning, which would then have logged the whole payload. The warning reports the true length and marks a truncated sample. Every append site goes through one helper, so the cap is an invariant rather than a property of the string state alone. Control-string payload no longer enters the terminal line buffer, which is sized and intended for displayable text. Terminal gains suspend_output_rate()/restore_output_rate(), for use around a bulk payload. SyncTERM's rate emulation gates every byte off the wire, so a 200KB payload at an emulated 2400bps would otherwise take about eleven minutes. This covers only a rate the BBS set itself; a rate the user configured in their client is neither visible nor reachable from here. ansi_parser_test.c exercises the cap, including that a capped string still reaches its terminator and that an illegal byte in one is still detected. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  699. Rob Swindell (on Debian Linux)
    Wed Sep 23 2026 21:35:37 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/answer.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/terminal.h diff
    Detect terminal audio-file support during terminal auto-detection Appends APC SyncTERM:Q;libsndfile to the connect-time probe burst and parses the CSI = 7 ; 100 ; <0|1> n reply in the same drain, so the capability costs no additional round trip. A CTerm version compare would not be sufficient. SyncTERM can be built without libsndfile or fail to load it at runtime, and in that case the audio APCs are accepted and silently ignored, so a version gate would pass while nothing played. Recorded as Terminal::audio_apc (the terminal answered the query at all, leaving room for Synth tones later) and Terminal::audio_files (it can decode audio files), and exposed to JavaScript as console.audio_files. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  700. Rob Swindell (on Debian Linux)
    Tue Sep 22 2026 20:03:33 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/chksmb.c diff
    src/sbbs3/fixsmb.c diff
    src/sbbs3/smbutil.c diff
    src/smblib/smballoc.c diff
    src/smblib/smblib.c diff
    smblib: read/write data allocation records a run at a time smb_incdat() and smb_freemsgdat() updated the .sda allocation table one 2-byte record per 256-byte data block: seek, read, seek back, write. Each seek discards the stdio buffer, so every block cost its own read() and write() syscall. On a message base served over SMB/CIFS (e.g. with Samba "sync always"), each of those writes is a synchronous round trip to the file server: rebuilding an 820MB mail base with fixsmb took ~13 minutes at ~3,700 writes/sec, holding the base locked the whole time. Now the whole run of records for a data field is read with one fread(), adjusted in memory, and written back with one fwrite(). smb_freemsgdat() still truncates completely-freed records from the end of the .sda file. Measured on a copy of the same mail base, with byte-identical results versus the old code: fixsmb: 3,079,001 -> 58,663 write() calls smbutil m: 1,673,481 -> 39,340 write() calls This benefits every message delete/maint/pack as well as fixsmb. Bump SMBLIB, FIXSMB, CHKSMB and SMBUTIL to v3.22 (unchanged since the v3.21e release). The SMB format version is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

  701. Rob Swindell (on Debian Linux)
    Tue Sep 22 2026 10:55:27 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: stop the fabrication filter deleting real GitLab issue URLs The URL policing added in e77a8de727 (maximum-44-into, 2026-08-10) keys every URL in a reply against the set the tools and retrieval actually returned, and deletes the rest. It matches them by exact text. GitLab serves one issue at two paths: /-/issues/<iid>, which every human-facing link uses and which a model writes unprompted, and the newer /-/work_items/<iid>, which is what the git_issues tool returns. So the filter saw a URL no tool had produced and removed a link that was real, leaving the clause that introduced it pointing nowhere -- "check for the full list", "see the wiki: See for the full details". Normalize the two spellings to one key so either matches. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  702. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 22:15:49 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/inventory_archives.js diff
    exec/load/filecontents_lib.js diff
    exec/tests/filecontents_test.js diff
    filecontents: keep the listing in the file record's own auxdata A per-area data/dirs/<code>.contents file meant that serving one listing parsed a single JSON object holding every listing in the area. Measured on the largest area here, one view read 4.78 MB and spent 31 ms and 34.8 MB of RSS to return 1 record out of 76, and a cold view re-serialized the whole file to add one. That heap is the same mozjs185 pressure the stored listings exist to avoid. In auxdata the cost is the record's own data blocks: the same 295 KB listing reads in 2 ms and 1.6 MB, a typical record in no measurable time or heap, and neither depends on how many archives the area holds. The listing is also removed with the file record, so nothing is left behind when a file goes away, and there is no second file, lock or orphan sweep to maintain. The listing goes under an "archive_contents" key rather than owning the slot, and auxdata that this library did not write, or cannot parse, is left alone instead of replaced. put() hands the description and extended description back with every write, so a record survives a build whose FileBase.update() drops the text it was not given or refuses an object carrying only auxdata. inventory_archives.js loses its batched merge and its lock: each record is now written on its own. The record carries the format version the store file's wrapper used to hold, in place of a type field that named what the key already says and that nothing read. A record written in an encoding this code does not know now reads as absent and is extracted again, rather than being parsed on the assumption that it matches. No migration is needed: a missing record is extracted and stored on first view, so the base warms itself. The data/dirs/*.contents files from the previous arrangement are simply unused. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  703. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 21:53:24 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/filebase/update.js diff
    src/sbbs3/js_filebase.cpp diff
    FileBase: an object of only auxdata or a header value is not an error parse_file_properties() started from SMB_ERR_NOT_FOUND and cleared it only when a property that adds a header *field* was present, so add() and update() rejected a file object made up of nothing but extdesc, auxdata, cost, added, times_downloaded or anon. FileBase.update(name, {auxdata: "..."}) returned false with status -110 and wrote nothing. Nothing at the call sites tells that code apart from a real failure; both simply test for SMB_SUCCESS. Start from success instead, so a partial update carrying no header field is applied like any other. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  704. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 21:34:07 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/filebase/update.js diff
    Modified Files:

    src/sbbs3/js_filebase.cpp diff
    src/smblib/smbfile.c diff
    src/smblib/smblib.h diff
    Update a file record's stored text in place instead of re-adding it Changing a file's extended description or auxdata meant removing the record and adding it back, because smb_putfile() writes only the header and the index entry, and those two fields live in the data blocks. The cost of that is paid on the file base as a whole: smb_removefile() reads the entire .sid into memory, rewrites it without the entry and truncates the file, all under the base-wide lock, and between the remove and the add the file does not exist. A failure or a crash in that window loses the record, and with it the description, the download counts and the import date, while the file itself sits on disk unreferenced. smb_updatefile() writes the new text to newly allocated data blocks, points the record at them and frees the old blocks afterwards. The record keeps its number, its header and its position in the index, and the base-wide lock is held for an allocation and a few writes rather than a full index rewrite. Because the new blocks are written before the old ones are freed, a failure part-way through leaks blocks, which chksmb reports and fixsmb reclaims, rather than losing the record. This is the opposite order from editmsg(), which frees first. FileBase.update() uses it whenever the text differs. readd_always keeps removing and re-adding, which is the point of that option: the file is meant to date and list as newly imported, the way addfiles.js -readd and FileBase.renew() expect. Measured over 480 updates against a scratch base: content reads back correctly, chksmb reports the base as OK with no deleted headers or indexes, and the data file ends up the same size as the remove-and-add path produced for the same work (158,464 vs 156,160 bytes), so writing the new blocks before freeing the old ones costs no meaningful fragmentation. exec/tests/filebase/update.js covers the preservation rules, the in-place rewrite, readd_always, renaming, and repeated growth and shrinkage of the stored text. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  705. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 21:24:59 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_filebase.cpp diff
    FileBase.update(): don't destroy stored text the caller didn't supply A file object with no 'extdesc' or 'auxdata' property meant "write NULL over whatever is stored", because those two live in the message data blocks and the changed-text path removes and re-adds the record. Every other property already means "leave it alone" when absent, since parse_file_properties() only writes a header field when the property exists on the object. So a script that reads a record and hands the object back silently dropped both: rehashfiles.js, updatefiles.js, readdfiles.js and testbuild.js all fetch below the detail level of the text they then overwrite, and fileman.js drops auxdata whenever a sysop edits an extended description. Load the record at file_detail_auxdata, as renew() already does, so the stored values are there to keep, and fall back to them when the caller supplied none. An empty string still clears, so either one can still be removed deliberately. Extract the DIZ only when use_diz_always was requested or the file has no extended description to keep. It used to replace a hand-edited description with the archive's FILE_ID.DIZ whenever the caller simply did not mention the extended description. Compare the loaded auxdata with trailing whitespace trimmed, as the extended description already was, so handing back identical auxdata no longer reads as a change and no longer forces a remove and re-add. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  706. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 20:36:13 GMT-0700 (PDT)
    Modified Files:
    

    exec/webfileindex.ssjs diff
    webfileindex: encode archive entry names as text rather than as ANSI An entry name came from inside the archive and went through html_encode() with the ANSI and Ctrl-A conversions left enabled, so every listing row was wrapped in a hard-coded inline color span (black background, overriding the dark-mode style sheet), and an ESC or Ctrl-A in a name was rendered as markup rather than escaped. Extended ASCII was converted to numeric character references, which is correct for the CP437 names in a DOS-era archive but mangles a name a modern tool wrote in UTF-8: every byte of the sequence became a separate CP437 entity. Encode with only the HTML escaping enabled, then convert CP437 to UTF-8 the way this script already does for file descriptions, skipping the conversion when the name is valid UTF-8 already. That is the test newsutil.js applies to a message body. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  707. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 17:24:45 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/msgs.ini diff
    Add the AI Discussion and AI Playground DOVE-Net conferences New sub-boards DOVE-AIDISC (QWK conference 2023) and DOVE-AIPLAY (2024), placed in hub order after Tech Talk, along with their [qhub:VERT] subscription entries so a new install actually polls for them. Also renamed the Hardware/Software Help QWK name from "Technical" to "Tech Help": as "Technical" it was easily confused with the Tech Talk conference. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  708. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 15:51:25 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/un_rep.cpp diff
    Publish the MQTT action/post topic for user posts via REP upload (#1248) sbbs_t::postmsg() publishes sbbs/<sysid>/action/post/<subcode> when a user posts through the Terminal Server, but a user posting the same message with an offline reader got no such publish. In unpack_rep() every other consequence of a post already fired (logon_posts, user_posted_msg(), the Posted text, the P+ log entry, signal_sub_sem() and user_event(EVENT_POST)); only the publish was missing, so any consumer counting user post activity silently undercounted by however much of a system's traffic arrives by offline reader. Publish from the existing !(useron.rest & UREST_QWK_NODE) branch rather than adding a second test, so the user-versus-QWKnet-node distinction stays in one place. useron is the actual author here, so the payload layout is unchanged from the interactive path, with msg.to and msg.subj standing in for touser and title. It sits after user_posted_msg() so ptoday and posts carry post-increment values, matching postmsg.cpp. A QWKnet node uploading a REP is network import rather than a user post and is deliberately still excluded; that case, along with QWK hub import, NNTP and FidoNet, is tracked separately as a feature request in #1249. The gap dates from e94281e6cd (fairly-47-flip, 2023-01-29), which added the topic. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  709. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 13:05:31 GMT-0700 (PDT)
    Modified Files:
    

    exec/fileman.js diff
    exec/fseditor.js diff
    exec/playmidi.js diff
    exec/readdfiles.js diff
    exec/updatefiles.js diff
    exec/websocketservice.js diff
    exec/xtrnmenucfg.js diff
    src/sbbs3/baja.c diff
    src/sbbs3/js_conio.cpp diff
    src/sbbs3/js_console.cpp diff
    src/sbbs3/js_msgbase.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/jsdebug.c diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/uedit/uedit.c diff
    src/sbbs3/umonitor/umonitor.c diff
    src/sbbs3/websrvr.cpp diff
    src/syncdraw/help.c diff
    src/syncterm/telnets.c diff
    src/tone/tone.c diff
    src/xpdev/multisock.c diff
    web/root/blogs/blog_item.xjs diff
    web/root/logout.ssjs diff
    web/root/upload.ssjs diff
    Fix misspellings in user-visible strings Found by scanning string literals across src/, exec/, web/ and webv4/ for words that occur once or twice while a word one edit away occurs many times, and that appear in neither a system dictionary nor the tree's own identifier vocabulary. Vendored trees were excluded. All of these are display text, log messages or jsdocs - none of them is compared against, so none changes behavior. Two kept their column alignment deliberately: the fseditor quote-mode help gives back a space from the gap so the second column stays at column 41, and the syncdraw help line loses a character in "menue" and gains one in "buton". The British spellings in js_uifc.cpp and multisock.c are left alone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  710. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 13:05:19 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/webfileindex.ssjs diff
    src/sbbs3/js_conio.cpp diff
    conio.init(): accept mode names longer than six characters The mode argument was read into a 7-byte buffer, so JSSTRING_TO_STRBUF() truncated every name to six characters before the first comparison. Four of the eleven accepted names are longer than that, and none of them could ever match: conio.init("CURSES_IBM") -> "CURSES", starts plain curses conio.init("CURSES_ASCII") -> "CURSES", starts plain curses conio.init("CONIO_FULLSCREEN") -> "CONIO_", Unhandled ciolib mode conio.init("SDL_FULLSCREEN") -> "SDL_FU", Unhandled ciolib mode The first two are the worse half: the call succeeds and the caller gets a different video mode than it asked for, with no diagnostic. The truncation is visible in the error text of the other two, which quotes the buffer rather than the argument. Widen the buffer to 32, and fix the "CURSES_ACSCII" spelling in the same chain - correct in the enum (CIOLIB_MODE_CURSES_ASCII), in this function's own jsdocs, and in the equivalent chain in js_uifc.cpp, misspelled only here. No script can depend on the misspelling: the truncation made both spellings behave identically. Also in webfileindex.ssjs, "overlow: auto" is not a CSS property, so the file table never got its own scrollbar. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  711. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 12:28:20 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/822header.js diff
    exec/load/newsutil.js diff
    src/smblib/smbtxt.c diff
    Don't claim RFC-3676 format=flowed for message text that isn't newsutil.js (NNTP) and 822header.js (IMAP) synthesize a Content-Type header field for a message that has none stored, and asserted format=flowed whenever MSG_FIXED_FORMAT was clear. That flag is only ever set by an explicit "fixed" - a MIME format= parameter, a QWK "Format = fixed" header, an FTN \1FORMAT: kludge, or a local post made in raw-input mode - so a message that simply never said anything was reported as flowed. An omitted format parameter already means fixed (RFC 3676 4.1), so omit it rather than assert a wire format the text does not use: Synchronet message text is hard-wrapped and carries no trailing space on a soft break, and a conforming flowed reader also space-stuffs each line and reflows leading '>' quote blocks. The synthesized field is only generated when no Content-Type was stored, so a message that did arrive flowed keeps its own header field verbatim and is unaffected. Reported on DOVE-Net by ant: messages relayed over QWK with MIME excluded were served by NNTP as "charset=IBM437; format=flowed" with no trailing spaces anywhere in the body. mime_getpart() extracted the selected part's charset but passed NULL for auxattr, so only a single-part message's format= parameter could reach MSG_FIXED_FORMAT. Thread it through, so that - together with the preceding ";format=" typo fix in smb_parse_content_type() - a multi-part message whose text part declares format=fixed now round-trips. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  712. Rob Swindell (on Debian Linux)
    Mon Sep 21 2026 12:09:00 GMT-0700 (PDT)
    Modified Files:
    

    src/smblib/smbtxt.c diff
    Fix typo ";format" in smb_parse_content_type() Found by Claude

  713. Rob Swindell (on Windows 11)
    Mon Sep 21 2026 00:40:16 GMT-0700 (PDT)
    Added Files:
    

    src/doors/syncdrive/build.bat diff
    Modified Files:

    docs/v322_new.md diff
    src/doors/build.bat diff
    src/doors/syncdrive/.gitignore diff
    src/doors/syncdrive/CLAUDE.md diff
    src/doors/syncdrive/CMakeLists.txt diff
    src/doors/syncdrive/DESIGN.md diff
    src/doors/syncdrive/README.md diff
    src/doors/syncdrive/door/host_term.c diff
    src/doors/syncdrive/door/scores_lock.c diff
    src/doors/syncdrive/tests/CMakeLists.txt diff
    syncdrive: the Win32 / MSVC build build.bat configures CMake for Visual Studio 2022, builds Win32 Release, runs the unit tests and leaves the binary in build-msvc\Release; src/doors/build.bat gains syncdrive as a target. Win32 (x86) only, for the reason the sibling doors are: one Win32 binary serves a Win32 and a Win64 Synchronet host alike. Two spots in our own code stood between the door and MSVC: host_term.c reached strcasecmp through <strings.h>, and scores_lock.c opened the lock file through <fcntl.h>/<unistd.h>. Both now go through the xpdev wrappers -- stricmp() from genwrap.h, filewrap.h with O_BINARY and DEFFILEMODE, which is 0666 on *nix as the literal 0666 was. The vendored tdport/ engine needed nothing. libsndfile is a prerequisite for sound here rather than an optional tier: the PC-speaker PCM is generated in-process, but termgfx streams it to SyncTERM as Ogg/Opus, and without libsndfile that encoder is a stub and termgfx_stream_chunk_closed() drops every chunk -- a door that runs silent with no other symptom. build.bat points CMAKE_PREFIX_PATH at the classic vcpkg prefix and warns when it is absent; the configure warns too. No libjxl: this door serves the sixel tier only. The high-score lock test needs a second process contending for the lock and uses fork(), so it stays *nix only, and the Windows build does not cover scores_lock.c; the five pure tests run on both platforms. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  714. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 23:24:41 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncdrive/DESIGN.md diff
    src/doors/syncdrive/PROVENANCE.md diff
    src/doors/syncdrive/README.md diff
    src/doors/syncdrive/deploy.js diff
    src/doors/syncdrive/plans/2026-09-18-syncdrive-v1.md diff
    xtrn/syncdrive/README.md diff
    xtrn/syncdrive/getdata.js diff
    xtrn/syncdrive/install-xtrn.ini diff
    syncdrive: follow the package rename through the docs and the installer The installer entry, getdata.js, the deploy target and the docs still named the old testdrive package and data directory. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  715. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 23:24:41 GMT-0700 (PDT)
    Added Files:
    

    xtrn/syncdrive/.gitignore diff
    xtrn/syncdrive/README.md diff
    xtrn/syncdrive/getdata.js diff
    xtrn/syncdrive/install-xtrn.ini diff
    xtrn/syncdrive/syncdrive.example.ini diff
    syncdrive: name the package after the door, as the sibling doors do The xtrn package, its program code and its data directory become syncdrive rather than testdrive, matching syncdoom, syncmoo1 and the other termgfx doors. The game keeps its own name everywhere it is shown to a caller. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  716. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 23:24:41 GMT-0700 (PDT)
    Added Files:
    

    src/doors/syncdrive/README.md diff
    src/doors/syncdrive/deploy.js diff
    src/doors/syncdrive/door/help_card.c diff
    src/doors/syncdrive/door/help_card.h diff
    xtrn/testdrive/.gitignore diff
    xtrn/testdrive/README.md diff
    xtrn/testdrive/getdata.js diff
    xtrn/testdrive/install-xtrn.ini diff
    xtrn/testdrive/syncdrive.example.ini diff
    Modified Files:

    src/doors/syncdrive/CLAUDE.md diff
    src/doors/syncdrive/CMakeLists.txt diff
    src/doors/syncdrive/DESIGN.md diff
    src/doors/syncdrive/PROVENANCE.md diff
    src/doors/syncdrive/door/host_term.c diff
    src/doors/syncdrive/door/keymap.c diff
    src/doors/syncdrive/door/keymap.h diff
    src/doors/syncdrive/door/syncdrive.c diff
    src/doors/syncdrive/tdport/src/game/flow.h diff
    src/doors/syncdrive/tdport/src/game/flow_scores.c diff
    src/doors/syncdrive/tests/test_keymap.c diff
    syncdrive: shared high scores, the xtrn package, and a key-help card The high-score entry now fills in the caller's BBS alias and locks it, and the table is re-read, merged and written under a lock on SCORES.lck, so two nodes that qualify at once both keep their entry. That is the one patch to the vendored engine. xtrn/testdrive holds the installer data, a getdata.js that installs a sysop-supplied copy of the original game files and verifies TDEGA.EXE, the settings template and the sysop README. F1 or Ctrl-K shows the keys over a frozen picture, because nothing else explains that shifting is one press of A or Z per gear and that the arrow keys never move the knob through the gear gate. The door also logs which driving mode a session got, key-repeat or held-key. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  717. Rob Swindell (on Windows 11)
    Sun Sep 20 2026 23:05:58 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/tests/file/popen.js diff
    src/sbbs3/js_file.cpp diff
    src/xpdev/genwrap.c diff
    src/xpdev/genwrap.h diff
    File.popen() on Windows, and bidirectionally on every platform The File object's pipe support has been Unix-only since it was added in 06ee2c71fb: on Windows, C's _popen() requires the calling process to own a console, which a service or anything launched by sbbsctrl.exe does not. Its documented default mode narrowed that further -- "r+" is a BSD extension that glibc rejects with EINVAL, so the default has been failing on Linux and working only on FreeBSD and macOS. New in xpdev: xp_pipe_open() - popen() with the same three modes everywhere. On Windows, "r" and "w" get a CreatePipe() and a CREATE_NO_WINDOW child; "r+" gets a uniquely-named single-instance duplex named pipe, an anonymous one being one-way. Our end becomes a real FILE* through _open_osfhandle() and fdopen(), so File.read(), readln() and write() work against it unchanged. Elsewhere "r" and "w" still go through popen(), and "r+" gets a socketpair()-connected /bin/sh child, which is how the BSD popen() implements that mode. xp_pipe_close() - closes the stream first, so a command reading it sees EOF, then waits for it and returns its exit status. js_close() uses xp_pipe_close(), and so does the File finalizer, which until now fclose()d a pipe -- leaking the child process on every platform. The JSDOC drops "only functional on UNIX systems" and picks up the 'b' (binary) suffix and the flush()-between-write-and-read rule that any bidirectional stream needs. exec/tests/file/popen.js no longer exits early on Windows: it covers "r", the default "r+", "w" into a command whose output file must be complete once close() returns, and an unusable mode. The POSIX side was checked with gcc against a C harness over the same three modes, exit-status propagation and child reaping. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  718. Rob Swindell (on Windows 11)
    Sun Sep 20 2026 12:42:58 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/filecontents_lib.js diff
    exec/webfileindex.ssjs diff
    View self-extracting .exe archives in the web file index libarchive already reads the Zip or 7-Zip payload inside an SFX stub -- it locates the archive's signature rather than insisting the file start with one -- so nothing but an extension gate stood in the way. Verified against both a 7-Zip SFX and an .exe with a Zip appended; a plain program still fails to extract and is stored as the negative verdict it is. webfileindex.ssjs kept its own list of archive extensions, a shorter one than the library's, so 'arj', 'zoo', 'tar', 'gz' and 'bz2' were listable but never offered. It now asks contents.is_archive(), leaving one list to maintain, and 'exe' is added to it. extract_external(): an empty lsarContents with a non-zero lsarError is a failure rather than an empty archive. lsar recognizes a self-extracting Zip whose stub offsets it won't follow and says exactly that; storing it as a zero-entry listing misreported the file (043587351c9). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  719. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 12:32:38 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/ny2008/src/jackpot/Makefile diff
    src/doors/top/GNUmakefile diff
    src/xpdev/genwrap.c diff
    Fix the two build breaks from the new xp_system()/xp_popen() Borland C++ builds xpdev for sbbsctrl and useredit, and it is C89: a declaration may not follow a statement within a block. Both new functions declared as they went, so genwrap.c failed with 21 instances of "E2140 Declaration is not allowed here". Hoist every declaration in the Win32 paths to the top of its block. xp_popen() also calls strListPush(), which is strListAppend() -- a symbol that had never been needed in genwrap.c before. The two doors that hand-link genwrap.o against a short list of xpdev objects rather than the library -- top and ny2008's jackpot -- have no str_list.o in that list and failed to link. Add it. Both breakages arrived with 5de72e0995 (winning-19-seem, 2026-09-20) and are compiler/link-set specific: neither shows up in a GCC or MSVC build of the BBS itself. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  720. Rob Swindell (on Windows 11)
    Sun Sep 20 2026 12:07:07 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/filecontents_lib.js diff
    src/sbbs3/filedat.c diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/services.cpp diff
    src/xpdev/genwrap.c diff
    src/xpdev/genwrap.h diff
    Run external commands without flashing a console window on Windows C's system() runs its command through cmd.exe, and when the calling process has no console of its own -- a Windows service, sbbsctrl.exe, or anything spawned by them -- cmd.exe allocates one, flashing a window onto the sysop's desktop. The web server made this obvious: every archive a web client peeks into with ?view= runs lsar. New in xpdev: xp_system() - system(), except that a console-less process spawns %COMSPEC% /S /C "..." with CREATE_NO_WINDOW instead. A caller that does have a console still goes through system(), so console output is unchanged there. Standard handles and handle inheritance are passed along as system() does (services.cpp hands a native service its socket that way). xp_popen() - popen(cmd, "r"), read to EOF, with the captured lines appended to a str_list_t. On Windows it builds the pipe with CreateProcess() rather than _popen(), which requires the calling process to have a console and so has never worked inside a server. system.popen() consequently works on Windows now and is no longer documented as UNIX-only, and system.exec() no longer flashes a window. Given the same treatment: the mail server's external mail processors, the Services' native services, SBBSecho's external programs, and the file-extraction command run for DIZ files. FTP's SITE EXEC loses its #ifdef and returns the command's output to the client on Windows too. filecontents_lib.js drops the temp-file redirect it was using to keep lsar off system.popen() (043587351c9) and captures the output directly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  721. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 04:49:02 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/bat_xfer.cpp diff
    Widen the batch-download list's quoting the same way, too 7173641281 (statute-19-nobody, 2026-09-20) widened quoted_string() from "contains a space" to SHELL_QUOTE_CHARS in filedat.c and xtrn.cpp, but bat_xfer.cpp has a third copy that builds the space-separated list of paths %s expands to on a batch-download command line. It still quoted on a space alone, and %s is substituted verbatim -- it never goes through QUOTED_STRING -- so that copy is the only quoting on the path. That matters because the double-quote this function adds is itself one of the characters external() looks for when deciding to run the command through a shell. So one queued filename containing a space sends the whole command line through sh, and any other queued filename containing &, (, ), ', =, ^, [, ], {, } or # arrives unquoted. All of those are legal in an uploaded filename under the default Most ASCII setting; they're in SHELL_QUOTE_CHARS precisely because ILLEGAL_FILENAME_CHARS doesn't cover them. Demonstrated with a queue of "big game (1).zip", "rock&roll.zip" and "issue#7.zip": the shell took the & as a control operator, so the protocol received "rock" as its second argument and the third file was dropped along with the rest of the truncated command. Not reachable from a stock configuration, where every batch-download command line uses the list-file form @%f and the only entry using %s is Local Copy, a JavaScript module that never sees a shell. It needs a sysop-configured protocol that passes %s. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  722. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 04:46:49 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgxfr1.c diff
    scfg: say what %f, %s and %g mean in a transfer-protocol command line The File Transfer Protocols help named the four command lines a protocol can have but never said what the specifiers substituted into them expand to, so nothing told a sysop how the batch forms differ from the single-file ones. Spell out all three, and in particular that a batch download offers a choice: %f is a list-file holding one full path per line, while %s expands to every one of those paths on the command line itself. The latter is the trap -- cmdstr() truncates the expanded command line at 511 characters, the size of its output buffer on every platform, so %s silently drops files from a large batch. The stock entries all use the list-file form, @%f. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  723. Rob Swindell (on Windows 11)
    Sun Sep 20 2026 04:19:30 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/filedat.c diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgxfr1.c diff
    src/sbbs3/xtrn.cpp diff
    Don't let a filename defeat the quoting of an external command line cmdstr() double-quotes the values it substitutes for %a, %o, %f and %~, but only when the value contained a space, and sh expands $ and a back-tick even inside double quotes. So a file-base filename could still reach a command shell carrying characters the shell interprets: ILLEGAL_FILENAME_CHARS already excludes " and \, but not $, `, &, (, ), ' or the glob characters. File viewers are the exposed path -- their ex_mode defaults to EX_STDIO|EX_SH in scfglib2.c, so a sysop-configured viewer command containing %f runs through sh -c or cmd /c. Widen quoted_string()'s trigger to SHELL_QUOTE_CHARS, the characters a shell interprets outside double quotes but not inside them, and keep SHELL_EXPANSION_CHARS ($ and a back-tick) out of uploaded filenames in allowed_filename(), since no amount of quoting protects those. The restriction is deliberately in allowed_filename() rather than ILLEGAL_FILENAME_CHARS: illegal_filename() hacklogs its hits and is applied to names already stored in the file base and to names arriving over FTP, in message attachments and in QWK packets, so widening it would turn existing legal filenames into logged attack attempts. $ and a back-tick are legal on Windows and are not cmd.exe metacharacters, but file bases are shared between platforms, so a name uploaded here eventually reaches a POSIX host. Also teach the *nix argv splitter about those quotes. It splits on spaces only and never stripped a quote, so ever since cmdstr() began auto-quoting in 58bfc11aa7 (2005-09-02) a %f filename containing a space has reached a non-shell program as two arguments with literal " characters embedded. The splitter itself dates to e3a47718311 (2003-02-28) and predates the quoting by two years. Windows is unaffected: its external() hands the whole command line to CreateProcess() and the child's CRT parses the quotes. The SCFG help text spells the two characters out rather than interpolating SHELL_EXPANSION_CHARS, because a back-tick in a uifc helpbuf toggles highlighting instead of being displayed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  724. Rob Swindell (on Windows 11)
    Sun Sep 20 2026 04:18:11 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sbbs_ini.c diff
    Default POP3Interface/TLSInterface to their own server's Interface [Mail] POP3Interface and [Web] TLSInterface fell back to [Global] Interface when unset, rather than to the Interface of the server section they belong to. A [Mail] Interface of "0.0.0.0,::" with a [Global] Interface of "0.0.0.0" left SMTP, submission and SMTPS listening on both stacks while POP3 bound IPv4 only, so POP3 clients resolving the host to its AAAA record got connection refused. Also add the missing POP3Interface write block: the setting was read but never written back, and compare TLSInterface against the web server's own interfaces so the writer's omit-when-default rule matches the reader. Introduced in dbbfabf1b1 (2015-08-20). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  725. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 03:31:13 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/filecontents_lib.js diff
    exec/tests/filecontents_test.js diff
    filecontents: qualify a successful listing with the extractor version too The failure path recorded the external lister with its version while the success path recorded a bare "lsar", on the reasoning that a listing is never re-examined so the version cannot matter. That misses the one thing the field is good for: identifying, after the fact, listings produced by a build that turned out to be untrustworthy. lsar returns a partial listing for a truncated archive rather than failing, and builds years apart differ on where they draw that line. Both paths now use the same identity string. libarchive exposes no version to JavaScript, so the native path stays unqualified, which is honest rather than tidy. #1247 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  726. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 03:31:13 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/filecontents_lib.js diff
    exec/tests/filecontents_test.js diff
    filecontents: record which external lister reached a failure verdict The store is shared between hosts, and those hosts do not necessarily have the same tools installed. A host with no external lister would record "unreadable" for an ARC, which libarchive cannot read in any form, and a host that does have one would then trust that verdict and refuse to list a file it could read perfectly well. A negative record now carries the external lister that reached it, and a record whose lister differs from what this host has is treated as stale. The version is part of the identity, since builds years apart are in the wild (1.8.1 and 1.10.8 both are) and a format the older one rejects may be one the newer one reads. Successful listings are unaffected: a listing is a listing whoever produced it. Detection redirects stdout only, so a missing command reports on stderr and leaves the probe file empty, which holds for both /bin/sh and cmd.exe. The result is cached, and a host with no lister now skips the per-file shell it used to spawn only to fail. #1247 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  727. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 03:31:13 GMT-0700 (PDT)
    Modified Files:
    

    exec/archive.js diff
    exec/inventory_archives.js diff
    exec/load/filecontents_lib.js diff
    exec/tests/filecontents_test.js diff
    exec/webfileindex.ssjs diff
    filecontents: load the library into its own scope A script's top-level declarations land on the global object, so loading this with a bare load() put about twenty filecontents_* names there on every web request and every archive view. load({}, ...) keeps them on the returned object instead, which is how the other multi-consumer libraries here are loaded, and lets the internals drop the prefix. This is hygiene, not protection. Scoping the library does not stop a consumer from shadowing a global that the library reads: the scope object is prepended to the chain rather than substituted for it, so a free name still resolves outward to the global, where a caller's top-level function has replaced it. Reading metadata through the File object is what addresses that, and stays necessary. Internal read() and write() become read_store() and write_store(), the originals having shadowed the Synchronet globals of those names inside the library's own scope. #1247 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  728. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 03:31:13 GMT-0700 (PDT)
    Modified Files:
    

    exec/inventory_archives.js diff
    exec/load/filecontents_lib.js diff
    exec/webfileindex.ssjs diff
    inventory_archives: rewrite as the content-store populator It wrote listings into each file's auxdata via FileBase.update() with readd_always set, which zeroes when_imported (js_filebase.cpp) so that smb_addmsg() re-stamps it to the current time (smbadd.c:247). A run across every area would have marked the whole file base as newly imported. It also skipped any file that already had data rather than checking whether that data was still valid, so it could not refresh anything. Targeting the content store removes the file-record write entirely, so both problems go with the mechanism. Extraction runs unlocked and only the merge takes the area lock, in batches, so a long run does not hold viewers off an area. Area codes are now optional, defaulting to every area, and -force, -dry, -delay, -max and -quiet were added. Also fixes a shadowing bug that corrupted every record the web server wrote. webfileindex.ssjs defined its own file_size() and file_date(), which take a file object and return HTML, shadowing the globals of the same name for any library loaded into it. Sizes were stored as the string "0" and dates as "", so such a record could never match a real file and so never expired. The library now reads metadata through the File object rather than ambient globals, and the two functions are renamed. Records already written this way repair themselves on next view, a string size never equalling a real one. #1247 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  729. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 03:31:13 GMT-0700 (PDT)
    Modified Files:
    

    exec/webfileindex.ssjs diff
    webfileindex: serve archive listings from the content store view_archive() re-enumerated the archive on every request. It now reads the per-area content store, extracting and storing only on a miss, so a crawl of the file base pays for each archive once rather than once per view. Archive entry names are now HTML-encoded. Those names come from inside the archive, where ILLEGAL_FILENAME_CHARS does not constrain them, so an entry named with markup was written into the page as-is. File-base names elsewhere on the page are unaffected, since < > and " are illegal in those. 'arc' joins the viewable-archive list. libarchive cannot read the format at all, so the web reported "Non-viewable file type" for every one of them and never reached the extraction path; the store's external-tool fallback lists them. #1247 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  730. Rob Swindell (on Debian Linux)
    Sun Sep 20 2026 03:31:13 GMT-0700 (PDT)
    Added Files:
    

    exec/load/filecontents_lib.js diff
    exec/tests/filecontents_test.js diff
    Modified Files:

    exec/archive.js diff
    Store archive content listings per file area in data/dirs/<code>.contents Viewers re-opened and enumerated an archive on every view. On a public file base under crawler load that is nearly all wasted work: across six days, 72% of ?view= requests were the first ever for that URL, so an expiring cache would sit near a 28% hit rate. It is also repeated exposure to the mozjs185 out-of-memory failure that d777bda5c5 (2026-06-01) only deflects crawlers away from. filecontents_lib.js keeps the extraction outcome in a per-area JSON file beside the base it derives from, keyed by filename and validated against the file's size and mtime. Records carry a format version and an extractor-set version. The second guards the verdict rather than the encoding, so a stored failure is re-examined when the extractor set changes while a stored listing is not. Whole-base projection is about 82 MB, so listings are stored uncapped. Failures are stored too. 171 of 600 sampled archive-extension files are .arc, which libarchive cannot read at all, so each one re-attempted a doomed extraction on every view. Those now fall back to lsar, which read 80 of 80 sampled .arc files, and are enumerated once. The external tool runs via system.exec() with its output redirected to a file rather than system.popen(), whose _popen() needs a console and so fails inside a Windows service. ILLEGAL_FILENAME_CHARS already excludes " and \, but $ and a backtick are legal in a file-base filename and are still expanded by sh inside double quotes, so a path containing either is never handed to a shell. archive.js is given a path and cannot know which area holds it, and cmdstr() has no specifier that could pass one, so the library maps the path back to an area itself. A file outside every area is enumerated but not stored, there being nowhere to persist it. Verbose listings still read the archive, since CRC and compression format are not stored. #1247 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  731. Rob Swindell (on Windows 11)
    Sun Sep 20 2026 00:21:53 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/timeout.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/ircd.js diff
    exec/load/ircd/core.js diff
    ircd: survive a stalled callback engine instead of splitting the net vert's IRCd froze for ~37 minutes today and every linked server dropped. The daemon is a single-threaded callback engine and its ctrl_dir is on an SMB share that wedged: the once-a-second file_date() of ircd.rehash blocked in the redirector, so no socket was serviced and no PING answered, and all 69 links timed out. When the share came back, the network re-linked in one burst. Two changes, neither of which pretends a stall can't happen: - Poll the rehash semaphore every 15 seconds instead of every second, and back off geometrically (to 5 minutes) for as long as the stat itself takes a second or more, logging the back-off and the recovery. How often we stat ctrl_dir is how often we're willing to block on it. The re-arm moved to a self-scheduling timeout in a finally, so a throw out of Read_Config_File() can't quietly end rehash checking. - Watch the gap between our own watchdog ticks. A gap of 10 seconds or more means the engine was frozen, not that the network went silent, so bump a stall generation (logged, and reported to opers) and let IRCClient_check_timeout() give every connection one more ping round to answer before closing it. A PONG that queued up during the stall clears the ping first, and peers that really are gone still die on the next round. This can't stop remote servers from dropping us while we're frozen -- nothing running here can -- but we no longer close every link ourselves on the way back, and a stall now leaves a log entry behind. exec/tests/ircd/timeout.js covers both the unchanged ping/close schedule and the new forgiveness (spent once per stall, never on a connection's first check). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  732. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 23:49:45 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: terminate the CGI read loop on a FastCGI socket failure fastcgi_read_wait_timeout() reported its recv(), version and session-ID failures by returning ret, which is still 0 at each of those points. Zero is the function's "nothing ready yet" value, so do_cgi_stuff() skipped its whole body, including the CGI_PROCESS_TERMINATED check, and polled again immediately. A socket at EOF is always readable, so nothing paced the retry: a backend that closed its connection left the session spinning at roughly 1.6 million iterations per second, logging at LOG_ERR on every one, until max_cgi_inactivity expired as much as two minutes later. Return CGI_PROCESS_TERMINATED from those three paths and from the two fastcgi_read_body() failures below them, so the caller tears the session down at once instead of treating a dead socket as a slow one. A php-fpm restart is enough to trigger this, which means it fires during routine package upgrades. #1246 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  733. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 21:34:51 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/sbbslist_html.js diff
    Use var, not const, for the OS-prefix string in the BBS list stats loop exec/CLAUDE.md is explicit that const is off-limits in Synchronet JS: it does not exist in SpiderMonkey 1.8.5, and a top-level const causes redeclaration errors under SM128 as well. This one sat inside the for(i in list) loop that builds the version/OS/network histograms, so the web server logged /var/www/html/sbbslist.ssjs line 356: TypeError: redeclaration of const prefix, Request: /sbbslist.ssjs and the public BBS list failed to render for that request. Two hits in data/error.log, the most recent on 2026-09-17. const buys nothing here in any case, since neither engine block-scopes it the way the placement inside the loop suggests. Introduced in 06114c3b7e (reggae-27-sake, 2026-03-12). The remaining const/let in this file are inside writeln() strings, emitted for the browser to run rather than for SpiderMonkey, and are left alone. Verified against the live page: HTTP 200, 1,963,616 bytes, the OS histogram populated ("Linux":116, "Win32":74, "FreeBSD":3) from the code path that was throwing, and no new error.log entries. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  734. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 15:48:43 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/CLAUDE.md diff
    install/install-sbbs.mk diff
    Removed Files:

    exec/GNUmakefile diff
    exec/Makefile diff
    Stop building Baja modules during installation With the command shells and the FTP client ported to JavaScript, the only Baja source left in exec/ is matrix.src, an optional light-bar logon module that no stock or default configuration uses. Building it on every install is not worth a makefile of its own, so exec/GNUmakefile and exec/Makefile are removed along with the installer's baja step. A sysop who wants matrix.bin can still compile it with the baja utility, which is unaffected and still built with the other utilities. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  735. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 15:48:43 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsdefs.h diff
    Use 1U for QHUB_NATIVE, the only bit-31 macro in sbbsdefs.h without it "1 << 31" shifts into the sign bit of an int, which is undefined behavior. It has worked everywhere we build because GCC and MSVC both yield INT_MIN and qhub_t.misc is uint32_t, so the conversion lands on 0x80000000 either way, but there is no reason to keep relying on that. UBSan flags it; -Wall -Wextra does not, which is why it went unnoticed when the bit moved to 31 in 0bc7b3297e (cleaning-19-wish, 2026-01-31). Every other bit-31 macro in this header already uses 1U: SM_SYSVDELM, XTRN_CONIO, CON_CR_CLREOL, MOUSE, SS_FASTLOGON and EX_CONIO. Value-preserving: both forms give 0x80000000 for the "misc ^=" in scfgnet.c and the "misc &" test in main.cpp, verified against each other, and both consumers plus msgtoqwk.cpp still compile clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  736. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 15:48:43 GMT-0700 (PDT)
    Added Files:
    

    exec/ftpclient.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/CLAUDE.md diff
    exec/GNUmakefile diff
    exec/Makefile diff
    exec/load/ftp.js diff
    Removed Files:

    exec/ftp.src diff
    Port the Baja FTP client to JavaScript as ftpclient.js ftpclient.js replaces ftp.src/.bin, using the load/ftp.js library for the protocol itself. Same commands (open, close, dir, pwd, cd, pasv, ascii, hash, debug, get, put, delete, quit and ?), same help screen with the current mode settings, same response echoing (with debug adding the commands sent), and the same auto-connect from the module's argument. 'get' still downloads to the temp directory and sends the file to the user; 'put' receives from the user and uploads. It is NOT named ftp.js: load() resolves a bare filename from the calling script's own directory first, so an exec/ftp.js would shadow the exec/load/ftp.js library for wget.js, qnet-ftp.js and any other script that requires 'ftp.js'. Sysops running this module as "?ftp" will need to change that to "?ftpclient". New: an optional port ("open host 2121" or "open host:2121") and 'ls' as an alias for 'dir'. Control characters are now stripped from everything the server sends, so a hostile server can't drive the user's terminal with Ctrl-A codes. load/ftp.js gains an optional progress callback, called with the running byte count during transfers, which is how the client prints hash marks; nothing else sets it. list() with no path now sends "LIST" rather than "LIST " with a trailing space. Only matrix.src is left to build in exec/, so the makefiles now have one target. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  737. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 15:48:43 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/msgtoqwk.cpp diff
    Fix the MIME header stripping for QWK, which never actually ran The strip added in 3f2b039ecd (manage-38-week, 2026-02-03) is gated on "getmsgtxt_mode == GETMSGTXT_PLAIN", but getmsgtxt_mode is seeded with GETMSGTXT_ALL (= GETMSGTXT_TAILS = 1) a few lines earlier, so the value tested is always GETMSGTXT_ALL | GETMSGTXT_PLAIN (9) and never GETMSGTXT_PLAIN (8) alone. The equality never held, so the MIME header fields were never stripped. Test the bit instead. Reported by ant on DOVE-Net Tech Talk, who diagnosed it correctly: every QWK/REP packet we hand out still carries "Content-Type: multipart/alternative; boundary=XXXX" in HEADERS.DAT while the body has been flattened to the decoded text/plain part with no boundaries in it at all. The receiving system stores that header as an RFC822HEADER field (qwktomsg.cpp) and republishes it over NNTP, so a MIME-aware newsreader correctly sees a multipart message with zero parts and shows nothing. His dates match the code: MIME decoding became the QWK default in 0bc7b3297e (cleaning-19-wish, 2026-01-31), and the TLDR newsletter posts in Tech Talk went bad on 2026-02-02. This is the same bug Accession reported in February, which 3f2b039ecd was meant to fix. Verified against sub dove-tech msg #1013: before, HEADERS.DAT emitted both "MIME-Version: 1.0" and the multipart Content-Type while the exported body (11055 bytes) contained no "--Q8ymwWEC" boundary; after, both header fields are stripped. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  738. Deucе
    Sat Sep 19 2026 06:03:23 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/allfonts.c diff
    Add 'q' to ISO-8859-5 That was an unexpected discovery...

  739. Rob Swindell (on Debian Linux)
    Sat Sep 19 2026 00:11:04 GMT-0700 (PDT)
    Added Files:
    

    exec/simple.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/CLAUDE.md diff
    exec/GNUmakefile diff
    exec/Makefile diff
    Removed Files:

    exec/simple.src diff
    Port the Synchronet (Novice) command shell from Baja to JavaScript simple.js replaces simple.src/.bin, completing the port of the stock command shells from Baja (only matrix.src and ftp.src remain in exec/). Written fresh from simple.src rather than from the abandoned draft in MR !698. Same menus (text/menu/simple/*) and the same word commands typed at the Command: prompt, including the Send, Read and File sub-menus. Anything unrecognized at the main menu is still passed to the string commands, with no ';' prefix. Each command maps to the equivalent shell_lib.js function or bbs method rather than a reimplementation. The shell's "{Continue? Yes/No}" pause prompt is now reverted when the user leaves the shell, rather than staying in effect after a switch to another shell. Since a shell's exec/<code>.js takes precedence over mods/<code>.bin, a sysop's customized mods/simple.bin (or mods/sdos.bin) is no longer used; noted in the v3.22 release notes. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  740. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 23:52:56 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/CLAUDE.md diff
    exec/load/shell_lib.js diff
    exec/sdos.js diff
    Removed Files:

    text/menu/sdos/files.asc diff
    text/menu/sdos/mail.asc diff
    text/menu/sdos/root.asc diff
    sdos.js: act much more like MS-DOS 5 COMMAND.COM Rewrite the DOS Shell's JavaScript port (9451e26955, analyzed-11-alert, 2026-06-23) around a virtual read-only drive C:. The BBS functions are programs in C:\, C:\FILES and C:\MAIL, and doors appear as C:\DOORS\<section>\<code>.EXE (with ~1-style 8.3 names for long codes). Programs are found the way COMMAND.COM finds them: current directory, then each PATH directory, .COM then .EXE then .BAT, or by relative or absolute path, with or without the extension. Command lines parse like DOS too (CD.., CD\MAIL, DIR/W, ECHO.). DIR listings are now generated rather than read from menu files, in the DOS 5 layout with MM-DD-YY dates regardless of the user's date format, and support wildcards and the /W /B /S /O /L /P /A switches (plus the DIRCMD variable). The text/menu/sdos/*.asc files are no longer used and are removed. Also emulated: SET/PATH/PROMPT (with $-codes) on a per-session environment, ECHO (ON/OFF), TYPE, VER, VOL, DATE/TIME, CLS, BREAK, VERIFY, CHCP, REM, PAUSE, LH, /? usage for every command, HELP.EXE, AUTOEXEC.BAT (a minimal batch interpreter), nested COMMAND and COMMAND /C, and DOS's own errors for writes to a read-only disk (DEL, COPY, REN, MD, RD, redirection) and for other drives. Fixes from the previous port: MAIL CONFIG ran user settings instead of the message scan configuration, DOWNLOAD listed the user-to-user file area instead of the current one, LIST ignored its file spec, and OPEN with an unknown code threw a JavaScript error. The session's directory, environment and history now survive the shell restart after SETUP, and the boot banner appears only once per session. shell_lib.js: view_file_info() and view_files() accept an optional filespec, used instead of prompting for one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  741. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 23:11:34 GMT-0700 (PDT)
    Modified Files:
    

    src/CLAUDE.md diff
    src/CLAUDE.md: cite an issue in a comment by number alone The example comment was "// GitLab #1178"; the convention is "// #1178". Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  742. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 23:11:33 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/pack_qwk.cpp diff
    Don't deliver a QWK packet built from files that failed to write pack_qwk() never checked whether its writes to MESSAGES.DAT, HEADERS.DAT, VOTING.DAT or the .NDX files succeeded, and ignored every fclose() result. When the temp directory's volume stopped accepting writes, the buffered data (even MESSAGES.DAT's 128-byte header) was lost at close, the empty files were archived, and the packet was reported as a success. QWK hubs received 292-byte packets containing 0-byte MESSAGES.DAT/HEADERS.DAT, failed to unpack them and renamed them *.bad. Because the pack "succeeded", the hubs' message pointers were also advanced, so the messages meant for those packets were never sent. Now each of those files is closed through a check of ferror() and fclose(), and MESSAGES.DAT must be at least one QWK block long before it is archived. Any failure is logged via errormsg() and no packet is created, which also leaves the message pointers alone so the messages go out in the next packet. Fixes #1244 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  743. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 21:44:56 GMT-0700 (PDT)
    Added Files:
    

    src/doors/syncdrive/.gitignore diff
    src/doors/syncdrive/CLAUDE.md diff
    src/doors/syncdrive/CMakeLists.txt diff
    src/doors/syncdrive/DESIGN.md diff
    src/doors/syncdrive/PROVENANCE.md diff
    src/doors/syncdrive/build.sh diff
    src/doors/syncdrive/compat/SDL3/SDL.h diff
    src/doors/syncdrive/door/alias.c diff
    src/doors/syncdrive/door/alias.h diff
    src/doors/syncdrive/door/frame.c diff
    src/doors/syncdrive/door/frame.h diff
    src/doors/syncdrive/door/host_term.c diff
    src/doors/syncdrive/door/host_term_ext.h diff
    src/doors/syncdrive/door/keymap.c diff
    src/doors/syncdrive/door/keymap.h diff
    src/doors/syncdrive/door/keyscript.c diff
    src/doors/syncdrive/door/keyscript.h diff
    src/doors/syncdrive/door/scores_lock.c diff
    src/doors/syncdrive/door/scores_lock.h diff
    src/doors/syncdrive/door/speaker.c diff
    src/doors/syncdrive/door/speaker.h diff
    src/doors/syncdrive/door/syncdrive.c diff
    src/doors/syncdrive/plans/2026-09-18-syncdrive-v1.md diff
    src/doors/syncdrive/tdport/FORMATS.md diff
    src/doors/syncdrive/tdport/LICENSE diff
    src/doors/syncdrive/tdport/PORTING.md diff
    src/doors/syncdrive/tdport/src/build.h diff
    src/doors/syncdrive/tdport/src/game/flow.c diff
    src/doors/syncdrive/tdport/src/game/flow.h diff
    src/doors/syncdrive/tdport/src/game/flow_scores.c diff
    src/doors/syncdrive/tdport/src/game/flow_screens.c diff
    src/doors/syncdrive/tdport/src/game/flow_stage.c diff
    src/doors/syncdrive/tdport/src/game/game.h diff
    src/doors/syncdrive/tdport/src/game/scene.c diff
    src/doors/syncdrive/tdport/src/game/scene.h diff
    src/doors/syncdrive/tdport/src/game/scene_cockpit.c diff
    src/doors/syncdrive/tdport/src/game/scene_draw.c diff
    src/doors/syncdrive/tdport/src/game/scene_project.c diff
    src/doors/syncdrive/tdport/src/game/sim.c diff
    src/doors/syncdrive/tdport/src/game/sim_setup.c diff
    src/doors/syncdrive/tdport/src/host.h diff
    src/doors/syncdrive/tdport/src/mem.c diff
    src/doors/syncdrive/tdport/src/mem.h diff
    src/doors/syncdrive/tdport/src/platform/gfx.c diff
    src/doors/syncdrive/tdport/src/platform/gfx.h diff
    src/doors/syncdrive/tdport/src/platform/gfx_cga.c diff
    src/doors/syncdrive/tdport/src/platform/input.c diff
    src/doors/syncdrive/tdport/src/platform/input.h diff
    src/doors/syncdrive/tdport/src/platform/res.c diff
    src/doors/syncdrive/tdport/src/platform/res.h diff
    src/doors/syncdrive/tdport/src/platform/timer.c diff
    src/doors/syncdrive/tdport/src/platform/timer.h diff
    src/doors/syncdrive/tdport/src/symbols.h diff
    src/doors/syncdrive/tdport/src/types.h diff
    src/doors/syncdrive/tests/CMakeLists.txt diff
    src/doors/syncdrive/tests/test_alias.c diff
    src/doors/syncdrive/tests/test_frame.c diff
    src/doors/syncdrive/tests/test_keymap.c diff
    src/doors/syncdrive/tests/test_keyscript.c diff
    src/doors/syncdrive/tests/test_scores_lock.c diff
    src/doors/syncdrive/tests/test_speaker.c diff
    Modified Files:

    src/doors/build.sh diff
    syncdrive: Test Drive (1987) as a termgfx door Vendor kylofon/test-drive-sdl3's faithful C port of TDEGA.EXE (MIT) and run it on termgfx_termio in place of upstream's SDL host: a fixed 16-color EGA palette for sixel, BIOS key words and held-key state from termgfx key events, the PC speaker synthesized as band-limited PCM, and a key script for headless runs. The original game data is not included; sysops supply it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  744. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 18:37:43 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/sbbsdefs.js diff
    exec/load/userdefs.js diff
    xtrn/3rdp-install/bigwinslotto.ini diff
    xtrn/3rdp-install/carlton-blackjack.ini diff
    xtrn/3rdp-install/carlton-crazy8.ini diff
    xtrn/3rdp-install/carlton-doormania.ini diff
    xtrn/3rdp-install/carlton-fleethunter.ini diff
    xtrn/3rdp-install/carlton-litecar.ini diff
    xtrn/3rdp-install/carlton-milleborne.ini diff
    xtrn/3rdp-install/carlton-minezone.ini diff
    xtrn/3rdp-install/carlton-navgrid.ini diff
    xtrn/3rdp-install/carlton-plinko.ini diff
    xtrn/3rdp-install/carlton-rockin.ini diff
    xtrn/3rdp-install/carlton-scavenger.ini diff
    xtrn/3rdp-install/carlton-urges.ini diff
    xtrn/3rdp-install/carlton-wordguess.ini diff
    xtrn/3rdp-install/dalton-adgt.ini diff
    xtrn/3rdp-install/dalton-camptown.ini diff
    xtrn/3rdp-install/dalton-deathbytrivia.ini diff
    xtrn/3rdp-install/dalton-escape.ini diff
    xtrn/3rdp-install/dalton-goc.ini diff
    xtrn/3rdp-install/dalton-gruntfest.ini diff
    xtrn/3rdp-install/dalton-risepower.ini diff
    xtrn/3rdp-install/dalton-shipline.ini diff
    xtrn/3rdp-install/dalton-tfbroadside.ini diff
    xtrn/3rdp-install/dalton-warfreight.ini diff
    xtrn/3rdp-install/disoft-futurerunner.ini diff
    xtrn/3rdp-install/disoft-islandempires.ini diff
    xtrn/3rdp-install/disoft-nuclearwar.ini diff
    xtrn/3rdp-install/disoft-rebelkingdom.ini diff
    xtrn/3rdp-install/disoft-wordmix.ini diff
    xtrn/3rdp-install/doormud-dos.ini diff
    xtrn/3rdp-install/dreamware-aceydeucy.ini diff
    xtrn/3rdp-install/dreamware-battleship.ini diff
    xtrn/3rdp-install/dreamware-blackjackdice.ini diff
    xtrn/3rdp-install/dreamware-boxdice.ini diff
    xtrn/3rdp-install/dreamware-cardsharks.ini diff
    xtrn/3rdp-install/dreamware-chomper.ini diff
    xtrn/3rdp-install/dreamware-dreamcraps.ini diff
    xtrn/3rdp-install/dreamware-dreamhang.ini diff
    xtrn/3rdp-install/dreamware-dreammatch.ini diff
    xtrn/3rdp-install/dreamware-dreamshuffle.ini diff
    xtrn/3rdp-install/dreamware-dreamslots.ini diff
    xtrn/3rdp-install/dreamware-dreamstacks.ini diff
    xtrn/3rdp-install/dreamware-dreamstakes.ini diff
    xtrn/3rdp-install/dreamware-dreamtrack.ini diff
    xtrn/3rdp-install/dreamware-jot.ini diff
    xtrn/3rdp-install/dreamware-lightsout.ini diff
    xtrn/3rdp-install/dreamware-othello.ini diff
    xtrn/3rdp-install/dreamware-potofgold.ini diff
    xtrn/3rdp-install/dreamware-pressit.ini diff
    xtrn/3rdp-install/dreamware-simonsez.ini diff
    xtrn/3rdp-install/dreamware-targetdice.ini diff
    xtrn/3rdp-install/dreamware-yahtzee.ini diff
    xtrn/3rdp-install/exdx-empireatwar.ini diff
    xtrn/3rdp-install/exdx-railroadempires.ini diff
    xtrn/3rdp-install/exdx-riverboatblackjack.ini diff
    xtrn/3rdp-install/exdx-romansatwar.ini diff
    xtrn/3rdp-install/exdx-spaceforcecommander.ini diff
    xtrn/3rdp-install/exitilus.ini diff
    xtrn/3rdp-install/foodfite-wilson.ini diff
    xtrn/3rdp-install/ironwar.ini diff
    xtrn/3rdp-install/jibben-boxcars.ini diff
    xtrn/3rdp-install/jibben-galacticoverlord.ini diff
    xtrn/3rdp-install/jibben-minesofgorr.ini diff
    xtrn/3rdp-install/jibben-rollthebones.ini diff
    xtrn/3rdp-install/jns-amazingmemory.ini diff
    xtrn/3rdp-install/jns-bombsquad.ini diff
    xtrn/3rdp-install/jns-boxedpoker.ini diff
    xtrn/3rdp-install/jns-doublesolitree.ini diff
    xtrn/3rdp-install/jns-fivecarddrawpoker.js.ini diff
    xtrn/3rdp-install/jns-fortythievessolitaire.ini diff
    xtrn/3rdp-install/jns-freecellsolitaire.ini diff
    xtrn/3rdp-install/jns-golfsolitaire.ini diff
    xtrn/3rdp-install/jns-greatwhitecard.ini diff
    xtrn/3rdp-install/jns-idiotsdelight.ini diff
    xtrn/3rdp-install/jns-inbetween.ini diff
    xtrn/3rdp-install/jns-kingslast.ini diff
    xtrn/3rdp-install/jns-matchtwo.ini diff
    xtrn/3rdp-install/jns-montanasolitaire.ini diff
    xtrn/3rdp-install/jns-ontheedge.ini diff
    xtrn/3rdp-install/jns-pressyourluck.ini diff
    xtrn/3rdp-install/jns-quotefall.ini diff
    xtrn/3rdp-install/jns-slidersolitaire.ini diff
    xtrn/3rdp-install/jns-solitree.ini diff
    xtrn/3rdp-install/jns-strikesandspares.ini diff
    xtrn/3rdp-install/jns-theelminator.ini diff
    xtrn/3rdp-install/jns-thepuzzlemachine.ini diff
    xtrn/3rdp-install/jns-threeshuffles.ini diff
    xtrn/3rdp-install/jns-trapper.ini diff
    xtrn/3rdp-install/jns-treasuretrove.ini diff
    xtrn/3rdp-install/jns-tripeakssolitaire.ini diff
    xtrn/3rdp-install/jns-twocardpoker.ini diff
    xtrn/3rdp-install/jns-yacht.ini diff
    xtrn/3rdp-install/latenight-civilwar.ini diff
    xtrn/3rdp-install/latenight-civilwar48.ini diff
    xtrn/3rdp-install/latenight-darkcastle.ini diff
    xtrn/3rdp-install/latenight-superrig.ini diff
    xtrn/3rdp-install/latenight-triviamaster.ini diff
    xtrn/3rdp-install/lore.ini diff
    xtrn/3rdp-install/netrunner.ini diff
    xtrn/3rdp-install/overkill.ini diff
    xtrn/3rdp-install/sunrise-3pairpok.ini diff
    xtrn/3rdp-install/sunrise-4corners.ini diff
    xtrn/3rdp-install/sunrise-aceydeucey.ini diff
    xtrn/3rdp-install/sunrise-atlantis.ini diff
    xtrn/3rdp-install/sunrise-baseballdice.ini diff
    xtrn/3rdp-install/sunrise-betsyross.ini diff
    xtrn/3rdp-install/sunrise-blackjack.ini diff
    xtrn/3rdp-install/sunrise-boxdice.ini diff
    xtrn/3rdp-install/sunrise-boxpoker.ini diff
    xtrn/3rdp-install/sunrise-chainreaction.ini diff
    xtrn/3rdp-install/sunrise-colonies.ini diff
    xtrn/3rdp-install/sunrise-concentration.ini diff
    xtrn/3rdp-install/sunrise-cribbage.ini diff
    xtrn/3rdp-install/sunrise-crypto.ini diff
    xtrn/3rdp-install/sunrise-dominoes.ini diff
    xtrn/3rdp-install/sunrise-ganglandwars.ini diff
    xtrn/3rdp-install/sunrise-groandice.ini diff
    xtrn/3rdp-install/sunrise-hackarama.ini diff
    xtrn/3rdp-install/sunrise-hexxwars.ini diff
    xtrn/3rdp-install/sunrise-hilo.ini diff
    xtrn/3rdp-install/sunrise-hiroll.ini diff
    xtrn/3rdp-install/sunrise-keno.ini diff
    xtrn/3rdp-install/sunrise-laddersdice.ini diff
    xtrn/3rdp-install/sunrise-legendsofole.ini diff
    xtrn/3rdp-install/sunrise-lettermatch.ini diff
    xtrn/3rdp-install/sunrise-lostinspace.ini diff
    xtrn/3rdp-install/sunrise-lottomania.ini diff
    xtrn/3rdp-install/sunrise-montecarlo.ini diff
    xtrn/3rdp-install/sunrise-overunder.ini diff
    xtrn/3rdp-install/sunrise-pentasim.ini diff
    xtrn/3rdp-install/sunrise-questfornora.ini diff
    xtrn/3rdp-install/sunrise-rescue.ini diff
    xtrn/3rdp-install/sunrise-rockinradio.ini diff
    xtrn/3rdp-install/sunrise-rocklandtrivia.ini diff
    xtrn/3rdp-install/sunrise-skycop.ini diff
    xtrn/3rdp-install/sunrise-stairway.ini diff
    xtrn/3rdp-install/sunrise-states.ini diff
    xtrn/3rdp-install/sunrise-sweepstakes.ini diff
    xtrn/3rdp-install/sunrise-timetravel.ini diff
    xtrn/3rdp-install/sunrise-triangle.ini diff
    xtrn/3rdp-install/sunrise-tripleyahtzee.ini diff
    xtrn/3rdp-install/sunrise-trivia.ini diff
    xtrn/3rdp-install/sunrise-virtualescape.ini diff
    xtrn/3rdp-install/sunrise-wheeloffortune.ini diff
    xtrn/3rdp-install/sunrise-wordsearch.ini diff
    xtrn/3rdp-install/sunrise-wordshuffle.ini diff
    xtrn/3rdp-install/sunrise-wordwar.ini diff
    xtrn/3rdp-install/sunrise-wordwarp.ini diff
    xtrn/3rdp-install/thepit.ini diff
    xtrn/3rdp-install/warlordsofthebalance.ini diff
    Bring sbbsdefs.js and userdefs.js back in sync with sbbsdefs.h Several JavaScript constants had drifted from the C definitions they mirror, and some were missing entirely. Wrong values: - Drop-file types: the C enum renamed value 3 to XTRN_DOOR_SYS (52-line DOOR.SYS) and gave XTRN_GAP the new 31-line format, value 8, in b2601ca82c (2024-10-15). sbbsdefs.js still had XTRN_GAP = 3 and an obsolete XTRN_UTI = 8. Define XTRN_DOOR_SYS = 3 and XTRN_GAP = 8, and change the install-xtrn .ini files from XTRN_GAP to XTRN_DOOR_SYS so they keep installing with the 52-line DOOR.SYS they always got. - system.status bits: SS_INUEDIT was bit 10, now SS_NEW_WEEK in C, and SS_DAILY was bit 9 alone. Define SS_NEW_MONTH, SS_NEW_DAY, SS_NEW_WEEK and SS_DATE_CHANGED as in C, make SS_DAILY their combination as in C, drop SS_INUEDIT, and keep SS_NEWDAY as a deprecated alias of SS_DATE_CHANGED. Missing constants added: the FM_* file_area.settings bits (which the file_area JS docs already refer to), EX_NOECHO, EX_UART, EX_FOSSIL, EVENT_LOCAL_CHAT, SYS_SYSPASSLOGIN, UQ_NOSPACEREQ, NM_CLOSENODEDAB, CON_RIGHTARROW, LEN_LANG, LEN_HOST, LEN_CONNECTION, LEN_EXTDESC, LEN_RAINBOW, MIN_PASS_LEN, RAND_PASS_LEN, and in userdefs.js QWK_WORDWRAP and QWK_MIME. FL_FIND and FL_EXT are added as aliases of the long-standing JS names FL_FINDDESC and FL_EXFIND. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  745. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 15:52:25 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/sbbsdefs.js diff
    src/sbbs3/logon.cpp diff
    src/sbbs3/newuser.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfg/scfg.h diff
    src/sbbs3/scfg/scfgindex.h diff
    src/sbbs3/scfg/scfgnode.c diff
    src/sbbs3/scfg/scfgxtrn.c diff
    src/sbbs3/xtrn_sec.cpp diff
    Add a "clear screen before execution" option for external programs Some external programs clear or overwrite the user's terminal as soon as they start. Run from a logon event, such a program can wipe text the user has not yet read. The new XTRN_CLS online program option clears the screen before the program is executed, using the BBS's own clear-screen (cls), which first prompts the user to continue if there is unread output on the screen. GitLab #1243. The screen is cleared once the program is sure to run (all early-return checks done) and before the drop file is written and the node status, start time, inactivity timeout, and MQTT exec event are set, so a long pause at the prompt affects none of them. Logon and New User fixed events get the same option (FEVENT_CLS), along with a pause-after-execution option (FEVENT_PAUSE). A fixed event's settings are external() mode bits, so these use bits that external() ignores. The other fixed events run offline and don't offer them. In SCFG, the online program "Pause After Execution" option becomes "Terminal Control" (None, Clear, Pause, or "Clear, Pause"), which prompts for both settings; ESC at the first prompt skips the second. The Logon and New User fixed event menus offer the same option. toggle_flag() now returns the list selection so a caller can detect an abort. The fixed event copy of the option is kept out of the search index, which cannot tell which fixed events offer it. scfgindex.h is regenerated, which also picks up the Msg/File Total Interval option added in 875357a01a (2026-08-17). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  746. Rob Swindell (on Debian Linux)
    Fri Sep 18 2026 15:11:39 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/sbbsdefs.js diff
    src/sbbs3/inkey.cpp diff
    src/sbbs3/js_xtrn_area.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgxtrn.c diff
    src/sbbs3/scfglib2.c diff
    src/sbbs3/writemsg.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    xtrn/3rdp-install/bigwinslotto.ini diff
    xtrn/3rdp-install/bre.ini diff
    xtrn/3rdp-install/carlton-blackjack.ini diff
    xtrn/3rdp-install/carlton-crazy8.ini diff
    xtrn/3rdp-install/carlton-doormania.ini diff
    xtrn/3rdp-install/carlton-fleethunter.ini diff
    xtrn/3rdp-install/carlton-litecar.ini diff
    xtrn/3rdp-install/carlton-milleborne.ini diff
    xtrn/3rdp-install/carlton-minezone.ini diff
    xtrn/3rdp-install/carlton-navgrid.ini diff
    xtrn/3rdp-install/carlton-plinko.ini diff
    xtrn/3rdp-install/carlton-rockin.ini diff
    xtrn/3rdp-install/carlton-scavenger.ini diff
    xtrn/3rdp-install/carlton-urges.ini diff
    xtrn/3rdp-install/carlton-wordguess.ini diff
    xtrn/3rdp-install/dalton-adgt.ini diff
    xtrn/3rdp-install/dalton-camptown.ini diff
    xtrn/3rdp-install/dalton-deathbytrivia.ini diff
    xtrn/3rdp-install/dalton-escape.ini diff
    xtrn/3rdp-install/dalton-goc.ini diff
    xtrn/3rdp-install/dalton-gruntfest.ini diff
    xtrn/3rdp-install/dalton-risepower.ini diff
    xtrn/3rdp-install/dalton-shipline.ini diff
    xtrn/3rdp-install/dalton-tfbroadside.ini diff
    xtrn/3rdp-install/dalton-warfreight.ini diff
    xtrn/3rdp-install/disoft-futurerunner.ini diff
    xtrn/3rdp-install/disoft-islandempires.ini diff
    xtrn/3rdp-install/disoft-nuclearwar.ini diff
    xtrn/3rdp-install/disoft-rebelkingdom.ini diff
    xtrn/3rdp-install/disoft-wordmix.ini diff
    xtrn/3rdp-install/dragonshoard.ini diff
    xtrn/3rdp-install/dreamware-aceydeucy.ini diff
    xtrn/3rdp-install/dreamware-battleship.ini diff
    xtrn/3rdp-install/dreamware-blackjackdice.ini diff
    xtrn/3rdp-install/dreamware-boxdice.ini diff
    xtrn/3rdp-install/dreamware-cardsharks.ini diff
    xtrn/3rdp-install/dreamware-chomper.ini diff
    xtrn/3rdp-install/dreamware-dreamcraps.ini diff
    xtrn/3rdp-install/dreamware-dreamhang.ini diff
    xtrn/3rdp-install/dreamware-dreammatch.ini diff
    xtrn/3rdp-install/dreamware-dreamshuffle.ini diff
    xtrn/3rdp-install/dreamware-dreamslots.ini diff
    xtrn/3rdp-install/dreamware-dreamstacks.ini diff
    xtrn/3rdp-install/dreamware-dreamstakes.ini diff
    xtrn/3rdp-install/dreamware-dreamtrack.ini diff
    xtrn/3rdp-install/dreamware-jot.ini diff
    xtrn/3rdp-install/dreamware-lightsout.ini diff
    xtrn/3rdp-install/dreamware-othello.ini diff
    xtrn/3rdp-install/dreamware-potofgold.ini diff
    xtrn/3rdp-install/dreamware-pressit.ini diff
    xtrn/3rdp-install/dreamware-simonsez.ini diff
    xtrn/3rdp-install/dreamware-targetdice.ini diff
    xtrn/3rdp-install/dreamware-yahtzee.ini diff
    xtrn/3rdp-install/exdx-empireatwar.ini diff
    xtrn/3rdp-install/exdx-railroadempires.ini diff
    xtrn/3rdp-install/exdx-riverboatblackjack.ini diff
    xtrn/3rdp-install/exdx-romansatwar.ini diff
    xtrn/3rdp-install/exdx-spaceforcecommander.ini diff
    xtrn/3rdp-install/exitilus.ini diff
    xtrn/3rdp-install/foodfite-rigormortis.ini diff
    xtrn/3rdp-install/foodfite-wilson.ini diff
    xtrn/3rdp-install/gutterbowl32.ini diff
    xtrn/3rdp-install/ironwar.ini diff
    xtrn/3rdp-install/jibben-boxcars.ini diff
    xtrn/3rdp-install/jibben-galacticoverlord.ini diff
    xtrn/3rdp-install/jibben-minesofgorr.ini diff
    xtrn/3rdp-install/jibben-rollthebones.ini diff
    xtrn/3rdp-install/jns-amazingmemory.ini diff
    xtrn/3rdp-install/jns-bombsquad.ini diff
    xtrn/3rdp-install/jns-boxedpoker.ini diff
    xtrn/3rdp-install/jns-doublesolitree.ini diff
    xtrn/3rdp-install/jns-fivecarddrawpoker.js.ini diff
    xtrn/3rdp-install/jns-fortythievessolitaire.ini diff
    xtrn/3rdp-install/jns-freecellsolitaire.ini diff
    xtrn/3rdp-install/jns-golfsolitaire.ini diff
    xtrn/3rdp-install/jns-greatwhitecard.ini diff
    xtrn/3rdp-install/jns-idiotsdelight.ini diff
    xtrn/3rdp-install/jns-inbetween.ini diff
    xtrn/3rdp-install/jns-kingslast.ini diff
    xtrn/3rdp-install/jns-matchtwo.ini diff
    xtrn/3rdp-install/jns-montanasolitaire.ini diff
    xtrn/3rdp-install/jns-ontheedge.ini diff
    xtrn/3rdp-install/jns-pressyourluck.ini diff
    xtrn/3rdp-install/jns-quotefall.ini diff
    xtrn/3rdp-install/jns-slidersolitaire.ini diff
    xtrn/3rdp-install/jns-solitree.ini diff
    xtrn/3rdp-install/jns-strikesandspares.ini diff
    xtrn/3rdp-install/jns-theelminator.ini diff
    xtrn/3rdp-install/jns-thepuzzlemachine.ini diff
    xtrn/3rdp-install/jns-threeshuffles.ini diff
    xtrn/3rdp-install/jns-trapper.ini diff
    xtrn/3rdp-install/jns-treasuretrove.ini diff
    xtrn/3rdp-install/jns-tripeakssolitaire.ini diff
    xtrn/3rdp-install/jns-twocardpoker.ini diff
    xtrn/3rdp-install/jns-yacht.ini diff
    xtrn/3rdp-install/latenight-civilwar.ini diff
    xtrn/3rdp-install/latenight-civilwar48.ini diff
    xtrn/3rdp-install/latenight-darkcastle.ini diff
    xtrn/3rdp-install/latenight-superrig.ini diff
    xtrn/3rdp-install/latenight-triviamaster.ini diff
    xtrn/3rdp-install/lore.ini diff
    xtrn/3rdp-install/mycroft-adventuressherlockholmes.ini diff
    xtrn/3rdp-install/mycroft-fictiousstockexchange.ini diff
    xtrn/3rdp-install/mycroft-stellarquest.ini diff
    xtrn/3rdp-install/mycroft-uboat.ini diff
    xtrn/3rdp-install/netrunner.ini diff
    xtrn/3rdp-install/overkill.ini diff
    xtrn/3rdp-install/sunrise-3pairpok.ini diff
    xtrn/3rdp-install/sunrise-4corners.ini diff
    xtrn/3rdp-install/sunrise-aceydeucey.ini diff
    xtrn/3rdp-install/sunrise-atlantis.ini diff
    xtrn/3rdp-install/sunrise-baseballdice.ini diff
    xtrn/3rdp-install/sunrise-betsyross.ini diff
    xtrn/3rdp-install/sunrise-blackjack.ini diff
    xtrn/3rdp-install/sunrise-boxdice.ini diff
    xtrn/3rdp-install/sunrise-boxpoker.ini diff
    xtrn/3rdp-install/sunrise-chainreaction.ini diff
    xtrn/3rdp-install/sunrise-colonies.ini diff
    xtrn/3rdp-install/sunrise-concentration.ini diff
    xtrn/3rdp-install/sunrise-cribbage.ini diff
    xtrn/3rdp-install/sunrise-crypto.ini diff
    xtrn/3rdp-install/sunrise-dominoes.ini diff
    xtrn/3rdp-install/sunrise-ganglandwars.ini diff
    xtrn/3rdp-install/sunrise-groandice.ini diff
    xtrn/3rdp-install/sunrise-hackarama.ini diff
    xtrn/3rdp-install/sunrise-hexxwars.ini diff
    xtrn/3rdp-install/sunrise-hilo.ini diff
    xtrn/3rdp-install/sunrise-hiroll.ini diff
    xtrn/3rdp-install/sunrise-keno.ini diff
    xtrn/3rdp-install/sunrise-laddersdice.ini diff
    xtrn/3rdp-install/sunrise-legendsofole.ini diff
    xtrn/3rdp-install/sunrise-lettermatch.ini diff
    xtrn/3rdp-install/sunrise-lostinspace.ini diff
    xtrn/3rdp-install/sunrise-lottomania.ini diff
    xtrn/3rdp-install/sunrise-montecarlo.ini diff
    xtrn/3rdp-install/sunrise-overunder.ini diff
    xtrn/3rdp-install/sunrise-pentasim.ini diff
    xtrn/3rdp-install/sunrise-questfornora.ini diff
    xtrn/3rdp-install/sunrise-rescue.ini diff
    xtrn/3rdp-install/sunrise-rockinradio.ini diff
    xtrn/3rdp-install/sunrise-rocklandtrivia.ini diff
    xtrn/3rdp-install/sunrise-skycop.ini diff
    xtrn/3rdp-install/sunrise-stairway.ini diff
    xtrn/3rdp-install/sunrise-states.ini diff
    xtrn/3rdp-install/sunrise-sweepstakes.ini diff
    xtrn/3rdp-install/sunrise-timetravel.ini diff
    xtrn/3rdp-install/sunrise-triangle.ini diff
    xtrn/3rdp-install/sunrise-tripleyahtzee.ini diff
    xtrn/3rdp-install/sunrise-trivia.ini diff
    xtrn/3rdp-install/sunrise-virtualescape.ini diff
    xtrn/3rdp-install/sunrise-wheeloffortune.ini diff
    xtrn/3rdp-install/sunrise-wordsearch.ini diff
    xtrn/3rdp-install/sunrise-wordshuffle.ini diff
    xtrn/3rdp-install/sunrise-wordwar.ini diff
    xtrn/3rdp-install/sunrise-wordwarp.ini diff
    xtrn/3rdp-install/thepit.ini diff
    xtrn/3rdp-install/warlordsofthebalance.ini diff
    xtrn/flight_sim/install-xtrn.ini diff
    Give every xtrn misc bit an XTRN_ prefix and document its use The xtrn_t.misc bit definitions in sbbsdefs.h were a mix of XTRN_-prefixed and bare names (MULTIUSER, REALNAME, SWAP, QUOTEALL, ...), and the bare ones were already exposed to JavaScript with an XTRN_ prefix. Rename the bare macros to match their sbbsdefs.js names, and add XTRN_KEEP_CTRL_A to sbbsdefs.js, which had no equivalent. Rewrite the comments for the block to say which structures and .ini section types (prog, editor, pager, hotkey, event) use each bit, which bits are passed to external() unchanged as an EX_* flag, and which bits are unused or free. The previous KEEP_CTRL_A comment said "Strip" for a flag that retains Ctrl-A codes. In sbbsdefs.js, rename XTRN_IO_INTS to XTRN_STDIO to match the C name, keeping XTRN_IO_INTS as a deprecated alias so existing install-xtrn.ini files that name it still evaluate. Remove XTRN_ANSI from the install-xtrn.ini files: the flag has no effect. The bit stays defined and unused, since existing xtrn.ini files may have it set. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  747. Rob Swindell (on Debian Linux)
    Tue Sep 15 2026 23:14:49 GMT-0700 (PDT)
    Modified Files:
    

    exec/letsyncrypt.js diff
    exec/load/acmev2.js diff
    letsyncrypt: name the failing domain, stop destroying the certificate A failed authorization was silently discarded. authorize_order() caught everything poll_authorization() threw but re-raised only the timeout string, so a domain that failed http-01 validation simply fell out of the loop. The run carried on to finalize_order(), Let's Encrypt answered orderNotReady, and the sysop saw finalize_order returned 403, not 200 with nothing to say which of a dozen names was at fault. Collect the failures instead, log one line each, and throw naming every identifier that failed. poll_authorization() now names the identifier and quotes the server's own explanation through a new challenge_error() helper: Authorization failed for example.com (http-01): 192.0.2.1: Fetching http://example.com/.well-known/acme-challenge/...: Timeout during connect (likely firewall problem) A timeout still ends the run rather than waiting out every remaining identifier. The keyset is now built in ssl.cert.new and renamed into place. It was being created directly over ssl.cert, which had to be deleted first, so anything that went wrong in between (cryptlib declining to write the keyset, a full disk) destroyed the working certificate and the only copy of its private key, leaving TLS to fail at the next recycle with nothing to roll back to. rename() does not replace an existing file on Windows, so the old certificate is moved aside rather than deleted, and put back if the second rename fails. at_least_a_third() no longer lets an unreadable ssl.cert escape as an uncaught exception. It now means "renew", which is the one thing that can repair the situation; a truncated keyset used to wedge every later run of the script. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  748. Rob Swindell (on Debian Linux)
    Tue Sep 15 2026 19:25:19 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/netmail.cpp diff
    Hold the SMB header lock across the QWK netmail data allocation sbbs_t::qwktonetmail() allocated message data storage without holding smb_locksmbhdr(). Every other allocation site takes it across the allocation; this one acquired it only indirectly, when smb_addmsghdr() locks internally some fifty lines later, by which point the data blocks had already been chosen and written. smb_allocdat() scans the .sda for a run of free blocks and only then writes their reference counts, so the window between choosing a run and claiming it spans the rest of the scan. Two writers allocating concurrently, one of them on this path, can settle on the same run and produce two messages whose data storage overlaps, which chksmb reports as duplicated or corrupt data records. Header allocation is unaffected, being done inside smb_addmsghdr() under the lock it takes itself. The window is far narrower under fast allocation, which seeks to EOF and claims the blocks immediately, so switching a mail base to that storage mode makes this class of error appear to stop without fixing it. issue #1241 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  749. Rob Swindell (on Debian Linux)
    Tue Sep 15 2026 19:25:19 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/smbutil.c diff
    smbutil: make pack error-safe packmsgs() renames the live .shd/.sdt/.sid aside before building their replacements, and three failure paths afterwards took a bare return with no message at all. A single unreadable message therefore left the base with no .shd, which a message server then treats as a base to create from scratch. Log those failures with the offending message number, skip a message whose data cannot be read rather than abandoning the pack, and restore the originals on any failure after the rename. The allocation tables are moved aside rather than truncated in place so that rollback is complete: against an emptied .sda, the next message written would land on top of live data. The replacements are flushed and checked before the swap, so a full disk no longer installs a truncated base, and the swap is now the last thing done rather than interleaved with the removals. Also stop discarding messages whose data exceeds 16MB. That limit was arbitrary and dropped the message from the base rather than leaving it uncompacted; the bound is now the format's own SMB_MAX_DAT_LEN. issue #1171 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  750. Rob Swindell (on Debian Linux)
    Tue Sep 15 2026 19:25:19 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/email.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/writemsg.cpp diff
    Don't store a failed allocation's error code as a message data offset smb_addmsg() checks the allocator's return value before narrowing it into msg.hdr.offset, but three callers that allocate data storage themselves did not: email(), the QWK netmail import, and movemsg(). A failed allocation stored (uint32_t)-120 as the message's data offset, producing a header pointing ~4GB into the data file. One such message is enough to break smb_getmsgtxt(), maintenance and pack for the whole base. issue #1170 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  751. Rob Swindell (on Debian Linux)
    Tue Sep 15 2026 19:25:19 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/chksmb.c diff
    src/sbbs3/writemsg.cpp diff
    src/smblib/smbadd.c diff
    src/smblib/smballoc.c diff
    src/smblib/smbdefs.h diff
    src/smblib/smblib.h diff
    src/smblib/smbtxt.c diff
    smblib: raise the message data storage ceiling from 2GB to 4GB smb_allocdat() and smb_fallocdat() validated a data offset by testing (int)offset < 0, truncating a 64-bit off_t to 32 bits. Every allocation at or above 2GB read as negative and was refused with SMB_ERR_DAT_OFFSET, so a .sdt file could not grow past 2GB even though the format stores that offset in a uint32_t and so reaches 4GB - 1. The same truncation failed open at the top: at exactly 4GB, (int)offset is 0 and passes, and the header is then written with (uint32_t)4294967296 == 0, leaving the message's data at 4GB and its header pointing at the start of the file. Bound the end of the allocation against the format's own limit instead, named SMB_MAX_DAT_OFFSET/SMB_MAX_HDR_OFFSET, and repeat the check in smb_addmsg() where the offset is narrowed to uint32_t, which is the only guard for a hyper-allocated base. The data-length limit smb_addmsg() already enforced becomes SMB_MAX_DAT_LEN. Offsets on the way there were themselves 32-bit: ftell() is a 32-bit long on Windows, chsize() arguments were cast to int (one an int * int multiply that overflows at 2GB while truncating the data file), and the message text was read with a bare fseek() of hdr.offset + dfield.offset computed in 32-bit unsigned arithmetic. issue #12 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  752. Rob Swindell (on Debian Linux)
    Tue Sep 15 2026 15:31:29 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/CMakeLists.txt diff
    xpdev: probe for libc symbols with the Linux feature macros The capability checks added in bcecd8108f (cheese-36-geek, 2026-09-06) compiled their probes without the _GNU_SOURCE/_DEFAULT_SOURCE definitions the xpdev targets are built with. glibc 2.36 (Debian 12) declares asprintf and vasprintf only under _GNU_SOURCE, so the probes failed there, enabling NEEDS_ASPRINTF/NEEDS_VASPRINTF. The vasprintf fallback calls the MSVC-only _vscprintf, breaking the link of every CMake consumer of xpdev (e.g. the doors) with "undefined reference to `_vscprintf'". Newer glibc also declares these under _DEFAULT_SOURCE, which hid the problem on newer hosts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  753. Rob Swindell (on Debian Linux)
    Sun Sep 13 2026 19:14:00 GMT-0700 (PDT)
    Modified Files:
    

    exec/install-xtrn.js diff
    install-xtrn.js: only resolve against ctrl_dir if the .ini is found there 8981051fd4 (tent-11-ends, 2026-09-13) preferred a relative install path resolved against ctrl_dir whenever that path existed there, even as a directory with no install-xtrn.ini in it. Since '.' (and '..') always exist in ctrl_dir, "jsexec -C install-xtrn ." run from a door's directory then looked for ctrl/install-xtrn.ini and failed with "does not exist". Resolve against ctrl_dir only if the .ini file itself exists there, otherwise fall back to the current working directory as before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  754. Rob Swindell (on Windows 11)
    Sun Sep 13 2026 17:17:48 GMT-0700 (PDT)
    Modified Files:
    

    exec/install-xtrn.js diff
    install-xtrn.js: resolve relative install paths against ctrl_dir A relative path argument (e.g. ../xtrn/syncdoom, as documented) was made absolute using getcwd(), which returns the physical path, while system.ctrl_dir may be spelled via a symlink (/sbbs vs /opt/sbbs). The relative startup_dir calculated from the two was then anchored to the physical path (../../opt/sbbs/xtrn/syncdoom/), which isn't portable and resolves to the wrong directory if the BBS is run with the other spelling of ctrl_dir. Try a relative path against system.ctrl_dir first, falling back to the current working directory if it doesn't exist there. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  755. Rob Swindell (on Windows 11)
    Sun Sep 13 2026 17:17:48 GMT-0700 (PDT)
    Modified Files:
    

    exec/install-xtrn.js diff
    install-xtrn.js: use absolute install dir for file access (#1231) The startup_dir made relative to ctrl_dir in c4ecdec8b7b was also used for js.exec, [copy:], and [ini:] file access, which resolve against the current working directory. When ctrl_dir is reached via a symlink (e.g. /sbbs -> /opt/sbbs), getcwd() returns the physical path, so the lexically calculated relative path (../../opt/sbbs/xtrn/syncdoom/) pointed to a non-existent location and [pre-exec:get-binary.js] failed with "Script file (get-binary.js) does not exist". Use an absolute install_dir for file access, keeping the relative startup_dir for values written to config files (including [ini:] values and [eval:] strings that reference startup_dir). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  756. Rob Swindell (on Windows 11)
    Sun Sep 13 2026 14:46:07 GMT-0700 (PDT)
    Modified Files:
    

    src/encode/uucode.c diff
    src/encode/uucode.h diff
    src/encode/yenc.c diff
    src/encode/yenc.h diff
    Relicense uuencode.* and yenc.* as LGPL (instead of GPL) This was an oversight when moving the files from src/sbbs3 many years ago, they were intended to be LGPL at that time. Fix issue #1236

  757. Deucе
    Sat Sep 12 2026 15:11:54 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cg_cio.m diff
    src/conio/cg_events.m diff
    src/conio/sdl_con.c diff
    Prevent backend calls during shutdown Stop SDL user-event producers once video shutdown begins so the bitmap blinker cannot call into SDL after its event subsystem has been destroyed. Also make the Quartz lifecycle flags atomic across its application and main threads.

  758. Deucе
    Sat Sep 12 2026 14:44:30 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cg_events.m diff
    src/conio/wl_events.c diff
    Fix layout-aware shortcuts in Wayland and Quartz Resolve Wayland key events through the compositor-provided XKB keymap before selecting BIOS scancodes. This makes Alt and Ctrl shortcuts follow the active layout and restores Alt+Enter fullscreen behavior, while retaining raw evdev handling only for physical events and the no-XKB fallback. Use AppKit's charactersIgnoringModifiers for Quartz Command and Control shortcuts. Add Command-Enter parity with other backends and expose the standard Control-Command-F fullscreen shortcut while retaining Option-Enter compatibility.

  759. Deucе
    Sat Sep 12 2026 09:24:32 GMT-0700 (PDT)
    Modified Files:
    

    exec/fseditor.js diff
    Fix fseditor kludge-wrap state handling Basically, prevent creating 0-length lines that are marked as kludged. This should fix #200 and #1183 as well as supersede !731 I honestly think this may actually be fixed!

  760. Deucе
    Sat Sep 12 2026 08:29:50 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/auto/connected/connected.wren diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_conn.c diff
    src/syncterm/wren_bind_conn.h diff
    SyncTERM: map Alt-L credential terminators Fixes ticket 290

  761. Rob Swindell
    Fri Sep 11 2026 17:30:30 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mqtt.h diff
    Merge branch 'mqtt-protocol-header-1119' into 'master' mqtt: stop including mqtt_protocol.h on mosquitto 2.1+ Closes #1119 See merge request main/sbbs!732

  762. Steven Philley
    Fri Sep 11 2026 17:30:30 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mqtt.h diff
    mqtt: stop including mqtt_protocol.h on mosquitto 2.1+

  763. Rob Swindell
    Fri Sep 11 2026 16:21:36 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    Merge branch 'client-ini-authenticated-user-1179' into 'master' Terminal server: record authenticated user in node#/client.ini Closes #1179 See merge request main/sbbs!734

  764. Steven Philley
    Fri Sep 11 2026 15:12:16 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    Terminal server: record authenticated user in node#/client.ini

  765. Rob Swindell
    Fri Sep 11 2026 16:12:42 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    Merge branch 'syncretro-lobby-ini-1211' into 'master' syncretro: parse lobby ini files once per lobby entry Closes #1211 See merge request main/sbbs!733

  766. Steven Philley
    Fri Sep 11 2026 16:12:42 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    syncretro: parse lobby ini files once per lobby entry

  767. Rob Swindell (on Debian Linux)
    Fri Sep 11 2026 14:51:55 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/chksmb.c diff
    src/smblib/smbdefs.h diff
    SMB: size smb_t.file from MAX_PATH, leaving room for the extension smb_t.file was 128 bytes, shorter than MAX_PATH on every platform Synchronet targets: 260 on Windows, 1024 on macOS/BSD, 4096 on Linux. The fifty-odd sites that populate it all use a bounded printf, so a longer path truncated with no last_error, no log line and no non-zero return. smb_open() then worked on the truncated name: either an ENOENT naming a path the sysop never configured, or, for two bases sharing their first 127 characters, one silently reading and writing the other's data. The bound was already exceeded by the configured field widths alone. sub_t.data_dir and dir_t.data_dir are LEN_DIR + 1 (101) and their code fields LEN_EXTCODE + 1 (33), so an area with a per-area data directory reaches 132 characters. The field is the stem, without extension, and smblib appends .shd, .sdt, .sid, .sda, .sha, .sch, .ini, .hash and .lock to it in MAX_PATH + 1 buffers. Sizing it MAX_PATH + 1 would therefore only move the truncation to those; GCC said as much, with seventeen -Wformat-overflow reports in smbutil. Reserve the longest extension instead, ".hash" and ".lock" at five characters with the dot, so every derived name fits by construction. chksmb built its .shd name in a 128-byte buffer. No diagnostic reaches that one: SAFEPRINTF is a bounded call, so -Wformat-overflow does not apply to it and the -Wformat-truncation level in -Wall does not fire. Every other destination in the tree was already MAX_PATH + 1. smb_t is a runtime structure and is never serialized, so this is not an on-disk format change. It does change sizeof(smb_t): libsbbs.so / sbbs.dll, the servers, smbutil, chksmb, fixsmb and sbbsecho have to be rebuilt together. The Borland-built sbbsctrl.exe and UserEdit.exe do not reference smblib and are unaffected. GitLab #1240 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  768. Rob Swindell (on Debian Linux)
    Fri Sep 11 2026 14:39:36 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsdefs.h diff
    Cap LEN_SYSDIR at MAX_PATH The rest of the tree builds paths in MAX_PATH + 1 buffers, so a system directory longer than MAX_PATH cannot be used: it truncates at the first such buffer it reaches. On Windows, where MAX_PATH is 260, the 1023 LEN_SYSDIR resolved to was nearly four times what those buffers hold, and the truncation was silent because MSVC has no -Wformat-overflow. Take the smaller of MAX_PATH and INI_MAX_VALUE_LEN - 1, so a system directory always fits a MAX_PATH + 1 buffer on every platform. Nothing changes on Linux, where PATH_MAX is 4096. On Windows it also returns roughly 1.9MB of the terminal server's node_scfg[]: ten such fields over MAX_NODES entries. Bounding by MAX_PATH rather than a literal means that raising MAX_PATH for Windows long-path support would carry LEN_SYSDIR with it. A conditional expression rather than #if, because an #if naming MAX_PATH from a translation unit that had not yet reached dirwrap.h would take the MAX_PATH branch silently: an undefined identifier evaluates to 0 there. Include dirwrap.h directly rather than by way of smbdefs.h. scfg_t changes size where the cap binds, so sbbsctrl.exe and UserEdit.exe must be rebuilt alongside. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  769. Rob Swindell (on Debian Linux)
    Fri Sep 11 2026 14:39:26 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfg/scfg.h diff
    src/sbbs3/scfg/scfgmsg.c diff
    src/sbbs3/scfg/scfgsub.c diff
    src/sbbs3/scfg/scfgxfr2.c diff
    src/sbbs3/uedit/uedit.c diff
    src/sbbs3/umonitor/umonitor.c diff
    Size the buffers that receive an scfg_t system directory path af6907bf22 (pads-5-visit, 2026-09-09) grew the scfg_t directory fields from 100 to 1023 bytes, so every buffer one of those is printed into now has to be able to hold it. GCC reports 31 -Wformat-overflow sites where it cannot: the FTP server's ctrl_thread(), sbbsecho's NetMail export, SCFG's shared tmp[] and three of its menu functions, uedit's comment editor, and twenty places in umonitor. Size those destinations MAX_PATH + 1, the convention the same functions already use for their other path buffers. Every one is an increase: uedit and umonitor build only on *nix, where MAX_PATH is PATH_MAX (4096), and the rest were 128 or 256 bytes, below the 260 that MAX_PATH is on Windows. sbbsecho built its mail base path with a bare sprintf() into smb_t.file[128]; use SAFEPRINTF(), as the twenty-odd other sites that populate that field do. All of them still truncate a data_dir longer than 127 characters. Widening smb_t.file is an smblib ABI change and is not done here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  770. Rob Swindell (on Debian Linux)
    Fri Sep 11 2026 14:26:45 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/answer.cpp diff
    Reject DELETED/INACTIVE accounts on the SSH, SFTP and RLogin logon paths An account flagged DELETED or INACTIVE could still log on via SSH, SFTP or RLogin. Those paths resolve the account name themselves and, on a successful authentication, jump straight to logon(), bypassing login(), which was the only place the flags were checked. That is why Telnet correctly refused the same account while SSH let it straight in. find_login_id() does not filter the flags on the caller's behalf: matchuser() skips only DELETED accounts, because a deleted account's alias is blanked in the user index, and the LOGIN_USERNUM shortcut checks nothing at all. Test user_is_active() once the account has been resolved. A terminal session is sent text[UnknownUser] before the disconnect, the same response Telnet gives, since login() treats a deactivated account as an unknown one. An SFTP session has no terminal and is refused in the channel handler instead, before the session is marked on-line and the logon is counted. Both sites record the rejection with badlogin(), so repeated attempts accumulate toward the hack and IP filter thresholds, as they already do in the FTP and mail servers. The password is deliberately not passed along: it was the correct one, and it would otherwise be written to the hack log and to the ip.can entry. GitLab #1239 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  771. Rob Swindell
    Thu Sep 10 2026 01:17:28 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsecho.c diff
    Merge branch 'sbbsecho-security-violation-summary' into 'master' sbbsecho: summarize security violations at end of log Closes #1228 See merge request main/sbbs!730

  772. Steven Philley
    Thu Sep 10 2026 01:17:28 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbsecho.c diff
    sbbsecho: summarize security violations at end of log

  773. Rob Swindell (on Windows 11)
    Wed Sep 09 2026 22:53:57 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/jsexec.cpp diff
    src/sbbs3/load_cfg.c diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfg.c diff
    src/sbbs3/scfgdefs.h diff
    src/xpdev/dirwrap.c diff
    Fix silent path truncation and a 1-byte overflow in _fullpath() The POSIX _fullpath() bounds check counted the prefix and the path but not the '/' inserted between them, so a cwd of exactly size-1-strlen(path) chars wrote size+1 bytes into a size-byte buffer. The separator has been there since 7afb0cbbe45 (2003-03-20); the undercounting guard arrived with 3b11acf35a0 (2014-04-24). Count the separator, and replace the strncat(target, path, size - 1) of 7afb0cbbe45 -- which passes a total buffer size where strncat wants remaining space -- with strlcat(). Read the working directory into a local buffer instead of relying on getcwd(NULL, size), whose allocating form is a glibc extension, and report truncation in the absolute-path branch rather than returning a plausible-looking but wrong path. On failure the function returned NULL after emptying the caller's buffer, and callers that discarded the return then proceeded on an empty path. jsexec did this at ed6db36fad9 (2024-02-05): a control directory whose resolved path exceeded the buffer left scfg.ctrl_dir empty, and the only diagnostics were "!ERROR changing directory to: " and a text.dat ENOENT that named neither the path nor the limit. prep_dir() did the same at 79604ea564a (2005-09-05), which silently blanked every directory derived from ctrl_dir, and additionally passed the caller's buffer size as the size of its own MAX_PATH+1 scratch buffer. Check the return at those sites, in SCFG, and in isabspath(), which passed the NULL to stricmp(). Also replace prep_dir()'s strncpy() of 46e1efa2229 (2020-05-26), which does not terminate on an exact fit, and detect truncation of the base-plus-path join before it reaches backslashcolon(), which appends without bounds-checking. Size the resolved system directory paths in scfg_t with a new LEN_SYSDIR rather than LEN_DIR (100). These hold absolute paths built from ctrl_dir, which is copied from a startup_t field already sized INI_MAX_VALUE_LEN, so 100 truncated in both directions. LEN_SYSDIR is not MAX_PATH, which is PATH_MAX (4096) on Linux: the terminal server instantiates scfg_t MAX_NODES times in node_scfg[], where that would cost roughly 10MB. node_path[] keeps LEN_DIR for the same reason and still truncates for sufficiently deep installs; it needs to become a pointer array. scfg_t changes size, so sbbsctrl.exe and UserEdit.exe must be rebuilt alongside. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  774. Rob Swindell (on Windows 11)
    Tue Sep 08 2026 21:34:48 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/syncview/CMakeLists.txt diff
    syncview: fix the Windows entry point syncview is a ciolib application, so ciolib.h redefines its main as CIOLIB_main and a console-subsystem link finds no main, failing with LNK2019. Build it as a WIN32-subsystem executable so it picks up the WinMain in ciolib's SDL_win32_main.c, as syncterm and syncdraw do. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  775. Rob Swindell (on Windows 11)
    Tue Sep 08 2026 21:25:36 GMT-0700 (PDT)
    Modified Files:
    

    src/syncdraw/CMakeLists.txt diff
    syncdraw: fix the Windows entry point for each executable xpdev's gen_defs.h includes <SDL.h> when WITH_SDL_AUDIO is set, and SDL's SDL_main.h redefines main as SDL_main; ciolib.h in turn redefines it as CIOLIB_main. Either way a console-subsystem link finds no main, and all three executables failed to link with LNK2019. Build syncdraw and fontutil as WIN32-subsystem executables so they pick up the WinMain in ciolib's SDL_win32_main.c, as syncterm already does, and define SDL_MAIN_HANDLED for buildfont, a plain console tool that doesn't use ciolib. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  776. Rob Swindell (on Windows 11)
    Tue Sep 08 2026 21:25:36 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/retro.c diff
    conio/retro.c: fix zero-length array and implicit bsearch declaration rid[] was declared with an empty initializer, giving it zero elements. GCC rejects that outright ("zero or negative size array 'rid'"), so the file has never compiled with WITH_RETRO under GCC; MSVC accepts it in the front end and then dies with an internal compiler error in its /Od back-end pass (C1001 in p2\main.cpp). Give the array the terminating element libretro expects. retro_keyboard() called bsearch() without including <stdlib.h>, so it was implicitly declared as returning int and its result truncated to 32 bits before being stored in a pointer. Include the header, and qualify the result const to match the table it points into. retro_kbhit() returned a size_t as int; the value is bounded by KEYBUFSIZE, so make the narrowing explicit. rid[] and the bsearch call arrived in 9df61ba29f (2025-01-28), retro_kbhit() in ba963b522c (2025-01-27). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  777. Deucе
    Mon Sep 07 2026 20:03:13 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/syncview/CMakeLists.txt diff
    "fix" syncview cmake file

  778. Deucе
    Mon Sep 07 2026 19:54:12 GMT-0700 (PDT)
    Modified Files:
    

    src/syncdraw/CMakeLists.txt diff
    Add the "new" encode and hash libs

  779. Deucе
    Mon Sep 07 2026 18:11:56 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/CHANGES diff
    Sync 1.9 changes with the release.

  780. Rob Swindell (on Windows 11)
    Mon Sep 07 2026 15:25:33 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/syncterm.iss diff
    Increment version number to 1.9

  781. Stephen Hurd
    Mon Sep 07 2026 12:36:37 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/CMakeLists.txt diff
    Fix pkg-config prefix calculation on Windows

  782. Deucе
    Mon Sep 07 2026 12:20:21 GMT-0700 (PDT)
    Added Files:
    

    src/ssh/deucessh-static.pc.in diff
    Modified Files:

    src/ssh/CMakeLists.txt diff
    src/ssh/deucessh.pc.in diff
    DeuceSSH: install portable pkg-config files

  783. Deucе
    Mon Sep 07 2026 02:01:31 GMT-0700 (PDT)
    Modified Files:
    

    src/build/Common.gmake diff
    src/newifc/root_window.c diff
    src/sbbs3/sexyz.c diff
    src/sbbs3/suppressions.vg diff
    src/xpdev/cmake/xpdev.map diff
    src/xpdev/link_list.c diff
    src/xpdev/link_list.h diff
    src/xpdev/rwlockwrap.c diff
    src/xpdev/rwlockwrap.h diff
    src/xpdev/semwrap.c diff
    src/xpdev/semwrap.h diff
    src/xpdev/threadwrap.c diff
    src/xpdev/threadwrap.h diff
    src/xpdev/xpevent.c diff
    src/xpdev/xpevent.h diff
    src/xpdev/xpsem.c diff
    src/xpdev/xpsem.h diff
    Hide XPDev synchronization internals Import the reviewed removal and opacity changes from XPDev while adapting monorepo callers and preserving its non-CMake build paths. Remove unsafe semaphore count APIs and the mutex initializer helper, use fixed-width timeouts, and make XP semaphores, Win32 rwlocks, and Unix events opaque.

  784. Deucе
    Mon Sep 07 2026 00:25:54 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/semwrap.c diff
    Wrap semaphore errors for older Windows CRTs Use ERANGE and EINVAL fallbacks when EOVERFLOW and ENOSYS are unavailable, preserving precise errno values on CRTs that provide them. Keep sem_getvalue intact for the conservative CI pass.

  785. Deucе
    Mon Sep 07 2026 00:22:32 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/semwrap.c diff
    Keep Win32 semaphore errors CRT-compatible Avoid importing POSIX errno values that are absent from supported Windows CRTs, including Borland C++Builder 6. Preserve the legacy sem_getvalue and wait-error behavior until the API-removal pass.

  786. Deucе
    Mon Sep 07 2026 00:08:37 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/link_list.c diff
    src/xpdev/rwlockwrap.c diff
    src/xpdev/semwrap.c diff
    src/xpdev/threadwrap.c diff
    src/xpdev/threadwrap.h diff
    src/xpdev/xpevent.c diff
    src/xpdev/xpsem.c diff
    src/xpdev/xpsem.h diff
    Fix XPDev synchronization error handling Port the contract-preserving fixes from XPDev cae6fee93, b9d1cc9d8, 0855010e0, and 339a94368 while retaining the monorepo's existing pthread and semaphore ABI selection.

  787. Deucе
    Sun Sep 06 2026 22:13:58 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/server.c diff
    DeuceGate: initialize server mutex in place

  788. Deucе
    Sun Sep 06 2026 21:41:13 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/ansi_cio.c diff
    Avoid racy semaphore value checks in ANSI input

  789. Deucе
    Sun Sep 06 2026 21:19:40 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/xpsem.c diff
    src/xpdev/xpsem.h diff
    Validate XP semaphore handles and values Port the contract-preserving validation fixes from XPDev 9ff2e08d35d7b22a38478b669b8ad7ddcb60e2fb without importing the semaphore implementation-selection changes.

  790. Deucе
    Sun Sep 06 2026 17:49:37 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/CMakeLists.txt diff
    src/xpdev/named_str_list.h diff
    src/xpdev/xpevent.h diff
    src/xpdev/xpprintf.h diff
    Make XPDev installed headers self-contained Port the applicable XPDev fixes from 5b3b1b13efd909ebc2bc8a765492fc20eb6538d6. Keep gen_defs.h in xpprintf.h for legacy gmake, MSVC, and Borland feature selection, and omit standalone support-component install changes.

  791. Deucе
    Sun Sep 06 2026 17:49:31 GMT-0700 (PDT)
    Modified Files:
    

    src/encode/base64.h diff
    Rewrite Base64 header under LGPL Port XPDev 60f43aa88259c1d955d893599887d27d8846f732 while retaining gen_defs.h for the monorepo legacy compiler and non-CMake build paths.

  792. Deucе
    Sun Sep 06 2026 17:49:25 GMT-0700 (PDT)
    Modified Files:
    

    src/comio/comio_nix.c diff
    Make COMIO serial rate helpers private Port the build-system-neutral source fix from XPDev 4073890bab29381a0a6a3b1a0c8c993c4359bd17 without importing its standalone CMake component targets or export machinery.

  793. Deucе
    Sun Sep 06 2026 15:50:44 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/gen_defs.h diff
    src/xpdev/xpprintf.h diff
    xtrn/sbj/sbj.c diff
    Fix legacy namespace build regressions

  794. Stephen Hurd
    Sun Sep 06 2026 15:35:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    src/build/Common.gmake diff
    src/comio/comio.c diff
    src/conio/ansi_cio.c diff
    src/deucegate/server.c diff
    src/doors/syncretro/syncretro_config.c diff
    src/doors/top/topmaint.c diff
    src/newifc/root_window.c diff
    src/odoors/ex_ski.c diff
    src/sbbs3/chksmb.c diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/prntfile.cpp diff
    src/sbbs3/qwknodes.c diff
    src/sbbs3/sbbscon.c diff
    src/sbbs3/sbbsecho.c diff
    src/sbbs3/smbutil.c diff
    src/sbbs3/suppressions.vg diff
    src/sexpots/sexpots.c diff
    src/syncterm/HACKING.md diff
    src/syncterm/syncterm.c diff
    src/syncterm/wren_bind_picker.c diff
    src/syncterm/wren_bind_xfer.c diff
    src/tone/tone.c diff
    src/uifc/filepick.c diff
    src/xpdev/CMakeLists.txt diff
    src/xpdev/cmake/xpdev.map diff
    src/xpdev/cmake/xpdevFeatures.cmake.in diff
    src/xpdev/cmake/xpdev_config.h.in diff
    src/xpdev/conwrap.c diff
    src/xpdev/conwrap.h diff
    src/xpdev/dirwrap.c diff
    src/xpdev/dirwrap.h diff
    src/xpdev/filewrap.c diff
    src/xpdev/filewrap.h diff
    src/xpdev/gen_defs.h diff
    src/xpdev/genwrap.c diff
    src/xpdev/genwrap.h diff
    src/xpdev/link_list.c diff
    src/xpdev/msg_queue.c diff
    src/xpdev/semwrap.c diff
    src/xpdev/semwrap.h diff
    src/xpdev/threadwrap.c diff
    src/xpdev/threadwrap.h diff
    src/xpdev/wraptest.c diff
    src/xpdev/xpbeep.c diff
    src/xpdev/xpbeep.h diff
    src/xpdev/xpprintf.c diff
    src/xpdev/xpprintf.h diff
    xtrn/sdk/xsdk.c diff
    xtrn/tbd/tbd.c diff
    Namespace XPDev portability APIs Port b8df5e2c1133c483a943ee1f43c776ddfcebb64f and update monorepo callers for the renamed console, glob, clock, mutex, and semaphore APIs. Preserve non-CMake platform shim selection, and require usable declarations in CMake capability checks so MinGW does not mistake undeclared CRT functions for available APIs.

  795. Deucе
    Sun Sep 06 2026 14:39:23 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/mrc/chat_sec-with-mrc-example.js diff
    Merge branch 'codefenix-master-patch-13420' into 'master' Updated example js file to account for recent changes made to chat_sec.js See merge request main/sbbs!729

  796. Craig Hendricks
    Sun Sep 06 2026 14:39:23 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/mrc/chat_sec-with-mrc-example.js diff
    Updated example js file to account for recent changes made to chat_sec.js

  797. Stephen Hurd
    Sun Sep 06 2026 14:30:25 GMT-0700 (PDT)
    Added Files:
    

    src/xpdev/cmake/xpdev.map diff
    Modified Files:

    src/xpdev/CMakeLists.txt diff
    src/xpdev/cmake/xpdevFeatures.cmake.in diff
    src/xpdev/cmake/xpdev_config.h.in diff
    src/xpdev/conwrap.h diff
    src/xpdev/dat_file.h diff
    src/xpdev/dirwrap.h diff
    src/xpdev/genwrap.h diff
    src/xpdev/link_list.c diff
    src/xpdev/named_str_list.h diff
    src/xpdev/stbuf.h diff
    src/xpdev/strwrap.c diff
    src/xpdev/strwrap.h diff
    src/xpdev/threadwrap.h diff
    src/xpdev/unicode.h diff
    src/xpdev/xpbeep.h diff
    src/xpdev/xpevent.h diff
    src/xpdev/xpsem.h diff
    Add shared-library ABI symbol controls Port b1deb2771b8fe1366808af0f06c9440283f828b3 from the standalone xpdev repository. Keep hidden visibility and symbol versioning confined to the opt-in installable shared CMake target so legacy object, gmake, MSVC, and Borland builds retain their existing behavior.

  798. Stephen Hurd
    Sun Sep 06 2026 14:21:25 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/CMakeLists.txt diff
    src/xpdev/cmake/xpdevFeatures.cmake.in diff
    src/xpdev/cmake/xpdev_config.h.in diff
    Add shared library SONAME Port 076c3d15f145814e0f785470ca86a1bdbd4717d7 from the standalone xpdev repository while retaining the monorepo CMake compatibility adaptations.

  799. Stephen Hurd
    Sun Sep 06 2026 13:11:27 GMT-0700 (PDT)
    Added Files:
    

    src/xpdev/cmake/xpdevFeatures.cmake.in diff
    src/xpdev/cmake/xpdev_config.h.in diff
    Modified Files:

    src/xpdev/CMakeLists.txt diff
    src/xpdev/cmake/xpdevConfig.cmake.in diff
    src/xpdev/gen_defs.h diff
    Export xpdev build configuration Port 6bc1730a373003e32053a4456a8c817af3d7f5f7 from the standalone xpdev repository. Restrict the generated xpdev_config.h include to CMake targets so gmake, MSVC, and Borland builds retain their existing command-line configuration, while embedded and installed CMake consumers receive the generated capabilities.

  800. Stephen Hurd
    Sun Sep 06 2026 12:52:03 GMT-0700 (PDT)
    Added Files:
    

    src/xpdev/cmake/xpdevConfig.cmake.in diff
    Modified Files:

    src/xpdev/CMakeLists.txt diff
    Add installable static and shared libraries Port 526fbccbdfd8ef55dbd5761516164706970bb1e9 from the standalone xpdev repository. Keep installable targets opt-in for parent builds, use the Synchronet license when embedded, and propagate SDL to installed consumers.

  801. Rob Swindell (on Windows 11)
    Sat Sep 05 2026 18:38:18 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/scansubs.cpp diff
    Bug-fix: don't ask "Your Messages Only" during scan configuration for QWK nodes 1f8a468b15 (2005-06-24) suppressed this prompt for QWK network nodes at the per-sub site but left the "all subs in group" branch testing useron.misc instead of useron.rest. FLAG('Q') is bit 16, which is unassigned in user.misc, so that test was always false and QWK nodes were still asked. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  802. Rob Swindell (on Windows 11)
    Sat Sep 05 2026 18:37:49 GMT-0700 (PDT)
    Modified Files:
    

    exec/automsg.js diff
    exec/avatars.js diff
    exec/batchxfer.js diff
    exec/chat_sec.js diff
    exec/chksetup.js diff
    exec/default.js diff
    exec/imapservice.js diff
    exec/inactive_user_email.js diff
    exec/lbshell.js diff
    exec/load/bajalib.js diff
    exec/load/birthdays.js diff
    exec/load/dd_lightbar_menu.js diff
    exec/load/ircd/core.js diff
    exec/load/slyedit_misc.js diff
    exec/load/userdefs.js diff
    exec/load/userprops.js diff
    exec/logon.js diff
    exec/mailauth.js diff
    exec/makeguest.js diff
    exec/newuser.js diff
    exec/nntpservice.js diff
    exec/obv-2.js diff
    exec/prextrn.js diff
    exec/privatemsg.js diff
    exec/privchat.js diff
    exec/renegade.js diff
    exec/spitfire.js diff
    exec/tempxfer.js diff
    exec/user_settings.js diff
    exec/wwiv.js diff
    exec/xtrn_sec.js diff
    exec/xtrnmenu.js diff
    src/sbbs3/answer.cpp diff
    src/sbbs3/atcodes.cpp diff
    src/sbbs3/bat_xfer.cpp diff
    src/sbbs3/bulkmail.cpp diff
    src/sbbs3/chat.cpp diff
    src/sbbs3/chk_ar.cpp diff
    src/sbbs3/data.cpp diff
    src/sbbs3/email.cpp diff
    src/sbbs3/execfile.cpp diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/getmsg.cpp diff
    src/sbbs3/getnode.cpp diff
    src/sbbs3/getstr.cpp diff
    src/sbbs3/js_bbs.cpp diff
    src/sbbs3/js_msgbase.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/logon.cpp diff
    src/sbbs3/logout.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/newuser.cpp diff
    src/sbbs3/pack_qwk.cpp diff
    src/sbbs3/postmsg.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/qwktomsg.cpp diff
    src/sbbs3/readmail.cpp diff
    src/sbbs3/readmsgs.cpp diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scansubs.cpp diff
    src/sbbs3/str.cpp diff
    src/sbbs3/un_rep.cpp diff
    src/sbbs3/upgrade_to_v320.c diff
    src/sbbs3/upload.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/viewfile.cpp diff
    src/sbbs3/writemsg.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    web/lib/global_defs.ssjs diff
    web/lib/leftnav_html.ssjs diff
    web/lib/nightshade/leftnav_html.ssjs diff
    web/root/ecwebv3/pages/003-userlist.xjs diff
    web/root/members/userlist.ssjs diff
    web/root/msgs/msg.ssjs diff
    web/root/msgs/msgs.ssjs diff
    web/root/msgs/post.ssjs diff
    web/root/msgs/reply.ssjs diff
    web/root/msgs/savemsg.ssjs diff
    web/root/msgs/subs.ssjs diff
    webv4/lib/forum.js diff
    webv4/pages/000-mail.xjs diff
    webv4/pages/001-forum.ssjs diff
    webv4/root/api/forum.ssjs diff
    xtrn/sdk/xsdkdefs.h diff
    Name the user restriction and exemption flag bits user.rest and user.exempt both index a FLAG('A'..'Z') namespace in which the same letter means two unrelated things: 'G' is "Edit Defaults" (the Guest indicator) as a restriction but "Multiple Nodes" as an exemption, 'T' is "Transfers" versus "Time Online", 'L' is "Logon one/day" versus unlimited logons. Of the 23 assigned letters only 'R' (Remove Files) agrees between the two fields, and several near-misses ('C', 'D', 'L', 'U') are close enough that a wrong-field test still reads plausibly. A raw "rest & FLAG('G')" therefore says nothing about which meaning is intended, and swapping the two fields is invisible in review: 02792b752c (2025-09-08) did exactly that while introducing user_is_guest(), shipping a broken "Multiple Nodes" exemption in v3.21e. Define one name per (field, letter) in sbbsdefs.h - UREST_* and UEXEMPT_* - and use them at every site that tests or sets the two fields: 189 in C/C++, 120 in the stock JavaScript. Because the prefix has to agree with the field it is applied to, a mismatch is now visible on a single line. The names cover the full legend in text/menu/restrict.asc and text/menu/exempt.asc, including the two restrictions ('W' auto-message, 'X' external programs) that only the JavaScript modules enforce. Every name expands to the FLAG() value it replaces, so this is a pure substitution with no functional effect. The only other source edits are trailing comments that the names make redundant. exec/load/userdefs.js gains matching UREST_*/UEXEMPT_* aliases of its UFLAG_x values. The bare UFLAG_x names remain in use for user.security.flags1-4, the sysop-defined flag sets that have no fixed meaning, and in the externally maintained modules under xtrn/. Also flip sbbsdefs.h's include guard to a non-reserved form, and update the five #ifndef tests in xtrn/sdk/xsdkdefs.h that use that guard to detect whether sbbsdefs.h has already been included - they suppress redefinition of macros the two headers share, some of which (ANSI, COLOR, RIP) hold different values in each. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  803. Rob Swindell (on Windows 11)
    Sat Sep 05 2026 15:45:44 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/logon.cpp diff
    Fix "Multiple Nodes" (G) user exemption being ignored at logon The logon-time check for a user already being on another node tests the user's G exemption ("Multiple Nodes"), but 02792b752c (2025-09-08) mechanically replaced that test with the new useron_is_guest() helper, which reads the G *restriction* (Guest) instead. Every other conversion in that commit was of a restriction test, so this lone exemption test changed behavior despite the commit's "No functional change" claim. The result, shipped in v3.21e: a user granted the G exemption was still disconnected with "You can't possibly be in two places at the same time", while Guest accounts gained an exemption they never had. Stock Guest accounts set both the G restriction and the G exemption (see exec/makeguest.js), so the swap was invisible there - only non-guest users holding the exemption saw the breakage. Fixes issue #1234. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  804. Deucе
    Fri Sep 04 2026 18:53:01 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-auth.c diff
    src/ssh/test/test_auth.c diff
    Flush auth banners before special responses

  805. Rob Swindell (on Windows 11)
    Fri Sep 04 2026 18:22:50 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    src/sbbs3/chat.cpp diff
    src/sbbs3/putmsg.cpp diff
    src/sbbs3/qwk.cpp diff
    src/sbbs3/readmail.cpp diff
    src/sbbs3/readmsgs.cpp diff
    src/sbbs3/scansubs.cpp diff
    Use terminal capabilities, not user-record bits, for RIP/charset tests Ten decisions in the terminal server tested raw user-record flags (useron.misc & RIP, & COLOR, & UTF8, ...) where what they meant was "does this terminal support it?". Under AUTOTERM those record bits are not authoritative: logon() re-derives them from the auto-detected terminal into useron.misc in memory only, while Terminal::get_flags() derives its own flags from sbbs->autoterm. The two disagree as soon as the record is re-read over sbbs->useron mid-session - which happens on the next user.* property read after any user.* property write, since js_user_set() invalidates the cache and js_user_get() then reloads the record into the live user struct - or when another node writes the record while you are online. Reported symptom: connect with a RIP terminal while a second, non-RIP session is online, and the non-RIP session starts auto-displaying the "msgscan" menu at the message-reading prompt: a menu meant for RIP terminals only. Converted to Terminal::supports() / Terminal::charset(): readmsgs.cpp, readmail.cpp, scansubs.cpp (x3) - menu display chat.cpp, qwk.cpp (x2) - menu display putmsg.cpp - RIP sequence pause defeat atcodes.cpp - @RIP@, @ANSI@, @ASCII@, @COLOR@, @ICE@, @PETSCII@, @SWAPDEL@, @UTF8@, @MOUSE@ The EXPERT halves of the compound conditions still read useron.misc: that is a user setting, not a terminal capability. @AUTOTERM@, @UPAUSE@ and @SPIN@ are likewise left alone. Note: the three charset @-codes now use term->charset() == CHARSET_*, matching @PETGRFX@, so they are mutually exclusive - @ASCII@ reports Off for a UTF-8 terminal even when NO_EXASCII is set in the record, since Terminal::flags_fixup() clears NO_EXASCII in UTF-8 mode. The raw-bit idiom is older than the problem: these tests go back as far as 7e3e47141a5 (2000), and it was 374282bf81 (Terminal class) that made the record's terminal bits non-authoritative. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  806. Deucе
    Thu Sep 03 2026 20:07:07 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/README.md diff
    src/deucegate/deucegate.h diff
    src/deucegate/door.c diff
    src/deucegate/tests/test_deucegate.c diff
    Merge branch 'deucegate-shell-quote' into 'master' Shell-quote the user-controlled door command macros on POSIX See merge request main/sbbs!727

  807. Andy Alt
    Thu Sep 03 2026 20:07:07 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/README.md diff
    src/deucegate/deucegate.h diff
    src/deucegate/door.c diff
    src/deucegate/tests/test_deucegate.c diff
    Shell-quote the user-controlled door command macros on POSIX

  808. Rob Swindell
    Wed Sep 02 2026 21:47:49 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/DDAreaChoosers/DDFileAreaChooser.js diff
    xtrn/DDAreaChoosers/DDMsgAreaChooser.js diff
    xtrn/DDAreaChoosers/readme.txt diff
    xtrn/DDAreaChoosers/version_history.txt diff
    Merge branch 'dd_message_area_chooser_text_alignment_fix' into 'master' DDMsgAreaChooser fix: Text alignment issue. Reported by Nelgin See merge request main/sbbs!728

  809. Eric Oulashin
    Wed Sep 02 2026 21:25:23 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/DDAreaChoosers/DDFileAreaChooser.js diff
    xtrn/DDAreaChoosers/DDMsgAreaChooser.js diff
    xtrn/DDAreaChoosers/readme.txt diff
    xtrn/DDAreaChoosers/version_history.txt diff
    DDMsgAreaChooser fix: Text alignment issue. Reported by Nelgin

  810. Deucе
    Tue Sep 01 2026 22:16:49 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/win32/threads.c diff
    src/ssh/win32/threads.h diff
    Add thrd_yield to MinGW thread shim

  811. Stephen Hurd
    Tue Sep 01 2026 09:09:45 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/test_selftest.c diff
    Make selftest socket callbacks interruptible

  812. Stephen Hurd
    Tue Sep 01 2026 09:09:45 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/README.md diff
    src/ssh/RULES.md diff
    src/ssh/coverity-cids.txt diff
    src/ssh/deucessh-conn.h diff
    src/ssh/deucessh.h diff
    src/ssh/docs/audit-4253.md diff
    src/ssh/docs/audit-design.md diff
    src/ssh/docs/audit-rules.md diff
    src/ssh/ssh-auth.c diff
    src/ssh/ssh-conn.c diff
    src/ssh/ssh-internal.h diff
    src/ssh/ssh-trans.c diff
    src/ssh/ssh-trans.h diff
    src/ssh/ssh.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/test_conn.c diff
    src/ssh/test/test_selftest.c diff
    src/ssh/test/test_thread_errors.c diff
    src/ssh/test/test_transport_errors.c diff
    Redesign transport TX and RX synchronization

  813. Stephen Hurd
    Tue Sep 01 2026 09:09:45 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/RULES.md diff
    Make callback lock prohibition absolute

  814. Stephen Hurd
    Tue Sep 01 2026 09:09:44 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-trans.c diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/test_selftest.c diff
    Fix rekey in-flight test race

  815. Stephen Hurd
    Tue Sep 01 2026 09:09:44 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/RULES.md diff
    Forbid locks across callbacks and blocking calls

  816. Stephen Hurd
    Tue Sep 01 2026 09:09:44 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-conn.c diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/mock_io.c diff
    src/ssh/test/mock_io.h diff
    src/ssh/test/test_conn.c diff
    Fix test demux and mock I/O races

  817. Stephen Hurd
    Tue Sep 01 2026 09:09:44 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-conn.c diff
    src/ssh/ssh-internal.h diff
    src/ssh/ssh-trans.c diff
    src/ssh/ssh.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/mock_io.c diff
    src/ssh/test/mock_io.h diff
    src/ssh/test/test_auth.c diff
    src/ssh/test/test_conn.c diff
    src/ssh/test/test_selftest.c diff
    src/ssh/test/test_thread_errors.c diff
    Fix channel and termination synchronization races

  818. Stephen Hurd
    Tue Sep 01 2026 09:09:43 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/AGENTS.md diff
    Require RULES.md compliance for agents

  819. Stephen Hurd
    Tue Sep 01 2026 09:09:43 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/deucessh-conn.h diff
    src/ssh/ssh-conn.c diff
    src/ssh/ssh-internal.h diff
    src/ssh/ssh-trans.c diff
    src/ssh/ssh-trans.h diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/test_conn.c diff
    src/ssh/test/test_selftest.c diff
    src/ssh/test/test_transport_errors.c diff
    Fix channel window publication races

  820. Stephen Hurd
    Tue Sep 01 2026 09:09:43 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/AGENTS.md diff
    Drop redundant pwd instruction

  821. Stephen Hurd
    Tue Sep 01 2026 09:09:42 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/test_selftest.c diff
    Harden selftest channel synchronization

  822. Stephen Hurd
    Tue Sep 01 2026 09:09:42 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/test_auth.c diff
    Make auth send-failure test deterministic

  823. Stephen Hurd
    Tue Sep 01 2026 09:09:42 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/CMakeLists.txt diff
    Isolate selftests and cache Windows OpenSSL

  824. Stephen Hurd
    Tue Sep 01 2026 09:09:41 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/CMakeLists.txt diff
    Skip GNU allocator wrapping on macOS

  825. Stephen Hurd
    Tue Sep 01 2026 09:09:41 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/posix/threads.c diff
    src/ssh/posix/threads.h diff
    Complete POSIX thread shim for tests

  826. Stephen Hurd
    Tue Sep 01 2026 09:09:41 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/CMakeLists.txt diff
    Wire thread shim into test targets

  827. Stephen Hurd
    Tue Sep 01 2026 09:09:41 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/test_conn.c diff
    Wait for channel windows in test helpers

  828. Stephen Hurd
    Tue Sep 01 2026 09:09:40 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/test_auth.c diff
    src/ssh/test/test_conn.c diff
    Remove remaining CI test races

  829. Stephen Hurd
    Tue Sep 01 2026 09:09:40 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/dssh_test.h diff
    src/ssh/test/test_conn.c diff
    Stabilize isolated connection tests

  830. Stephen Hurd
    Tue Sep 01 2026 09:09:40 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/test/CMakeLists.txt diff
    Isolate connection tests by case

  831. Deucе
    Mon Aug 31 2026 19:26:19 GMT-0700 (PDT)
    Added Files:
    

    src/deucegate/examples/systemd/README.md diff
    src/deucegate/examples/systemd/deucegate.service diff
    src/deucegate/examples/systemd/hardening.conf diff
    Modified Files:

    src/deucegate/README.md diff
    Add systemd user service examples Based on a service example and documentation suggestion from Andy Alt.

  832. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 23:50:55 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: measure what MobyTurbo is worth Rob asked what sexyz would gain by supporting MobyTurbo. zmtx/zmrx 2.05 implements it, so it can be measured rather than estimated. It is worth about 2.3% on compressed or otherwise incompressible data and essentially nothing on text. ZMODEM must escape seven byte values -- ZDLE, 0x10, 0x11, 0x13, 0x90, 0x91 and 0x93 -- at one extra wire byte each, which is 7/256 = 2.73% of uniformly distributed data; MobyTurbo drops that escaping on links known to be transparent and recovers exactly it. Measured on 1 MiB: random data goes from +2.84% overhead to +0.49%, while text goes from +0.09% to +0.09%. The split is the escape rate itself -- those seven values occupy 2.746% of the random file and 0.000% of the text one, none of them occurring in ordinary ASCII. Three bounds on what that is worth, all recorded: it is a wire saving, so it converts to throughput only where bandwidth binds rather than in this document's CPU-bound regime; it needs a transparent link, the same precondition ESC8 exists to work around, inverted; and it is negotiated by the receiver, so DSZ sz -m to sexyz puts exactly the same bytes on the wire as without it. Forsberg measured about the same himself. DSZ.DOC's benchmark table has Pro-YAM at 231 cps standard against 237 with MobyTurbo on a 2400 bps link, +2.6%, within half a point of the figure here thirty-six years later. Also adds feature-table rows for MobyTurbo and Pack-7, both of which zmtx/zmrx 2.05 now implements and neither sexyz nor lrzsz does.

  833. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 17:56:35 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: zmtx/zmrx supports CRC-16, it just cannot be asked for The feature table listed CRC-16 as "--" for zmtx/zmrx, which reads as not supported. That is wrong in a way that matters to anyone pairing it with a CRC-16-only peer. want_fcs_32 is hard-coded true in zmdm.c and neither program offers a CRC flag, so it cannot be asked to prefer 16-bit -- but the machinery is present in both the header and data paths and the selection is can_fcs_32 && want_fcs_32, so it falls back whenever the peer omits CANFC32. Distinguish "supported but not selectable" from "absent", since sexyz and lsz can both force CRC-16 and zmtx/zmrx can only fall into it. Measured rather than read: zmtx to sexyz -o puts 4,311,016 bytes on the wire against 4,312,065 with CRC-32, and sexyz -o to zmrx 4,310,744 against 4,311,816. A 4 MiB file is 512 subpackets at 8 KiB and two CRC bytes saved each is about 1,024, which is what those deltas are. Both verified byte-identical, so the fallback is real in both directions. Also corrects a stale count in the prose above the table.

  834. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 17:37:45 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: re-measure zmtx/zmrx at 2.05, which fixes both reported defects Deuce released 2.05 the day after this document reported two defects against 2.04, and fixed both, plus implemented the ESC8 encoding the DSZ investigation had recovered. Re-measure everything the document claims about zmtx/zmrx. ESCCTL is fixed (82be5ad). CR is folded into the control class -- action = TX_ESCAPE_CONTROL | TX_ESCAPE_CR -- with the '@' conditional kept as a separate test, which is the same shape as our own fix six days earlier. zmtx 2.05 now transfers byte-identically to lrz -e, to sexyz -e and to its own zmrx -e, putting 5,245,010 bytes on the wire where sexyz puts 5,245,034 and lsz 5,245,032 for the same file. The 32,400-byte shortfall, which was the unescaped CR count, is gone. The retry budget is fixed (6e32e97). The gate at 3e-6 goes from 0 of 5 to 3 of 5 and the rate sweep now completes where 2.04 failed from 5e-7 up. Still the weakest of the three -- sexyz manages 10 of 10 and lrzsz 7 of 10 -- but no longer structurally unable to finish. And ESC8 now interoperates (399e3b6). The commit adopts Forsberg's encoding rather than inventing one; its comment names DSZ.EXE's ZMODEM-90 seven-bit encoder and the code emits SO followed by the byte with bit 7 cleared, which is what the known-plaintext capture recovered. Verified against the 1997 binary both ways on a 16 KiB file: zmtx 2.05 to DSZ rz -E and DSZ sz to zmrx -b both arrive identical. So a de facto normative ESC8 now exists, with two implementations agreeing on it, where days ago there were two encodings and no agreement. The features cost the sender something: 0.38 CPU-seconds per 256 MiB at 2.04, 0.48 at the 2.05 tag, 0.44 after dfa97f0 "Recover standard transfer performance", which is measured here because that commit lands after the tag. Still the cheapest sender measured, but the margin over lsz narrowed from 2.5x to 2.2x. The 2.02 and 2.04 measurements are kept throughout rather than overwritten, since they are how the encoding was established and why the options are the way they are.

  835. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 17:21:06 GMT-0700 (PDT)
    Modified Files:
    

    docs/xymodem_verification.md diff
    docs/xymodem: compare the three knob failures against lrzsz and DSZ The first cut reported three options that fail hard rather than degrading, and left it there. That was the wrong stopping point: XMODEM has no capability negotiation, so somebody has to degrade, and the useful question is whether anyone else does better in the same situation. Measured against both references, the three sort into three different verdicts. CRC fallback is ours to be proud of. XMODEM-CRC specifies the degradation on the receiver: ask with C, fall back to NAK after enough unanswered attempts. Put a checksum-only sender in front of each receiver and sexyz rc falls back and completes in 12 seconds, DSZ rx falls back and completes, and lrz --xmodem -c does not, timing out at 40. So the deadlock reported for SendCRC=false is lrzsz declining to degrade, not us. G-mode fallback is ours to fix. The mirror test, a sender refusing G in front of a G-mode receiver: DSZ rb -g drops out of G and completes, while sexyz rg gives up with "Error fetching YMODEM header block" after 27 seconds. That is the clearest actionable item in the document. And the receive-side block-size cap has nothing to compare against -- neither lrz nor DSZ exposes such a setting -- so MaxBlockSize is Synchronet-only and its sole reachable effect is to break a transfer that would otherwise work. The common thread that survives all three: when a capability mismatch ends a session, nothing in the log names the cause.

  836. Deucе
    Sun Aug 30 2026 15:26:30 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/auto/connected/capture_menu.wren diff
    src/syncterm/scripts/auto/picker/file_picker.wren diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/scripts/syncterm_picker.wren diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_fs.c diff
    src/syncterm/wren_bind_fs.h diff
    src/syncterm/wren_bind_picker.c diff
    src/syncterm/wren_bind_picker.h diff
    src/syncterm/wren_menu_host.c diff
    Add append option for text captures

  837. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 13:48:10 GMT-0700 (PDT)
    Added Files:
    

    docs/xymodem_verification.md diff
    Modified Files:

    docs/zmodem_comparison.md diff
    docs: verify sexyz's X/YMODEM interoperability and options The option audit prompted by issue #1229 covered ZMODEM and left the X/YMODEM knobs untested. Test them, in a separate document since zmodem_comparison.md is ZMODEM-only. Interoperability is clean: all twelve sender/receiver combinations against lrzsz and against Forsberg's 1997 DSZ transfer a 16 KiB random file byte-for-byte. Every knob does something, so there is no second Escape8thBit here. Three of them fail hard rather than degrading, which is the part worth acting on. SendCRC=false hangs until the timeout against a receiver that only ever requests CRC, because XMODEM's receiver drives and ours will not answer its C. SendG=false dies 18 bytes in against a G-mode receiver. And [XMODEM] MaxBlockSize is asymmetric: it does not cap an explicit sX send, which still uses 1024-byte blocks, while on the receive side it breaks an otherwise working transfer from a 1K sender part-way through. None of these is a dead option -- each demonstrably changes behaviour -- but turning a capability off yields a timeout or an abort with nothing in the log naming the cause. Also records a harness trap that cost a diagnostic cycle: YMODEM carries the filename and DSZ writes it through DOS 8.3 rules, so xy.16k arrives as XY.16K and a test looking for the name it sent reports a failure that did not happen.

  838. Deucе
    Sun Aug 30 2026 11:14:02 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/CMakeLists.txt diff
    src/deucegate/tests/test_deucegate.c diff
    Make DeuceGate tests relocatable in CI

  839. Deucе
    Sun Aug 30 2026 10:30:15 GMT-0700 (PDT)
    Modified Files:
    

    src/uifc/filepick.c diff
    src/uifc/filepick.h diff
    Add file picker append confirmation

  840. Deucе
    Sun Aug 30 2026 08:57:46 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sbbs.h diff
    src/sbbs3/xtrn.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    src/xpdev/unicode.c diff
    src/xpdev/unicode.h diff
    src/xpdev/unicode_defs.h diff
    Address feedback on a680d770bb BBSDEV support

  841. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:33:58 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    src/sbbs3/zmodem.h diff
    zmodem: note that ZF0 bit 0x08 is contested, and document two gaps Audit of every sexyz option -- command-line, sexyz.ini and negotiated -- prompted by Escape8thBit having been inert for 21 years. The parsed surface came out clean: all 43 ini keys and all 16 command-line options reach something live, and the six knobs that should show up in the negotiated ZRINIT all do (FullDuplex clears CANFDX, CRC32=false clears CANFC32, EscapeCtrlChars sets ESCCTL, RecvBufSize sets the buffer field, Streaming=false clears CANOVIO and sets it to the block size). MaxFileSize refuses an oversized file and RecvTimeout changes the engine's per-read timeout. No second dead option. The gaps are all in the negotiated layer, and two are worth writing down in the feature table rather than leaving for the next person to rediscover: - We never send a ZSINIT, and a received one is ACKed with its flags and Attn string discarded. lrzsz handles it both ways and DSZ sends one when it has something to declare -- observed once, for sz -e -- while zmtx never sends one either. - As a receiver we ignore the sender's ZFILE management request and let local policy decide, where lrz, zmrx and DSZ all honour it. DSZ honours ours, so the asymmetry is ours alone. And correct a misleading comment: we call ZF0 bit 0x08 CANCRY, as lrzsz does, but Forsberg's own rzsz calls it CANRLE and his DSZ sets it on every connection meaning "receiver can decode RLE". Say the bit is contested rather than implying it is settled; we neither set nor honour it under either reading.

  842. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:10:59 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: sexyz no longer advertises ESC8, so stop saying it does The document was written while the Escape8thBit option still existed and kept describing it in the present tense in four places: the feature table, the summary, section 7.2's analysis and section 8's findings. The option and the ZRINIT advertisement were both removed the same day the last of those was written. Put the sexyz half in the past tense and say what the current behaviour is -- the bit is never set, and a remote receiver's request is ignored rather than refused, there being no way to decline a ZRINIT capability. The measurements stay as they were taken; only the claims about what sexyz does today change.

  843. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:07:20 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: record option-by-option compatibility with DSZ Section 7.4 had DSZ answering what the negotiated option bits mean, but the only transfers behind it were a pair of defaults. In particular the BBS download case -- sexyz sending to DSZ receiving -- had never been run once. Run the whole option set in both directions and record it. Everything interoperates. Sending to DSZ: default, -8/-4/-2, -o, -s, -w4096, -e, -l, -y, -p and -n all transfer an 8 KiB random file byte-for-byte or, where the option says not to, correctly decline to. Receiving from DSZ: default, -m (MobyTurbo), -Q@ and -e likewise. Two results are worth more than the tick in the box. The file-management options added this month produce the documented behaviour at a third-party receiver: -p leaves DSZ's existing file alone and -n skips an older source. -n only demonstrates itself once the timestamps are forced apart, because FAT's two-second granularity makes a same-minute comparison ambiguous -- the first run of it looked like a failure and was not. And ESCCTL works in both directions, which is the path that carried the carriage-return defect until 2026-08-24. DSZ's 7-bit options turn out to be receiver-driven despite their names: "sz -E" and "sz -P" sending to sexyz both transfer identically and leave 46.9% of the wire carrying high-bit bytes, the same as with no option at all. They request the mode when DSZ receives and impose nothing when it sends. State plainly what was not tested rather than letting the table imply coverage: -m as a local size limit, the X/YMODEM modes, and -telnet. Say too what "we do not support ESC8" actually means -- sexyz no longer sets the bit, and it ignores a remote receiver's request rather than refusing it, there being no way to decline a ZRINIT capability, which is what lrzsz does as well. And note a capability we decline unnecessarily: DSZ advertises CANRLE in every ZRINIT and implements RLE both ways, while sexyz never advertises it, so the compression is never used.

  844. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:07:20 GMT-0700 (PDT)
    Modified Files:
    

    docs/sexyz.txt diff
    docs/v322_new.md diff
    src/sbbs3/sexyz.c diff
    src/sbbs3/zmodem.c diff
    src/sbbs3/zmodem.h diff
    sexyz: remove Escape8thBit, and stop advertising ZMODEM's ESC8 option Setting Escape8thBit=true made sexyz advertise ZF0_ESC8 in its ZRINIT, asking the remote sender to escape every byte with the high bit set -- which sexyz then could not decode, logging "Illegal sequence: ZDLE nnn" until the session timed out. It also ignored the flag when sending, so it never escaped for a peer that asked. The option has been advertised since 2005 and implemented in neither direction since the code was imported in 2003. There is also nothing to implement it against. ZMODEM.DOC names ESC8 once, in passing, and never states how a high-bit byte is escaped, where it gives ESCCTL a full paragraph. The two programs that do implement it consequently disagree: Omen's DSZ quotes a high-bit byte as 0x0E followed by the byte with bit 7 cleared -- Kermit-style prefixing, and it switches to an unpublished frame type to do it -- while zmtx/zmrx 2.04 sends ZDLE and the byte XOR 0x40. Advertising the bit commits us to whichever encoding the peer happens to have chosen, and we cannot satisfy both. Rob's call, and the right one: we have lived 21 years without it. Drop the ini key, drop the advertisement from zmodem_send_zrinit(), and say at both remaining sites why the flag is inert. The peer's request is still recorded from its ZRINIT for the log, and still ignored, which is what lrzsz does too. Verified: with Escape8thBit=true still present in sexyz.ini the ZRINIT now reads ZF0=0x23 with the ESC8 bit clear, and zmtx 2.04 -- which honours the request and previously aborted 766,470 bytes in -- transfers byte-identically. Error-recovery gates at 3e-6 remain 3 of 3 receiving and 3 of 3 sending. Documented in docs/sexyz.txt, the release notes, and the wiki. GitLab issue #1229.

  845. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:07:20 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: add Forsberg's DSZ as a reference for the negotiated options The four implementations compared here cannot settle what ZMODEM's option bits were meant to do, because for ESC8 none of them agrees with another. Forsberg's commercial DSZ can: he wrote the protocol, and the binary still runs. Add section 7.4 covering DSZ.EXE 1997-05-25 under DOSBox, with its COM1 bridged to TCP. It is deliberately not in the throughput tables -- 16-bit DOS, no source, nothing to build or profile -- and appears only for the negotiated options. The base protocol interoperates perfectly: a 4096-byte random file sent by that 1997 binary arrives byte-identical at both sexyz and zmrx. Its ZRINIT settles ESC8. "rz -E" sets ZF0 bit 0x80, so ESC8 is the negotiation bit for the "8th bit quoting" that DSZ.DOC describes as half of ZMODEM-90's 7-bit mode; "rz -e" sets ESCCTL; "rz -P" sets neither. CANRLE is set unconditionally, which matches the other half of that 7-bit mode being present in Forsberg's free source while the quoting half never was. And the two implementations of ESC8 that exist do not interoperate. DSZ quotes a high-bit byte as 0x0E followed by the byte with bit 7 cleared -- Kermit-style prefixing, and it switches to frame type 0x31, which is not among the eight types any published zmodem.h defines -- while zmtx/zmrx 2.04 sends ZDLE and the byte XOR 0x40. Recovered by known-plaintext capture: 0x0E occurs 4,991 times and is followed by a byte below 0x80 in 100% of them, and decoding on that rule alone recovers 92 contiguous bytes of the known plaintext while restoring the stream to 45.6% high-bit. Neither encoding is wrong, because ZMODEM.DOC names ESC8 once and never says how a high-bit byte is escaped, where ESCCTL gets a paragraph. Two implementers 29 years apart read that line and built unrelated mechanisms. Also record the method, since the obvious route is the wrong one. DSZ.EXE is a plain unpacked MZ image and disassembles fine, but its escape table is not in the file -- it is built at runtime into BSS, exactly as Forsberg's free zsendline_init() does. Running the binary against a deliberately permissive receiver with known plaintext settled it in three runs.

  846. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:07:20 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    docs/zmodem: re-measure everything against the current releases The document had accumulated five measuring sessions between 2026-07-23 and 2026-08-25, comparing components at versions that no longer ship and carrying figures taken against a baseline now known to have been the bottleneck. Re-measure the whole thing in one sitting on one host and rewrite around it. Structural change: measure the full 20-pair sender x receiver matrix rather than holding one end fixed. Fixing an end is what produced the old sender table's four-way tie -- every row was scored against lrz, which receives for more CPU than any sender in the table spends to send, so 1.74x of real difference reported as 1.8%. The matrix has no such blind spot, and printing both endpoints' CPU makes the bottleneck visible in every cell. All twenty pairs interoperate byte-identically and wire overhead is equal to two decimals at equal block size, so nothing here is a compatibility problem. zmtx/zmrx 2.04 is the cheapest implementation in both directions by roughly a factor of two -- 10.0 instructions per data byte sending and 12.1 receiving, against the next best of 23.5 either way. sexyz's receiver is second at 24.6, where the same code cost 126.8 eight days earlier, and its error recovery is the strongest measured: 10 of 10 in both directions where the all-lrzsz pair manages 7 of 10. Two findings belong to zmtx/zmrx rather than to us. Its whole-file retry budget resets only on the ZRPOS path, so NAK- and timeout-driven recovery still drains it and the sender cannot complete a transfer at or above a 5e-7 error rate. And its ESCCTL escaping omits carriage return, so no receiver that requests escaping can download from it -- the same defect our own send path carried until 2026-08-24. New sections cover what the old document never measured: feature and option support side by side, ESCCTL interoperability, and per-endpoint instruction counts for all eight endpoints. Method notes that cost real time to learn are written down. The corruption model seeds its PRNG with a constant, so repeated runs at one rate are not independent samples and a low enough rate injects nothing at all -- a rate sweep is the instrument, not repetition. Error gates are far more load-sensitive than throughput runs: a first pass taken while a profiler was still finishing scored the same lrzsz pair 0/3 and 2/3 in two identical invocations, where it passes in half a second on an idle host. And the first cut of this measurement used a zmtx checkout 32 commits stale, which is why every version in section 1.1 now carries its release date.

  847. Rob Swindell (on Debian Linux)
    Sun Aug 30 2026 03:07:20 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_cryptcert.cpp diff
    src/sbbs3/js_cryptcon.cpp diff
    src/sbbs3/js_cryptkeyset.cpp diff
    src/sbbs3/ssl.c diff
    src/sbbs3/ssl.h diff
    ssl: report why cryptlib initialization failed A CryptContext/CryptCert/CryptKeyset constructor whose do_cryptInit() call failed threw a bare "do_cryptInit failure", naming neither the cryptlib status nor the step that produced it. The detail did exist -- do_cryptInit() logs it -- but the lprintf it logs through is the one declared in sbbs.h, i.e. main.cpp's, which returns 0 when startup is NULL. Under jsexec nothing is printed at all, so the reason was gone. The windows-x86 jsexec-testsuite job failed all three exec/tests/crypt tests this way and left nothing to diagnose it with: https://gitlab.synchro.net/main/sbbs/-/jobs/1728391 Record the reason where it is discovered and hand it back through a new get_cryptInit_error(), which the three constructors append to the exception. The JS error reporter is per-context and already routed correctly, so the reason now arrives even where the C log line does not. Return immediately when cryptInit() itself fails. Falling through to cryptGetAttribute() replaced the real status with CRYPT_ERROR_NOTINITED; and had that call instead succeeded, the version and patch checks could have gone on to set cryptlib_initialized on top of a failed init. cryptfail becomes const char*: it now holds a literal on some paths and a heap string on others, is written only under crypt_init_once, and is never freed. Its log line drops the status code it would otherwise print twice, and no longer reports "cryptInit() returned 0" for a version or patch-set mismatch, where cryptInit() had in fact succeeded. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  848. Deucе
    Sat Aug 29 2026 17:37:28 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/AGENTS.md diff
    Confine DeuceGate work to its source directory

  849. Deucе
    Sat Aug 29 2026 17:08:40 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/CMakeLists.txt diff
    src/deucegate/README.md diff
    src/deucegate/config.c diff
    src/deucegate/deucegate.h diff
    src/deucegate/server.c diff
    src/deucegate/tests/test_deucegate.c diff
    Add DeuceGate resource limits and auth tarpit

  850. Deucе
    Sat Aug 29 2026 14:45:31 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    3rdp/build/GNUmakefile diff
    src/build/Common.gmake diff
    src/build/SynchronetCrypto.cmake diff
    src/deucegate/README.md diff
    Fix Botan 3.13 CI regressions

  851. Deucе
    Sat Aug 29 2026 14:25:02 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/utf8_codepages.c diff
    const static → static const Fixes GCC warnings.

  852. Deucе
    Sat Aug 29 2026 14:20:58 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    .gitlab-ci.yml diff
    3rdp/build/GNUmakefile diff
    3rdp/dist/Botan.tar.xz diff
    src/build/Common.gmake diff
    src/build/SynchronetCrypto.cmake diff
    src/deucegate/AGENTS.md diff
    src/deucegate/CMakeLists.txt diff
    src/deucegate/README.md diff
    src/ssh/CMakeLists.txt diff
    src/ssh/TODO.md diff
    src/ssh/kex/dh-gex-sha256-botan.cpp diff
    src/syncterm/GNUmakefile diff
    src/xptls/CMakeLists.txt diff
    src/xptls/TODO.md diff
    src/xptls/xp_ca_botan3.cpp diff
    Update Botan to 3.13.0

  853. Deucе
    Sat Aug 29 2026 12:52:28 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    CI: publish standalone DeuceGate source bundle

  854. Deucе
    Sat Aug 29 2026 11:17:40 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/sbbsdefs.js diff
    src/sbbs3/sbbs.h diff
    src/sbbs3/sbbsdefs.h diff
    src/sbbs3/scfg/scfgxtrn.c diff
    src/sbbs3/xtrn.cpp diff
    src/sbbs3/xtrn_sec.cpp diff
    Add BBSDEV.DRP door drop-file support

  855. Deucе
    Sat Aug 29 2026 09:01:54 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/README.md diff
    src/deucegate/deucegate.h diff
    src/deucegate/door.c diff
    src/deucegate/server.c diff
    src/deucegate/tests/test_deucegate.c diff
    Add BBSDEV.DRP drop file support

  856. Deucе
    Sat Aug 29 2026 07:03:01 GMT-0700 (PDT)
    Added Files:
    

    src/ssh/key_algo/private-key-file-posix.c diff
    src/ssh/key_algo/private-key-file-win32.c diff
    src/ssh/key_algo/private-key-file.h diff
    Modified Files:

    src/ssh/CMakeLists.txt diff
    src/ssh/deucessh.pc.in diff
    src/ssh/key_algo/rsa-sha2-256-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-256-openssl.c diff
    src/ssh/key_algo/rsa-sha2-512-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-512-openssl.c diff
    src/ssh/key_algo/ssh-ed25519-botan.cpp diff
    src/ssh/key_algo/ssh-ed25519-openssl.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/test_algo_key.c diff
    ssh: restrict private key file permissions Create private key files with owner-only access on POSIX and Windows, and tighten existing files before truncating them. Preserve the existing Windows owner when an elevated process rewrites a key so the original user does not lose access. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  857. Deucе
    Sat Aug 29 2026 06:27:30 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/key_algo/rsa-sha2-256-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-256-openssl.c diff
    src/ssh/key_algo/rsa-sha2-512-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-512-openssl.c diff
    src/ssh/key_algo/ssh-ed25519-botan.cpp diff
    src/ssh/key_algo/ssh-ed25519-openssl.c diff
    ssh: use binary mode for private key files Windows text-mode translation made Botan's size-based private key loader expect more bytes than fread returned, causing load failures and key regeneration on every connection. Open private key files in binary mode for both Botan and OpenSSL so saved bytes reload unchanged. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  858. Deucе
    Fri Aug 28 2026 21:23:10 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    src/deucegate/README.md diff
    src/deucegate/deucegate.h diff
    src/deucegate/door.c diff
    src/deucegate/server.c diff
    src/deucegate/terminal.c diff
    src/deucegate/tests/test_deucegate.c diff
    src/deucegate/util.c diff
    Add adaptive door encoding and language tags

  859. Deucе
    Fri Aug 28 2026 20:54:37 GMT-0700 (PDT)
    Modified Files:
    

    src/deucegate/README.md diff
    src/deucegate/door.c diff
    Pass door encoding through environment

  860. Deucе
    Fri Aug 28 2026 20:39:25 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    Fix DeuceGate CI build handoff

  861. Deucе
    Fri Aug 28 2026 19:27:51 GMT-0700 (PDT)
    Added Files:
    

    src/deucegate/.gitignore diff
    src/deucegate/AGENTS.md diff
    src/deucegate/CMakeLists.txt diff
    src/deucegate/README.md diff
    src/deucegate/charset.c diff
    src/deucegate/config.c diff
    src/deucegate/deucegate.h diff
    src/deucegate/door.c diff
    src/deucegate/main.c diff
    src/deucegate/mci.c diff
    src/deucegate/menu.c diff
    src/deucegate/server.c diff
    src/deucegate/terminal.c diff
    src/deucegate/tests/fixture/config/gamesrv.ini diff
    src/deucegate/tests/fixture/config/logoffprocess.ini diff
    src/deucegate/tests/fixture/config/logonprocess.ini diff
    src/deucegate/tests/fixture/doors/_sample.ini diff
    src/deucegate/tests/fixture/menus/main.ini diff
    src/deucegate/tests/fixture/users/.keep diff
    src/deucegate/tests/test_deucegate.c diff
    src/deucegate/user.c diff
    src/deucegate/util.c diff
    Modified Files:

    .gitlab-ci-unix.yml diff
    Add DeuceGate SSH door server

  862. Rob Swindell (on Windows 11)
    Tue Aug 25 2026 22:05:18 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    CI: surface MSBuild's worker-node crash dumps in the job log When an MSBuild worker node dies, MSBuild writes the exception to MSBuild_*.failure.txt under MSBUILDDEBUGPATH, which on this runner defaults to C:\WINDOWS\SystemTemp -- unreachable. Only one of the six windows-x86 [syncscumm] failures happened to inline its dump into the trace, and that dump is what eventually identified the bug fixed in the preceding commit. Point MSBUILDDEBUGPATH into the workspace and have after_script echo whatever lands there, so the next one is diagnosable from the log alone. Also corrects the MSBUILDDISABLENODEREUSE comment, which asserted that jobs recruiting each other's leftover nodes was the cause of those failures. It was not: they recurred with reuse disabled, and passing and failing runs had identical job overlap. The setting stays as hygiene on a shared runner. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KvZbcp3SQ7xt7bgpRRxvpg

  863. Rob Swindell (on Windows 11)
    Tue Aug 25 2026 22:05:18 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncscumm/build.bat diff
    syncscumm: build with the 64-bit MSBuild build.bat picked C:\...\MSBuild\Current\Bin\MSBuild.exe, which is a 32-bit process -- and so is every worker node it spawns. This solution builds nine projects under /m, each running cl /MP, and a node's 32-bit address space does not survive that: once the .NET JIT can no longer allocate, it fails whichever method it happens to be compiling with System.InvalidProgramException: JIT Compiler encountered an internal limitation. Which method that is varies per run, so a single exhaustion produced a different error every time and the CI failures read as unrelated flakes: the CL task failing in PostExecuteTool, the LIB task failing to instantiate, a compiled Regex inside MSBuild's own Expander, vcpkg's inline GetGlobalProperties task "not found", and bare "MSB4166: Child node N exited prematurely". windows-x86 [syncscumm] failed this way intermittently and was the only job on that runner ever to fail -- it is the only build here big enough to run a node out of address space. Prefer Bin\amd64\MSBuild.exe, falling back to the 32-bit one if no installed VS 2022 edition ships it. Same MSBuild, 64-bit address space. This is the failure msvc\Directory.Build.props already fixes one layer down for the compiler itself (PreferredToolArchitecture=x64, after the 32-bit cl.exe host ran out of address space under /MP); MSBuild needed the same treatment. Introduced in 745c1c542b, which added this build. Reproduced locally: a clean build.bat run under the 32-bit MSBuild died with the CL and LIB tasks both throwing InvalidProgramException, and under Bin\amd64 the same tree builds through to build-msvc\Release\syncscumm.exe. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KvZbcp3SQ7xt7bgpRRxvpg

  864. Deucе
    Tue Aug 25 2026 16:44:18 GMT-0700 (PDT)
    Added Files:
    

    src/ssh/examples/kbi-game-server.c diff
    Modified Files:

    src/ssh/CMakeLists.txt diff
    Add keyboard-interactive game server example

  865. Deucе
    Tue Aug 25 2026 11:38:09 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/term.c diff
    SyncTERM: use ZMODEM bulk receive callback

  866. Rob Swindell (on Debian Linux)
    Tue Aug 25 2026 01:12:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/sexyz.txt diff
    docs/sexyz_changes.md diff
    docs/sexyz: document the new options and the ESCCTL fixes sexyz.txt's usage block and sexyz.ini reference predate -y's send-side meaning and the new -p, -n and -e options, and sexyz_changes.md still named sexyz.c 3.5 and zmodem.c 2.6. Describe SendManagement with each of its four values against what the receiver actually does, since "crc" and "newer" are not self-evident, and note that EscapeCtrlChars covers 00-1Fh and 80-9Fh with carriage return included -- the omission of CR being exactly the bug just fixed. The changelog additionally gains the receive-path speedup, the error budget that never reset, and the two escaping fixes.

  867. Rob Swindell (on Debian Linux)
    Tue Aug 25 2026 00:37:55 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/zmodem.c diff
    zmodem: escape CR unconditionally when ESCCTL is negotiated A sender with ESCCTL negotiated escaped every control character except carriage return, which it routed to a conditional rule -- escape only when the previous byte sent was '@' -- and otherwise put on the wire raw. A receiver that requested ESCCTL discards unescaped control characters by definition, so it discarded those CRs, every subpacket carrying one failed its CRC, and the transfer never advanced: the sender ZRPOSed to zero until it spent its error budget and gave up. With random data that is any subpacket at all. A download to any receiver requesting ESCCTL was therefore impossible, not merely slow. lrzsz settles what the rule should be. In zsendline_init() (zm.c) the table entry for 015/0215 is: if (Zctlesc) tab = 1; /* always escape */ else if (!turbo_escape) tab = 2; /* the conditional '@' rule */ else tab = 0; So the conditional rule is the NON-ESCCTL case, and ESCCTL escapes CR like any other control character. This engine had the two swapped: the conditional rule was reachable only with ESCCTL on, where it is wrong, and never reachable with ESCCTL off, where it would be right. Since it could not fire correctly in either state, drop it -- fold CR into the control class and let the escape mask decide, which is exactly lrzsz's behaviour for both states. The '@' rule can be added properly later if wanted; the last_sent field it read is left in place, being public. The unescaped path is provably untouched: without ESCCTL neither the old CR class nor the new one is in the active mask, so CR is a normal byte either way. Confirmed byte-for-byte -- a 4 MB send still puts 4,311,816 bytes on the wire, 256 MB still receives at 484.99 MB/s and sends at 206.24 MB/s, and the 3e-6 corruption gate still passes 5 of 5 receiving and 3 of 3 sending. With the fix, ESCCTL interoperates in every direction: sexyz to lrz, lrz to sexyz, and sexyz to itself all verify byte-identical. The strongest evidence it is now correct rather than merely accepted is the wire size -- sexyz puts 5,245,034 bytes on the wire where lsz puts 5,245,030 for the same file, so the two escape the same byte set. Random data exercises every one of the 256 values, so nothing is escaped by luck. Under injected errors the escaped path is a little less robust than the plain one: 4 of 5 at 3e-6 and 5 of 5 at 1e-6, against 5 of 5 for the unescaped path at 3e-6. It carries 25 % more bytes and so takes 25 % more corruption at a given per-byte rate. No lrzsz baseline exists for that comparison -- lsz -e to lrz -e does not survive the harness's error injection at all, dying inside 0.04 s on every attempt.

  868. Rob Swindell (on Debian Linux)
    Tue Aug 25 2026 00:17:34 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/sexyz.c diff
    sexyz: expose the ZMODEM file-management option, and -e for ESCCTL The engine has carried management_protect / management_clobber / management_newer for years and honors all three in zmodem_send_zfile(), but nothing ever set them -- not sexyz, not SyncTERM -- so every send fell through to the default and announced ZF1_ZMCRC ("transfer if different CRC or length"). The protocol work was already done; only the plumbing was missing. Add SendManagement to sexyz.ini's [ZMODEM] section, taking crc (the default, unchanged), clobber, protect or newer. One enumerated key rather than three booleans, because the engine treats them as mutually exclusive in a fixed precedence and three independent flags could be set to a combination that silently resolves to one of them. On the command line, -p and -n are new and match lsz. -y keeps its current meaning when receiving -- may we overwrite a file already here -- and gains the matching one when sending: tell the receiver to overwrite its own. That is exactly the lrzsz split, where lsz -y sets ZMCLOB and lrz -y clobbers locally, and -y was previously documented as applying only to receives, so nothing that worked before changes. Note the two act on different disks: receiving, the destination is this machine; sending, it is the user's. Synchronet's own receiver ignores a ZFILE's management field entirely, so this reaches third-party terminals only. Also add -e, the command-line equivalent of the existing EscapeCtrlChars ini key, for links that do not pass control characters intact. Verified against lrzsz: receiving with -e, the wire grows from 4,312,067 to 5,245,286 bytes for the same 4 MB file, within 0.005 % of what lrz -e negotiates from the same sender, and verifies byte-identical. It took the hex-header terminator fix in the preceding commit to work at all. When sending, -e is subject to the receiver's ZRINIT, which is what the engine derives escape_ctrl_chars from, so the usage text says the receiver's request governs rather than promising something the protocol layer overrides. Sending with ESCCTL actually negotiated is broken for a separate, pre-existing reason noted in the preceding commit. Options parse after the ini is read, so a flag overrides the file; verified with SendManagement=protect in the ini and -y on the command line yielding "overwriting destination".

  869. Rob Swindell (on Debian Linux)
    Tue Aug 25 2026 00:17:18 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    zmodem: don't drop the CR/LF that terminates a hex header when ESCCTL is on zmodem_recv_hex_header() read the CR/LF ending a hex header through zmodem_rx(), which drops unescaped control characters once escape_ctrl_chars is set. CR and LF are control characters, so with ESCCTL negotiated the terminator was dropped, the header never terminated, and the receiver timed out on it: !Dropping unescaped ctrl char ... (x20) !zmodem_recv_hex_header HEX header not terminated with LF: TIMEOUT !zmodem_recv_header detected an INVALID HEADER The data itself transfers, since data subpackets use binary headers; it is the session teardown that fails. Measured on an 8 MB receive with EscapeCtrlChars=true: 100.17 seconds and exit -1, against 0.07 seconds once fixed. The bytes are all there and verify byte-identical -- the receiver simply cannot read the ZFIN and sits re-sending ZRINIT until it gives up. A hex header's terminator is framing, not data. A hex header is built from printable characters plus CR/LF precisely so it survives a link that mangles control characters, and every implementation sends that terminator unescaped whether or not ESCCTL was negotiated -- so it must not go through the ESCCTL filter at all. Read it with a small helper that calls zmodem_recv_raw() directly and skips flow-control bytes the way zmodem_rx() does. This is long-standing, not a regression: a sexyz built from the commit that moved the sexyz change log out of the packaging directory -- before the plain-byte table and before the bulk receive callback -- reproduces it identically, 100.14 seconds and the same 20 dropped characters. It went unnoticed because EscapeCtrlChars defaults to false and had no command-line equivalent to reach it with. Verified unchanged on the normal path, where every hex header also goes through the new helper: 256 MB receive 482.7 MB/s and send 206.3 MB/s, the 3e-6 corruption gate 5 of 5 receiving and 3 of 3 sending, plus a YMODEM round trip. NOT fixed here, and separate: sending WITH ESCCTL is also broken -- a receiver that requests it (lrz -e) rejects sexyz's escaped data and ZRPOSes until the error budget is spent. That path is driven by the peer's ZRINIT rather than by any local option, reproduces on the same pre-change binary, and needs its own investigation.

  870. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 22:44:00 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sexyz.c diff
    src/sbbs3/zmodem.c diff
    src/sbbs3/zmodem.h diff
    zmodem: rebuild the plain-byte table when a receiver sets EscapeCtrlChars rx_plain_tab[] caches escape_ctrl_chars, and the commit that derived the receive fast path from it rebuilt the table in only two places: zmodem_init(), and zmodem_parse_zrinit(). A receiver never reaches the second one -- only a sender parses a received ZRINIT -- so on the receive side the table was whatever zmodem_init() built, with the flag still at its FALSE default. sexyz then assigns zm.escape_ctrl_chars directly from sexyz.ini's EscapeCtrlChars (sexyz.c), after zmodem_init() and with nothing to rebuild the table. With EscapeCtrlChars=true a receive therefore ran with a table that called control characters plain, and both new paths took them at face value: zmodem_rx() returned them verbatim and recv_span() copied them into the subpacket, where the old code dropped them as "unescaped ctrl char". That is the whole point of ESCCTL, and the config exists for exactly the links that need it. Rebuild in zmodem_send_zrinit(). A receive session always passes through it, the consumer's value is necessarily final there -- the ZRINIT built in that function is what announces ESCCTL to the peer -- and it costs a 256-iteration loop once per session. Reproduced and verified with a harness that replays sexyz's init order: before, an escape_ctrl_chars set after zmodem_init() left rx_plain_tab[0x01]=1; after, send_zrinit() brings it to 0. Since escape_ctrl_chars is a public struct field any consumer may assign, say so where it is declared and list the three rebuild points in the table function's comment. Also stop bypassing recv_byte()'s DebugRx trace. The span path skips recv_byte() entirely, so with DebugRx=true the per-byte RX log lost every byte a span carried -- around 97 % of the stream on random data, leaving a trace of nothing but escapes. Disable the span path when debug_rx is set, the way it already is for telnet mode, on the same grounds: both are cases where recv_byte() has to see every byte. No cost when the flag is off. No throughput change: 484.4 MB/s against 484.2 before, receiver CPU 0.55 s. Clean receives verify byte-identical 3 of 3 and the 3e-6 corruption gate passes 5 of 5, sender gate 3 of 3. Found by reviewing the series after the sexyz 3.5 release, at Rob Swindell's request.

  871. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 22:34:06 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    src/hash/crc32.h diff
    src/sbbs3/zmodem.c diff
    zmodem: CRC received spans with crc32_update(), not a duplicate of it The bulk receive path added in the commit that introduced the optional recv_span callback CRC'd each span with a new static inline ucrc32_span() in crc32.h. That function was byte-for-byte the loop crc32_update() (src/hash/crc32.c:170) has always been -- slicing-by-4 for the bulk, byte-at-a-time for the tail -- differing only in argument order. zmodem.c already includes crc32.h, so the helper it needed was already declared in the header it was editing. Call crc32_update() and delete ucrc32_span(). No functional change: 5 clean 256 MB receives verify byte-identical and the 3e-6 corruption gate passes 5 of 5. Throughput is unmoved -- 484.2 MB/s against 486.5 for the inline version, receiver CPU 0.55 s either way, a difference well inside the +/-5 % code-layout noise documented in docs/zmodem_comparison.md 3.5. A span averages 36 bytes, so trading an inlined loop for one call per span costs nothing measurable. The send path keeps its open-coded loop: zmodem_send_data_subpkt() interleaves the CRC with zmodem_tx_masked() four bytes at a time, so it needs the per-4-byte granularity and cannot call a whole-span helper. Found by Rob Swindell, who asked whether crc32_update() did not already do this. It did.

  872. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 22:17:58 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    src/bench/zmodem/README.md diff
    docs/zmodem: re-baseline the throughput tables on a receiver that can keep up Every sender figure this document ever published was measured against `lrz`. Section 3.5 then measured `lrz` itself and found it receives 256 MB for 1.28 CPU-seconds, with receiver CPU equal to the wall clock -- more expensive than any sender it was scoring. So the sender table was reporting `lrz`'s ceiling four times over and reading it as a four-way tie ("every sender built on zmodem.c now runs level with lrzsz"). Deuce spotted it from the outside: switch the baseline receiver, lrz can't handle the load. He is right about the premise. `zmrx` is the obvious replacement at 0.94 CPU-s, but as of zmodem.c 2.7 it is no longer the cheapest receiver -- the span work put sexyz itself at 0.55 s. So the baseline receiver is now sexyz. Re-measured (256 MB, five passes, interleaved, medians), the senders spread over 1.74x where they had sat inside 1.6 %: zmtx 487.2 MB/s 0.47 CPU-s ztx_buf 385.4 0.70 sexyz 335.3 1.00 lsz 279.9 0.96 sexyz sends 20 % faster than lsz, which the old baseline could not show. The document says plainly that this is concurrency rather than efficiency -- sexyz spends more CPU than lsz and wins on wall clock with two threads -- and that the engine's efficiency claim belongs to ztx_buf, single-threaded and cheaper than lsz on both axes. The receive table of 3.5 had the same defect in the other direction: its fixed `lsz` sender costs 0.96 CPU-s, so after the span fix the three fastest receivers all read ~280 MB/s and the fix looked like it had merely drawn level with `zmrx`. Driven by `zmtx` (0.47 s) instead, sexyz receives at 486.5 MB/s for 0.55 s -- 1.70x `zmrx`, the fastest receiver measured, and 4.2x its own pre-fix 117.2 at 24 % of the CPU. The pre-fix rows were never affected, being the slow end either way, so the deficit that section diagnoses stands as measured. New section 3.0.2 states the rule both halves of this document have now broken: the fixed end of a comparison must be cheaper in CPU than everything at the varied end, and that must be shown rather than assumed. The per-endpoint `wait4` CPU columns added on 2026-08-24 make it checkable -- if the fixed end's CPU equals the wall clock, the run measured the fixed end. The bench README carries the same lesson, and its recipes no longer default to `lrz`. Also recorded: the span receiver's cost depends on the sender's write granularity. Behind zmtx's 8 KB subpackets it receives for 0.55 CPU-s; behind Forsberg's 1 KB blocks the same receiver spends 1.34 s and 256 k context switches for the same bytes.

  873. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:16:17 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs/zmodem_comparison.md diff
    src/bench/zmodem/README.md diff
    docs/zmodem: profile the receive path, in both directions of the split The receive path had only ever been timed, never profiled, and the one figure in this document was read against the sender's then-broken throughput rather than against the receivers sexyz competes with. Corrected, with the tooling to keep it honest. The measurement that matters is not about sexyz. Splitting the layers the way section 3.2 did for sends puts 76% of the deficit inside zmodem.c, which SyncTERM shares in full, and the engine's three receive functions cost 82.6 instructions per received byte where lrz's entire receiver costs 24.1. Also recorded: the syscall mix, which is the opposite of the send-path bug -- receive is pure userspace compute and sexyz issues the fewest reads of any receiver measured; that the indirect calls are not the cost, disproved by an A/B adding one more per byte for 0.5%; that there is no per-file receive cost; that none of it is visible below about 1 Gbps; and that code layout alone moves these numbers 5%, so single-digit percentages here mean nothing. zmtx/zmrx 2.02 joins the comparison as the fastest receiver measured. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  874. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:10:27 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    zmodem: don't abort a receive after the tenth error of the whole file zmodem_recv_file_data() counted errors in a local that was set to zero once per file and only ever incremented, so the tenth error ended the transfer however far apart those errors were and however cleanly each had been recovered. A receive over any link with a non-zero error rate therefore had a file size beyond which it could not succeed, while the sender in the same conditions ran indefinitely: zmodem_send_from() counts consecutive_errors and clears it on success. Reset the count whenever the file position has advanced past the position the last error was recorded at, which is the receive-side statement of the same rule. A run of errors with no progress between them still stops at max_errors, so a wedged transfer ends as before. Measured with the bench harness injecting bit errors at 3e-6 per byte into an 8 MB transfer -- around 25 corrupted subpackets, each individually recovered. Before, the receiver aborted at the tenth every time; after, all three runs complete and verify, with the error counter returning to zero between them. zmtx/zmrx survives the same treatment and lrzsz usually does, which is what prompted looking at this. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  875. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:03:17 GMT-0700 (PDT)
    Added Files:
    

    src/bench/zmodem/zrx_buf.c diff
    bench/zmodem: add zrx_buf, the receive-side counterpart of ztx_buf ztx_buf answers "how much of a send costs zmodem.c and how much costs the wrapper around it". Nothing answered that for receive, so every receive figure was a sexyz figure -- and sexyz's recv_byte is 30% of the instructions in a sexyz receive, code SyncTERM does not share. zrx_buf links the real zmodem.o behind a plain buffered recv_byte, so what it measures is the engine. That puts 76% of sexyz's excess receive CPU inside zmodem.c, which is the part SyncTERM does share, and makes the engine's own ceiling measurable without driving a GUI end to end. It is built in the SyncTERM shape, supplying a real is_cancelled callback where sexyz passes NULL; ZRX_NO_CANCEL=1 switches to sexyz's shape and ZRX_NO_SPAN=1 forces the byte-at-a-time path, so one binary covers all four combinations. As with ztx_buf it is not a SyncTERM throughput model: it omits the wren and RIP input filters, so it bounds SyncTERM's receive from above rather than predicting it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  876. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:03:04 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sexyz.c diff
    sexyz: supply the bulk receive callback recv_byte() already hands out bytes from a 64 KB inbuf, so a span fetch is the same loop without the per-byte call: copy while the engine's table says the byte is plain, stop before the one that is not. A 256 MiB localhost receive goes from 113.4 to 280.3 MB/s and from 2.36 to 0.67 CPU-seconds, which is level with zmtx/zmrx 2.02 and above lrz's 208.7 at 1.28. The span path stays disabled in telnet mode, where the IAC state machine in recv_byte() has to inspect every byte. It is off by default anyway for a stdio session, which is how the BBS invokes sexyz for rlogin, SSH and raw connections. Version to 3.6 for the zmodem.c 2.7 receive work; the startup banner prints only sexyz's own revision, so it has to move to keep a build identifiable without "sexyz v". Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  877. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:02:45 GMT-0700 (PDT)
    Modified Files:
    

    src/hash/crc32.h diff
    src/sbbs3/zmodem.c diff
    src/sbbs3/zmodem.h diff
    zmodem: add an optional bulk receive callback The receive path called back into the transport once per byte, so nothing above it could be batched: no span copy, no hoisted loop invariants, and a CRC that had to run a byte at a time. Measured against lrzsz, zmodem.c's three receive functions cost 82.6 instructions per received byte where lrz's entire receiver, transport included, costs 24.1. A consumer may now supply recv_span, which copies bytes while the plain-byte table says they need no zmodem_rx() handling and stops before the first one that does, leaving it unconsumed. zmodem_recv_data32() takes those runs whole and CRCs each as a block via the new ucrc32_span(), which is the slicing-by-4 the send path has used since 2026-07-24. On random data the runs average 36 bytes and cover 97% of the stream. The callback is optional and deliberately not a zmodem_init() parameter: zmodem_init() memsets the struct, so it is NULL for every existing consumer with no source change, and NULL keeps the byte-at-a-time path exactly as it was. Consumers opt in one at a time. Passing the table to the callback, rather than letting the transport decide where a run ends, keeps protocol knowledge out of the transport and avoids needing to hand bytes back when a run stops early. It also means the two receive paths share one definition of which bytes are plain and cannot disagree about it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  878. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:02:23 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    src/sbbs3/zmodem.h diff
    zmodem: derive the receive fast path from one table of plain bytes zmodem_rx() decided per byte, through a switch, whether the byte it had just read needed handling: ZDLE introduces an escape, the four XON/XOFF forms are dropped as flow control, and when the peer negotiated ZF0_ESCCTL a control character that arrived unescaped is dropped too. Everything else is returned verbatim, which on ordinary data is the overwhelming majority of bytes. Precompute that predicate into a 256-entry table and test it before the switch. The switch is then reached only by bytes that genuinely need it, and the common case is one indexed load. A 256 MiB localhost receive goes from 126.9 to 153.0 MB/s and from 2.11 to 1.74 CPU-seconds. The table is built in zmodem_init() and rebuilt where escape_ctrl_chars is assigned from the peer's ZRINIT, which is the only place it changes. Building it eagerly rather than on demand avoids needing a sentinel to distinguish "not built yet" from "built for escape_ctrl_chars == FALSE"; zmodem_init() memsets the struct, so any such sentinel would have to be assigned anyway and is easy to forget. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  879. Rob Swindell (on Debian Linux)
    Mon Aug 24 2026 19:02:11 GMT-0700 (PDT)
    Added Files:
    

    src/bench/zmodem/.gitignore diff
    Modified Files:

    src/bench/zmodem/zbench_sock.py diff
    bench/zmodem: report per-endpoint CPU, and accept multi-file batches Two blind spots in the harness, both of which hid real defects. Goodput alone cannot tell "fast code" from "idle code". Reaping both endpoints with wait4() instead of Popen.wait() costs nothing and puts each side's user/system CPU and context-switch count beside the transfer rate. That distinction is what identifies a receiver-bound run at a glance: the receiver's CPU equals the wall clock while the sender sits at a third of it. --file now repeats, so one run can send a batch. It was singular, and a per-file cost is invisible in a single-file goodput figure by construction -- it lands once, in a metric built to divide fixed costs away, and the rate-capped rows refund it from banked tokens. That is how a flat one-second-per-file stall survived months of benchmarking. Also ignore the two hand-built bench binaries, which were untracked and unignored. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  880. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 15:55:37 GMT-0700 (PDT)
    Added Files:
    

    docs/sexyz_changes.md diff
    Modified Files:

    src/sbbs3/sexyz_release/CLAUDE.md diff
    src/sbbs3/sexyz_release/COMPILING.md diff
    src/sbbs3/sexyz_release/mksexyzsrc.sh diff
    docs: move the sexyz change log out of the packaging directory A change log is user documentation, so it belongs beside the manual it accompanies: docs/sexyz.txt has been the sexyz manual all along, and docs/ is where the other per-component documents live. Being under src/sbbs3/sexyz_release put it where only someone cutting a release would look, and left the archive as the only way to read it. The cut script now takes it from docs/, the way it already took sexyz.txt, so the archive still ships it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  881. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 15:55:37 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/sexyz_release/CHANGES.md diff
    Modified Files:

    src/sbbs3/sexyz_release/mksexyzsrc.sh diff
    sexyz: add a change log covering everything since the v3.1 release The last released SEXYZ binary archive is v3.1 from September 2025, and nothing between then and now told a sysop what changed: the release notes in docs/v322_new.md are organized around Synchronet releases, not sexyz ones, and cover only part of the span. CHANGES.md lists the work since v3.1 grouped by what it means to someone running it -- speed, transfers, messages, behavior -- and the cut script now ships it in the archive. Bugs introduced and fixed within the span are left out; a reader of a released version never saw them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  882. Rob Swindell (on Windows 11)
    Sun Aug 23 2026 15:31:23 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    CI: disable MSBuild node reuse in the Windows jobs windows-x86 [syncscumm] fails intermittently on the vert runner with "MSB4166: Child node N exited prematurely", always in the same phase: the moment vcpkg's MSBuild integration fans its inline Roslyn task compiles across the solution's ~9 projects. The same commit went fail, fail, pass on three runs. One trace inlined the dead node's dump -- a MissingMethodException on System.Runtime.CompilerServices.Unsafe thrown out of ToolsetConfigurationReader, i.e. the node crashed reading its own MSBuild.exe.config before binding redirects applied. MSBuild keeps worker nodes alive for 15 minutes after a build and hands them back out on a handshake that covers the MSBuild version but not the environment they were started in. The runner is a shell executor running several Windows jobs concurrently under one account -- every failure overlapped both [syncterm-msvc] and [syncrpg] -- so a build can recruit a node another job left behind and inherit its toolset environment. Set MSBUILDDISABLENODEREUSE=1 on every Windows job that drives MSBuild, through a new .windows-msbuild template. Reuse only saves node startup on back-to-back builds; developer builds keep it. The door jobs this surfaced in were added in 1edeb70972. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KvZbcp3SQ7xt7bgpRRxvpg

  883. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 15:26:08 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/sexyz_release/CLAUDE.md diff
    src/sbbs3/sexyz_release/mksexyzsrc.sh diff
    sexyz: derive the source release from the makefile, not by hand The archive's value is that its file set is derived: the sources are whatever GNUmakefile's SRCS names, and the headers are their #include closure. Assembling one by hand loses that, and twice did: the first archive omitted xpprintf.c entirely, and a later one carried three stale sources. mksexyzsrc.sh takes a checkout and an output directory, reads the source list out of the shipped GNUmakefile, computes the header closure with gcc -MM, pins git_branch.h/git_hash.h to HEAD, test-builds the result, and writes both containers named after sexyz.c's own revision string. It fails loudly if a file the makefile names is missing from the tree. CLAUDE.md records what a Linux host cannot discover about this archive: that a GCC link map cannot see what MSVC needs, which is how three defects reached a published archive, and that a cut must be verified on both toolchains before release. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  884. Rob Swindell (on Windows 11)
    Sun Aug 23 2026 15:18:56 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: note the Socket.error_str fix in the v3.22 release notes Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TqPdzXdWBszEtX8WjSfwMJ

  885. Rob Swindell (on Windows 11)
    Sun Aug 23 2026 15:18:56 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/js_socket.h diff
    src/xpdev/sockwrap.c diff
    Fix "Error 122 getting error description" from socket_strerror() on Windows A JavaScript Socket connect timeout logged: Oneliners error: Error: 60 connecting to TCP port 10088 on server localhost: Error 122 getting error description 122 is ERROR_INSUFFICIENT_BUFFER: FormatMessageA() fails outright, rather than truncating, when the error description doesn't fit the caller's buffer. js_socket_private_t's last_error_str is only 128 bytes (added in 6a5cf7f6b9, 2024-02-24) and WSAETIMEDOUT's description is 182, so every socket timeout surfaced to JavaScript reported the placeholder instead of the reason. WSAECONNREFUSED (74 bytes) fits, which is why only timeouts showed it. Widen last_error_str to SOCKET_STRERROR_BUFLEN. 6bb7c59327 (2026-05-02) swept the socket_strerror() call sites to that constant, but enumerated only those passing a local buffer and so missed this one inside a struct; it also put the longest description at ~135 bytes, which WSAETIMEDOUT exceeds. Also let FormatMessage allocate its own buffer and copy the result into the caller's, so a short buffer yields a truncated description rather than the useless placeholder. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TqPdzXdWBszEtX8WjSfwMJ

  886. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 15:00:48 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/sexyz_release/COMPILING.md diff
    sexyz/COMPILING: the source set is not all under one license zmodem.c and zmodem.h are 2-clause BSD as of ea25028dae (2026-08-23), six sources are GPL, and the rest come from xpdev and hash under the LGPL, so the blanket "GPL version 2 or later" the file used to claim was wrong for most of it. Name each group instead, and say that the combination is distributable under the GPL, which is what the binary is. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  887. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 15:00:48 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/haproxy.h diff
    src/xpdev/os_info.c diff
    src/xpdev/os_info.h diff
    src/xpdev/semfile.c diff
    src/xpdev/sockwrap.c diff
    src/xpdev/sockwrap.h diff
    xpdev: LGPL, not GPL, on sockwrap, os_info, semfile and haproxy sockwrap.c, sockwrap.h and semfile.c carried the GPL notice the rest of the library does not use, os_info.c and os_info.h carried no notice at all, and haproxy.h carried the GPL notice with no copyright line of its own, holding constant definitions transcribed from the published PROXY protocol specification. Every other file in the library is LGPL. The license paragraph and the header box are copied verbatim from genwrap.c, so the tabs and the box alignment match its siblings. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  888. Deucе
    Sun Aug 23 2026 13:40:51 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    src/sbbs3/zmodem.h diff
    Relicense ZModem code under a 2-clause BSD licnese.

  889. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 02:30:16 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/sexyz_release/COMPILING.md diff
    src/sbbs3/sexyz_release/FILE_ID.DIZ diff
    src/sbbs3/sexyz_release/GNUmakefile diff
    src/sbbs3/sexyz_release/Makefile.vc diff
    sexyz: add the packaging inputs for a stand-alone source release sexyz builds from 22 sources and 42 headers under src/{sbbs3,xpdev,hash} and needs nothing else from Synchronet, so it can ship as a flat directory that builds with no configure step. The sources travel verbatim, but the files that describe how to build them do not exist anywhere in the tree. Add them: a makefile per toolchain, COMPILING.md, and the FILE_ID.DIZ. Both makefiles build one identical list. The two sources that are platform-specific carry their own guards -- xpevent.c outside __unix__, and xpprintf.c's vasprintf outside MSVC, which the MSVC C run-time lacks and str_list.c calls -- so neither toolchain needs a list of its own. Three things a Unix build cannot discover are recorded in COMPILING.md because they cost a broken archive to learn: RINGBUF_EVENT and RINGBUF_MUTEX are required, PREFER_POLL must not be defined on Windows (WSAPoll's semantics differ, GitLab #1212), and Windows needs iphlpapi.lib for netwrap.c's GetAdaptersAddresses(). The MSVC build was verified with Visual Studio 2022, x86 and x64, release and debug, transfers checked by SHA-256. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  890. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 02:30:16 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    zmodem: report the receiver's file position instead of always zero Nearly every message in zmodem.c is prefixed with the current file offset, but zm->current_file_pos was assigned in exactly one place, zmodem_send_from(), so on the receiving side it kept the zero that zmodem_init() memset it to. A download therefore ended with "0 Finishing Session (Sending ZFIN)" printed directly beneath "8192 Received: ZEOF" -- the latter reads a local position from ftello(), which is why only some of the numbers looked wrong. Assign current_file_pos from that same ftello(), at the start of the file and after each received subpacket, so the two cannot disagree. With a download stalled after 236504064 bytes, the receiver's timeout message now names that offset rather than 0. Drop the prefix from the ZFIN message: it ends a session rather than a file, and has no offset to report in either direction. On the sending side it had been printing the last file's final position. zmodem_ver 2.5 -> 2.6. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  891. Rob Swindell (on Debian Linux)
    Sun Aug 23 2026 02:30:16 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/xpevent.c diff
    xpdev: guard xpevent.c with #if defined(__unix__), like conwrap.c xpevent.c is the *nix emulation of the Win32 *Event API. On Windows eventwrap.h maps xpevent_t straight to a HANDLE and never includes xpevent.h, so compiling the file there fails: struct xpevent is undefined and CreateEvent/SetEvent/ResetEvent/CloseHandle are redefined. Neither xpdev vcxproj lists it, so no build in the tree ever noticed; a build that compiles every source in a directory does. Wrap the body the way conwrap.c has always been wrapped, that file being *nix-only and absent from the Windows projects for the same reason. Both toolchains can then compile the whole file set, so a build no longer needs a per-platform source list to avoid this one file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  892. Rob Swindell (on Debian Linux)
    Fri Aug 21 2026 22:08:21 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    src/sbbs3/sexyz.c diff
    Increment SEXYZ version to 3.5 for the zmodem.c 2.5 fixes Has the ZRPOS purge and ZFILE retransmit fixes. Both live in zmodem.c, already at 2.5; sexyz.c is otherwise unchanged. Its startup banner prints only its own revision, with zmodem.c's appearing solely under "sexyz v", so the two move together the way they did for the ZFIN/OO fix in 9e95decd0b (edit-3-eyes, 2026-03-06). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  893. Rob Swindell (on Debian Linux)
    Fri Aug 21 2026 22:05:04 GMT-0700 (PDT)
    Modified Files:
    

    docs/zmodem_comparison.md diff
    src/sbbs3/zmodem.c diff
    docs/zmodem: the "115.8 MB/s buffered floor" was a one-second sleep The comparison doc's headline mystery was that every sender built on zmodem.c stalled at 115.8 MB/s on a 256 MiB localhost send while lrzsz reached 203.9, on less CPU per byte and only 30% utilization. Successive revisions called it an engine CPU limit, then an unexplained I/O stall in the measuring tool. It was the 1-second receive-buffer purge on the normal send path: 1.32 s of work plus 1.00 s of sleep is 2.32 s, and 256 MiB over 2.32 s is 115.8 MB/s. Every buffered sender reported the same number because each was paying the same fixed second. Re-measured with that fixed and with the ZFILE retransmit behind it: sexyz 203.9 MB/s, ztx_buf 203.9, lsz 203.8, all in 1.32 s. The engine now ties lrzsz's own inlined loop, which retires the "what could a non-blocking sender reach" question this doc kept open. Record why the benchmark could not see it, since the blind spot outlived several rounds of analysis: the harness sends one file per run, so a per-file cost lands once in a goodput figure built to divide fixed costs away; the rate-capped rows refunded it from banked tokens and read as link-bound; and the CPU/context-switch diagnostics cannot see a sleeping poll() by construction. Section 2 now says to time a batch of small files for anything suspected of costing per file. Bump zmodem_ver() to 2.5 for the two protocol fixes. Found and reported by Uwe Ohse, maintainer of lrzsz, who measured sexyz at 5.9 KB/s against lrzsz's 10.2 KB/s sending five small files over a simulated 115200 bps line, and supplied the protocol dump and strace. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  894. Rob Swindell (on Debian Linux)
    Fri Aug 21 2026 21:58:40 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    zmodem: don't retransmit the ZFILE at a receiver's opening ZRINIT A ZMODEM receiver announces itself with a ZRINIT unprompted, and the sender then sends a ZRQINIT of its own before the first file, drawing a second ZRINIT. That second one arrives after the ZFILE has already gone out, and the loop waiting for the ZFILE's answer accepted only ZACK, so a ZRINIT counted as a failed attempt and the whole ZFILE frame was sent again. The receiver answered both copies, leaving a second ZRPOS on the back-channel that the sender then read mid-stream and treated as a retransmit request, restarting the file from the beginning and taking two rounds of error recovery to settle. Sending four files to lrzsz cost a round trip, a duplicate frame and an error in the receiver's log every session; under load the stale ZRPOS cost seconds. Absorb one such ZRINIT per ZFILE attempt and keep waiting for the real answer instead, which is what lrzsz's sender does in the same spot. A second ZRINIT still retransmits, so a receiver that genuinely missed the ZFILE recovers as before. The stale ZRPOS was previously consumed by the 1-second receive-buffer purge removed in 36c17d6b1e (2026-08-21), which is why the cost was only the wasted round trip until now. Verified with the sender and receiver pinned to one CPU, which reproduced the restart in 2 runs of 3 before the change and 0 of 12 after; a 256 MiB send to lrzsz stays at 204 MB/s, and error recovery under injected bit-flips still completes byte-identical. Visible in a protocol dump sent by Uwe Ohse, who reported the purge stall. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  895. Rob Swindell (on Debian Linux)
    Fri Aug 21 2026 21:08:02 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/zmodem.c diff
    zmodem: stop stalling a second before the data of every file sent zmodem_handle_zrpos() purged the receive buffer with a 1-second timeout. That purge sits on the sender's normal path (every file's first ZRPOS is just the routine answer to ZFILE), and with nothing to discard, the purge can only conclude the buffer is empty by letting the read time out. Each file transferred therefore cost a flat second of silence between its ZRPOS and its ZDATA, whatever the line speed. Pass the purge timeout in: 0 for that initial ZRPOS, where anything worth discarding has already arrived, and 1 for the mid-transfer ZRPOS that follows an error, where waiting briefly for the rest of the receiver's retransmit request is the point. Sending four files over a pipe took 4.01 seconds before and 0.006 after, to sexyz and to lrzsz's rz alike. The purge dates to 76d678710e (sheets-20-lone, 2020-11-28). Reported by Uwe Ohse, who found it comparing sexyz against lrzsz and zmtx/zmrx over a simulated 115200 bps line: 5.9 KB/s where the others managed 10.2 KB/s. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  896. Rob Swindell (on Debian Linux)
    Thu Aug 20 2026 20:38:53 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/sbbslist_lib.js diff
    sbbslist: don't leave the lock file (or a truncated list) behind on error The nightly sbbslist event on VERT died with an uncatchable "out of memory" error part-way through a write, which left two casualties: data/sbbslist.json truncated to 0 bytes, and the lock file still in place - locking out every other reader and writer until file_mutex() expired it, which for this lock is up to 24 hours. An out-of-memory error in SpiderMonkey is not a catchable exception: a try/finally around lock()/unlock() is *not* run, so exception safety has to come from somewhere else. js.on_exit() handlers do still run, so register one from lock() to drop the lock file if we're still holding it. The handler is registered only once, and is guarded by a 'locked' flag so it can never remove a lock file belonging to another process. The zero-byte list file has a separate cause: all four writers opened (or truncated) the file before serializing the replacement text, so an allocation failure inside JSON.stringify() destroyed the old contents without producing any new ones. Serialize first, truncate second. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  897. Rob Swindell (on Windows 11)
    Tue Aug 18 2026 23:15:32 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/email.cpp diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/netmail.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/userdat.h diff
    Add/use helper function: user_can_send_netmail() At first I was going to include the 'G' restriction (Guest account) in this check, but Guests should already have that and in some cases (e.g. sysop has netmail forwarding set), you might actually want Guests to be able to send netmail from the terminal server.

  898. Rob Swindell (on Windows 11)
    Tue Aug 18 2026 22:05:53 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/dupefind.vcxproj diff
    Remove a several unnecessary .c files from this project

  899. Rob Swindell (on Debian Linux)
    Tue Aug 18 2026 22:04:56 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: name the rejected address in the sender-auth 550 replies The 550 reply for an unauthorized MAIL FROM or From: address named only the address to use instead, never the address that was rejected. The submitter is left to guess which of the settings in their mail client the server is objecting to, and only the server log records it -- which the submitter cannot read. Seen on Vertrauen: "550 Sender address not authorized for this account, try <PHARCYDE@vert.synchro.net>" was read as a statement about the server hostname the client had connected to, and answered with a question about which hostname to use, when the setting at fault was the sender address. Grow from_errmsg to 512 bytes: the header 'FROM' message now formats two addresses of up to 127 characters each, which 256 bytes could truncate. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  900. Rob Swindell (on Debian Linux)
    Tue Aug 18 2026 22:04:56 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: honor ALLOW_RELAY for foreign submission sender addresses Since b8332a4618 (chart-3-cause, 2026-08-10), the submission ports verify that an authenticated user's MAIL FROM and From: address is at one of the system's domains and resolves to that user. That rejects the sysop who points a mail client at another BBS as a smarthost and submits as their own domain -- which worked on 587 before that commit, and still works on port 25 wherever ALLOW_RELAY is set. Both of Vertrauen's authenticated submissions on 2026-08-18 were refused this way, one of them from a domain whose SPF record already authorizes Vertrauen to send for it. The reply named an address the submitter had no reason to want, so it read as a problem with the server hostname rather than with the sender address. A sender address in a foreign domain is a relay, so honor the permission the sysop already granted for relaying: with ALLOW_RELAY enabled, accept one from an authenticated user who is not restricted from relaying (G/M). An address in one of the system's own domains must still resolve to the authenticated user, so this is no license to forge a local address -- the case that would lend the system's DKIM reputation to the forgery. RFC 6409 section 6.1 (Enforce Submission Rights) is a MAY, in a section titled "Optional Actions", so declining to enforce it is conformant. The authentication requirement of section 4.3, a MUST, is unaffected. Issue #1221 asked for sysop-selectable strictness here. ALLOW_RELAY is a coarse stand-in for that -- a dedicated option or an ARS (issue #107) would express it properly -- but it does pick out the systems that mean it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  901. Rob Swindell (on Debian Linux)
    Tue Aug 18 2026 22:04:56 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncdoom/README.md diff
    src/doors/syncdoom/syncdoom.c diff
    src/doors/syncduke/README.md diff
    src/doors/syncretro/README.md diff
    doors: README fixes where the docs describe code that has moved on SyncDOOM's Ctrl-S strip is drawn on the bottom row -- the row the graphics tiers leave empty, so it stays off DOOM's message line -- and the README still described the top-right strip it replaced. Its throughput field was missing too. Ctrl-O cycles off -> steer -> follow, and -mouse / [input] mouse take off|steer|follow (with on|true, none|false|0 and look|native|relative as aliases). The README and the usage banner both described a two-state on/off toggle, and the word "follow" appeared in neither, although the shipped syncdoom.example.ini has documented all three styles and the sensitivity slider all along. The Mouse control section now covers both styles and what each feels like, since the choice between a joystick and mouse-look is the whole point of having two. SyncDuke's door-hotkey table left out Ctrl-R (AutoRun, which frees R for Steroids) and the Ctrl-A..G mirror of F1..F7 -- the mirror being exactly what a player needs when their terminal keeps the function keys for itself. SyncRetro introduced the stdio path as the -stdio argument. The drop file selects it on its own (comm type 0 means there is no socket), and -stdio is the manual equivalent for a BBS that writes no drop file; the sibling READMEs all describe it that way round. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  902. Rob Swindell (on Debian Linux)
    Tue Aug 18 2026 22:04:56 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncdoom/README.md diff
    src/doors/syncdoom/syncdoom.c diff
    syncdoom: take the player's name from the drop file DOOR32.SYS line 7 is the caller's alias, and the sibling doors read it. SyncDOOM never has: its own drop-file parser knew the comm type, the socket handle and the time limit, and the alias only came into existence when the five copies were replaced by one in termgfx, 19901be145 (genre-4-turned, 2026-07-11) -- at which point the doors already reading line 7 were wired to the new field and this one had nothing to wire. Nothing surfaced it because xtrn/syncdoom/lobby.js passes -name %a on every launch, so on the path that actually gets exercised the name arrives by another route. An xtrn entry that runs the door directly, or any BBS with no lobby, got "Player". The drop file now supplies the name, and an explicit -name still overrides it whatever the argument order -- the pre-scan that reads the drop file runs before the argument loop. SyncDuke resolves the same conflict the same way. SyncMOO1 deliberately does the opposite, letting the drop file outrank -name, but there -name exists only for the drop-file-less dev path; here it is a documented setting the lobby depends on. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  903. Rob Swindell (on Debian Linux)
    Tue Aug 18 2026 22:04:56 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: the v3.22 notes carry no interim fixes to unreleased doors SyncDOOM, SyncDuke and SyncMOO1 have not shipped in a release, so a sysop reading these notes has never run a version of them that behaved differently. Their arrival is the entry worth having; the console-window fix made on the way to it is invisible history. The door-installer checksum entry stays: it names those doors, but the change is to the installers, which include released ones. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  904. Rob Swindell (on Debian Linux)
    Tue Aug 18 2026 22:04:56 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncdoom/README.md diff
    src/doors/syncdoom/syncdoom.c diff
    syncdoom: the door-directory defaults have to work without syncdoom.ini A BBS-agnostic install is the executable and the WADs in one directory, and on that install a bare -iwad doom2.wad resolved against the current directory -- the BBS's, not the door's. read_syncdoom_ini() returns early when it cannot open the ini, and the [wads] block that resolves "blank = the door's own dir", exports DOOMWADDIR and fills g_wads_dir sits after that return, so the documented default applied only to the installs that had the file documenting it. The resolution moves into resolve_wads_dir(), called from both paths. A drop file the door cannot open was as quiet: read_door32() returned on the failed read and the door fell through to stdio, drawing to a console nobody sees and reading keys nobody pressed. It now names the file and the errno -- a node macro the BBS never expanded shows up there as a directory that does not exist. That complaint and the existing "no use to this door" one go through dlog() instead of stderr, because on Windows a socket door's stderr is a throwaway console and the log file is the only sink that reaches the sysop; they are held until read_syncdoom_ini() has named it. The spaced -door32 <path> form read the drop file twice: the pre-scan took argv[i + 1] as the value without advancing i, so the next iteration matched that same path through the bare-door32.sys arm. Invisible while the failure was silent, and the new message printed twice. -door32 leaves the usage banner and the README, which document the drop file the way every sibling door takes it: a plain argument, recognized by its filename. The flag is still parsed, for the command lines that spell it. The README gains an install section for the BBSes that need any of this. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  905. Deucе
    Mon Aug 17 2026 20:39:52 GMT-0700 (PDT)
    Modified Files:
    

    src/tith/README.md diff
    Removed Files:

    src/tith/.gitignore diff
    src/tith/GNUmakefile diff
    src/tith/base64.c diff
    src/tith/base64.h diff
    src/tith/hydro/hydrogen.c diff
    src/tith/hydro/hydrogen.h diff
    src/tith/hydro/impl/common.h diff
    src/tith/hydro/impl/core.h diff
    src/tith/hydro/impl/gimli-core.h diff
    src/tith/hydro/impl/gimli-core/portable.h diff
    src/tith/hydro/impl/gimli-core/sse2.h diff
    src/tith/hydro/impl/hash.h diff
    src/tith/hydro/impl/hydrogen_p.h diff
    src/tith/hydro/impl/random.h diff
    src/tith/hydro/impl/random/avr.h diff
    src/tith/hydro/impl/random/ch32.h diff
    src/tith/hydro/impl/random/cheriot.h diff
    src/tith/hydro/impl/random/chibios.h diff
    src/tith/hydro/impl/random/esp32.h diff
    src/tith/hydro/impl/random/linux_kernel.h diff
    src/tith/hydro/impl/random/mbed.h diff
    src/tith/hydro/impl/random/nrf52832.h diff
    src/tith/hydro/impl/random/particle.h diff
    src/tith/hydro/impl/random/riot.h diff
    src/tith/hydro/impl/random/rtthread.h diff
    src/tith/hydro/impl/random/stm32.h diff
    src/tith/hydro/impl/random/unix.h diff
    src/tith/hydro/impl/random/wasi.h diff
    src/tith/hydro/impl/random/windows.h diff
    src/tith/hydro/impl/random/zephyr.h diff
    src/tith/hydro/impl/sign.h diff
    src/tith/hydro/impl/x25519.h diff
    src/tith/nodelist.c diff
    src/tith/standards/TRD-0001.txt diff
    src/tith/standards/TRD-0002.txt diff
    src/tith/standards/TRD-0003.txt diff
    src/tith/standards/TSP-0001.txt diff
    src/tith/standards/TSP-0002.txt diff
    src/tith/standards/TSP-0003.txt diff
    src/tith/standards/TSP-0004.txt diff
    src/tith/standards/TSP-0005.txt diff
    src/tith/standards/TSP-0006.txt diff
    src/tith/standards/TSP-0007.txt diff
    src/tith/standards/TSP-0008.txt diff
    src/tith/standards/TSP-0009.txt diff
    src/tith/standards/TSP-0010.txt diff
    src/tith/standards/TSP-0011.txt diff
    src/tith/standards/TSP-0012.txt diff
    src/tith/standards/TSP-0013.txt diff
    src/tith/standards/TTS-0002.txt diff
    src/tith/standards/TTS-0003.txt diff
    src/tith/standards/TTS-0004.txt diff
    src/tith/standards/TTS-0005.txt diff
    src/tith/standards/TTS-0006.txt diff
    src/tith/standards/TTS-0007.txt diff
    src/tith/standards/TTS-5000.txt diff
    src/tith/tith-bundle.c diff
    src/tith/tith-client.c diff
    src/tith/tith-client.h diff
    src/tith/tith-common.c diff
    src/tith/tith-common.h diff
    src/tith/tith-config.c diff
    src/tith/tith-config.h diff
    src/tith/tith-file.c diff
    src/tith/tith-file.h diff
    src/tith/tith-interface.h diff
    src/tith/tith-nodelist.c diff
    src/tith/tith-nodelist.h diff
    src/tith/tith-server.c diff
    src/tith/tith-server.h diff
    src/tith/tith-stdio.c diff
    src/tith/tith-strings.c diff
    src/tith/tith-strings.h diff
    src/tith/tith-xsi.c diff
    src/tith/tith.c diff
    src/tith/tith.h diff
    Remove relocated TITH project

  906. Deucе
    Mon Aug 17 2026 15:09:37 GMT-0700 (PDT)
    Added Files:
    

    src/tith/standards/TSP-0011.txt diff
    src/tith/standards/TSP-0012.txt diff
    src/tith/standards/TSP-0013.txt diff
    Modified Files:

    src/tith/standards/TSP-0002.txt diff
    src/tith/standards/TSP-0004.txt diff
    src/tith/standards/TSP-0005.txt diff
    src/tith/standards/TSP-0006.txt diff
    src/tith/standards/TSP-0007.txt diff
    src/tith/standards/TSP-0008.txt diff
    src/tith/standards/TSP-0009.txt diff
    src/tith/standards/TSP-0010.txt diff
    Define durable mailer-tosser IPC

  907. Deucе
    Mon Aug 17 2026 15:09:36 GMT-0700 (PDT)
    Added Files:
    

    src/tith/standards/TSP-0004.txt diff
    src/tith/standards/TSP-0005.txt diff
    src/tith/standards/TSP-0006.txt diff
    src/tith/standards/TSP-0007.txt diff
    src/tith/standards/TSP-0008.txt diff
    src/tith/standards/TSP-0009.txt diff
    src/tith/standards/TSP-0010.txt diff
    Modified Files:

    src/tith/GNUmakefile diff
    src/tith/nodelist.c diff
    src/tith/standards/TRD-0003.txt diff
    src/tith/standards/TSP-0002.txt diff
    src/tith/standards/TTS-0005.txt diff
    src/tith/standards/TTS-0006.txt diff
    src/tith/standards/TTS-5000.txt diff
    src/tith/tith-common.c diff
    src/tith/tith-common.h diff
    src/tith/tith-interface.h diff
    src/tith/tith-server.c diff
    src/tith/tith-xsi.c diff
    Implement TITH routing and outbound job interfaces Define routing and distribution policy, durable outbound jobs, submission semantics, and four authenticated local IPC bindings. Update the transport standards and C implementation for held-value handling, streaming, concurrency, and host filesystem support.

  908. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 03:14:39 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncconquer/door/door_io.c diff
    src/doors/syncdoom/syncdoom.c diff
    src/doors/syncduke/syncduke_input.c diff
    src/doors/syncmoo1/syncmoo1_io.c diff
    src/doors/syncretro/syncretro_io.c diff
    src/doors/termgfx/termgfx_plat.c diff
    src/doors/termgfx/termgfx_plat.h diff
    src/doors/termgfx/termgfx_termio.c diff
    doors: one raw-mode implementation, in termgfx, for every door A door that reads a terminal rather than a socket has to establish the line discipline itself. A pty arrives cooked unless something raws it, and whether that has happened depends on the host: Synchronet raws an XTRN_STDIO door's pty only when the program is registered untranslated (EX_BIN), other BBSes differ, and a door started from a shell gets whatever the shell had. Left cooked, a keystroke is held back until Enter, echoed over the frame, and Ctrl-C kills the door instead of arriving as a key. Only syncdoom did this, in a private copy. Move it behind termgfx_plat_tty_raw() / termgfx_plat_tty_restore() -- a no-op on a socket, a no-op on Windows, and self-restoring via atexit() so a door that exits without an orderly shutdown still hands the terminal back as it found it -- and call it from termgfx's own I/O seam and from the four doors that resolve their descriptors themselves. The VMIN=1 that 92c2fd33bd (gratis-3-expand, 2026-08-17) gave the syncdoom copy is the part most worth having in one place: VMIN=0 makes a tty read() return 0 when nothing is pending, and every one of these doors reads a 0 as the EOF that means the client dropped. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  909. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 02:53:54 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/systotals.c diff
    Modified Files:

    src/sbbs3/getstats.c diff
    src/sbbs3/getstats.h diff
    src/sbbs3/objects.mk diff
    src/sbbs3/sbbs.jsdocs.vcxproj diff
    src/sbbs3/sbbs.vcxproj diff
    Move the message/file total cache out of getstats.c getstats.c is compiled into five single-threaded stand-alone utility link sets, and 52d64f2934 (county-27-real, 2026-08-17) guarded its mutex with XPDEV_THREAD_SAFE on the assumption that the define marks the multi-threaded link set. It does on MSVC, where it comes from xpdev_mt.props. It does not under GNU make, where sbbs3/GNUmakefile folds XPDEV-MT_CFLAGS into the base CFLAGS, so every object gets it - which left the mingw-w64 utils build failing to link sbbsecho.exe on the same four pthread symbols. Linux never showed it, there or before, because pthread is available to every link set. No define means "the thread wrappers are linked" on both build systems, so stop asking. The counting and its cache move to systotals.c, which only the BBS links; getstats.c keeps the getposts()/getfiles() primitives they build on and no longer references threading at all. The invalidation flags stay in getstats.c, because the hooks that set them are in files the utilities also compile (addfile()/removefile() in filedat.c, and userdat.c calls the latter). Setting a flag is a plain store, which needs no thread wrappers, and losing one to a race costs at most totals_interval seconds of currency - the same guarantee that already covers a base changed by another process. The cache tests and clears the flag under its own mutex, so a base changed mid-enumeration leaves it set and the next caller re-counts. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  910. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 02:35:22 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncdoom/syncdoom.c diff
    syncdoom: on a tty, VMIN=0 makes "no input" indistinguishable from EOF The *nix stdio path put the terminal in raw mode with VMIN=0/VTIME=0 and relied on O_NONBLOCK to report an empty read as -1/EAGAIN. A tty does not work that way: with VMIN and VTIME both zero the read timeout is zero, and the kernel returns 0 before it ever consults O_NONBLOCK. conn_read() maps 0 to EOF, so the first input pump with nobody mid-keystroke set g_hangup and the door exited with status 0 on its very first frame -- immediately after "ST_Init: Init status bar.", and with no diagnostic. VMIN=1 restores the distinction conn_read() depends on: -1/EAGAIN when no byte is waiting, 0 only when the client really has gone. O_NONBLOCK is what keeps the read from blocking. This left stdio mode unusable on every *nix host, whether the door was started from a shell or handed its stdio by a BBS. The path had only ever been exercised over pipes, where tcgetattr() fails, the termios block is skipped, and 0 does mean EOF. A BBS gives a stdio door a pty, so the door applied VMIN=0 there as well -- overriding, under Synchronet's XTRN_STDIO, the cfmakeraw() the BBS had just done. Socket doors are unaffected: raw_input_on() returns early on one.

  911. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 02:35:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: v3.22 notes for the message/file total cache Covers the new totals_interval setting and its SCFG option, the removal of the per-record user lock from the user count, and the webv4 sidebar reading each statistic twice. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  912. Rob Swindell (on Windows 11)
    Mon Aug 17 2026 02:31:34 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgsys.c diff
    Clean up the new SCFG setting: Msg/File Total Interval

  913. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 02:13:45 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/getstats.c diff
    getstats.c: don't require the thread wrappers to count the bases getstats.c is linked into the stand-alone utilities as well as into the BBS, and those utilities import only xpdev.props, not xpdev_mt.props. The message/file total cache added in a464bc3efd (finite-27-know, 2026-08-17) called pthread_once() and pthread_mutex_*() unconditionally, so dupefind, makeuser, sbbsecho, upgrade_to_v319 and upgrade_to_v320 all failed to link with LNK2019 on those four symbols. GCC did not catch it: on Linux pthread is available to every link set, so the dependency was invisible there. Serialize only where XPDEV_THREAD_SAFE says the wrappers are linked. The utilities are single-threaded, so there is nothing to serialize against and the cache logic is unchanged for them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  914. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 02:04:14 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/atcodes.cpp diff
    src/sbbs3/file.cpp diff
    src/sbbs3/filedat.c diff
    src/sbbs3/getstats.c diff
    src/sbbs3/getstats.h diff
    src/sbbs3/js_filebase.cpp diff
    src/sbbs3/js_system.cpp diff
    src/sbbs3/postmsg.cpp diff
    src/sbbs3/scfg/scfgsys.c diff
    src/sbbs3/scfgdefs.h diff
    src/sbbs3/scfglib1.c diff
    src/sbbs3/scfgsave.c diff
    Cache the system-wide message and file totals Neither total can be maintained as a counter: messages and files enter and leave the bases through too many independent paths (JS, smbutil, the terminal server, FTP, mail, services, web) for an incremented count to stay true. They can only be obtained by enumerating every base - one file operation per sub-board or directory. That is cheap locally, but on a network-mounted data directory each one is a separate round-trip that cannot be pipelined: with 144 sub-boards and 1,404 file directories reached over SMB, a single pass costs roughly nine seconds, which is essentially the entire render time of the webv4 front page. Add total_msgs() and total_files(), which share one enumeration process-wide for the duration of a new totals_interval setting (default 10 minutes, 0 to count afresh every time). The stats-file cache added in 286b4c4cd0 (nurse-3-film, 2026-01-04) deliberately does not cover these: getstats() reads a file, and stats_t is its on-disk image, so folding an enumeration in there would make every existing getstats_cached() caller pay for a walk it does not want. The @TMSG@ and @TFILE@ at-codes and the system.stats.total_messages and .total_files properties each ran their own copy of the loop; both now go through the cache. The value is carried as uint64_t rather than ulong, which would truncate these totals on a 32-bit build. Bases changed by this process discard the affected total immediately, so a poster sees their own contribution counted rather than waiting out the interval. For messages the hook belongs in signal_sub_sem(), which is already the "this sub-board changed" notification and so covers posting, QWK and REP import, and message moves in one place; postpoll() needs its own, as it does not signal but polls are counted. For files the hooks are in addfile()/removefile(), sbbs_t::removefile() and the JS FileBase mutators. A change made by another process is not noticed until the interval expires, and the extra recipient headers written by js_msgbase are not hooked. That is a staleness window rather than an inaccuracy: invalidation only ever discards a cached value, it never adjusts one, so a path these hooks miss costs currency, not correctness. The cache lives in process memory only; nothing is persisted. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  915. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 01:51:04 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/websocketservice.js diff
    websocketservice.js: separate the sidecar guarantee from the login policy -auth did two unrelated jobs, and welding them together made one of them unusable. The first is a safety property about the SIDECAR: forward nothing this instance could not describe. A backend reading the sidecar concludes from its absence that a connection was made directly to it, and may extend local trust on that basis, so a failed write has to close the connection rather than quietly produce one wearing a local client's clothes. That stays with -auth, which is the name the guarantee earned. The second is a POLICY about the person: refuse anyone with no web session. That belongs to the backend, not here. A backend may want anonymous visitors and have its own idea of how many to allow -- and it cannot express any of that if this instance turned them away first. It never saw them. Moving it out is what makes such a setting possible at all; keeping it as -login is so a backend that wants nobody anonymous need not implement refusing them. Neither may become the default. An instance fronting a server that does its own login carries people who have not logged in yet, because logging in is what they are connecting to do. Nothing in the tree passed -auth expecting the login behaviour, so no caller changes meaning under it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  916. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 01:38:54 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/userdat.c diff
    Don't lock every user record just to count the users readuserdat() is built for reading a single record safely: per call it does a filelength(), a seek, a shared byte-range lock, the read, and an unlock. total_users() called it once per user slot, so counting the users cost five file operations and two byte-range locks per slot. Byte-range locks are the worst possible unit of work when the data directory is network-mounted. They are synchronous round-trips to the lock manager and, unlike reads, can be neither cached nor batched by the client whatever its caching settings. Locking never made the total atomic either - only each record read within it - so the count was already assembled from records read at different moments. Read the user file sequentially in bulk and split the records in memory instead. The result is unchanged: records flagged DELETED or INACTIVE are still excluded. A record rewritten mid-scan can now be misparsed and shift the total by one, where before it would merely have been counted as of a slightly different moment; for a displayed total, neither is more meaningful than the other. For 1,457 user slots this replaces 7,286 file operations - 2,914 of them locks - with about 25 reads and no locks, taking the scan from 85ms to 5ms with the data directory on a loopback SMB mount. This is the same fix as 8561162afd (fighter-20-fears, 2026-07-29), applied to the user census rather than the node list. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  917. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 01:38:54 GMT-0700 (PDT)
    Modified Files:
    

    webv4/sidebar/003-systemStats.xjs diff
    webv4: read each system.stats property once per page render system.stats.total_users, .total_messages and .total_files are computed from disk on every property read: they enumerate the user base, every message base, and every file base respectively. Only the stats backed by the stats file are cached (286b4c4cd0, nurse-3-film, 2026-01-04) - these three sit outside that cache, since nothing persists or increments them. The System Info sidebar read each of them twice. hide_empty_stats defaults to true, so a guard of the form !settings.hide_empty_stats || system.stats.total_files cannot short-circuit: the guard evaluates the property to decide whether the row is worth showing, and then the row body evaluates it again to print it. Snapshot the properties into a local object and render from that. As a side effect the table becomes internally consistent, where previously each value could be read at a different moment. On a system with 144 sub-boards and 1,404 file directories, dropping the duplicate reads takes the front page from 18s to 9s when the data directory is reached over SMB. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  918. Rob Swindell (on Debian Linux)
    Mon Aug 17 2026 01:25:02 GMT-0700 (PDT)
    Added Files:
    

    exec/load/ws_sidecar.js diff
    Modified Files:

    exec/websocketservice.js diff
    xtrn/wttr.in/locator.js diff
    Put the WebSocket relay's sidecar where every host can read it The relay writes a small file beside each connection it forwards, so the service on the far end can learn what a proxied socket cannot tell it: the client's real address, and the user number of the web session it authenticated with. That file went into temp_dir. temp_dir is PER HOST, and a Synchronet install can be shared by several of them. So a relay running on one machine and a service on another never saw the same file, and the service was left to conclude from its absence that the connection was made directly to it. Where a service grants trust on that basis -- and the fallback for a missing sidecar is naturally the trusting one, because a direct local caller writes no sidecar either -- being unable to see another host's file is the dangerous direction to fail in. data_dir is shared, so both ends reach it. Moving it made the port an insufficient name. It was unique while the directory was private to one host; in a shared one, two hosts can hold the same local port at the same moment, which would turn a missing sidecar into a WRONG one. So the name now carries the address too. The name is the entire handshake -- nothing is passed between the two ends -- so both derive it from the one endpoint they share: the relay from the local address and port of the socket it opened to the service, the service from the remote address and port of the connection that arrived. Those are the same endpoint seen from its two ends, so they agree without being told. The address is folded to a filename, anything outside letters, digits and dots becoming a dash, because an IPv6 address carries colons -- illegal in a filename on Windows, which some hosts sharing an install will be running -- and may carry a % scope as well. The rule is trivial deliberately: it must be reimplemented exactly by any service that reads a sidecar without loading this, including ones not written in JavaScript. exec/load/ws_sidecar.js holds the rule and the reasoning, so the relay and the readers cannot drift apart on it. THIS IS A BREAKING CHANGE to an interface no document describes. A service still looking in temp_dir will find nothing, and if it treats that as "direct connection" it will treat relayed clients as local ones. Both readers in the tree are updated here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  919. Rob Swindell (on Debian Linux)
    Sun Aug 16 2026 22:55:00 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/wttr.in/locator.js diff
    Read the WebSocket relay's sidecar file a line at a time websocketservice.js writes <temp_dir>/sbbs-ws-<port>.ip so a backend can recover the real client address from behind the relay, and that file now carries a second line -- the authenticated web user. xtrn/wttr.in's locator.js read it with File.read(), which reads to EOF, so it got both lines back joined by a CRLF and returned that as the client's address. It then goes out as part of an HTTP request line and as a cache key. readln() is the correct read here regardless: the value wanted is the first line, and it was only ever safe to slurp the file while the file happened to hold nothing else. It strips the trailing CR, so no CRLF survives into the address. A truncated read now returns early rather than throwing, since the relay's open('w') empties the file before writing it and a reader can land in that window. Correct the comment above the write, too. It said any existing backend still read exactly the first line; the address is indeed still the first line, but that is a statement about the file and not about its readers, and the reader in this tree was not one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  920. Rob Swindell (on Debian Linux)
    Sun Aug 16 2026 22:55:00 GMT-0700 (PDT)
    Modified Files:
    

    exec/websocketservice.js diff
    websocketservice.js: name the authenticated web session in the sidecar The relay already drops a sidecar file beside each connection so the target service can learn the client's real IP, which a service reading a proxied socket cannot see for itself. It said where a client came from and nothing about who they were, so every browser arrived at the far end anonymous, and a service had no way to tell an authenticated visitor from a passer-by. The Cookie header is captured during the handshake, the session resolved against data/user/####.web, and the user number written as a second line of the sidecar. A dead or absent session is user zero, which is the truthful answer rather than a refusal: what a service does with an anonymous client is the service's decision, not the relay's. THE ORDERING IS THE GUARANTEE, and it is why this is worth stating in the code as well as here. The sidecar is written and closed before a single byte is forwarded. So a target service that has been spoken to and still finds no sidecar knows it is not talking to the relay at all, and can treat that connection as a direct local one. Written after the first byte, that inference would be a race, and the fallback for a missing sidecar is exactly the trusting one. An over-long handshake header line is now refused rather than truncated. A line cut at the buffer size leaves its tail to be parsed as the NEXT header, which in this file's case can walk a value into the slot the user number is read from. Refusing is the only safe reading of a line that did not fit. -auth is new, and refuses any connection whose sidecar cannot be written. Without it a failed write degrades to a connection with no sidecar, which is precisely the shape the fallback above treats as trusted and local -- a write error turning into an unauthenticated client wearing a local client's clothes. Backward compatible: without -auth the file keeps its old single-line meaning to anything that only reads the first line, and the behaviour of every existing caller is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  921. Rob Swindell (on Debian Linux)
    Sun Aug 16 2026 22:55:00 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: webv4 breaks under hashed passwords, in two ways The cleartext-sink list did not reach the web UIs, which is where the most visible breakage is. The page-content half is the RLogin auto-login convention: the password travels in the client-user-name field, compared against useron.pass at answer.cpp:170, so webv4/pages/003-games.xjs:64 writes user.security.password straight into the served HTML as Options.RLoginClientUsername. It is rendered into JavaScript source, sent to the browser, and sent back through the WebSocket-to-RLogin proxy when a door is launched. web/root/members/externals.ssjs:60 does the same in the v3 UI, web/lib/leftnav_html.ssjs:8 builds ftp://alias:password@host into the left nav of every page, and rlogin.js:86,90 is the door-side form -- its -h variant is no escape, since sha1(password + ...) still has to read the cleartext to compute it. The larger half is session resumption. validateSession() (webv4/lib/auth.js:106) re-establishes a cookie-carried session by reading the stored password back out and passing it to login(); guest login (:229) does the same with the Guest account's password. No pass.tab value makes either succeed, so under hashing every webv4 session fails on the request after the form login and the guest path fails before anyone logs in. Both go in the sinks table, in the key-or-token table, and in a prose block splitting the two failures; the answer to both is a short-lived single-use token bound to user number and client IP, accepted in the client-user-name slot, with the session record's existing key made the authenticated object. That also corrects a claim in Constraints. webv4's form login runs the KDF once, but the cookie path re-authenticates through login() on every request, so as written it costs a derivation per request exactly as HTTP Basic does -- making the session the authenticated object is a cost fix there as well as a correctness fix under hashing. Sequencing step 4 gains the note that neither webv4 site has a compare-only form, so both are their own work and must land before the storage change rather than folding into the mechanical verify_password() conversion. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  922. Rob Swindell (on Debian Linux)
    Sun Aug 16 2026 22:55:00 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncmoo1/DESIGN.md diff
    src/doors/syncmoo1/syncmoo1.h diff
    src/doors/syncmoo1/syncmoo1_input.c diff
    src/doors/syncmoo1/syncmoo1_io.c diff
    src/doors/syncmoo1/tools/fakterm.py diff
    syncmoo1: hide the client's status line, and put it back on the way out A terminal showing a status line reserves its bottom text row for it, so the grid it reports is one row short: an 80x25 SyncTERM answers the grid probe with 24 rows, sm_geom_fit_page() derives a 384px page from that, and the frame fits into 368 instead of 384 -- a 1.80x vertical resample of MoO1's 200 rows where 1.92x was available, spent on a row nothing draws on. Send DECSSDT Ps=0 before the probe burst so the grid reply reports the reclaimed height, and restore the pre-door setting at exit from the DECRQSS reply the sequence is prefixed with. Every sibling door does this already (syncretro, syncduke, syncdoom, syncconquer, syncscumm); this one's DESIGN.md listed it and it was never built. The bottom-row reserve in sm_geom_fit_page() stays. That is the sixel scroll guard from 843981e6be (pulse-66-pour, 2026-07-08) -- a sixel band landing on the last text row scrolls the page and makes the picture jump -- and it has to hold on terminals with no status line to reclaim. The two are independent; hiding the status line only means the reserved row is no longer one the picture wanted. So this buys the row 0511160331 (currently-20-fears, 2026-07-08) measured, not a native 640x400. Inert where DECSSDT does not exist, which is still most of the field: cterm gained it in 9019e4bcba (buys-6-curve, 2026-04-20), after the last release tag, so a released SyncTERM ignores the query and the hide alike and keeps the 24-row grid. The reply is captured by a raw-byte scan in the input pump ahead of the escape state machine, which swallows the DCS it arrives in; the rolling window bridges a reply split across two reads, as it does in the sibling doors. tools/fakterm.py had no notion of a status line, so a door that sent the hide and one that didn't looked identical to it. Teach it DECSSDT: --status-line starts with one up (the reported grid is ROWS-1 until the door hides it), --no-decssdt models a terminal that implements none of it, and the teardown summary prints the query/set trace. Verified across four cases, each exiting through the door's own atexit path rather than the harness SIGKILL: status line up, DECSSDT query 1, set 0, set 1 grid 25 640x384 same, before this change no traffic grid 24 640x368 status line up, no DECSSDT all ignored grid 24 640x368 status line already off query 0, set 0, set 0 grid 25 640x384 The last case is the one that matters for a player who had already turned their status line off: they get it restored to off, not forced back on. fakterm.py's DEFAULT_LBX was also one directory short (src/xtrn, which does not exist, rather than the repo's xtrn/syncmoo1), so the tool exited before spawning the door unless --lbx was passed.

  923. Deucе
    Sun Aug 16 2026 22:52:25 GMT-0700 (PDT)
    Added Files:
    

    src/tith/standards/TRD-0002.txt diff
    src/tith/standards/TRD-0003.txt diff
    src/tith/standards/TTS-0007.txt diff
    Modified Files:

    src/tith/standards/TRD-0001.txt diff
    src/tith/standards/TSP-0001.txt diff
    src/tith/standards/TSP-0002.txt diff
    src/tith/standards/TSP-0003.txt diff
    src/tith/standards/TTS-0002.txt diff
    src/tith/standards/TTS-0003.txt diff
    src/tith/standards/TTS-0004.txt diff
    src/tith/standards/TTS-0005.txt diff
    src/tith/standards/TTS-0006.txt diff
    src/tith/standards/TTS-5000.txt diff
    Also, update all of this stuff. The transport should be good now.

  924. Deucе
    Sun Aug 16 2026 22:52:02 GMT-0700 (PDT)
    Modified Files:
    

    src/tith/base64.h diff
    src/tith/nodelist.c diff
    src/tith/tith-bundle.c diff
    src/tith/tith-client.c diff
    src/tith/tith-common.c diff
    src/tith/tith-common.h diff
    src/tith/tith-config.c diff
    src/tith/tith-config.h diff
    src/tith/tith-interface.h diff
    src/tith/tith-nodelist.c diff
    src/tith/tith-nodelist.h diff
    src/tith/tith-server.c diff
    src/tith/tith-strings.h diff
    src/tith/tith-xsi.c diff
    src/tith/tith.c diff
    src/tith/tith.h diff
    Actually commit this stuff. Fixes crashes, broken bits, etc.

  925. Deucе
    Sun Aug 16 2026 04:57:41 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    telnets: triage certificate rollback (CID 505474) Classify removal of the unreferenced certificate as intentional best-effort rollback after updating the dialing-directory entry has already failed and been reported. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  926. Deucе
    Sun Aug 16 2026 04:42:12 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/rlogin.c diff
    rlogin: check GHost negotiation sends (CID 505473) Require both GHost setup requests to be sent completely and report a precise connection error immediately on socket failure or a partial write instead of waiting for a response timeout. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  927. Deucе
    Sun Aug 16 2026 04:37:19 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/ini_crypt.c diff
    src/syncterm/ini_crypt_test.c diff
    ini_crypt: remove unreachable cipher defaults (CID 505471) The writer rejects every encrypted output algorithm except AES and ChaCha20 before resolving a default key size, and both supported algorithms use 256 bits. Replace the unreachable legacy switch with that shared default and cover zero-size resolution for both algorithms. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  928. Deucе
    Sun Aug 16 2026 04:13:18 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    bbslist: triage cache rename (CID 505470) Classify cache-directory migration as intentional best-effort work after the persistent BBS rename has already succeeded, matching the prior disposition for the same behavior. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  929. Deucе
    Sun Aug 16 2026 04:02:37 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    telnets: triage certificate cleanup (CID 505469) Classify removal of an unreferenced partial certificate as intentional best-effort cleanup after the write and installation have already failed and been reported. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  930. Deucе
    Sun Aug 16 2026 03:46:32 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    coverity: refresh tracking (CIDs 505469, 505470, 505471, 505472, 505473, 505474, 505475) Record the seven new non-DeuceSSH SyncTERM findings. Classify CID 505472 as a false positive because every private theme-selection path bounds its source to the destination, and CID 505475 because the nested linked-list lock is explicitly recursive and balanced. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  931. Deucе
    Sun Aug 16 2026 03:31:13 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/coverity-cids.txt diff
    coverity: refresh tracking (CIDs 454293, 468238, 468240, 468241, 468244, 468255, 468259, 468261, 468270) Record CID 454293 as a false positive because sftp_shell_alive is an atomic Boolean and requires no connection-buffer mutex. Remove CIDs 468238, 468240, 468241, 468244, 468255, 468259, 468261, and 468270 because the fresh scoped scan no longer returns them. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  932. Deucе
    Fri Aug 14 2026 20:18:46 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cterm.adoc diff
    Update citation for XTerm Control Sequences

  933. Rob Swindell (on Debian Linux)
    Fri Aug 14 2026 18:43:43 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/M2_INPUT.md diff
    src/doors/syncretro/M3_MULTICORE.md diff
    src/doors/syncretro/M4_AUDIO.md diff
    syncretro: record what the milestone docs' deferred items became M2_INPUT.md, M3_MULTICORE.md and M4_AUDIO.md are the design record the door's code cites by section for its defaults, its measurements and its rejected alternatives, so their "Deferred, with reasons" tails get read as current. Several of those items have since shipped while still reading as open work: - the volume hotkey (M4) -- '+'/'-' walking a 0..100 percent - the CP437 text tier (M2) -- charset taken from the client, F4 cycles - core options and save states (M3) -- the option store, and suspend as an automatic per-user snapshot - the NES install (M3), which had no cartridges and no xtrn.ini entry - the Intellivision keypad's end-to-end semantics (M2), blocked at the time on a BIOS the install now carries Each item keeps its original reasoning and gains what actually happened, including where that differs from the plan: save-state hotkeys and a save UI are still open, and a descriptor-derived per-game legend was answered from the other end by games.ini, for the console that sends no descriptors at all. Two section cross-references corrected in passing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  934. Rob Swindell (on Debian Linux)
    Fri Aug 14 2026 18:32:13 GMT-0700 (PDT)
    Added Files:
    

    src/doors/termgfx/test/test_stream_volume.c diff
    Modified Files:

    src/doors/syncretro/README.md diff
    src/doors/syncretro/main.c diff
    src/doors/syncretro/syncretro_audio.c diff
    src/doors/syncretro/syncretro_audio.h diff
    src/doors/syncretro/test_audio_bytes.c diff
    src/doors/syncretro/test_audio_bytes.golden diff
    src/doors/termgfx/audio_stream.c diff
    src/doors/termgfx/audio_stream.h diff
    src/doors/termgfx/test/CMakeLists.txt diff
    syncretro: step the volume in percent, and fix a mute with no way out The channel level stepped in 6 dB increments and snapped to full mute below -36 dB, but applied that snap in BOTH directions: from the -60 dB mute floor, '+' landed at -54 dB, still inside the snap zone, and bounced straight back to mute. Volume down was a one-way trip. The same trap caught any configured level inside -36..-60 dB, audible but unable to climb out. Reported by nelgin on IRC; the behavior dates from b226d59546 (lite-11-farm, 2026-07-17), which made the stream dB-native. The ladder a player walks now lives in the door, in percent: it holds 0..100, steps by 10, and converts at the seam. That is the unit the sysop's [audio] volume knob is already in and the unit the on-screen readout now uses ("Volume 70%", "Volume 0% (off)"), so nothing a player or a sysop touches speaks decibels, and the keys reach as far per press as SynchroLand's do. A clamped 0..100 ladder is symmetric by construction, which leaves the failure no place to hide. termgfx accordingly takes an absolute level, termgfx_stream_set_volume(), and loses termgfx_stream_volume_step() along with the snap-to-mute floor that existed only to shorten a dB ladder no door offers now. Zero percent converts to the silence floor, which is a real mute: the door stops encoding and sending, flushes the channel, and re-primes the cushion on the way back up. A new termgfx unit test covers the level and its clamps, and a step added to syncretro's audio-transcript golden pins the round trip on the wire, including that chunks fed at 0% emit nothing at all. That re-prime path off mute was unreachable before this, so it had never run. The door keys the README lists never included '+' and '-' at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  935. Rob Swindell (on Debian Linux)
    Fri Aug 14 2026 16:13:54 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/main.cpp diff
    Terminal server: don't report a session teardown as an SSH error hangup() destroys the cryptlib session while input_thread sits between its ssh_mode test and its crypt_pop_channel_data() call, so the pop can fail on a handle that is already gone. The status is normally CRYPT_ERROR_PARAM1, which GCES logs at LOG_ERR: Node 11 SSH ERROR 'Bad argument, parameter 1' (-1) popping data Every clean SSH disconnect therefore produced a line that reads like a failure. Five days of terminal-server logs on Vertrauen held 355 of them, each immediately preceded by a teardown message (disconnecting client, passthru socket disconnected, passthru or output thread terminated) and none on a live session. The noise imitates the genuine mid-session drops tracked in #1225, which makes those logs harder to read. Detect the already-terminating session and log it at LOG_DEBUG instead. The node was being torn down either way, so only the severity changes; an error arriving while the session is still up is still reported through GCES. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  936. Rob Swindell
    Fri Aug 14 2026 15:45:45 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircd.js diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/user.js diff
    Merge branch 'ircd_services_fix' into 'master' ircd: fix services (U:line) op desync, TS-0 modes, and add clean shutdown See merge request main/sbbs!726

  937. Nigel Reed
    Fri Aug 14 2026 15:45:45 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircd.js diff
    exec/load/ircd/channel.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/user.js diff
    ircd: fix services (U:line) op desync, TS-0 modes, and add clean shutdown

  938. Deucе
    Thu Aug 13 2026 10:28:56 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    Coverity: close SFTP INIT findings (CIDs 106519, 464917) Remove CID 106519 after the current scan no longer returns it. Classify CID 464917 as a false positive because the fully buffered packet is capped at 256 KiB and every extension iteration consumes two bounds-checked strings or stops. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  939. Deucе
    Thu Aug 13 2026 02:23:41 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/coverity-cids.txt diff
    Coverity: refresh CIDs 503372-505459 Add false-positive dispositions for CIDs 503397, 505290, 505457, 505458, and 505459. Remove closed CIDs 503372, 505204, 505227, 505266, 505277, and 505445 after the fresh scan no longer returned them. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  940. Deucе
    Wed Aug 12 2026 13:22:12 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    Coverity: triage builder allocation false positives (CIDs 505444, 505448) Successful builder append operations allocate the backing buffer before later appends, so the reported null flows are infeasible. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  941. Deucе
    Wed Aug 12 2026 10:50:58 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/ssh-auth.c diff
    src/ssh/ssh-trans.c diff
    src/ssh/ssh-trans.h diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/test_transport_errors.c diff
    auth: cleanse password packet before releasing TX lock (CID 505204) Password authentication serialized secrets into the session's shared TX buffer, then cleansed that buffer only after send_commit released tx_mtx. Another sender could acquire the mutex and reuse the buffer before the cleanse, allowing the old cleanup to corrupt its packet. Add a sensitive commit path that scrubs the bounded payload while tx_mtx is still held and before any termination callback. Cover direct, gathered, failure, and oversized-payload paths with focused tests. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  942. Deucе
    Wed Aug 12 2026 10:32:01 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/coverity-cids.txt diff
    Coverity: record triage for CIDs 505189-505450 Record false-positive dispositions for CIDs 505189-505203, 505205-505216, 505218-505256, 505258-505261, 505263-505289, 505291-505292, 505294-505301, 505439-505443, 505445-505447, and 505449-505450. Leave CID 505204 actionable and remove closed CIDs 503353 and 503397 from the tracking list. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  943. Deucе
    Wed Aug 12 2026 01:13:04 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cg_events.m diff
    src/conio/wl_events.c diff
    Fix fullscreen aspect scaling on Wayland and Quartz

  944. Rob Swindell (on Debian Linux)
    Tue Aug 11 2026 21:39:57 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/chat.cpp diff
    src/sbbs3/useredit.cpp diff
    uedit/chat: don't mistake a ctrl-c for a number entry (CID 652885) getkeys() returns -1 on ctrl-c, abort, or disconnect, and value|0x80000000 for a typed number. Both callers tested only "x & 0x80000000L". On LP64 that literal is a 64-bit long, so an int -1 sign-extends and the test is true: the abort is read as a number. In useredit() that set user.number to 2147483647 and looped instead of leaving the editor. The (ushort) cast dropped in 62f96a750b (hawk-27-disc, 2026-08-09) had been narrowing the result to 65535, which is why the defect only became visible to the analyzer now. In multinodechat() the / command left savch == -1 and called chan_access(-2), reading cfg.chan[] out of bounds; chan_access() bounded cnum from above only, so it now rejects a negative channel too. Guard both call sites the way readmsgs.cpp and readmail.cpp already do. scansubs.cpp shares the idiom but checks s == -1 after every getkeys(). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  945. Rob Swindell (on Debian Linux)
    Tue Aug 11 2026 21:39:57 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: don't send or kill attachments during a POP3 TOP (issue #1226) TOP and RETR share sockmsgtxt(), where maxlines bounds only the body-text loop: the attachment loop that follows it ran unconditionally. A headers-only "TOP n 0" therefore MIME-encoded and transmitted the entire attachment, then removed the file when MSG_KILLFILE was set, destroying it during what the client had asked for as a preview. A client that sweeps a mailbox with TOP before choosing what to RETR consumed every kill-file attachment in the preview pass and received an empty MIME part on the retrieval that followed. Skip the attachment loop for a partial fetch, closing the multipart after the truncated text part so that TOP and RETR still describe the same message structure. Separately, a successful RETR removed the attachment file but left MSG_FILEATTACH set on a message that remains in the mailbox, so every later fetch re-attempted an attachment whose file the earlier fetch had deleted: !ERROR opening/encoding/sending data/file/NNNN.in/attachment.png Any client configured to leave mail on the server hits that on its next poll, and with two clients polling one mailbox the second never receives the attachment at all. Report the kill back to the POP3 thread and clear MSG_FILEATTACH/MSG_KILLFILE where the header is already being rewritten. That update no longer depends on MAIL_OPT_NO_READ_POP3, which is precisely the setting a leave-mail-on-server client runs under.

  946. Deucе
    Tue Aug 11 2026 18:29:23 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/CMakeLists.txt diff
    Fix MSVC SSH log test linking Keep SDL from remapping the test entry point and link the vendored Botan target explicitly. Use the C++ linker for Botan-backed test builds. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  947. Deucе
    Tue Aug 11 2026 15:58:08 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/conn_log.c diff
    src/syncterm/conn_log.h diff
    Modified Files:

    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/syncterm/Manual.txt diff
    src/syncterm/Wren.adoc diff
    src/syncterm/conn.c diff
    src/syncterm/conn_conpty.c diff
    src/syncterm/conn_mqtt.c diff
    src/syncterm/conn_pty.c diff
    src/syncterm/modem.c diff
    src/syncterm/rlogin.c diff
    src/syncterm/syncterm.c diff
    src/syncterm/term.c diff
    src/syncterm/wren_bind_conn.c diff
    Add diagnostics for remaining connection types Extend the unified protocol log, F1 details, configured log files, and Conn.protocolLog to RLogin, raw TCP, MBBS GHost, modem, serial, and local shell sessions. Record provider lifecycle, control exchanges, transport setup, and failures while omitting terminal traffic, credentials, device names, phone numbers, modem commands, and shell commands. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  948. Deucе
    Tue Aug 11 2026 15:58:08 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/tls_log.c diff
    src/syncterm/tls_log.h diff
    Modified Files:

    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/syncterm/Manual.txt diff
    src/syncterm/Wren.adoc diff
    src/syncterm/conn_mqtt.c diff
    src/syncterm/ssh_log_test.c diff
    src/syncterm/syncterm.c diff
    src/syncterm/telnets.c diff
    src/syncterm/term.c diff
    src/syncterm/wren_bind_conn.c diff
    Add MQTT session diagnostics Merge metadata-only MQTT control-flow records and native TLS provider diagnostics into the unified protocol log, F1 details, configured log files, and Conn.protocolLog. Share the xptls logging adapter with TelnetS while omitting MQTT credentials, topic contents, BBSID text, and payload bytes. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  949. Deucе
    Tue Aug 11 2026 15:58:07 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/protocol_log.c diff
    src/syncterm/protocol_log.h diff
    src/xptls/xp_tls_log.c diff
    Modified Files:

    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/syncterm/Manual.txt diff
    src/syncterm/Wren.adoc diff
    src/syncterm/conn_telnet.c diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/scripts/wrentest.wren diff
    src/syncterm/ssh.c diff
    src/syncterm/ssh_log.c diff
    src/syncterm/ssh_log.h diff
    src/syncterm/ssh_log_test.c diff
    src/syncterm/syncterm.c diff
    src/syncterm/telnet_io.c diff
    src/syncterm/telnets.c diff
    src/syncterm/term.c diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_conn.c diff
    src/syncterm/wren_bind_conn.h diff
    src/xptls/CMakeLists.txt diff
    src/xptls/test_xp_crypto_none.c diff
    src/xptls/test_xp_tls.cpp diff
    src/xptls/xp_tls.h diff
    src/xptls/xp_tls_botan3.cpp diff
    src/xptls/xp_tls_internal.h diff
    src/xptls/xp_tls_none.c diff
    src/xptls/xp_tls_openssl.c diff
    Unify protocol session diagnostics Retain SSH, Telnet, and TelnetS diagnostics in one session buffer for configured log files, F1 details, and the Conn.protocolLog Wren API. Add a provider-neutral xptls logging callback with native Botan and OpenSSL handshake, alert, failure, and teardown records so TelnetS combines TLS and Telnet diagnostics in arrival order. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  950. Deucе
    Tue Aug 11 2026 15:58:07 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/ssh_log.c diff
    src/syncterm/ssh_log.h diff
    src/syncterm/ssh_log_test.c diff
    Modified Files:

    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/syncterm/Manual.txt diff
    src/syncterm/Wren.adoc diff
    src/syncterm/bbslist.c diff
    src/syncterm/bbslist.h diff
    src/syncterm/conn_telnet.c diff
    src/syncterm/host_ui.c diff
    src/syncterm/host_ui.h diff
    src/syncterm/scripts/auto/connected/host_popup.wren diff
    src/syncterm/scripts/auto/menu/menu_host_ui.wren diff
    src/syncterm/scripts/menu_bbs_editor.wren diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/scripts/syncterm_menu.wren diff
    src/syncterm/scripts/wrentest.wren diff
    src/syncterm/ssh.c diff
    src/syncterm/syncterm.c diff
    src/syncterm/telnet_io.c diff
    src/syncterm/term.c diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_conn.c diff
    src/syncterm/wren_bind_conn.h diff
    src/syncterm/wren_bind_menu.c diff
    src/syncterm/wren_host.c diff
    src/syncterm/wren_host.h diff
    src/syncterm/wren_host_internal.h diff
    src/syncterm/wren_menu_host.c diff
    src/syncterm/wren_menu_host.h diff
    Integrate DeuceSSH session diagnostics Retain structured SSH diagnostics for Wren and F1 details, mirror selected records to the configured session log, and preserve logging through connection failure and teardown. Rename the Telnet-specific logging setting and C/Wren APIs to protocol logging, with legacy INI fallback and an Error default when neither key exists. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  951. Deucе
    Tue Aug 11 2026 15:58:07 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/README.md diff
    src/ssh/deucessh.h diff
    src/ssh/docs/audit-4253.md diff
    src/ssh/ssh-auth.c diff
    src/ssh/ssh-conn.c diff
    src/ssh/ssh-internal.h diff
    src/ssh/ssh-trans.c diff
    src/ssh/ssh-trans.h diff
    src/ssh/ssh.c diff
    src/ssh/test/test_selftest.c diff
    src/ssh/test/test_transport.c diff
    Add structured session diagnostics

  952. Rob Swindell (on Debian Linux)
    Tue Aug 11 2026 14:13:45 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/sgrmouse.h diff
    termgfx: name the second SyncTERM fix that finished off the 96 encoding The note added a moment ago credited the whole thing to bbf7c4c79b (dice-12-carpet, 2026-07-11), which is only half of it. That commit fixed motion with NO button held. A wheel notch left its button latched in the button state -- a wheel "button" is momentary and no release ever follows -- so motion after a scroll was not the no-button case and still came through the remap as 96, reading as a drag rather than a hover. a34c0f4e62 (exchange-33-sign, 2026-08-09) clears it, which is what finished the job. Recorded because the two fixes are four weeks apart and a reader who finds only the first will conclude, wrongly, that anything still reporting 96 must be a build older than July. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  953. Rob Swindell (on Debian Linux)
    Tue Aug 11 2026 14:13:45 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/sgrmouse.h diff
    termgfx: note that SyncTERM's mouse motion encoding was fixed The 96-and-97 hover encoding this decoder works around is no longer what a current SyncTERM sends. bbf7c4c79b (dice-12-carpet, 2026-07-11) stopped routing the no-button sentinel through the wheel remap, so unpressed motion now arrives as xterm's 35 and a wheel notch as a clean 64 or 65. Captured live from CTerm 1.332 to confirm it rather than trusting the diff: twelve motion reports at b=35, wheel notches at b=64 and b=65, no 96 or 97 anywhere. No code change. A door serves whatever client dials in, including releases built before that fix, so both values must keep decoding exactly as they did; what changes is that the comment described the broken behavior in the present tense. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  954. Deucе
    Tue Aug 11 2026 11:03:47 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/coverity-cids.txt diff
    Update after fixes

  955. Deucе
    Tue Aug 11 2026 11:02:41 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: handle readLine seek failures (CID 503523) Check the stream-position changes before and after File.readLine. Return typed seekFailed errors and release the accumulated line buffer if the final reposition fails. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  956. Deucе
    Tue Aug 11 2026 11:01:13 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: handle writeLine seek failures (CID 503522) Check the stream-position changes before and after File.writeLine and return typed seekFailed errors instead of writing at, or retaining, an unintended offset. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  957. Deucе
    Tue Aug 11 2026 10:59:29 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: handle readLine position failures (CID 503520) Check ftell before using the current stream offset in File.readLine and return a typed seekFailed FileError when the position cannot be obtained. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  958. Deucе
    Tue Aug 11 2026 10:57:56 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: handle writeLine position failures (CID 503519) Check ftell before using the current stream offset in File.writeLine and return a typed seekFailed FileError when the position cannot be obtained. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  959. Deucе
    Tue Aug 11 2026 10:56:56 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/re1/pike.c diff
    re1: release Pike VM thread lists (CID 503514) Drain each thread list's owned capture references before freeing it. Apply the same cleanup to the buffer matcher exits and the streaming VM destructor so both allocations and pending capture state are released. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  960. Deucе
    Tue Aug 11 2026 10:54:40 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: query open file sizes without seeking (CID 503512) Use XPDEV filelength on the open descriptor so size queries cannot disturb the stream position. Propagate query failures as typed statFailed errors and reject sizes outside the binding's supported long range. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  961. Deucе
    Tue Aug 11 2026 10:52:25 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: handle offset setter seek failures (CID 503511) Check the seek performed by File.offset=(o) and return a typed seekFailed FileError when the requested stream position cannot be established. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  962. Deucе
    Tue Aug 11 2026 10:48:53 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: handle read positioning failures (CID 503510) Check the seek performed before an offset read and return a typed seekFailed FileError instead of reading from an unintended stream position. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  963. Deucе
    Tue Aug 11 2026 10:47:17 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/scripts/wrentest.wren diff
    src/syncterm/wren_bind_fs.c diff
    src/syncterm/wren_bind_fs.h diff
    wren: report file seek failures (CID 503507) Check both file-position changes around offset writes and return a typed FileError when either seek fails. Add an append-only seekFailed error code so seek failures are not misreported as write failures. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  964. Deucе
    Tue Aug 11 2026 10:44:02 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren_bind_fs.c diff
    wren: reject failed file-position query (CID 503506) Return before seeking when ftell cannot obtain the current stream position, avoiding an invalid negative absolute seek. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  965. Deucе
    Tue Aug 11 2026 10:42:35 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren/vm/wren_value.c diff
    wren: initialize empty method entries (CID 503504) Zero-initialize the complete METHOD_NONE placeholder before copying it into expanded method-table slots, avoiding indeterminate union contents. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  966. Deucе
    Tue Aug 11 2026 10:41:01 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/wren/vm/wren_compiler.c diff
    wren: initialize compiler parser state (CID 503500) Zero-initialize the parser before priming its token pipeline so nextToken never copies an indeterminate current token. Correct the nearby lookahead-token comment. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  967. Deucе
    Tue Aug 11 2026 10:36:57 GMT-0700 (PDT)
    Modified Files:
    

    src/uifc/filepick.c diff
    uifc: bound directory path growth (CID 503452) Reject a selected directory before modifying picker state when its name would overflow the fixed current-path buffer. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  968. Deucе
    Tue Aug 11 2026 10:33:30 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cterm_cterm.c diff
    src/conio/cterm_test.c diff
    conio: reject invalid remote font data (CID 503214, CID 503215) Keep the base64 decoder result signed and reject its negative error return before allocation or copying. Add coverage showing malformed remote-font DCS input is discarded and parsing continues. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  969. Deucе
    Tue Aug 11 2026 10:31:45 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    syncterm: triage best-effort cache rename (CID 503213) Record that cache-directory migration follows the completed persistent BBS rename and intentionally cannot change that operation's result. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  970. Deucе
    Tue Aug 11 2026 10:28:57 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/coverity-cids.txt diff
    syncterm: triage bounded DECRQSS strings (CID 503211) Record that the foreground and background truecolor strings originate in the fixed 256-byte sequence buffer and cannot overflow the 3072-byte response buffer. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  971. Deucе
    Tue Aug 11 2026 10:26:05 GMT-0700 (PDT)
    Modified Files:
    

    src/sftp/sftp_server.c diff
    sftp: reject truncated INIT packets (CID 106519, CID 464917) Validate the packet's declared size before reading the version or deriving the extension payload length. This prevents the subtraction underflow and bounds the remotely controlled extension loop. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  972. Deucе
    Tue Aug 11 2026 10:21:50 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/.gitignore diff
    src/syncterm/coverity-cids.txt diff
    syncterm: track Coverity triage decisions

  973. Deucе
    Mon Aug 10 2026 23:49:46 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/auto/connected/host_popup.wren diff
    src/syncterm/scripts/auto/connected/status_default.wren diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/term.c diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_conn.c diff
    src/syncterm/wren_bind_conn.h diff
    src/syncterm/wren_host.c diff
    src/syncterm/wren_host.h diff
    src/syncterm/wren_host_internal.h diff
    Show session details after disconnect

  974. Deucе
    Mon Aug 10 2026 22:09:52 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/curs_cio.c diff
    Safely check curses' input queue in curs_kbhit()

  975. Deucе
    Mon Aug 10 2026 22:07:04 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/TODO.md diff
    Update Botan 3.13 upgrade TODO Replace the obsolete Botan 3.9 constructor-crash investigation with the planned 3.13 minimum-version and vendored-source update. Record the successful 3.12 exception and Valgrind verification, and require full system and vendored backend testing before compatibility code is removed. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  976. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 21:59:33 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/curs_cio.c diff
    Revert the curs_kbhit() peek into the curses input queue (#1223) Reverts 826514e723 (hang-4-prevention, 2026-08-10). It does not fix the input lag it was written for. That lag is not a curses buffering problem. Inside GNU screen, once the application enables mouse reporting (DECSET 1000, 1002 or 1003), screen holds a trailing ESC byte and releases it only when the next input byte arrives, so the ESC never reaches the descriptor and no amount of asking curses for it helps. A raw stdin reader with no curses linked in shows the same hold, and the hold is unbounded - measured past 10 seconds. tmux does not do this. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  977. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 21:30:24 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/term.c diff
    src/doors/termgfx/term.h diff
    termgfx: drop the OSC 22 pointer shape, keep only the hide Setting the pointer SHAPE was the wrong half of this. xterm and foot both implement OSC 22, so the shape changed on both and neither hid anything: a crosshair ended up floating over the game, which reads as a second game cursor and is worse than the arrow it replaced. There is no name that hides instead. foot's documentation is explicit that an empty or unknown name only resets the shape, and a visible pointer of any shape is still a pointer sitting on the scene. What remains is XTSMPOINTER, which is the only sequence that can hide anything. Its own limit is now recorded beside it: xterm frames pointerMode as deciding whether to hide the pointer AS THE USER TYPES, so it is a hide-while-typing policy rather than an unconditional hide, and a hand resting on the mouse can keep the pointer on screen regardless. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  978. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 21:30:24 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/term.c diff
    src/doors/termgfx/term.h diff
    termgfx: quiet the terminal's own mouse pointer while a door runs An arrow floating over a full-screen scene is what gives away that this is a window rather than a game, and a door that draws its own cursor -- SyncSCUMM does -- ends up showing two. Two sequences, because no terminal implements both and each ignores the other's. xterm gets XTSMPOINTER pointerMode 3, which hides the pointer and keeps it hidden across the window border; mode 2 is the near miss, unhiding whenever the pointer crosses it. The default is not enough on its own: it is mode 1, "hide if the mouse tracking mode is not enabled", and these doors enable tracking, so xterm deliberately keeps the pointer visible for exactly this case. foot gets OSC 22 with an xcursor name -- it cannot hide a pointer at all, an empty or unknown name only resets the shape, so a crosshair is the closest it gets to not being an arrow. SyncTERM implements neither. cterm has no XTSMPOINTER, and its OSC handler knows only 4, 8, 10, 11 and 104 and discards the rest, so both are safe to send blind. Cosmetic, and only that: no terminal offers the pointer LOCK that would let a door hide the pointer and still track the hand, so this changes how the pointer looks and nothing about where it can go or what it reports. XTSMPOINTER has no query, so restore writes pointerMode 1 -- the documented default -- and assumes the user had not chosen their own. A caller should therefore restore only if it quieted. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  979. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 21:30:24 GMT-0700 (PDT)
    Added Files:
    

    src/doors/termgfx/focus.c diff
    src/doors/termgfx/focus.h diff
    src/doors/termgfx/test/test_focus.c diff
    Modified Files:

    src/doors/termgfx/CMakeLists.txt diff
    src/doors/termgfx/test/CMakeLists.txt diff
    termgfx: track terminal focus, so an unfocused window stops turning A terminal reports pointer motion whether or not its window has focus. A door reading motion as look-around therefore turns the view while the pointer is being moved for some other window, and the player comes back facing somewhere new. DECSET 1004 is the only way to know: the terminal sends CSI I on focus gained and CSI O on focus lost. focus.c wraps the two escape strings and the state machine, and offers a latched focus-out edge -- a release edge that falls while the window is unfocused never arrives, so a door has to let go of every held key when it hears about the gap, not when the next report happens to land. SyncTERM does not implement mode 1004 (src/conio/cterm.adoc), so nothing here may depend on the events arriving. What is stored is therefore the NEGATIVE, "focus has been lost", so that a zeroed struct means focused: doors memset their terminal state, and a `focused` field would start false and silently disable mouse look on every terminal that never answers. Only a bare, unparameterised final counts. Anything carrying parameters is somebody else's sequence -- claiming CSI S for F4 turned SyncTERM's XTSMGRAPHICS reply into a keypress that dropped the player back to the BBS, and CSI I and CSI O sit one letter away from the same trap. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  980. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 21:30:24 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/curs_cio.c diff
    Account for curses' own input queue in curs_kbhit() (#1223) Completing an escape sequence makes curses read ahead: on receiving ESC it consumes further bytes for up to ESCDELAY (uifc sets 25 ms) trying to match a key sequence, and holds whatever it swallowed but did not return in its own input queue. curs_kbhit() answered "is a key waiting?" with a zero-timeout select() on stdin, which cannot see that queue, and the uifc menu loop only calls getch() when kbhit says yes. A byte parked in the queue was therefore never fetched until unrelated input arrived on the descriptor, leaving the application one keystroke behind for the rest of the session. Typing ESC with anything close behind it is enough to trigger this, so it shows up readily over ssh and inside screen, where the network coalesces two quick keystrokes into a single burst. The visible symptom in SCFG is an ESC that does nothing until the next key is pressed. Every ciolib curses-mode program is affected, not just SCFG. Ask curses as well when select() comes up empty, and push back whatever it hands over. The suspended check is needed because curs_kbhit(), unlike curs_getch(), never calls curs_resume(), so it can be reached after endwin(). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  981. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 21:30:24 GMT-0700 (PDT)
    Added Files:
    

    src/doors/termgfx/font.c diff
    src/doors/termgfx/font.h diff
    src/doors/termgfx/test/test_font.c diff
    Modified Files:

    src/doors/termgfx/CMakeLists.txt diff
    src/doors/termgfx/test/CMakeLists.txt diff
    termgfx: a bitmap font, so a door can caption its own pixels Text written to the terminal owns whole character cells. A cell carries a background colour and there is no "leave what is there" value for it -- not in cterm, not anywhere -- so a caption over a picture arrives as a rectangle of background with the caption in it. That is right for a status line on its own row and wrong for anything meant to float over a game. Drawing the glyphs as PIXELS sidesteps it: they land in the framebuffer with everything else, cost no character cells, and take a shadow so they stay readable crossing from sky to grass mid-word. Indexed rather than RGB, because a door's framebuffer holds palette indices -- and most termgfx doors already keep a light and a dark chrome entry, which makes a shadowed glyph cost no new registers at all. 5x7, uppercase, digits and the punctuation a game label actually uses. Lowercase folds rather than rendering blank, so a caller need not shout in its format strings. Five pixels leaves no room for descenders worth having, and a mixed-case font this small reads worse than clean capitals. Clipped per pixel: a caption running off the edge loses its tail rather than the door. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  982. Deucе
    Mon Aug 10 2026 20:19:40 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/TODO.md diff
    src/ssh/ssh-conn.c diff
    Fix Coverity CID 503353 The loop no longer continues in any case where had_terminal is set to true, making all had_terminal checks and sets dead code.

  983. Deucе
    Mon Aug 10 2026 20:15:20 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/TODO.md diff
    Add Coverity issues.

  984. Deucе
    Mon Aug 10 2026 20:14:52 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/.gitignore diff
    Ignore local Coverity scripts

  985. Deucе
    Mon Aug 10 2026 20:14:29 GMT-0700 (PDT)
    Added Files:
    

    src/ssh/coverity-cids.txt diff
    Modified Files:

    src/ssh/ssh-trans.c diff
    src/ssh/test/CMakeLists.txt diff
    src/ssh/test/test_transport_errors.c diff
    Fix TX-slot termination self-deadlock Defer fatal errors discovered while draining or gathering channel TX slots until after channel_mtx is released. This prevents session_set_terminate() from reacquiring the same non-recursive mutex while it wakes connection-layer waiters. Add failure-injection coverage for both per-packet and gathered send paths, with CTest timeouts to turn regressions into bounded failures. Record the affected Coverity CIDs as fixed pending rescan. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  986. Deucе
    Mon Aug 10 2026 14:56:25 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Themes.adoc diff
    src/syncterm/scripts/ui_style_test.wren diff
    src/syncterm/term.c diff
    src/syncterm/theme.c diff
    src/syncterm/theme.h diff
    src/syncterm/theme_test.c diff
    Give disconnect notice its own theme role

  987. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 03:17:33 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/mailsrvr.cpp diff
    src/sbbs3/mailsrvr.h diff
    Treat the submission ports as an MSA, not as port 25 (#1221) The message submission ports (587, and 465 for implicit TLS) ran the same code path as the SMTP transfer port, so nothing downstream could tell the two apart. Three consequences, all reported by Deuce: - An authenticated user submitting an original message to an external recipient was judged by the port-25 rule and refused as an illegal relay unless the sysop enabled ALLOW_RELAY, a server-wide option. - The submission ports accepted unauthenticated mail, contrary to RFC 6409 section 4.3, which requires a 530 error response to MAIL on an unauthenticated session. - Once ALLOW_RELAY was set, every sender check was skipped for an authenticated session, so a user could submit with any From: address, including one at a domain the system does not own. The SMTP envelope sender was already derived from the user record, but the RFC822 From: header is emitted verbatim, and is now also DKIM-signed. Listening sockets previously passed their protocol name through xpms as the callback data, and the accept loop recovered each socket's properties by comparing that pointer against the name it was created from. Those comparisons work only because the names differ: the compiler pools identical string literals, so the transfer and submission agents, both named "SMTP", share one pointer and cannot be told apart. Pass a descriptor instead, carrying the display name alongside the properties the accept loop wants, so identity no longer depends on the name. An authenticated user sending to an external address via a submission port is a submission rather than a relay and no longer consults ALLOW_RELAY, which continues to govern the transfer port. The G and M restrictions still apply on every port, so a sysop retains per-user control over outbound mail. A sender address is authorized when its domain is one of this system's and it resolves to the authenticated user. Both questions are answered by smtp_resolve_user(), extracted from the RCPT TO handler, so any address that reaches a user -- alias, real name, alias.cfg entry, sub-address tag, user number -- also works as their sender address, and stays correct as the sysop edits alias.cfg. An alias resolving off-system is a forced relay rather than a local address, so it authorizes nobody, and the DefaultUser catch-all is suppressed: it exists to make unknown recipients deliverable, and honoring it would let that one account send as any address at the system's domains. MAIL FROM and the From: header are both checked. A null reverse-path is accepted, per RFC 6409 section 3.2. A refusal suggests the account's own address rather than prescribing it, since several addresses may be acceptable and the likeliest cause is a mail client configured with a misspelling of the sender's own address. The transfer port is unaffected in every respect, so only sysops who have deliberately enabled a submission port see any change. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  988. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 01:22:40 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: police gitlab.synchro.net URLs against fabrication The fabrication filter covered the wiki and the curated archive domains but not GitLab, so invented commit links passed straight through. A user was handed a commit URL for a SHA that does not exist, said the link was broken, and was handed a second invented one. A plausible commit URL is precisely the kind of thing someone clicks and trusts. gitlab.synchro.net now sits alongside the other policed domains, and the notion of a valid URL is generalised rather than special-cased: a URL may be cited if it appeared in the retrieved context, in the transcript the model was handed, in a tool result, or in the curated archive index. Tool results are the source that matters here -- an issue lookup returns a real issue URL, and nothing downstream could previously tell that apart from a URL the model composed. Both tool-execution paths record what they returned. Retrieved-context URLs are now collected from the injected text rather than only from wiki-prefixed provenance, so enabling a crawler whose chunks carry GitLab links cannot have the filter strip the very URLs retrieval just supplied.

  989. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 01:14:04 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    chat_llm: treat a repeated question as a failed answer Reply-text similarity cannot detect a stuck conversation. A user asked the same question three times running and got three answers that meant the same thing but scored only 0.33-0.58 against each other, because the model rewords itself at this temperature. Genuinely new answers on a single topic score 0.42-0.62, so the ranges overlap and no threshold separates them. The question itself is the reliable signal: someone retyping what they just asked is telling you the previous answer did not land, whatever its wording. When the incoming question matches one of that speaker's own recent questions, the previous answer is treated as a repeat outright, bypassing the similarity test, and the existing regenerate- then-deflect path runs. Only the speaker's own turns are compared -- the bot restating a question back is not the user asking twice. Similarity still governs whether the REGENERATED answer counts as another repeat, at a looser threshold, since the strict one would essentially never fire there.

  990. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 00:53:00 GMT-0700 (PDT)
    Modified Files:
    

    exec/llm_index/dokuwiki.js diff
    llm_index/dokuwiki: take a section's lead from its parent's own text Parent leads were read from the parent's body, which by then already had ITS parent's lead prepended -- so a section two levels down inherited its grandparent's text instead of its parent's. On the semaphore-files page that meant the recycle section, which sits under "Timestamp Semaphore Files", carried the page's opening paragraph rather than the sentence directly above it naming the ".<service>" suffix. The chunk therefore never mentioned mail, and the bot told a user there was no such thing as ctrl/recycle.mail. Leads are now taken from a parent's own_body, kept separate from the lead-augmented body for exactly this reason, and the lead allowance is raised so a short parent section arrives whole rather than clipped before the sentence that qualifies its children.

  991. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 00:41:56 GMT-0700 (PDT)
    Modified Files:
    

    exec/chat_llm.js diff
    exec/llm_index/dokuwiki.js diff
    chat_llm: strip emoji as UTF-8 bytes, and bridge query vocabulary sanitize_reply() has never removed a supplementary-plane emoji. It matched UTF-16 surrogate pairs, and strings in this engine hold BYTES: U+1F310 is the four characters F0 9F 8C 90, so there is no code unit in the D83C-D83E range for the pattern to find. A literal emoji in a .js source file arrives the same way, which is why the pattern also could not be checked against one. Every emoji the model emitted went to the channel despite both the system prompt forbidding them and this backstop appearing to exist. Matching is done on the UTF-8 byte sequences instead. The E2 ranges are kept narrow deliberately: box drawing (U+2500, E2 94) and arrows (U+2190, E2 86) are ordinary text and must survive. The surrogate patterns are retained after them for an engine that decodes to UTF-16; they are inert here. Retrieval still could not reach a page whose vocabulary differs from the question's. BM25 matches literal terms, so "the name of the mail server recycle file" never reaches the semaphore-files page -- the documentation calls it a semaphore file, the question does not, and a section about a text string named "Recycle Servers" wins the literal match instead. A query_synonyms map adds bridging terms at retrieval time. Terms are ADDED, never substituted, so an unhelpful synonym costs ranking rather than correctness, and expansion is applied only to retrieval -- is_casual_input() also tokenizes queries, and judges small talk by how many content words it finds, so expanding there would make a greeting look substantive. Keys are single words: a multi-word key is split, and each word carries the expansion independently. Wiki subsections now carry a lead-in from their parent section. Splitting a page can separate an answer from the qualifier that makes it usable -- the recycle section says to touch ctrl/recycle while the ".<service>" suffix yielding recycle.mail is stated one level up, so chunked alone that section holds no "mail" token and a question naming the mail server cannot retrieve it. The appended "See <url> for the official docs" citation is now scored by rarity among the retrieved candidates rather than plain overlap: a word carried by most of the retrieved chunks says nothing about which one the answer came from. It is also suppressed when the supporting chunk is not near the top of the ranking, because when two chunks support a reply about equally the pick is a guess, and a confidently wrong "official docs" link stapled to a correct answer reads as the bot not knowing its own documentation. index_url_append_rank tunes how strict that is, and 0 disables the append entirely.

  992. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 00:29:11 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/chat_llm.ini diff
    exec/chat_llm.js diff
    exec/llm_index.js diff
    exec/llm_index/dokuwiki.js diff
    chat_llm: index wiki pages per section and inject the matching passage Retrieval was selecting the right page and the injector was discarding the part that answered the question. Wiki pages were indexed as one document each and then cut to their first 800 characters for the prompt. On one live corpus, 384 of 541 wiki pages (71%) were longer than that, mean page length 4932 characters -- so the model typically saw the first sixth of a page and nothing else. The failure this produced is worth spelling out, because it looks like a model problem and is not. Asked whether a semaphore file could recycle the mail server, retrieval ranked the semaphore-files page FIRST; its "Recycle Semaphore Files" section begins 3388 characters in and was cut. What survived was that page's generic example, "touch /sbbs/data/dothing.now". The model then answered with an invented "mail_servers_recycle_now.sem", patterned on the one example it had been shown, and defended the invention when challenged. Truncation chose what the model confabulated from. Five changes: Wiki pages are split into one chunk per heading. Splitting happens on the raw text, before markup stripping -- afterwards a heading is indistinguishable from body text. Each chunk leads with a breadcrumb so a subsection still carries its page's subject, and cites a #anchor deep link so an answer points at the section it came from. What survives the per-chunk cap is now the passage matching the query rather than the head of the document. Sections of one page are capped in the result set, default 2. A page used to occupy exactly one slot by construction; per-section chunks removed that guarantee, and a single long page's sections could fill the whole window -- one query came back with eight sections of the same page and none of the page that held the answer. Tokens are folded to a singular form. There was no stemming at all, so "recycles" could not match "recycle": the page holding the answer to one phrasing ranked 76th. Folding is plurals only -- verb-suffix chopping ("recycling" -> "recycl") does not converge on the form "recycle" folds to, so it would lose as many matches as it gained. tokenize() is duplicated between chat_llm.js and llm_index.js and the two MUST agree, so both copies change together; a short exception list covers tokens whose trailing s is integral ("news", "windows"). The appended citation follows the retrieved chunk that best overlaps the reply instead of the top-ranked hit. BM25 ranks against the question, and once pages are split the highest-scoring section is frequently not the one the model used. Overlap is scored by Jaccard, not a raw count, because a long chunk has more distinct tokens and so more accidental matches. An unlabeled wiki link now keeps only its page component, so indexed prose reads "the file ctrl/recycle" rather than "dir:ctrl/recycle" -- the namespace prefix was reaching users as though it were part of the path. Note for anyone tuning thresholds afterwards: per-token scores are on a different scale once chunks get shorter, so a threshold carried over unchanged is markedly less selective than it was. Measured on real traffic across this change, the median more than doubled and a volunteer-answer gate went from firing on 15% of turns to 48%.

  993. Rob Swindell (on Debian Linux)
    Mon Aug 10 2026 00:03:31 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/chat_llm.ini diff
    exec/chat_llm.js diff
    chat_llm: stop discarding known-good URLs and repeating whole replies Three defects in the reply pipeline, all visible in a single 2026-08-09 #synchronet exchange where the bot cited a wiki page correctly, then answered "what were those links again?" four times running with the link silently deleted from every reply. strip_fake_urls() validated citations against ctx._valid_wiki_urls, which is rebuilt each turn from that turn's BM25 hits alone. A URL the bot had already cited was therefore treated as fabricated the moment retrieval moved on -- and a back-reference question ("what was that link again?") carries no content words, so it retrieves unrelated pages by construction and could never re-validate the link it was asking about. URLs appearing verbatim in the transcript the model was handed now count as valid: quoting itself is not fabrication. The transcript holds post-strip text, so a stripped URL never enters it and cannot launder itself into the allowlist, and memory is per-speaker, so one user's transcript cannot validate another's citations. "Cite this URL verbatim:" is RAG scaffolding prepended to wiki chunks to make their URLs visible to the model. qwen2.5:7b echoes it back, and with the adjacent URL stripped the bare instruction was all that reached the channel. It is now removed from replies unconditionally -- it is an instruction to the model and has no business in output. A cornered small model also re-emits its previous answer nearly verbatim; two consecutive replies to the same user were token-identical, and the same closing boilerplate ended three of six replies in a row. Raising temperature (the earlier mitigation) varies the wording without noticing the repetition. Each finished reply is now compared against that speaker's recent bot turns by word-set overlap; on a match the bot regenerates once with an explicit don't-repeat instruction, and if that is still a duplicate it answers from the guru file instead -- the pre-LLM Guru's keyword-matched responses, so a bot with nothing to add deflects in character rather than repeating itself. A second deflection in a row stays silent. The 0.75 default is word-set Jaccard, calibrated against real repeats in data/guru_irc_chat.log: observed duplicates scored 0.83-1.00, genuinely-new answers on the same topic 0.42-0.62. Replies under 12 words are exempt, since "ok" and "yep, that works" are legitimately repeatable. Explicit requests to repeat bypass dedup entirely, and it is skipped in streaming (private 1:1) mode, where the first attempt is already on the user's screen and swapping the stored string would leave them reading one answer while the log records another. The guru file parser follows sbbs_t::guruchat()/guruexp() in src/sbbs3/chat.cpp, with two deliberate divergences. Sections carrying an access-requirement test are skipped: an IRC nick has no user record to evaluate SEX/FLAG/LEVEL against, and guessing would put the stock file's gendered variants in front of the wrong people. Chat-control codes are stripped rather than obeyed, since `q ends the session and `h hangs up, neither of which a bot may do to a channel. Dropped codes leave a space, because the file uses `_ pauses between words for timing ("write to`_`_Rush Limbaugh") where deleting them outright runs the words together.

  994. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/xtrn_sec.cpp diff
    Report GR in DOOR.SYS line 20 whenever ANSI is supported Line 20 required both ANSI and COLOR, so a caller using an ANSI terminal in monochrome mode was told "NG" and doors ran with ANSI disabled entirely. The monochrome distinction belongs to line 39 ("ANSI supported but NG mode"), which is still computed, but no door kit consults it. OpenDoors and xpdoor (both in this tree), MBSE's doorlib, and the Turbo Pascal DoorDriver Plus kit all decide ANSI solely from line 20 -- DoorDriver Plus closes the file immediately after reading it, and doorlib names line 39 "allwaysN". Writers agree: WWIV emits GR on ANSI alone, and the published field definitions describe line 39 as "always set to N". The ANSI-plus-COLOR test dates to the initial v3.00c check-in and was never revisited. 554c2ca395 (days-21-coins, 2020-12-11) moved it from useron.misc to the negotiated terminal flags for this same symptom -- doors losing ANSI for an ANSI-capable caller -- but kept the COLOR requirement. Affects both the 52-line and 31-line drop-file forms; line 20 is in the section common to both. Closes #1218 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  995. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncconquer/door/door_input.c diff
    src/doors/syncconquer/door/door_io.c diff
    syncconquer: a sequence split across reads is not a lone Escape This door reads and parses in two stages -- door_io_pump() reads the client into a ring, door_input_drain() parses keys back out of it, both called from Fill_Buffer_From_System() -- and the split escape sequence was losing the race at each of them. door_input_drain() judged the pending lone-ESC timer before draining the ring, so a sequence whose tail was already sitting there was decoded as an Escape plus its body as ordinary keys. Judge it after the loop instead: the ring is empty by then, and door_io_pump() has just filled it, so an ESC still pending really did arrive alone. door_io_pump() in turn read once per tick, which splits a sequence outright once 256 bytes accumulate ahead of it. Read until the client has nothing left, bounded so a flooding one cannot stall the frame. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  996. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncmoo1/syncmoo1_input.c diff
    syncmoo1: a sequence split across reads is not a lone Escape sm_input_pump() inherited SyncDuke's original ordering along with the rest of its byte state machine: the pending lone-ESC timer was judged before the read, so the tail of a split escape sequence lost the race even when it was already queued in the socket. The ESC then reached 1oom as the Escape key -- which opens a menu -- with the sequence body following it as ordinary keys. The window is 50ms of wall clock but is only sampled when the pump runs, and one read of 256 bytes per pump also splits a sequence outright once the mouse reports fill the buffer ahead of it. MoO1 is played almost entirely with the mouse, so that stream is rarely quiet. Read until the terminal has nothing left, bounded so a flooding client cannot stall the frame, and resolve a pending ESC only afterwards. A genuinely lone Escape still arrives on the first pump past the deadline. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  997. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/termgfx_termio.c diff
    termgfx: resolve a pending lone ESC after the read, not before termgfx_termio_pump() already drained the client each pump, so a sequence split by the 256-byte read buffer completed in the same pump and the lone-ESC timer never saw it. What it could still see was a sequence split across pumps: the ESC read while the socket was empty, its tail arriving afterwards, the next pump more than TERMGFX_ESC_TIMEOUT_MS later. The check ran first, so that tail was decoded as ordinary keys behind an Escape the client never sent. Move the check below the loop and leave the loop by break rather than return, so only the "nothing left to read" exit reaches it. The hard-error and EOF exits still return -- the peer is gone and an Escape would go nowhere. Behavior for a genuinely lone Escape is unchanged, which matters: SyncTERM sends a bare 0x1b for that key, and the doors on this path are driven from its menus. Affects SyncRPG, SyncSCUMM and SyncRetro. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  998. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Added Files:
    

    src/doors/syncduke/tests/test_esc_tear.c diff
    Modified Files:

    src/doors/syncduke/syncduke_input.c diff
    syncduke: a sequence split across reads is not a lone Escape The input pump judged the pending lone-ESC timer before reading the socket, so the tail of a split escape sequence lost the race even when it was already queued. The ESC reached the game as the Escape key, the rest of the sequence as ordinary keys, and whatever the sequence encoded -- F4's graphics-tier cycle, say -- never happened at all. In Duke that stray Escape opens the in-game menu, where a bare Q reaches the quit confirmation and a bare Space answers it. A player cycling render tiers gets no tier change, then a menu nobody asked for, then a door that exits without ever showing them a prompt they recognize as one. The disambiguation window is 50ms of wall clock, but it is only sampled when the pump runs and the pump runs once per presented frame. The text tiers frame slowly enough to hold it open routinely -- sextant measures 7 to 30fps, with stalls -- while the image tiers rarely do, which is why this reads as a sextant-only fault. A single 256-byte read also splits a sequence outright whenever the any-motion mouse reports fill the buffer ahead of it. Read until the terminal has nothing left, bounded so a flooding client cannot stall the frame, and resolve a pending ESC only afterwards. A genuinely lone Escape still arrives on the first pump past the deadline, which is the case the timer exists for: SyncTERM sends a bare 0x1b for that key. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  999. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncduke/syncduke_input.c diff
    src/doors/syncduke/tests/test_evdev.c diff
    src/doors/syncduke/tests/test_keymap.c diff
    src/doors/syncduke/tests/test_kitty.c diff
    syncduke: the numpad key test asserted the behavior it replaced 91d049a9cf (2026-07-11) made the NumLock-off numpad Home/End/PgUp/PgDn Duke's Aim/Look controls rather than digits, since folding End to '1' holsters the pistol mid-fight. test_kitty.c kept the assertion written for the digit fold in d8cfa92431 (2026-07-01), so it has failed ever since, and the comment above the menu branch still described the fall-through that commit removed. Assert Aim up/down instead, and cover End, which was untested. The build recipes in all three input tests no longer linked either. syncduke_door.c has since grown into the door32/idle/config layers, which drag xpdev into a key test, and syncduke_input.c gained calls into termgfx/sixel.c. Drop syncduke_door.c for stubs beside the ones each test already carries, and add sixel.c. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1000. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 23:02:58 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/sgrmouse.c diff
    src/doors/termgfx/test/test_mouse.c diff
    termgfx: the motion bit is authoritative -- 97 is a moving pointer A wheel notch carrying the motion bit was rescued as wheel-down, on the reasoning that a hover never sets the low bit and on a session measured at 75 such reports against 30 clean ones. A later capture inverts that ratio completely: 1492 clean 64/65 detents against 16 of 97, several of the 97s arriving 6 to 8 ms apart with the coordinates walking one cell at a time. No hand turns a wheel that fast; that is a pointer being moved. What the rescue actually bought was a phantom scroll on every pointer movement. A door's block selection changed whenever the mouse moved, and behaved correctly only while the hand was held perfectly still -- which is exactly how it was reported, and was read as a terminal bug for several rounds. This corrects 1da9027368 (fire-20-buys, 2026-08-09), which added the rescue. Real detents arrive as 64 and 65 without the motion bit, in their thousands, so trusting the bit loses nothing. The test now pins both directions: 96 and 97 are motion, 64 and 65 are notches. It fails against the rescued decode. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1001. Deucе
    Sun Aug 09 2026 17:48:06 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/scripts/wren_console.wren diff
    src/syncterm/scripts/wrentest.wren diff
    Restore mouse copy and paste in Wren console

  1002. Deucе
    Sun Aug 09 2026 17:12:21 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/mouse.c diff
    Clear wheel state after momentary press

  1003. Deucе
    Sun Aug 09 2026 17:04:39 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/conn.c diff
    src/syncterm/wren_host.c diff
    src/syncterm/wren_menu_host.c diff
    Keep session input state out of connection UI

  1004. Deucе
    Sun Aug 09 2026 16:49:12 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/term.c diff
    Restore disconnect details shortcut

  1005. Deucе
    Sun Aug 09 2026 16:24:05 GMT-0700 (PDT)
    Added Files:
    

    src/syncterm/scripts/menu_host_ui_test.wren diff
    Modified Files:

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/auto/menu/menu_host_ui.wren diff
    Size connection status panes to content

  1006. Deucе
    Sun Aug 09 2026 16:13:24 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/win32gdi.c diff
    src/conio/wl_events.c diff
    src/conio/x_events.c diff
    Serialize backend input records

  1007. Deucе
    Sun Aug 09 2026 15:58:02 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/term.c diff
    Show disconnect notice without obscuring terminal

  1008. Deucе
    Sun Aug 09 2026 15:27:14 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/wren_console.wren diff
    src/syncterm/scripts/wrentest.wren diff
    src/syncterm/wren_bind_screen.c diff
    Fix delayed physical key events in Wren input

  1009. Rob Swindell (on Windows 11)
    Sun Aug 09 2026 07:19:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/pcbdefs.hpp diff
    src/sbbs3/xtrn_sec.cpp diff
    Fill in three PCBOARD.SYS fields left empty by the drop-file writer The struct-based PCBOARD.SYS writer added in 973b7f0a35 (2022-03-13) never assigned these, so each was written as whatever the value- initialized struct held: - Allowed K-Bytes for Download (offset 63) was 0, which tells a door the caller may download nothing. It now carries the user's available credits in kilobytes, the same source DOOR.SYS line 31 and CALLINFO.BBS line 16 already use, saturated at 32767 -- the value PCBoard reads as "unlimited". - Conference Area user was in (offset 65) was 0. It now carries the current message group. The group number is used rather than the sub-board number (which offset 142 already carries) because it is an index into the user's group list and so always fits in a byte. - Language Extension (offset 80) was four NUL bytes; PCBoard writes four spaces when no alternate language is selected. The default is set in the structure definition alongside the other fields whose empty value is not zero. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1010. Rob Swindell (on Windows 11)
    Sun Aug 09 2026 07:19:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/xtrn_sec.cpp diff
    Populate CHAIN.TXT lines 24 and 25 (call time and time used) These two WWIV drop-file fields have been hard-coded to 0 since the initial v3.00c check-in (7e3e47141a, 2000-10-10). Line 24 is the time of the call expressed as seconds past midnight; line 25 is the number of seconds the user has been on the system so far, so doors that show "time on" -- or recover the current time from the pair -- saw zeros. Line 25 uses timeon() rather than a raw now-starttime subtraction: it measures against the same logon timestamp line 24 is derived from, so the two stay consistent, and it clamps a negative result instead of printing it through an unsigned conversion. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1011. Rob Swindell (on Windows 11)
    Sun Aug 09 2026 07:19:12 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/answer.cpp diff
    src/sbbs3/js_user.cpp diff
    src/sbbs3/useredit.cpp diff
    Don't truncate user numbers to 16 bits user_t.number is int and USER_MAX_NUM is 1000000, but four sites clamped it to ushort, so on a system with more than 65535 users: - new User(65537) silently returned user #1 instead of failing - the u.number setter dropped the high bits - the js_user cache refresh re-truncated the number on every property read, undoing an otherwise correct assignment - check_pubkey() built the data/user/NNNN.sshkeys path from a truncated number, so SSH public-key auth would consult the wrong user's keys All long-standing leftovers from 16-bit user numbers: the uedit prompt since 7e3e47141a (2000-10-10), the User constructor since 8b9d21ec36 (2008-01-11), the setter since 0fbca2b608 (2009-03-21), check_pubkey() since ac6a78f964 (2024-01-21), and the cache refresh since cd74488bdf (2026-01-06). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1012. Rob Swindell (on Windows 11)
    Sun Aug 09 2026 07:19:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/fingerservice.js diff
    Fix Finger service errors on numeric and forwarded requests fingerservice.js passed the client's request straight to new User() after a bare truthiness test. A numeric request outside int32 range threw an uncaught "can't convert usernum to an integer"; an in-range but nonexistent number threw "Error -101 reading user number". The if(u == null) guard added in 1ee5ce3f0c (2003-04-02) can never catch either, since the User constructor throws rather than returning null. Validate against system.lastuser instead, which also makes the existing "!INVALID USER NUMBER" log message reachable. Stripping "@hostname" from a forwarded request (RFC 1288 {Q2}) used substr(0, at - 1), dropping the last character of the name, so "finger sysopx@vert@vert.synchro.net" answered with user "sysop" -- a truncated name can match a different account, not just fail to match. Off-by-one present since 379b5d27d7 (2001-11-10). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1013. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/upgrade_to_v319.c diff
    upgrade_to_v319: read the legacy index before smb_create() destroys the base smb_create() truncates .shd to the base header, and .sdt and .sid to zero. It was called before the directory's legacy .ixb was opened, so a directory with no legacy data to convert had its file base emptied and was only then skipped -- the check that should have made it a no-op ran after the destruction it was meant to prevent. Under -f that turned "reset this base to its pre-3.19 contents" into "erase it", which also means removing the now-vestigial .ixb/.dat/.exb/.dab files made an accidental run strictly more destructive rather than safer. Read and validate the .ixb first and skip the directory before touching anything; only then open the extended-description file and create the base. The early-exit paths no longer need closeextdesc() because the file is not open yet, and the smb_create() failure path now releases the index buffer and the extended-description file, which it does have open by that point. A directory with no legacy data is now left untouched rather than initialized as an empty v3.19 base. That is harmless: smb_open_dir() already creates any file base whose .shd is empty, so such a directory is initialized on first use. Complements 46e06da739 (desk-5-these, 2026-05-27), which stopped a run without -f from clobbering an already-upgraded base. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1014. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/download.cpp diff
    src/sbbs3/file.cpp diff
    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/listfile.cpp diff
    src/sbbs3/upload.cpp diff
    src/sbbs3/userdat.c diff
    src/sbbs3/websrvr.cpp diff
    Report file-database write failures instead of failing silently A file directory whose .sid index has been truncated (the status header counting more files than the index actually holds) causes smb_new_msghdr() to reject every new record with SMB_ERR_FILE_LEN. That state went unnoticed here until six file bases had quietly stopped accepting uploads: a single terminal session transferred 64 files totalling 2.6 GB, created no records at all, and logged neither an error nor the usual "U+ uploaded" lines. sbbs_t::uploadfile() passed NULL for addfile()'s result argument and returned false with no bputs() and no log entry, so a database failure was indistinguishable from success to every caller. It also credited the upload before attempting the add: logon_ulb/logon_uls and inc_upload_stats() ran unconditionally and were never rolled back, which is why the session footer reported 64 uploads that did not exist. Audited every caller of addfile(), updatefile() and removefile(), and fixed the sites that discarded the outcome: - uploadfile(): report the failure via errormsg(), and only credit the upload once the record is actually in the database. - listfileinfo(): check the add-to-offline-directory result. - editfilename(), editfiledesc(), editfileinfo(): each returned the updatefile() result as a bool that also encodes "user aborted" and "nothing changed", so no caller could distinguish a write failure from either. Report inside the function instead. - FTP DELE: the file is unlinked before its record is removed, so an unchecked removefile() leaves a record with no file behind it. - user_downloaded_file(): same unlink-then-remove ordering; when the record cannot be removed, return false rather than falling through and updating a dangling record. Its callers in download.cpp and websrvr.cpp now check the result. The FTP upload path and sbbs_t::movefile() already handled this correctly and were used as the model. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1015. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/termgfx/sgrmouse.c diff
    src/doors/termgfx/sgrmouse.h diff
    src/doors/termgfx/test/test_mouse.c diff
    termgfx: a wheel notch with the motion bit is still a wheel notch SyncTERM sets the motion bit on a wheel report whenever the pointer moved in the same event, so a click made without a perfectly still hand arrives as 96 or 97 rather than 64 or 65. Testing motion before the wheel bit then classified those as hovers and discarded them, which is why the wheel in a termgfx door works only if the mouse is held absolutely still. Measured over four traced sessions on 1.9rc4 and 1.10a: the worst had 75 of these against 30 clean wheel reports, so most of a scroll was being thrown away. It is not a version regression -- both send them, and how often depends only on how much the hand moves. ONLY 97 IS RECOVERABLE, and the asymmetry is the terminal's. Its no-button hover is 96 exactly: mouse_state() forces the no-button case to button 3, the wheel remap turns that into 64, and the motion bit makes 96. So 96 means either wheel-up-with-motion or a plain hover and nothing can distinguish them. 97 has the low bit set, which a hover never does. 96 therefore stays a MOVE. Half the notches come back; the other half are a collision in the terminal's own encoding and belong in a bug report rather than a heuristic. Affects SyncDOOM, SyncDuke, SyncRetro and Synchroland alike -- the classification is shared, and so was the fault. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1016. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    mailsrvr: don't pass an uninitialized buffer to filterFile::listed() email_addr_is_exempt() declared a local 'fname' buffer and handed it to listed() as the optional second search string without ever initializing it. That argument is a second candidate matched against the same list, so trash_in_list() ran parse_ip() and findstr_compare() over uninitialized stack memory: a sender could be spuriously exempted from DNSBL checking by whatever the stack happened to hold, and the compare walks past the buffer when that junk contains no terminator. The buffer is a leftover from the pre-cache API, where it held the dnsbl_exempt.cfg path for findstr(netmail, fname). 8409089bbc (pulse-4-memories, 2026-02-12) replaced that call with a cached filterFile lookup and dropped the SAFEPRINTF that filled the buffer, but kept passing it. Only one address is looked up here, so drop the argument (it defaults to nullptr) along with the buffer.

  1017. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    .claude/skills/javascript/SKILL.md diff
    javascript skill: say what the avoided work is, not "the round trip" "Setting a field at save time avoids the round trip entirely" was meant to point at the read-modify-write recipe directly above it, but "round trip" reads as network latency and never names what is being skipped. Says it plainly instead: there is nothing to read back and rewrite, no expand argument to get wrong, and no half-corrected message if the write fails partway through a batch. Also scopes it -- the advice only applies where the original write is yours, which is the distinction that decides which of the two approaches a reader needs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1018. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    .claude/skills/javascript/SKILL.md diff
    javascript skill: a modified header must be read unexpanded put_msg_header() refuses a header fetched with field expansion, and the error it gives -- "Message header has 'expanded fields'" -- describes the header rather than the call that produced it, so it reads as "this message cannot be rewritten" instead of "your read was wrong". Since expansion is the default, the obvious spelling of a read-modify-write fails and the fix is not in the failing call. Documents the expand argument on get_msg_header(), notes that the same applies to headers taken from get_all_msg_headers(), and says to leave expansion on for read-only callers -- it is what resolves the fields they want. Also points at setting the field at save_msg() time, which avoids the round trip where the original write is yours. Sits with the sibling traps the section already carries: remove_msg() silently returning false when handed a header object, and the lazy-field gotcha. All three are calls that fail for a reason the symptom points away from. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1019. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/scfg/scfgxtrn.c diff
    scfg: describe every drop file the "Modify User Data" option reads The help text named only MODUSER.DAT and the RBBS/QuickBBS EXITINFO.BBS, but the option also drives a read-back of DOOR.SYS and of PCBoard's USERS.SYS, and which of the four is used is decided by the program's configured drop file type. A sysop reading the old text would reasonably conclude the option does nothing for a DOOR.SYS door. List the fields each format lets a program change, note that only EXITINFO.BBS and MODUSER.DAT are deleted once read, and state that none of them can raise a user to sysop security level. No menu option was added, renamed or removed, so the option search index is unaffected. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1020. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/xtrn_sec.cpp diff
    Don't re-credit today's downloads on DOOR.SYS door exit Line 30 of DOOR.SYS ("Daily Download K Total") is read back as an adjustment: whatever the door leaves there is added to the user's downloaded-byte total and charged against their credits. That was correct while we wrote the line as 0, which we did from 2000 until c16dfedf4c (arcade-38-task, 2025-06-11) began writing the real running total there. Since then, a door that merely preserves the line makes us re-add the day's downloads and re-charge the credits on every exit. OpenDoors does exactly that: it rewrites the whole drop file on exit and passes this field through untouched. This is latent rather than actively biting anyone: the read-back only happens for a door with the per-program "Modify User Data" option enabled, which is off by default and effectively never turned on. Credit only the increase over the value we handed the door, so an unchanged line is worth nothing. A door reporting its own count against a zero total, which is the case the original logic was written for, still works. Negative and implausibly large values are now ignored rather than applied. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1021. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdoor/dropfiles.c diff
    xpdoor: fix inverted ANSI/CP437 detection when parsing DOOR.SYS A truthy strcmp() means "not equal", so a graphics mode (line 20) of "GR" yielded CP437 without ANSI and "NG" yielded both, exactly backwards. Comparing against 0 alone is not enough: GETBUF() leaves the line terminator in the buffer, unlike GETSBUF(), which runs truncnl(). The corrected comparison would never match, and every caller would come away with no display flags at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1022. Rob Swindell (on Debian Linux)
    Sun Aug 09 2026 07:19:08 GMT-0700 (PDT)
    Modified Files:
    

    src/odoors/GNUmakefile diff
    odoors: fix the example programs, which could never run LDFLAGS is used only by the five example link rules (the library itself is linked with SHFLAGS), but it was being assigned the shared-object flags: -shared, or -dynamiclib -single_module on Darwin. Every example was therefore emitted as a shared object with a NULL ELF entry point, and segfaulted the instant it was run. Dropping those flags exposed a second problem: the examples name the library by relative path, so libs-<OS>/libODoors.so only resolved when the current directory happened to be src/odoors. Give them an $ORIGIN-relative runpath, and give the library a soname; without one a client records the relative link path as its DT_NEEDED entry, and glibc does not consult the runpath for any name containing a slash. Appending to LDFLAGS rather than assigning it also stops -fPIC, and DEBUG=1's -g, from being discarded. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1023. Rob Swindell (on Windows 11)
    Sun Aug 09 2026 00:13:35 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/userdat.c diff
    Fix: check_realname() don't check for multiple names when real names not req'd Bug discovered by Cyan (one name) trying to register a new user at bbsdev.net which does not prompt for a real name for new users (copies the user's alias, but required as space in it and rejected the new user ungracefully).

  1024. Rob Swindell (on Debian Linux)
    Sat Aug 08 2026 18:54:37 GMT-0700 (PDT)
    Modified Files:
    

    exec/login.js diff
    Add login_prompt_str option for Nelgin

  1025. Rob Swindell (on Debian Linux)
    Sat Aug 08 2026 18:03:56 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    Don't hand a CGI the web server's descriptors (#1174) The CGI child sets up stdin, stdout and stderr and then execs with everything else this process had open still in hand. Close the rest, as externals now do. Nothing above stderr is a CGI's business: the client socket it reads from, where it has one, has already been duplicated onto stdin. Verified against a listen socket left deliberately inheritable, standing in for the descriptors this cannot otherwise reach - the ones opened inside libraries, where there is no call site to mark. Before, the CGI inherited it; after, the CGI starts with stdio alone. The exec-failure message now goes to stderr directly, which is the pipe the parent already reads and logs as a CGI error. errprintf() is not usable after the close: it is not fork-safe, and its descriptors are among those closed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1026. Rob Swindell (on Debian Linux)
    Sat Aug 08 2026 18:03:56 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/filewrap.c diff
    Close descriptors with closefrom() rather than close_range() closefrom() exists on the BSDs, Solaris and glibc 2.34 and later, where close_range() is a Linux syscall this code was reaching for directly. On glibc, closefrom() is implemented in terms of close_range() anyway, so calling it gets the better mechanism where there is one and a working fallback where there isn't, without this file having to know which. Keeping one descriptor no longer needs a range API at all: close everything above it in a single call, and walk the few below it. That loop is bounded by the kept descriptor rather than by the process descriptor limit, which can be very large. Platforms with neither call (macOS) still consult sysconf(_SC_OPEN_MAX). Also spell the first descriptor to close as STDERR_FILENO + 1 rather than 3. Suggested by Deuce. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1027. Rob Swindell (on Debian Linux)
    Sat Aug 08 2026 17:53:12 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/xtrn.cpp diff
    src/xpdev/filewrap.c diff
    src/xpdev/filewrap.h diff
    Close every descriptor an external program has no business with (#1174) Marking descriptors close-on-exec as they are created can only ever cover the ones we create. It reaches neither the descriptors a library opens behind our back - the four sockets libmosquitto holds to the MQTT broker are the plain example - nor the roughly 1700 open()/fopen() call sites in this tree, each of which would otherwise have to be found, flagged, and kept flagged forever. Close them in the child instead, where the set is knowable without an audit: after the redirections are in place and immediately before exec, everything above stderr goes, except the passthru socket a native socket-door is handed by number. An external now starts with stdio and, at most, that one socket. Previously it started with the node.dab handles, the node log, the client sockets and whatever else happened to be open at the moment it was launched. xp_close_inherited_fds() prefers close_range(2) and falls back to a loop over sysconf(_SC_OPEN_MAX). Between fork() and exec() in a process with other threads running, only async-signal-safe calls are legal, which rules out walking /proc/self/fd - readdir() allocates. The exec-failure message now goes to stderr directly. lprintf() cannot be trusted at that point: it is not fork-safe, and its descriptors are among those just closed. Stderr at that point is the pipe the parent already reads and logs, so the message still reaches the log it always did. This covers externals only. The CGI and self-restart exec paths in websrvr.cpp and js_global.cpp need the same treatment. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1028. Rob Swindell (on Debian Linux)
    Sat Aug 08 2026 17:53:12 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    src/sbbs3/main.cpp diff
    src/sbbs3/services.cpp diff
    src/xpdev/multisock.c diff
    src/xpdev/sockwrap.c diff
    src/xpdev/sockwrap.h diff
    Accept client sockets close-on-exec (#1174) Listen sockets stopped being inherited by child processes in b96da4eb92 (forget-6-zone, 2026-08-07), but the sockets accepted from them were still handed to every external program, CGI and timed event this process spawns. Those do not pin a listening port, so they cannot produce the failed-rebind outage that started this, but one session's socket has no business in another session's door. xp_accept() wraps accept4(SOCK_CLOEXEC), falling back to accept() plus fcntl() where the platform has no accept4() (macOS) or the kernel is too old for it. Used for the terminal, FTP data, and service sockets. Deliberately not used for the node passthru socket in main.cpp: a native socket-door is handed that descriptor by number via the %H command-line specifier, so it is the one socket that has to survive exec. Noted at the call site, since it otherwise looks like an omission. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1029. Rob Swindell
    Sat Aug 08 2026 17:48:01 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/syncarcade/games.ini diff
    Merge branch 'nightfox_more_arcade_games_2026-08-08' into 'master' Added a few more arcade games (which I've run on my BBS) See merge request main/sbbs!725

  1030. Eric Oulashin
    Sat Aug 08 2026 16:49:40 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/syncarcade/games.ini diff
    Added a few more arcade games (which I've run on my BBS)

  1031. Rob Swindell (on Debian Linux)
    Sat Aug 08 2026 17:14:01 GMT-0700 (PDT)
    Modified Files:
    

    exec/login.js diff
    Add options to override default dynamically-generated login prompt segments: - name_prompt - number_prompt - new_prompt - guest_prompt These can be set in the [login] section of ctrl/modopts.ini or in ctrl/modopts/login.ini For Nelgin's mode7 experiment

  1032. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 16:23:16 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/multisock.c diff
    src/xpdev/sockwrap.h diff
    Create listen sockets close-on-exec atomically where possible (#1174) 0db85afb4c (social-29-army, 2026-08-07) set FD_CLOEXEC with fcntl() after socket() returns, which leaves a window: a fork/exec on another thread during those few instructions still hands the descriptor to the child. Rare, but the bug it fixes was already rare. Most POSIX platforms can ask for the flag at creation time and close the window entirely. XP_SOCK_CLOEXEC is that flag where one exists and 0 where none does, so the socket() call needs no per-platform spelling, and the fcntl() stays unconditional rather than becoming a branch that compiles on one platform and is therefore never built anywhere else. Where the creation flag worked the fcntl() is a redundant no-op; where there is none (macOS) it remains the only protection, and still racy there. It lives in sockwrap.h rather than multisock.c so that accept4() and the long-lived open() call sites can use the same spelling when those are audited. Suggested by Deuce. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1033. Deucе
    Fri Aug 07 2026 16:18:42 GMT-0700 (PDT)
    Added Files:
    

    src/odoors/ODVScreen.h diff
    src/odoors/OpenDoor64.def diff
    src/odoors/OpenDoorMinGW.def diff
    src/odoors/tests/virtual_screen_test.c diff
    Modified Files:

    src/odoors/CMakeLists.txt diff
    src/odoors/ODBlock.c diff
    src/odoors/ODCore.c diff
    src/odoors/ODEmu.c diff
    src/odoors/ODGraph.c diff
    src/odoors/ODInEx1.c diff
    src/odoors/ODInEx2.c diff
    src/odoors/ODScrn.c diff
    src/odoors/OpenDoor.def diff
    src/odoors/OpenDoor.h diff
    src/odoors/SYNCING.md diff
    src/odoors/tests/dos_runtime_smoke.c diff
    src/odoors/tests/link_smoke.c diff
    src/odoors/win32.mak diff
    Sync OpenDoors through 55a6ae4 Import the dynamically sized remote-screen implementation, expanded virtual-screen tests, and platform-specific Windows export definitions while preserving Synchronet-only artifacts and integration settings.

  1034. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 15:55:26 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/multisock.c diff
    Set close-on-exec on listen sockets on POSIX (issue #1174) A fork()ed child inherits every open descriptor, and external() closes nothing but stdio and its pipes before execvp(), so every external program inherits each server's listening sockets. An external that outlives a server recycle then keeps those ports bound, and the rebind fails: mail !ERROR 98 binding SMTP Transfer Agent socket to port 25: Address already in use This is not merely a failed rebind, which would be self-announcing. The parent's own listen sockets are still open, so the kernel keeps completing handshakes into a backlog that no longer has an accept() behind it: clients connect and then wait forever for a protocol banner. It presents as a hung server. Mark the sockets close-on-exec where they are created, mirroring what the Windows half of xpms_add() has done since 6816ce611 (carries-19-baby, 2026-06-24). Doing it at creation, rather than closing descriptors in the child, is what covers externals already running when a recycle happens: their copies were made long before, and nothing done at recycle time can reach them. fcntl() rather than SOCK_CLOEXEC: macOS has no SOCK_CLOEXEC, and passing it to socket() on a kernel that predates support fails the call outright and would take the listener with it. That leaves a window between socket() and fcntl() in which a concurrent exec still inherits the descriptor, which is worth accepting for sockets created during server start-up and recycle. Accepted client sockets are left alone. They do not pin a listening port, and on POSIX the passthru listener a socket door talks over is created by open_socket() in main.cpp, not here, so it is unaffected either way. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1035. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 15:55:26 GMT-0700 (PDT)
    Modified Files:
    

    exec/msglist.js diff
    msglist: reply to an unroutable netmail address as local e-mail (#1215) mail_reply() chose between bbs.netmail() and bbs.email() on the sender net type alone. When that address is one this system will not route as netmail - one of its own domains, as carried by mail submitted over authenticated SMTP - the netmail attempt fails with "Invalid NetMail address" followed by "Failed to send", and there is no way to answer the message. Fall back to the sender's user number, as the built-in mail reader has done since be05f55db5 (chest-4-dies, 2026-02-11). Sending such mail back out through our own SMTP server used to work by accident, until 4aa2274c97 (provide-5-player, 2026-01-22) stopped netmail to our own addresses. Replies to genuinely remote senders are unchanged: the fallback needs a sender extension, which a message from another system does not carry. This also answers messages already stored with the old sender net type. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1036. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 15:55:26 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mailsrvr.cpp diff
    Don't tag an authenticated user's local mail as netmail (issue #1215) An SMTP-authenticated user's message to a local recipient was stored with SENDER_NETTYPE of NET_INTERNET and a SENDERNETADDR of the sender's own address on one of this system's own domains, even though both parties are local users. Mail readers key off the sender net type to decide between a netmail reply and a regular e-mail reply, so replying to such a message tried, and failed, to send netmail to an address this system won't route. The NET_NONE branch dates from d21065229b (knee-4-prepare, 2009-11-12), which qualified it with "subnum != INVALID_SUB" because it was added for messages posted to a sub-board via authenticated SMTP. E-mail was never covered. The sender header fields are written once, before the per-recipient loop, and a single submission can name both local and remote recipients, so the net address can't simply be dropped: for a recipient on another system it is what selects the reverse-path as the envelope sender, and what routes a delivery-failure notice back. Set the sender to the authenticated user's alias up front, and add the sender net type and address per recipient copy, only for the copies whose recipient is not local. Mail leaving the system is unchanged. A local recipient's copy now looks like any other local e-mail: sender alias plus SENDEREXT, no net address. The From header presented over POP3 and IMAP is unaffected, as it is rendered from the preserved RFC822FROM field. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1037. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 15:55:26 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/COMPILING.md diff
    src/doors/syncretro/DESIGN.md diff
    src/doors/syncretro/M2_INPUT.md diff
    src/doors/syncretro/M4_AUDIO.md diff
    src/doors/syncretro/README.md diff
    src/doors/syncretro/SYNCDOS.md diff
    src/doors/syncretro/syncretro_input.c diff
    src/doors/syncretro/syncretro_io.c diff
    syncretro: stop probing for a JXL tier this door never rendered The docs claimed a JXL graphics tier and the door probed the terminal for it, but syncretro_io.c's tier list has only ever held sixel and the block-character text modes: termgfx_jxl_encode is not called from anywhere in this door, and the built binary contains no such symbol. The reply to the Q;JXL cap-probe was parsed into g_jxl_supported, which nothing read. So the probe and the dead flag go. The termgfx side stays untouched -- termgfx_query_jxl and termgfx_caps_parse_jxl serve syncdoom, syncduke, syncmoo1, syncconquer and termgfx_termio, where the tier is real and live. SyncTERM is still detected here by the two remaining paths, the CTDA `<`/`=` marker and the audio-caps reply; the door already depends on CTDA for physical-key reports and the CTerm version, so a client that fails to answer it is degraded well before this mattered. DESIGN.md gains a section recording WHY, which was written down nowhere: these cores -- FreeIntv, FCEUmm, MAME 2003-Plus -- emit small palette-limited framebuffers that sixel renders well and cheaply, and JXL's advantage is photographic detail they do not have. The encoder, its build detection and the cap-probe all remain in termgfx, so a future core with a larger or more detailed framebuffer can be given the tier on SyncTERM; the section says what wiring it up would take. COMPILING.md no longer tells a sysop to install libjxl-dev to build this door, because it buys them nothing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1038. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 15:55:26 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/syncretro_input.c diff
    syncretro: brace the SyncTERM marker test, so the re-fit is conditional d0fd3b5d12 (2026-08-07) added sr_io_note_syncterm() under a braceless `if`, so it ran for EVERY device-attributes reply rather than only the SyncTERM-flavored ones -- the indentation said conditional, the code was not. A plain xterm answering DA1 was announced to the presenter as SyncTERM and re-fit accordingly. The sibling call the same commit added, in the audio-caps branch, is inside braces already; this one was the oversight. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1039. Deucе
    Fri Aug 07 2026 14:15:28 GMT-0700 (PDT)
    Modified Files:
    

    src/odoors/GNUmakefile diff
    src/odoors/SYNCING.md diff
    Fix legacy OpenDoors make build Include the new format and safety objects in GNUmakefile builds, use native vsnprintf by default, and model the shared-library symlink as an explicit target. This restores the libraries consumed by downstream door CI jobs.

  1040. Deucе
    Fri Aug 07 2026 13:56:16 GMT-0700 (PDT)
    Added Files:
    

    src/odoors/ODFmtFB.c diff
    src/odoors/ODFormat.c diff
    src/odoors/ODFormat.h diff
    src/odoors/ODSafe.c diff
    src/odoors/ODSafe.h diff
    src/odoors/dos/CMakeLists.txt diff
    src/odoors/tests/dos_runtime_smoke.c diff
    src/odoors/tests/format_fallback_test.c diff
    src/odoors/tests/safety_test.c diff
    src/odoors/third_party/trio/README diff
    src/odoors/third_party/trio/trio.c diff
    src/odoors/third_party/trio/trio.h diff
    src/odoors/third_party/trio/triodef.h diff
    src/odoors/third_party/trio/trionan.c diff
    src/odoors/third_party/trio/trionan.h diff
    src/odoors/third_party/trio/triop.h diff
    src/odoors/third_party/trio/triostr.c diff
    src/odoors/third_party/trio/triostr.h diff
    Modified Files:

    src/odoors/CMakeLists.txt diff
    src/odoors/DOS.mak diff
    src/odoors/ODCom.c diff
    src/odoors/ODEdit.c diff
    src/odoors/ODGen.h diff
    src/odoors/ODInEx1.c diff
    src/odoors/ODInQue.c diff
    src/odoors/ODKrnl.c diff
    src/odoors/ODPlat.c diff
    src/odoors/ODPlat.h diff
    src/odoors/ODPrntf.c diff
    src/odoors/ODScrn.c diff
    src/odoors/ODSpawn.c diff
    src/odoors/ODSwap.asm diff
    src/odoors/ODSwap.h diff
    src/odoors/OpenDoor.def diff
    src/odoors/OpenDoor.h diff
    src/odoors/README.md diff
    src/odoors/SYNCING.md diff
    src/odoors/build-msvc.ps1 diff
    src/odoors/odoors.props diff
    src/odoors/win32.mak diff
    Sync OpenDoors through b784af7 Import DOS/Open Watcom support, hardened formatting and safety helpers, expanded tests, and the bundled Trio fallback while retaining Synchronet-only artifacts and exclusions.

  1041. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 12:15:59 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/test_axis.c diff
    syncretro: restore the test_axis link, broken by a new sr_io_ call test_axis links the REAL syncretro_input.c rather than a stub, because the claim it tests is that a keystroke survives the whole door path and arrives at the core as an analog deflection -- a stubbed input layer would prove nothing. It does not link syncretro_io.c, so every sr_io_* function the input module calls needs a one-line stub beside the others in test_axis.c. d0fd3b5d12 (2026-08-07) added a sr_io_note_syncterm() call to syncretro_input.c without one, and the target has failed to link since: syncretro_input.c:966: undefined reference to `sr_io_note_syncterm' The door itself was never affected -- it links syncretro_io.c and always had the definition -- so this is only ever visible in CI or a local build with SYNCRETRO_TESTS=ON. Verified in the configuration CI uses (cmake -DSYNCRETRO_TESTS=ON, Release): the build completes and all 11 tests pass. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1042. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 12:15:59 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/syncmoo1/syncmoo1.example.ini diff
    syncmoo1: document why the picture stops growing in a large terminal The image is drawn at a whole multiple of the game's native 320x200 and never more than 2x, so it tops out at 640x400 however large the terminal is -- visibly smaller than the sibling doors that scale to fit. Nothing in the shipped ini or the README said so, or said that it is deliberate, which leaves "MoO1 is tiny in my big terminal" an unanswerable question. Whole multiples are what keep the interface readable. The horizontal resample is nearest-neighbour, so an image narrower than 320 source columns does not soften, it deletes columns -- and MoO1's interface font draws 1-pixel strokes, which go with them: "SFX volume 100" renders as "SFX volume 00". SyncDOOM and SyncDuke expose a [video] scale_max instead, because a fractional scale costs them only sharpness, not characters. Comment only: no key, no behavior change. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1043. Deucе
    Fri Aug 07 2026 11:31:49 GMT-0700 (PDT)
    Added Files:
    

    src/odoors/SYNCING.md diff
    Modified Files:

    src/odoors/ex_diag.c diff
    Sync OpenDoors through d3a8519 Import the macOS diagnostic example fix and document the read-only synchronization workflow and local exclusions.

  1044. Deucе
    Fri Aug 07 2026 11:31:48 GMT-0700 (PDT)
    Added Files:
    

    src/odoors/CMakeLists.txt diff
    src/odoors/LICENSE diff
    src/odoors/README.md diff
    src/odoors/build-msvc.ps1 diff
    src/odoors/tests/link_smoke.c diff
    Modified Files:

    src/odoors/FILE_ID.DIZ diff
    src/odoors/ODGetIn.c diff
    src/odoors/odoors.props diff
    Update bundled OpenDoors sources

  1045. Rob Swindell (on Windows 11)
    Fri Aug 07 2026 01:53:34 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/user_info_prompts.js diff
    Fix reversed bbs.trashcan() arguments in the user info prompts bbs.trashcan() takes (base_filename, search_string), but get_handle(), get_phone() and get_netmail() passed the user's input as the filename and the trashcan's name as the search string. Each check therefore searched a nonexistent text/<input>.can and always returned false, making the name.can, phone.can and email.can filters no-ops during new user registration and user settings. A new user could enter a handle that name.can forbids (e.g. one containing '@', which stock name.can rejects) and never be told: the prompt accepted it, and the check in newuser.cpp then aborted the entire registration with "New user handle (invalid or duplicate)" after every question had been answered. With the arguments in the documented order, the prompt re-asks instead. The handle and netmail checks were introduced with the module in 2bf2347141 (2025-12-27), the phone check in 48dbc07468 (2026-01-19). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1046. Deucе
    Fri Aug 07 2026 01:39:59 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Wren.adoc diff
    src/syncterm/scripts/auto/connected/scrollback_view.wren diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/scripts/wrentest.wren diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_menu.c diff
    src/syncterm/wren_bind_screen.c diff
    src/syncterm/wren_bind_screen.h diff
    src/syncterm/wren_host.c diff
    src/syncterm/wren_host_internal.h diff
    Make scrollback viewer non-mutating

  1047. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 01:28:56 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncrpg/door/help_term.cpp diff
    src/doors/syncscumm/door/help_term.cpp diff
    src/doors/termgfx/termgfx_termio.c diff
    src/doors/termgfx/test/test_termgfx_termio.c diff
    src/doors/termgfx/test/test_termgfx_termio_input.c diff
    termgfx: reserve Ctrl-Q, not a bare 'q', on the legacy key path The raw-byte path took 'q' and Ctrl-C as its quit keys and never Ctrl-Q, so on a terminal that negotiates neither kitty CSI-u nor SyncTERM's evdev reports -- SyncTERM 1.9 and older -- Ctrl-Q arrived as an ordinary byte and did nothing, while an unmodified 'q' quit the door instead of reaching the game. The other two key paths already do the opposite, and deliberately: only the CTRL form quits, so a bare 'q' can be typed into a ScummVM save name. Both doors' help screens advertise Ctrl-Q, and both carried a comment explaining that a bare 'q' would not be advertised because it quits on some clients and types on others. The raw-byte path was the one that disagreed. 0x11 is XON, which is not used for flow control on these connections. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1048. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 01:28:56 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncconquer/door/door_io.c diff
    src/doors/syncdoom/syncdoom.c diff
    src/doors/syncduke/syncduke_io.c diff
    src/doors/syncmoo1/syncmoo1.h diff
    src/doors/syncmoo1/syncmoo1_geom.c diff
    src/doors/syncmoo1/syncmoo1_geom.h diff
    src/doors/syncmoo1/syncmoo1_input.c diff
    src/doors/syncmoo1/syncmoo1_io.c diff
    src/doors/syncmoo1/tests/test_geom.c diff
    src/doors/syncretro/syncretro.h diff
    src/doors/syncretro/syncretro_input.c diff
    src/doors/syncretro/syncretro_io.c diff
    src/doors/termgfx/geometry.c diff
    src/doors/termgfx/geometry.h diff
    src/doors/termgfx/termgfx_termio.c diff
    src/doors/termgfx/test/test_termgfx_termio_fitcanvas.c diff
    doors: measure the terminal's canvas instead of assuming 640x400 Every graphical door starts from a 640x400 canvas and corrects it from the ESC[4;h;wt reply to ESC[14t. SyncTERM never sends that reply -- its CSI t is the CTerm-private palette setter -- so on SyncTERM the assumption stood, and every fit, centering, cell-size and pointer calculation was built on it. It is only true in 80x25. SyncTERM's 80x43 canvas is 640x350 and its 132x43 is 1056x350, and the door had no idea. Four defects followed, each found by a captured session rather than by reading the source: - 80x43 emitted a 400-line frame into a 350-line canvas. SyncTERM 1.9 discards an oversized JXL blob WHOLE, so the screen stayed blank; 1.10 clips it, so the picture lost its bottom. The terminal had been answering XTSMGRAPHICS with its real drawable area all along, but the reply was filed as a sixel ceiling and never used as the canvas. - The cell size was derived from the assumed canvas: 400/42 = 10 against a real 8, which misplaced the sixel tier's CUP origin and every dirty-rect box. - The mouse mapping carried its own 8x16 guess. Converting a text cell to canvas pixels with an over-tall cell walks off the bottom of the image and clamps, so on an 80x43 terminal every row below about 21 of 42 mapped to the last game row -- the pointer drifting further out the further down the screen it moved. - 132-column modes are 1056 wide, i.e. LARGER than the assumption, where clamping to the reported area does nothing at all. The picture was fit and centered inside a phantom 640-wide canvas and sat against the left edge with the right half of the screen empty. So the reported area is now ADOPTED as the canvas when no ESC[14t answer arrived, and only clamped to when the canvas is genuinely known -- the xterm case, where the raster ceiling is smaller than the window it reports. Separately, a door emits pixels but does not decide their SHAPE. SyncTERM scales its framebuffer to the video mode's display aspect (vidmodes.c aspect_width/height, applied by bitmap_get_scaled_win_size_nomax -> aspect_fix_wc), so a canvas pixel is 0.833 as wide as tall in the classic 640x400 and 0.442 in a 132-column 1056x350 -- more than twice as tall as square. Doors were calibrated on the 640x400 shape, where 320x200 mode-13h art lands right because it was drawn for that same squeeze; everywhere else the picture was stretched, 14% in 80x43 and 88% in 132x43. termgfx_geom_par_correct() returns the factor to widen the source by so it keeps the shape it has on that reference canvas. It is exactly 1.0 for any 640x400-shaped canvas, so the mode every door was tuned in stays bit-identical. It assumes a 4:3 display, which is exact for 48 of SyncTERM's 52 modes; the display aspect cancels out of the ratio, so only the current and reference modes need share it. The four that differ cannot be told apart from their 4:3 twins by anything a door can query -- C80 and LCD80X25 are both 80x25 with 8x16 cells on a 640x400 framebuffer, with pixel aspects of 0.833 and 1.000 -- so no door-side rule can separate them, and a terminal that reported its pixel aspect would retire the assumption. The correction is gated on the peer being SyncTERM: every other terminal here draws its canvas with square pixels, where this would be the distortion rather than the cure. The two doors that CACHE their geometry needed one thing more. SyncTERM sends its probe replies in one burst with the identification LAST, after the canvas and grid replies that trigger a recompute -- so the fit was already decided by the time the door knew who it was talking to, and the correction stayed gated off for the whole session. Both now re-fit when the identification lands. SyncRetro only appeared to escape this because sr_io_set_aspect() re-fits afterwards, and that early-returns when the core's aspect is unchanged. SyncMOO1 also gains the per-geometry-change log line SyncRetro already prints. The canvas-vs-page-vs-cell chain is where every wrong-size bug in these doors has lived, and it is what identified this one: canvas, grid, cell and page were all correct and only the SyncTERM flag was wrong. Live-verified on SyncTERM 1.9rc4 and 1.10a in 80x25, 80x43 and 132x43: SyncSCUMM, SyncRPG, SyncMOO1, SyncRetro, SyncDOOM. 80x25 with the status line hidden is bit-identical; with it shown the image is 15px shorter and no longer runs under the status bar, which is the same assumption failing in the mode it was made for. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1049. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 01:28:56 GMT-0700 (PDT)
    Added Files:
    

    src/doors/termgfx/test/test_termgfx_termio_fitcanvas.c diff
    Modified Files:

    src/doors/termgfx/termgfx_termio.c diff
    src/doors/termgfx/test/unit_termgfx_termio.sh diff
    termgfx: fit against the canvas the terminal declared, not a 640x400 guess termgfx_termio.c starts at g_canvas_w/h = 640x400 and corrects it from the ESC[4;h;wt reply to ESC[14t. SyncTERM never sends that reply -- its CSI t is the CTerm-private palette setter -- so on SyncTERM the guess stood, and every fit, centering and cell-size derivation was computed against it. The guess is only right in 80x25 and 80x50. SyncTERM's 80x43 canvas is 640x350 (43 rows of 8px, plus 6 scanlines no character cell covers), and a captured session running Maniac Mansion there traced canvas=640x400? emit=640x400@0,0 cell=10 -- a 400-line frame emitted into a 350-line canvas, and a 10px cell derived against a real 8. SyncTERM 1.9 discards the oversized JXL blob whole, so the screen stayed blank; 1.10 clips it, so the picture lost its bottom. The wrong cell size separately misplaced the sixel tier's CUP origin and its dirty-rect boxes. 80x28 (640x392) overshoots by 8 lines the same way; 80x30 (640x480) merely wastes the difference. The terminal had already answered with the right number. SyncTERM replies to XTSMGRAPHICS with charwidth*cols x charheight*rows -- its drawable area, 640x336 for that session -- but the reply landed in g_gfx_max_w/h and was applied to the SIXEL tier's ceiling alone. termgfx_fit_canvas() now clamps the canvas to that declared ceiling, and termgfx_fit_cell_w/h() derive the cell from it over the real 999;999-CPR grid whenever the terminal reports no cell size of its own. Both are used everywhere the geometry is computed: the fit, the centering, the sixel CUP re-derivation in present() and present_rgbx(), the dirty-box cell size, and the mouse mapping. The same session now traces canvas=640x400? fit=640x336 emit=537x336@51,0 cell=8 Clamping rather than adopting is what keeps this safe for a terminal whose reply is a true graphics ceiling rather than a text area (xterm's ~1000x1000): staying inside a declared ceiling is what a ceiling is for, and such a terminal answers ESC[14t as well, so its real canvas is already known there. The mouse mapping carried its own copy of the 8x16 guess. Converting a 1-based text cell to canvas pixels with an over-tall cell walks off the bottom of the image and clamps, so on that terminal every row below about 21 of 42 mapped to the last game row -- felt as the pointer drifting further out the further down the screen it moved. Its test asserts the mid-screen row maps mid-picture and that the rows produce distinct values: the endpoints prove nothing, being deliberately snapped to the image edges so the extreme game rows stay reachable on a cell-granular terminal. The trace line gains fit=WxH beside canvas=WxH, since the gap between the two is where this class of bug lives. Affects every door on this module -- syncconquer, syncretro, syncrpg, syncscumm. 80x25 and the no-ceiling fallback are asserted unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1050. Rob Swindell (on Debian Linux)
    Fri Aug 07 2026 01:28:56 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/syncretro_io.c diff
    src/doors/syncretro/test_dirty.c diff
    syncretro: size every patch in whole sixel bands, not just whole cells A dirty-rect patch was sized in whole text cells, which is what the cursor address in front of it needs. It is not what the decoder behind it needs. A sixel is read six pixel rows at a time, and SyncTERM's 8x16 cell makes patches 16, 32 and 80 rows tall -- none of them a whole number of bands, so every patch ended in a partial one. cterm did not clear its band mask between bands until d65cb83886 (2026-06-28). Below that, any column of a partial final band not covered by the band's first colour keeps the PREVIOUS band's pixels, and the band is blitted full height regardless. Each patch therefore left a stale sliver at its foot, which a sprite moving across the screen smears into a dotted trail behind it. SourceForge #258; reported against SyncArcade as GitLab #1214 once b3caee6dd4 (2026-08-04) made patches land where they were addressed and the trail became visible. Only SyncTERM was exposed. Every other terminal already took the band_align path, which snaps a rect to LCM(cell, 6) and so has always emitted whole bands; SyncTERM was passed band_align=0 on the reasoning that a cell-anchored patch is enough. Cell alignment is not band alignment, and 16 is not a multiple of 6. So band_align now applies to every sixel client. The height rounding in the geometry routine moves with it: it kept the image an exact multiple of the cell height precisely so band_align's hcell clamp could never strand a sub-cell remainder, and it was gated on the same condition. Splitting the two would trade a stale sliver under each patch for a stale strip along the bottom of the frame. Measured over a 14-second capture against a 1.327 peer: 51 of 53 sixels had a partial final band before, none after; patch heights go 16/32/80 -> 48/96, and the wire grows 26559 -> 27267 bytes, 2.7%. The added rows are unchanged background and cost almost nothing once run-length encoded. test_dirty pins the property the terminals actually depend on -- a rect height divisible by six -- across cell heights 16, 8, 13, 7, 6 and 5, rather than the LCM of one particular cell. Reported by Keyop. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1051. Deucе
    Thu Aug 06 2026 22:40:25 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    Build both OpenSSL variants serially in Windows CI

  1052. Deucе
    Thu Aug 06 2026 22:10:09 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    src/sbbs3/qtmonitor/CMakePresets.json diff
    Use release-only vcpkg triplets for qtmonitor

  1053. Deucе
    Thu Aug 06 2026 21:05:57 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/qtmonitor/CMakePresets.json diff
    Match MSVC runtime for static qtmonitor build

  1054. Deucе
    Thu Aug 06 2026 20:01:39 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    src/sbbs3/qtmonitor/CMakePresets.json diff
    src/sbbs3/qtmonitor/vcpkg.json diff
    Build static Windows qtmonitor artifact

  1055. Deucе
    Thu Aug 06 2026 19:22:44 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    Omit DirectX shader compiler from qtmonitor artifact

  1056. Deucе
    Thu Aug 06 2026 18:48:33 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    Build qtmonitor in Win32 daily builds

  1057. Deucе
    Thu Aug 06 2026 18:44:40 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    Fix Windows Qt deployment options

  1058. Deucе
    Thu Aug 06 2026 18:14:42 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/key_algo/rsa-sha2-256-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-512-botan.cpp diff
    src/ssh/key_algo/ssh-ed25519-botan.cpp diff
    src/ssh/test/test_selftest.c diff
    Fix sanitizer-detected undefined behavior Match Botan key callback definitions to the typed C vtable declarations so calls do not pass through incompatible function pointer types. Keep borrowed channel getter strings within the channel lifetime in the self-test instead of retaining them after close. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1059. Deucе
    Thu Aug 06 2026 18:10:27 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    src/sbbs3/qtmonitor/vcpkg.json diff
    Install Qt deployment tool for Windows artifact

  1060. Deucе
    Thu Aug 06 2026 17:29:53 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/crypto/botan.cpp diff
    src/ssh/deucessh-portable.h diff
    src/ssh/kex/curve25519-sha256.c diff
    src/ssh/kex/dh-gex-sha256.c diff
    src/ssh/kex/hybrid-pq-kex.c diff
    src/ssh/kex/sntrup761.c diff
    src/ssh/key_algo/rsa-sha2-256-botan.c diff
    src/ssh/key_algo/rsa-sha2-256-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-256-openssl.c diff
    src/ssh/key_algo/rsa-sha2-512-botan.c diff
    src/ssh/key_algo/rsa-sha2-512-botan.cpp diff
    src/ssh/key_algo/rsa-sha2-512-openssl.c diff
    src/ssh/key_algo/ssh-ed25519-botan.cpp diff
    src/ssh/key_algo/ssh-ed25519-openssl.c diff
    src/ssh/ssh-auth.c diff
    src/ssh/ssh-conn.c diff
    src/ssh/ssh-trans.c diff
    Harden buffer bounds checks Use a shared subtraction-based bounds helper when parsing peer-controlled SSH strings, packets, KEX messages, and key/signature blobs. Guard related size calculations and truncated KEX reads so 32-bit builds cannot wrap offsets before validation. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1061. Deucе
    Thu Aug 06 2026 17:05:00 GMT-0700 (PDT)
    Modified Files:
    

    src/ssh/CMakeLists.txt diff
    src/ssh/kex/mlkem768x25519-sha256-botan.cpp diff
    src/ssh/kex/mlkem768x25519-sha256-openssl.c diff
    src/ssh/ssh-conn.c diff
    src/ssh/test/dssh_test_internal.h diff
    src/ssh/test/test_alloc.c diff
    src/ssh/test/test_conn.c diff
    Fix channel packet length validation Reject overflowing CHANNEL_DATA and CHANNEL_EXTENDED_DATA lengths before passing peer-controlled sizes to channel callbacks. Always join created demux threads before releasing session state. Make connection tests clean up sessions after assertion failures. Keep ML-KEM test fixture generation behind the selected crypto backend so Botan no longer builds the vendored implementation. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1062. Deucе
    Thu Aug 06 2026 14:59:21 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    Package qtmonitor Windows runtime

  1063. Deucе
    Thu Aug 06 2026 14:53:49 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/qtmonitor/CMakeLists.txt diff
    Locate Windows Qt plugin in tests

  1064. Deucе
    Thu Aug 06 2026 13:51:56 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/qtmonitor/CMakeLists.txt diff
    Use native Qt platform plugins in CI tests

  1065. Deucе
    Thu Aug 06 2026 13:49:22 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci.yml diff
    Serialize Windows OpenSSL vcpkg build

  1066. Deucе
    Thu Aug 06 2026 13:38:36 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/qtmonitor/vcpkg-triplets/arm64-osx.cmake diff
    Modified Files:

    .gitlab-ci-unix.yml diff
    .gitlab-ci.yml diff
    src/sbbs3/qtmonitor/CMakePresets.json diff
    Fix qtmonitor vcpkg CI failures

  1067. Deucе
    Thu Aug 06 2026 13:24:18 GMT-0700 (PDT)
    Modified Files:
    

    .gitlab-ci-unix.yml diff
    .gitlab-ci.yml diff
    Fix qtmonitor CI runner prerequisites

  1068. Deucе
    Thu Aug 06 2026 13:18:16 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/qtmonitor/CMakePresets.json diff
    src/sbbs3/qtmonitor/vcpkg.json diff
    Modified Files:

    .gitlab-ci-unix.yml diff
    .gitlab-ci.yml diff
    src/sbbs3/qtmonitor/README.md diff
    Add qtmonitor vcpkg CI builds

  1069. Deucе
    Thu Aug 06 2026 13:00:00 GMT-0700 (PDT)
    Added Files:
    

    src/sbbs3/qtmonitor/defaults.h diff
    src/sbbs3/qtmonitor/tests/dock_behavior_test.cpp diff
    Modified Files:

    src/sbbs3/qtmonitor/CMakeLists.txt diff
    src/sbbs3/qtmonitor/README.md diff
    src/sbbs3/qtmonitor/main.cpp diff
    src/sbbs3/qtmonitor/mainwindow.cpp diff
    src/sbbs3/qtmonitor/mainwindow.h diff
    src/sbbs3/qtmonitor/settingsdialog.cpp diff
    Fix qtmonitor dock layout handling

  1070. Deucе
    Thu Aug 06 2026 11:26:48 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/mqtt.cpp diff
    mqtt: recognize OS hostname for internal broker Internal broker selection preferred startup->host_name whenever it was configured and used gethostname() only as a fallback. When Synchronet's global hostname differed from the machine hostname, a broker address matching the machine was classified as remote. No process started the internal listener, and every server attempted a failing TCP connection instead. Compare the broker address independently against both the OS hostname and the configured service hostname. Also initialize and explicitly terminate the gethostname() buffer so a lookup failure or maximum-length result cannot affect the comparison. Remote broker addresses continue to take the TCP client path. Verified by compiling: clang.freebsd.amd64.obj.debug-mt/mqtt.o and running git diff --check. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1071. Deucе
    Thu Aug 06 2026 10:44:11 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-03-cryptlib-replacement-design.md diff
    docs: require Botan 3.13 for cryptlib replacement

  1072. Deucе
    Thu Aug 06 2026 10:39:05 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/GNUmakefile diff
    syncterm: order Botan before DeuceSSH

  1073. Deucе
    Wed Aug 05 2026 18:01:27 GMT-0700 (PDT)
    Added Files:
    

    src/xptls/TODO.md diff
    Modified Files:

    src/xptls/xp_ca_botan3.cpp diff
    xptls: retain Botan 3.11 compatibility xptls advertises support for Botan 3.6 and newer, but the new CA implementation used IP address headers and strict decoder limits added in Botan 3.12. This prevented FreeBSD CI with Botan 3.11.1 from compiling the provider. Decode IP subjectAltName values from their standard extension encoding so both IPv4 and IPv6 remain available without the newer convenience APIs. Use the compatible BER decoder constructor for PKCS#7 input. Document the compatibility code, the prospective Botan 3.13 minimum, and the CRL validation follow-up tracked by Botan issue 5784. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1074. Deucе
    Wed Aug 05 2026 17:43:52 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-03-cryptlib-replacement-design.md diff
    docs: align Cryptlib replacement design with xptls The design still described several implemented xptls contracts as future work and used obsolete xp_private_key names. That made the remaining Cryptlib migration boundary and shared provider selection ambiguous. Update the architecture around xp_key, current TLS and crypto operations, capability reporting, common build selection, and the actual test surface. Clarify application ownership, migration behavior, and diagnostic handling throughout the remaining milestones. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1075. Deucе
    Wed Aug 05 2026 17:34:55 GMT-0700 (PDT)
    Added Files:
    

    src/xptls/test_xp_keyset.c diff
    src/xptls/xp_keyset.c diff
    src/xptls/xp_keyset.h diff
    Modified Files:

    src/xptls/CMakeLists.txt diff
    src/xptls/test_xp_ca.c diff
    src/xptls/test_xp_crypto_none.c diff
    src/xptls/test_xp_tls.cpp diff
    src/xptls/xp_ca.h diff
    src/xptls/xp_ca_botan3.cpp diff
    src/xptls/xp_ca_file.h diff
    src/xptls/xp_ca_none.c diff
    src/xptls/xp_ca_openssl.c diff
    src/xptls/xp_ca_policy.h diff
    src/xptls/xp_tls.h diff
    src/xptls/xp_tls_botan3.cpp diff
    src/xptls/xp_tls_credentials.c diff
    src/xptls/xp_tls_internal.h diff
    src/xptls/xp_tls_openssl.c diff
    xptls: complete Cryptlib replacement primitives Synchronet's remaining Cryptlib consumers need stored client keys, richer certificate inspection, and labelled persistence without exposing either provider's native objects. Add TLS client identities backed by retained xp_key handles and counted certificate chains. Extend xp_ca with typed subject fields and arbitrary CSR extensions, portable CSR and certificate encodings, PKCS#7 bundles, and certificate metadata. Add a common xp_keyset implementation with an atomic multi-label manifest and authenticated PKCS#12. Support OpenSSL 3 PBES2/AES files and legacy PKCS#12 3DES imports under both providers, reject mismatched identities, preserve non-exportable references, and sync complete replacements. Cover the contracts with shared OpenSSL and Botan tests plus disabled-provider behavior. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1076. Deucе
    Wed Aug 05 2026 14:31:32 GMT-0700 (PDT)
    Modified Files:
    

    src/xpdev/ini_file.c diff
    Work around non-standard bsearch() declarations It's been reported that some platforms declare the first argument to bsearch() as nonnull. This means a compiler could potentially skip code if it knows a NULL is being passed, and less theoretically triggers an error with SANITIZE=1. Explicitly return the root section (if present) on NULL and avoid what the header on that platform incorrectly changes from standard compliant to undefined behaviour :( Resolves !721 Co-Authored-By: Andy Alt <andy.alt@vert.synchro.net>

  1077. Rob Swindell (on Debian Linux)
    Tue Aug 04 2026 23:44:18 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncdoom/syncdoom.c diff
    src/doors/syncduke/syncduke.h diff
    src/doors/syncduke/syncduke_input.c diff
    src/doors/syncduke/syncduke_io.c diff
    src/doors/syncmoo1/syncmoo1.h diff
    src/doors/syncmoo1/syncmoo1_input.c diff
    src/doors/syncmoo1/syncmoo1_io.c diff
    src/doors/syncretro/syncretro.h diff
    src/doors/syncretro/syncretro_input.c diff
    src/doors/syncretro/syncretro_io.c diff
    src/doors/syncretro/test_axis.c diff
    src/doors/termgfx/sixel.c diff
    src/doors/termgfx/sixel.h diff
    src/doors/termgfx/term.c diff
    src/doors/termgfx/term.h diff
    src/doors/termgfx/test/test_term_sdm.c diff
    doors: measure the mode-80 sense rather than infer it, where a version can't b3caee6dd4 (2026-08-04) picks the DECSDM sequence that means sixel-at-cursor from the peer's CTerm revision. That only answers for CTerm. The VT340 manual documents mode 80 backwards, so a terminal built from those specs reads the two sequences the way CTerm <= 1.327 does and says nothing about itself in its DA1 reply -- and the doors were assuming ?80l for every such client. There is a way to tell without asking. A terminal drawing at the cursor leaves it at the bottom of the image; one anchoring at the screen origin leaves it untouched. That difference is visible over the wire where the mode's polarity is not. The technique is hackerb9's testdecsdm.sh (github.com/hackerb9/vt340test), pointed out by Deuce. termgfx_sixel_vscale_probe() already measured cursor advance across two slivers, to decide whether the terminal honours the raster pan -- and had to assume a mode to do it. It now runs that measurement TWICE, once under each sequence, and reports six cursor rows instead of three. The half that moved the cursor is the half that drew at it: that answers the polarity, and its own two advances still answer the pan question. One write, one round trip, no probe that any door did not already send. termgfx_term_sixel_at_cursor_probed() puts the measurement ahead of the revision. The two never both apply in practice -- a client that reports a revision is not probed -- so this is precedence for the code's sake rather than a contested case. SyncRetro had no such probe to extend, and gains one: emitted before the first frame, with a collector in its CSI 'R' path that claims the six reports ahead of the DSR pace-ack handler. Frames wait for the answer, so nothing is ever painted at the wrong anchor. The termgfx_termio doors (SyncSCUMM, SyncRPG) stay on the revision alone. The probe is itself a sixel, so its slivers necessarily precede the first frame, and that module's tests pin "the first DCS on the wire is the frame" across five raster parsers and an image count. Correct on every CTerm client and on every terminal reading DECSDM the modern way; wrong only on a non-CTerm one built from the manual, for which no named example is known. sixel.h records the reasoning. A door that tracks the sequence it last sent must record what the probe leaves behind (termgfx_sixel_probe_trailing_sdm), because the probe sets the mode behind that bookkeeping: believing the older value, a door skips the very re-assert the probe made necessary and spends the session in the wrong mode. That is intermittent, not deterministic -- it needs the probe to have run at all -- and cost a repeated-run test to see. Verified against a fake terminal that models each polarity rather than echoing canned replies: it tracks the mode in effect and advances its cursor only for sixels drawn at one, so the reports are computed from the behaviour under test. All four doors settle on the right sequence for both polarities, with no CTerm version on offer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1078. Rob Swindell (on Debian Linux)
    Tue Aug 04 2026 22:12:17 GMT-0700 (PDT)
    Added Files:
    

    src/doors/termgfx/test/test_term_sdm.c diff
    Modified Files:

    src/doors/syncdoom/syncdoom.c diff
    src/doors/syncduke/syncduke.h diff
    src/doors/syncduke/syncduke_input.c diff
    src/doors/syncduke/syncduke_io.c diff
    src/doors/syncmoo1/syncmoo1.h diff
    src/doors/syncmoo1/syncmoo1_input.c diff
    src/doors/syncmoo1/syncmoo1_io.c diff
    src/doors/syncretro/syncretro.h diff
    src/doors/syncretro/syncretro_input.c diff
    src/doors/syncretro/syncretro_io.c diff
    src/doors/syncretro/test_axis.c diff
    src/doors/termgfx/caps.h diff
    src/doors/termgfx/sixel.c diff
    src/doors/termgfx/sixel.h diff
    src/doors/termgfx/term.c diff
    src/doors/termgfx/term.h diff
    src/doors/termgfx/termgfx_termio.c diff
    src/doors/termgfx/test/CMakeLists.txt diff
    doors: ask each terminal for the mode-80 sense IT reads as sixel-at-cursor DEC private mode 80 (DECSDM) decides where a sixel lands: at the text cursor, or at the screen origin with the cursor ignored. Every door here wants the cursor, because that is how a frame is centered and how a dirty-rect patch reaches the cells it belongs over. cterm reversed the mode's set/reset sense in 117de27530 (2026-06-28), revision 1.327 -> 1.328. SyncTERM 1.8, the current release, ships 1.327. So the "\x1b[?80l" termgfx_term_enter has always sent asks a released SyncTERM for the opposite of what it means: the picture anchored top-left and the cursor ignored. On a full-screen door that cost only the centering, which is why it went unnoticed. SyncRetro made it visible. Its frames are portrait arcade cabinets with wide margins, and since 39b1af971b (2026-07-21) it patches the cells that changed rather than repainting, positioning each patch with nothing but the cursor address in front of it. Every patch therefore landed in the top-left corner, one per frame, over the picture drawn there: a block of scrambled graphics that redraws continuously while the game plays below it. Reported against SyncArcade on vert (GitLab #1214). termgfx_term_sixel_at_cursor() answers which of the two sequences a given peer reads as draw-at-cursor, from the CTerm revision in its DA1 reply. term_enter still commits to the DEC-correct ?80l before anyone has identified themselves; a door corrects it when the reply lands, and repaints, since whatever is on the terminal was drawn under the other rule. SyncDOOM needs no correction: it captures the revision in its startup probe before it emits mode 80 at all. termgfx_term_leave drops its ?80h, and no door replaces it. That sequence was the old polarity's idea of the default, and from cterm 1.328 on it left the terminal origin-anchored after every door exit. Nothing is needed in its place: draw-at-cursor is every terminal's own default, and the correction above has already established it. SyncDOOM stops toggling mode 80 per tier. It reset the mode to stop a full-height sixel scrolling the page; the bottom-cell reserve in compute_geometry() does that now, on every terminal rather than only those implementing mode 80, so the sequence is free to mean what it says. termgfx_sixel_vscale_probe() led with a bare ?80l of its own, which ran after the correction and silently undid it. It takes the peer's revision now. The probe measures how far the cursor advanced past each sliver, so the wrong sequence also made it read "does not scale" on a terminal that does. Verified on the wire against each door's real binary, driven by a fake terminal answering DA1 as 1.327 and as 1.332: the corrective sequence precedes the first sixel in every case, and no door emits the origin-anchoring one to either peer. test_term_sdm covers the polarity table and the 1328 boundary. Reported by Keyop. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1079. Rob Swindell (on Debian Linux)
    Tue Aug 04 2026 22:12:17 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    ftpsrvr: reset filedat for each RETR/SIZE/MDTM/DELE command filedat records whether the requested file was found in the directory's database. It is assigned only in the branch that serves a file base directory, but read further down in code common to every branch, including those serving a QWK packet, a generated index file, or an aliased local path. A session that had already run a file base command therefore left it set, so a later DELE of one of those non-database files reached removefile() with a stale true and removed whichever record in the session's current directory happened to carry the deleted file's name. An invalid directory number is rejected by smb_init_dir(), so this deleted a record rather than crashing. The other per-command flags (getdate, getsize, delecmd) are cleared where the command is recognized. Clear filedat with them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1080. Rob Swindell (on Debian Linux)
    Tue Aug 04 2026 22:12:17 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/ftpsrvr.cpp diff
    ftpsrvr: don't use a file record that loadfile() failed to fill Three sites loaded a file record and used it without checking whether the load had succeeded. Two of them left the record uninitialized, so a failed load meant reading and then freeing indeterminate memory: - the download credit check took the file's cost from an uninitialized struct, giving an arbitrary verdict, and then called smb_freefilemem() on its wild pointers - the upload resume check left the same struct uninitialized along the path that clears 'append' and falls through to smb_freefilemem() - the delete uploader check zero-initialized the record but ignored the result, leaving 'from' NULL for stricmp() to dereference loadfile() re-opens the message base, so it can fail even though findfile() has just succeeded: a lock timeout, or the record removed by another session in between. Each site now reports the failure and refuses the request. The record's 'from' pointer is checked before use as well, since set_convenience_ptr() assigns it only when the header carries a SENDER field: it can be NULL after a successful load, and the existing "unknown user" fallback dereferenced it to test for an empty string. The 'filedat' guards around two of those loads go with them. It is assigned once and the request is already refused where it is false, so the guarded fallback that charged by file length could never run, and the guard's only remaining effect was to let an unloaded record reach the checks. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1081. Rob Swindell (on Debian Linux)
    Tue Aug 04 2026 22:12:17 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/websrvr.cpp diff
    websrvr: always read the file header when resolving a file-vpath request 4de1032086 (payroll-20-queue, 2026-08-01) skipped the header record for a file in a free directory, on the grounds that loadfile() zeroes the cost there and download_is_free() short-circuits on the same flag before any credit comparison. The cost is not the only field that comes from the header. The index record stores the filename truncated to SMB_FILEIDX_NAMELEN (64 bytes, extension preserved), and smb_getfile() points file.name at it, so at index detail file.name was that truncated form. Names longer than the limit are not hypothetical: one in this file base is 78 characters. The name reaches user_downloaded_file(), which embeds it in the uploader's "file downloaded" notification, and mqtt_file_download(), which publishes it. The transfer and the credit accounting survived it, because deriving an index name from an already-truncated one is idempotent and the record still resolved, but the name recorded and announced was wrong. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1082. Deucе
    Tue Aug 04 2026 20:54:05 GMT-0700 (PDT)
    Modified Files:
    

    src/conio/cterm.c diff
    CTRL-T is 20, not 24.

  1083. Deucе
    Tue Aug 04 2026 08:51:23 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/term.c diff
    Capture the final screen before popup draw, not after When the remote disconnects, we need to grab a copy of the final screen before we draw the popup indicating what happened, not after.

  1084. Rob Swindell (on Debian Linux)
    Tue Aug 04 2026 01:22:25 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/modopts/emailval.ini diff
    exec/emailval.js diff
    Add option to disable destination (email/netmail) address checking Follow-up to bc4f969f2a47 which didn't really work because there were 2 places that system.check_netmail_addr() were called (not just one) - the second one is pretty important as it disallows accidental loop-back addressing, so I wanted to leave that check enabled by default. For Winzlo

  1085. Deucе
    Mon Aug 03 2026 23:42:52 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/CMakeLists.txt diff
    syncterm: preserve ini crypt test entry point on Windows The xpdev usage requirements enable SDL audio, which makes gen_defs.h include SDL headers. On Windows those headers remap main to SDL_main, but the standalone ini_crypt_test links as a normal console executable and therefore fails with an unresolved main symbol. Define SDL_MAIN_HANDLED for this test, as the neighboring non-SDL test targets already do, so its ordinary main entry point remains intact. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1086. Deucе
    Mon Aug 03 2026 23:29:37 GMT-0700 (PDT)
    Modified Files:
    

    src/xptls/CMakeLists.txt diff
    xptls: preserve MSVC atomics flags for C sources Visual Studio generators evaluate target-wide COMPILE_LANGUAGE expressions as C++ when a target contains any C++ sources. The Botan provider therefore caused the C-only atomics switches to disappear from xp_tls_credentials.c, leaving MSVC's C atomics support disabled. Apply the atomics enablement and __STDC_NO_ATOMICS__ override directly to each C source that includes <stdatomic.h>. This keeps the switches off C++ translation units while covering both Botan and OpenSSL builds. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1087. Deucе
    Mon Aug 03 2026 23:04:56 GMT-0700 (PDT)
    Modified Files:
    

    src/xptls/CMakeLists.txt diff
    src/xptls/xp_ca_openssl.c diff
    src/xptls/xp_tls_credentials.c diff
    xptls: restore legacy CI toolchain support Moving xptls behind its own CMake target exposed platform assumptions that SyncTERM previously supplied while compiling the provider sources directly. MinGW inherited an XP-era Windows floor, old AppleClang rejected an unnecessary C17 requirement, and MSVC lost the options needed for C11 atomics. Give xptls the Windows floor required by its C++ mutexes while retaining xpdev feature definitions, use the C11 standard the C sources actually require, and materialize inherited compile options before generation. Explicitly enable and expose MSVC atomics for xptls atomic users. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1088. Deucе
    Mon Aug 03 2026 22:39:43 GMT-0700 (PDT)
    Added Files:
    

    src/build/CMakeSubproject.gmake diff
    src/build/SynchronetCrypto.cmake diff
    src/syncterm/ini_crypt_test.c diff
    src/xptls/xp_kdf.h diff
    src/xptls/xp_kdf_botan3.cpp diff
    src/xptls/xp_kdf_none.c diff
    src/xptls/xp_kdf_openssl.c diff
    Modified Files:

    3rdp/build/GNUmakefile diff
    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs/superpowers/specs/2026-08-03-cryptlib-replacement-design.md diff
    src/build/Common.gmake diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/syncterm/Wren.adoc diff
    src/syncterm/bbslist.c diff
    src/syncterm/conn_mqtt.c diff
    src/syncterm/ini_crypt.c diff
    src/syncterm/ini_crypt.h diff
    src/syncterm/legacy_ciphers/idea.c diff
    src/syncterm/legacy_ciphers/legacy_ciphers.h diff
    src/syncterm/legacy_ciphers/rc2.c diff
    src/syncterm/scripts/menu_settings_ui.wren diff
    src/syncterm/syncterm.c diff
    src/syncterm/telnets.c diff
    src/syncterm/webget.c diff
    src/syncterm/wren_bind_menu_settings.c diff
    src/xpdev/extdeps.mk diff
    src/xptls/CMakeLists.txt diff
    src/xptls/test_xp_crypto.c diff
    src/xptls/test_xp_crypto_none.c diff
    src/xptls/test_xp_tls.cpp diff
    src/xptls/xp_cipher.h diff
    src/xptls/xp_cipher_botan3.cpp diff
    src/xptls/xp_cipher_none.c diff
    src/xptls/xp_cipher_openssl.c diff
    src/xptls/xp_tls.h diff
    src/xptls/xp_tls_botan3.cpp diff
    src/xptls/xp_tls_none.c diff
    src/xptls/xp_tls_openssl.c diff
    Removed Files:

    src/syncterm/legacy_ciphers/register.c diff
    src/xptls/xp_crypt.h diff
    src/xptls/xp_crypt_botan3.cpp diff
    src/xptls/xp_crypt_none.c diff
    src/xptls/xp_crypt_openssl.c diff
    xptls: make crypto APIs an independent library SyncTERM still consumed the monolithic xp_crypt compatibility layer and compiled provider sources into its own target. That duplicated provider selection and made stale Botan or OpenSSL build state easy to reuse. Split KDFs from cipher contexts, migrate SyncTERM to the typed APIs and the config-driven TLS interface, and remove the old xp_crypt and TLS wrappers. Preserve legacy encrypted lists with private decoders, bound scrypt derivations to 1025 MiB per operation, and cover the migration with tests. Fix buffered TLS EOF and chunk handling in webget along the way. Build xptls as an independent static CMake library while keeping xpdev a separate dependency. Resolve Botan or OpenSSL once in the parent CMake or GNUmake configuration, share subproject toolchain arguments with DeuceSSH, and keep the two libraries independent. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1089. Deucе
    Mon Aug 03 2026 14:45:22 GMT-0700 (PDT)
    Added Files:
    

    src/xptls/test_xp_tls.cpp diff
    src/xptls/xp_cipher.h diff
    src/xptls/xp_cipher_botan3.cpp diff
    src/xptls/xp_cipher_none.c diff
    src/xptls/xp_cipher_openssl.c diff
    src/xptls/xp_crypto.h diff
    src/xptls/xp_crypto_botan3.cpp diff
    src/xptls/xp_crypto_common.c diff
    src/xptls/xp_crypto_none.c diff
    src/xptls/xp_crypto_openssl.c diff
    src/xptls/xp_key.h diff
    src/xptls/xp_key_internal.h diff
    src/xptls/xp_key_pkcs11_openssl.c diff
    src/xptls/xp_key_store.c diff
    src/xptls/xp_tls_credentials.c diff
    src/xptls/xp_tls_internal.h diff
    Modified Files:

    src/syncterm/webget.c diff
    src/xptls/CMakeLists.txt diff
    src/xptls/test_xp_ca.c diff
    src/xptls/test_xp_crypto.c diff
    src/xptls/test_xp_crypto_none.c diff
    src/xptls/xp_ca.h diff
    src/xptls/xp_ca_botan3.cpp diff
    src/xptls/xp_ca_none.c diff
    src/xptls/xp_ca_openssl.c diff
    src/xptls/xp_sign.h diff
    src/xptls/xp_tls.h diff
    src/xptls/xp_tls_botan3.cpp diff
    src/xptls/xp_tls_none.c diff
    src/xptls/xp_tls_openssl.c diff
    xptls: add provider-neutral crypto APIs Synchronet's remaining Cryptlib callers need key management, symmetric encryption, certificate issuance, and TLS server features without tying callers to one provider's native API. Add generic key handles, persistent stores, PKCS#11 access, symmetric ciphers, expanded CA operations, and TLS server credentials. Implement the same contracts for Botan 3 and OpenSSL, with explicit unsupported results from no-crypto builds. Add bounded TLS operations, session inspection, shutdown semantics, and tests for certificates, PSKs, client authentication, concurrency, and close handling. Preserve authenticated Botan plaintext when application data arrives with close_notify, and harden SyncTERM webget's buffered TLS and EOF handling. Co-Authored-By: OpenAI Codex <noreply@openai.com>

  1090. Deucе
    Mon Aug 03 2026 10:52:39 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-qwk-certificate-authority-design.md diff
    docs: constrain delegated QWK CAs

  1091. Deucе
    Mon Aug 03 2026 09:35:46 GMT-0700 (PDT)
    Added Files:
    

    docs/superpowers/specs/2026-08-03-cryptlib-replacement-design.md diff
    docs: specify Cryptlib replacement

  1092. Deucе
    Sun Aug 02 2026 23:32:49 GMT-0700 (PDT)
    Added Files:
    

    src/xptls/test_rsa_pkcs1.pem diff
    src/xptls/test_xp_crypto.c diff
    src/xptls/test_xp_crypto_none.c diff
    src/xptls/xp_digest.h diff
    src/xptls/xp_digest_botan3.cpp diff
    src/xptls/xp_digest_none.c diff
    src/xptls/xp_digest_openssl.c diff
    src/xptls/xp_sign.h diff
    Modified Files:

    src/xptls/CMakeLists.txt diff
    src/xptls/xp_ca.h diff
    src/xptls/xp_ca_botan3.cpp diff
    src/xptls/xp_ca_none.c diff
    src/xptls/xp_ca_openssl.c diff
    xptls: add provider-neutral signing and ACME primitives Synchronet's DKIM implementation currently calls OpenSSL directly, while the JavaScript ACME clients depend on Cryptlib for RSA/ECDSA keys, JWS signatures, CSRs, certificate chains, and SHA-2. Those callers need a common primitive layer before either dependency can be removed without tying the replacement to another provider API. Extend the opaque CA key handle with RSA and ECDSA generation, standard in-memory key encodings, public-key components, identity-bearing CSRs, certificate-chain PEM handling, and validity accessors. Add message-level RSA, ECDSA, and Ed25519 signing plus streaming SHA-256/384/512 implementations for OpenSSL, Botan 3, and the disabled backend. Keep the committed CA interfaces source-compatible and leave the DKIM, SpiderMonkey, key-storage, and Cryptlib migration work for their separate integration steps. Cover the shared behavior with provider-independent tests, standard digest and RSA signature vectors, legacy PKCS#1 import, and disabled-backend checks. Co-Authored-By: Codex <noreply@openai.com>

  1093. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 23:18:09 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/syncarcade/README.md diff
    xtrn/syncivision/README.md diff
    xtrn/syncnes/README.md diff
    syncarcade: say how and when to enable saved games, and stop contradicting The cabinet section promised that a private cabinet's game "resumes where you left off" and then, three paragraphs later, said saved games are off for every romset. A sysop reading it in order acted on the first half, switched to a private cabinet, quit a game and found nothing waiting. The private cabinet's real and immediate value is stated instead: the high score table is yours, on every romset, today -- nobody else's session overwrites it. Saving is presented as the separate thing it is, with the games.local.ini stanza spelled out rather than deferred to a cross reference, and with the verification a sysop should actually perform before trusting a driver: enable it, play, quit, confirm the marker appears, confirm the game continues, then keep playing and watch the machine, because a broken restore does not announce itself. The quoted cabinet block was two releases of wording out of date. It and the marker example now match what the lobby renders. The cartridge consoles gain the marker's description too, which nothing documented. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1094. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_state_test.js diff
    syncretro: only promise a resume where a game can actually be saved The private cabinet advertised "Scores yours, games resume." on every shared-saves console, and the picker's footer carried the resume marker's legend on every console. Neither is true on the arcade, which ships save_state = false for all 4740 romsets because none has been verified: a player who switched to a private cabinet on the strength of that promise would quit their game and find nothing waiting, having done exactly what the screen told them to expect. syncretro_savable() answers whether anything on this console can be saved -- its own [console] save_state, or one romset overriding it -- and the lobby claims a resume only when it can. The moment a sysop enables a romset the promise and the legend appear on their own. It lives in the UI-free lib rather than inline in the lobby's init so it can be tested directly, which is where the eight new assertions live, including the auto-typed boolean forms an ini actually yields. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1095. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    xtrn/syncarcade/syncretro.ini diff
    xtrn/syncivision/syncretro.ini diff
    xtrn/syncnes/syncretro.ini diff
    syncretro: move the resume marker between the number and the separator A cartridge with a saved game reads " 1*| Title", one without " 1 | Title". Placing the marker immediately after the digits ties it to its own row's number and leaves the title's first column clear, which is easier to read than a marker abutting the title. The prefix spends the same six columns it always did, so no title moves. This puts the marker in the format's prefix, so cell_fmt now takes three substitutions: the number, the marker, the title. A sysop override carrying only one %s is still read as the older two-substitution form, with the marker placed immediately before the title instead -- an override written from the previously documented example keeps working and still shows the marker, rather than printing it where the cartridge belongs. The commented example in each console's shipped ini is updated to the three-substitution form and documents both. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1096. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    xtrn/syncivision/tests/test_syncretro_lib.js diff
    syncretro: one-line cabinet block, and move the resume marker left The cabinet state, what it costs and how to change it now occupy one row rather than two, returning a row to the cartridge grid. The resume marker moves from after the title to the column before it. In a grid, a trailing marker sits hard against the NEXT column's number and reads as belonging to that cell. The shipped cell format now ends at its separator so the marker occupies the space that was already there: a marked cartridge reads " 1 |*Title" and an unmarked one " 1 | Title", the same width either way, with the title in the column it always started in. A custom [text] cell_fmt keeps its own spacing and gains the marker column, which is what the two adjusted assertions record. The marker stays in the title field rather than the format's prefix because cell_fmt is a sysop override taking exactly two substitutions, the number and the title; a third would feed the marker to an existing two-argument format in place of the title it expects. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1097. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lobby.js diff
    syncretro: stop the resume marker's legend reading as a hotkey Everything before the page counter in the lobby's prompt is a key the player presses. The resume marker's legend was written "*=resumes" and styled exactly like its neighbours -- a highlighted character followed by a verb -- so it read as "press * to resume" rather than as a key to the mark beside a cartridge title. Parenthesised, unhighlighted and phrased as a noun, it reads as a legend. The prompt stays within its width budget at 67 visible columns with a three-digit page count. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1098. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-syncretro-save-restore-design.md diff
    syncretro: mark the suspend/resume design implemented Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1099. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    exec/tests/syncretro_state_test.js diff
    src/doors/syncretro/DESIGN.md diff
    src/doors/syncretro/syncretro_state.h diff
    src/doors/syncretro/syncretro_statekey.h diff
    src/doors/syncretro/test_statekey.c diff
    syncretro: fix final-review findings on save/resume Close out the whole-branch review of the save/resume feature before merge: - syncretro_lobby_state_key() now returns "" when the core hash is empty (a case-mismatched [console] core resolves via the door's case-insensitive globi() but not the lobby's case-sensitive directory()), instead of silently keying the snapshot on romset and options alone. Add a regression test. - Document the deploy-ordering hazard in DESIGN.md: the lobby goes live on save, the door binary only on rebuild + deploy, and an older binary misreads a new flag's value as the ROM path. - Fix stale comments left by the syncretro_state.c/syncretro_statekey.c split (DESIGN.md module map, both header banners, test_statekey.c), and rewrite its golden-value comment to drop a reference to an implementation-plan step no shipped reader will see. - syncretro_cell() now reserves room for the " *" resume marker before clipping the title, so a title at or over the cell width no longer clips the marker away. - Add a "* = resumes" legend to the picker's footer prompt. - Declare the implicit global `f` in syncretro_state_test.js. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1100. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Added Files:
    

    src/doors/syncretro/syncretro_statekey.c diff
    src/doors/syncretro/syncretro_statekey.h diff
    Modified Files:

    src/doors/syncretro/CMakeLists.txt diff
    src/doors/syncretro/syncretro_state.c diff
    src/doors/syncretro/syncretro_state.h diff
    src/doors/syncretro/test_statekey.c diff
    syncretro: split sr_state_key() into its own translation unit sr_state_key() is never called anywhere in the door -- the lobby computes the state key in JS and hands the door a ready-made key on the command line, so the only caller is test_statekey.c. Linking md5.c into the door purely to satisfy that dead function pulled in a GCC false-positive -Wstringop-overread from MD5Transform() (three levels of inlining lose the loop guard that makes the flagged read unreachable). Move sr_state_key() out of syncretro_state.c/.h into a new syncretro_statekey.c/.h pair that only the state-key test links, keeping md5.c (and the warning) out of the door binary entirely. syncretro_state.c/.h keep sr_state_path()/sr_state_save()/sr_state_load(), which the door does use. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1101. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-syncretro-save-restore-design.md diff
    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    src/doors/syncretro/DESIGN.md diff
    src/doors/syncretro/README.md diff
    src/doors/syncretro/syncretro_door.c diff
    xtrn/syncarcade/README.md diff
    xtrn/syncivision/README.md diff
    xtrn/syncnes/README.md diff
    syncretro: document suspend/resume and fix its test data-dir leak Task 6 of the save/restore plan: player-facing docs for all three console packages, -state documented beside -home in the door's own README and DESIGN.md, and four corrections earlier tasks surfaced. - Drop the "-state auto derives the key" promise from the door's usage text and the design spec's permission table. It cannot be derived where -state is parsed: sr_door_state_key() is populated during argv parsing, before sr_config_apply(), rc_core_open() and option resolution give it anything to hash. A bare "-state auto" still works exactly like any other key -- it just names the file literally "auto" rather than deriving anything. - Give syncretro_lobby_init() a spec.data_dir override (default system.data_dir), and route every data_dir-derived path in syncretro_lobby.js (the core-hash cache, the shared/private -home, the plays log) through it. exec/tests/syncretro_config_test.js now points it at system.temp_dir, so a test run -- pass or fail -- can no longer write into the live install's data/. This replaces cleanup calls that only ran on the success path, which is exactly the run a regression test needs to survive. - Fix the cabinet toggle's documented hotkey: the design spec's mockup still said "(P to switch)", but P is the lobby's existing Prev-page hotkey, so the shipped code correctly binds C instead. - Reword the cabinet lines so both read as a rule rather than a status: "No saved games." parses on a fast read as "none saved yet" rather than "you cannot save here", which costs a player the game they believed was saved. Verified: all 11 ctest suites pass; all five JS suites (syncretro_state_test.js, syncretro_config_test.js, and the three test_shipped_ini.js files) report 0 failures. Confirmed by directory listing that a full test run leaves /sbbs/data/syncretro/ unchanged. Confirmed by grep that every -home/save_dir use in main.c and syncretro_state.c is a destination (NULL-checked, formatted into a path) and never a comparison or pattern match against the path itself. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1102. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/GAMES_INI.md diff
    xtrn/syncarcade/syncretro.ini diff
    xtrn/syncivision/syncretro.ini diff
    xtrn/syncnes/syncretro.ini diff
    Ship suspend/resume config for SyncRetro's three consoles Turns on the suspend/resume feature built in the earlier tasks of this plan, and documents the per-romset override. Two keys, deliberately kept separate: - [console] save_state is a capability claim -- this core and driver snapshot and restore reliably -- and is ours to make, not the sysop's. syncivision (FreeIntv) and syncnes (fceumm) each get `true`: one core, one driver, verified. syncarcade (MAME 2003-Plus) gets `false`: save-state support in that lineage is per-driver across roughly 5000 drivers, a partially-supporting driver restores a subtly broken machine that fails as a wrong-looking game rather than as an error, and nothing has been verified. - [state] auto_resume is the sysop's switch -- whether this install offers the feature at all -- and says nothing about any core. All three consoles ship it `true`. Collapsing these into one key would force a sysop who just doesn't want resume on their NES to write `save_state = false`, recording a false claim about fceumm that whoever reads or copies that file next inherits. GAMES_INI.md documents the matching per-romset `save_state` override in games.ini, and ties it to the existing sec 14 rule: a section in games.ini means someone here has actually run that cabinet, so a bulk verification tool run against games.ini only ever covers cabinets that have been played. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1103. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    exec/tests/syncretro_state_test.js diff
    SyncRetro: add the player-facing cabinet toggle A shared-saves console (today only the arcade) has one NVRAM and one high-score table for every player, and never offers a snapshot for that reason: a restore there would roll the shared table back. syncretro_lobby_private() previously stubbed this to "never private"; this wires it to a real per-player, per-console preference so a player can opt onto a machine of their own, where their scores are theirs and a game resumes where they left off. The preference lives in the stock per-user properties file (data/user/<####>.ini, [syncretro] cabinet.<console-id>) via userprops.js, not inside the per-console save directory itself: that directory is the private -home handed to the emulator core and what a sysop deletes to reclaim space from a dormant player, so a preference living there would vanish with it. Absent, unreadable, or a guest account all resolve to public -- userprops.js already no-ops a guest's set() and defaults its get(), and a guest account is shared, so a "private" cabinet keyed to it would be private in name only. The picker draws the current cabinet and a toggle hint only on a shared-saves console, and hides the hint (though not the line) for a guest, whose keypress cannot persist anything. Toggling re-runs the suspended-game marking pass, since a private cabinet's snapshots are invisible from the public one and back. The toggle is bound to "C", not "P" as an earlier sketch of this picker assumed: "P" is already this lobby's Prev-page hotkey, spelled out in the shipped footer prompt, and no installed console overrides it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1104. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    syncretro: fix save_state falsy-default bug and sweep data loss Two Important review findings on the suspend/resume lobby decision (7bb468efd5, 2026-08-02). syncretro_lobby_state_key()'s capability check had the same falsy-default `||` trap already fixed for auto_resume in that commit: `String(ini.console.save_state || "false")` only read correctly because `false || "false"` happens to still evaluate to "false" -- an explicit `save_state = false` auto-types to the JS boolean false via iniGetObject(), which is falsy, and the fallback string coincided with the wanted answer by luck rather than by design. Compare String(ini.console.save_state) directly, matching auto_resume's fix. The auto_resume check itself is pulled into its own syncretro_lobby_auto_resume(), reused by the fix below. syncretro_lobby_mark_resumable()'s sweep keyed "is this snapshot still current" off syncretro_lobby_state_key(), which answers "is a snapshot PERMITTED" -- gated on the sysop's auto_resume switch, the console/romset save_state capability, and the player's cabinet. The moment any of those toggled off, every ROM's permitted key became "", and the sweep -- which treats a key mismatch as a dead snapshot -- deleted every valid snapshot on the console on the next lobby entry. A policy toggle a sysop might flip back a minute later destroyed every player's saved game. A snapshot is dead only when its cartridge is gone or its core/ROM/options changed, never merely because permission is currently withheld, so the sweep now keys off the raw, ungated syncretro_state_key() instead. The sweep call is also skipped outright while auto_resume is off, so a disabled console performs no file operations on anyone's snapshots at all. exec/tests/syncretro_config_test.js gains the regression coverage: a snapshot whose raw key still matches its cartridge survives the sweep with auto_resume off and, separately, with save_state off, while a snapshot with a genuinely wrong key (a stand-in for a core upgrade) is still swept once permission is restored. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1105. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    exec/tests/syncretro_config_test.js diff
    exec/tests/syncretro_state_test.js diff
    syncretro: lobby decides suspend/resume permission and passes -state The lobby is the only half that knows all three inputs the suspend/resume decision needs: the console/romset save_state capability, the sysop's [state] auto_resume switch, and whether this player is on a private machine. syncretro_lobby_state_key() combines them into the key8 the door is handed on the command line, or "" when a snapshot is not permitted -- the door infers nothing from -home. syncretro_lib.js gains the supporting, UI-free pieces: syncretro_state_list() reads a player's snapshot directory in one directory() call regardless of cartridge count (the constraint the whole design exists to satisfy); syncretro_state_marked() and syncretro_state_sweep() mark a picker entry resumable and delete snapshots whose key no longer matches (a core upgrade cleans up after itself); syncretro_core_md5() hashes the libretro core once, cached on size+mtime like the existing ROM hash cache. Discovered ROM objects now carry their md5, which syncretro_lobby_state_key() needs and which discovery had computed and discarded. The lobby never receives -core, so syncretro_core_path() has to find the same core file the door will load on its own -- it mirrors syncretro_config.c's sr_find_core() (named core, else the lone "*_libretro" match, at the door root or one level into any sub-directory) so both halves hash the identical file. The picker marks a resumable cartridge's cell with a trailing " *" and the lobby loop refreshes marks and sweeps stale snapshots after every play, from one extra directory read. syncretro_lobby_private() is added as a placeholder that returns !shared_saves: the per-player cabinet-privacy toggle for shared consoles is a separate feature, and until it exists a shared-saves console is never private, which is the safe default. Fixed along the way: the state_key auto_resume check used `ini.state.auto_resume || "true"`, but Synchronet's iniGetObject() auto-types an ini value of "false" to the JS boolean false, which is falsy -- so an explicit `auto_resume = false` was silently replaced by the "true" fallback and the sysop's switch could never actually disable anything. Compare String(ini.state.auto_resume) directly instead. exec/tests/syncretro_config_test.js also gains coverage for the end-to-end decision (capability, auto_resume, per-romset override, shared cabinet) and is the regression test for the auto_resume bug above; this is broader than the plan's file list for this task, but the decision lives in the ini-merge path that file already covers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1106. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    src/doors/syncretro/main.c diff
    src/doors/syncretro/retro_core.c diff
    src/doors/syncretro/retro_core.h diff
    src/doors/syncretro/syncretro.h diff
    src/doors/syncretro/syncretro_door.c diff
    src/doors/syncretro/syncretro_state.c diff
    src/doors/syncretro/syncretro_state.h diff
    syncretro: write and restore save states on session end/start Wires suspend/resume into the door: -state <key> permits snapshots and names the file, sr_state_save()/sr_state_load() (syncretro_state.c) are called at main.c's done: label and right after rc_core_load_game() succeeds, and sr_state_path() names the snapshot <home>/<rom-stem>.<key8>.state so the lobby can tell a live snapshot from a stale one by filename alone (Task 1, 2026-08-02). rc_core_t had no serialize_size/serialize/unserialize members and retro_core.c resolved no such symbols, so add all three and resolve them through a new RC_RESOLVE_OPT() -- unlike RC_RESOLVE(), a missing symbol is not fatal. Save states are not required by the libretro API, and refusing to load a core over a missing one would trade a working game for a feature it never offered. The done: label's snapshot is additionally gated on core.game_loaded: done: is also reached when rc_core_load_game() itself fails, and at that point retro_init() ran but retro_load_game() did not, which is not a state retro_serialize() is documented to support. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1107. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/syncretro_state_test.js diff
    src/doors/syncretro/syncretro_state.c diff
    src/doors/syncretro/syncretro_state.h diff
    src/doors/syncretro/test_statekey.c diff
    Modified Files:

    exec/load/syncretro_lib.js diff
    src/doors/syncretro/CMakeLists.txt diff
    syncretro: pin the suspend/resume snapshot staleness key A libretro save-state blob carries no version stamp, so restoring one into a core, romset or option set it was not taken from feeds the emulator garbage. Add sr_state_key() (C) and syncretro_state_key() / syncretro_state_opts() (JS), which independently compute the same 8-hex-digit key from core_md5 + rom_md5 + flattened options: MD5 of "core_md5\nrom_md5\nopts", first 8 hex digits. The lobby will use this key to decide which cartridges show as resumable; the door will use it to name the snapshot file. If the two halves ever computed it differently, the lobby would mark a game as resumable and the door would then silently decline to resume it, with nothing reporting an error. test_statekey.c and exec/tests/syncretro_state_test.js pin both halves to the same golden value (38ed1f37) for identical fixed inputs, so any future drift between the two recipes fails a test instead of failing silently in production. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1108. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Added Files:
    

    docs/superpowers/plans/2026-08-02-syncretro-save-restore.md diff
    Plan: SyncRetro suspend and resume Six tasks implementing the design committed alongside it. Task 1 fixes the snapshot staleness key and pins it to one golden value that both halves assert, because the two computing it differently is the failure the design is exposed to and it reports no error: the picker would mark a cartridge resumable and the door would then decline to resume it. Task 2 gives the door the flag, the write and the restore; tasks 3 and 4 give the lobby the decision, the picker marks and the cabinet toggle; task 5 ships the two switches; task 6 documents and verifies. Carries the live-system constraints this repository imposes, since it is a running BBS: build.sh deploys through a symlink and must not be run, and exec/load and two packages' lobby.js are live the instant they are saved. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1109. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-syncretro-save-restore-design.md diff
    exec/load/door_deploy.js diff
    exec/load/syncretro_lib.js diff
    exec/load/syncretro_lobby.js diff
    src/doors/syncretro/LAUNCHER.md diff
    src/doors/syncretro/M3_MULTICORE.md diff
    syncretro: stop stating one BBS's storage topology as a general fact Several files asserted that the install and data_dir are an SMB mount shared with a second host. That is true of one system and of no other by default, and it was being used as the premise for design decisions in documents and comments a sysop reads to understand their own install. The decisions were right; the reasoning was overstated. A Synchronet install CAN be shared by more than one host and CAN sit on a network filesystem, and that possibility is enough to justify an append-only activity log, a derived cache that tolerates a lost update, and a deploy that refuses to rename over a running binary. Each now rests on that rather than on one site's layout. The measurements stay, framed as what they are: a remote Windows node paying a round trip per cartridge, CIFS reporting an mtime a second off from the local view, a rename onto an executing file deleting the target and then failing. Those are observations worth keeping, and worth not generalizing into claims about every BBS. Also drops the same premise from the suspend/resume design, where it was load-bearing for a claim that did not need it: an arcade cabinet's high-score table is already lost to a concurrent player on any install, with no network filesystem involved, because two nodes on one machine are enough. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1110. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-syncretro-save-restore-design.md diff
    src/doors/syncretro/GAMES_INI.md diff
    syncretro: record what a section in games.ini means A section means someone on this project has run that cabinet -- not that the romset exists, not that MAME has a driver for it. That is what makes the file a home for button labels, stick2 and boot_frames: each is a claim about a machine somebody played, and in a file where most sections were machine-generated none of them would be verifiable by inspection. Also points at the reverted bulk import as the durable archive of the 4740 names it added, since a sysop who owns those romsets still wants them, and games.local.ini is where entries nobody here has run belong. The suspend/resume design picks up the same rule to bound what any bulk verification of save_state may cover, and now states that the arcade ships with save_state off for every romset. The cabinet toggle still delivers the half of the request that asked for a way out of the shared high-score table, and enabling romsets later is a data change rather than a code one, so the verification tool is a separate deliverable with nothing depending on its timing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1111. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    xtrn/syncarcade/games.ini diff
    Revert "Added many more arcade games, based on mame 0.78 ROMs" This reverts 079b5fb887 (spec-11-bytes, 2026-07-31), taking games.ini from 4740 romset sections back to 181. A section in this file used to mean someone had run that cabinet and put it here deliberately, which is what makes the file a sane home for button labels, stick2, boot_frames and analog_rest. After the bulk import a section meant only that the romset exists in MAME 0.78: of the 4740 sections, every one carried a name and exactly five lines in the whole file were anything else. Restoring the smaller file restores that meaning, which the per-romset settings depend on. Load time is a secondary reason and a narrower one than it appears. The native door reads this file through xpdev's iniReadFile and was never on the slow path; only the lobby's File.iniGetAllObjects() was, and that is fixed in 7a0dabc561 (2026-07-24) for v3.22. The 204 KB cost fell on v3.21 and earlier alone. The names are not lost and need no file of their own: git show 079b5fb887:xtrn/syncarcade/games.ini recovers all 4740 entries, and that commit records where they came from. A sysop with a large collection can extract them into their own games.local.ini, which is where entries nobody here has run belong. Nothing curated is lost in the revert: the bulk commit dropped none of the 181 existing sections and changed none of their values, so its 354 deletions were re-sorting alone. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1112. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Added Files:
    

    docs/superpowers/specs/2026-08-02-syncretro-save-restore-design.md diff
    Design: SyncRetro suspend and resume A player asked for saved games on the arcade door. Restoring a snapshot on a shared cabinet rolls its high-score table back to whenever the snapshot was taken, so rather than policing snapshots the design gives a player a choice of machine: a public cabinet whose scores are everyone's and which never writes a snapshot, or their own private one, which behaves like the cartridge consoles already do. Suspend and resume then follow from which machine they are on, so the shared table cannot be rolled back structurally rather than by rule. The snapshot is written where every exit already converges, so a dropped carrier suspends the game as reliably as quitting does. Its staleness key -- core, romset and resolved options, which a libretro blob does not carry -- goes in the filename, so one directory read tells the picker which cartridges have a live saved game and lets it delete the ones a core upgrade invalidated, with no per-cartridge I/O. The door is told whether it may snapshot; it never infers that from where -home points. Two separate switches record two separate claims: whether the driver snapshots reliably, which is ours to state per romset, and whether the install offers the feature at all, which is the sysop's. Also corrects this spec's predecessor, which predicted both halves of the door would need to read shared_saves. Only the lobby does. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1113. Rob Swindell (on Debian Linux)
    Sun Aug 02 2026 22:34:05 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-syncretro-config-consolidation-design.md diff
    syncretro: mark the config-consolidation design implemented Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1114. Deucе
    Sun Aug 02 2026 22:19:46 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-08-02-qwk-certificate-authority-design.md diff
    docs: account for the CA wrapper already in xptls The provider-neutral CA layer described as future work now exists in src/xptls. Record the Ed25519 key, CSR, certificate, CRL, and path validation primitives shared by OpenSSL and Botan 3, including the encrypted and atomically replaced software-key storage floor. Separate that implemented mechanism from the QWK policy still to be built: hierarchical names, seven-day validity, packet replay state, active-set installation, and CRL-bundle distribution remain application work rather than responsibilities of the generic CA wrapper. Also bound the existing TLS support accurately. xp_tls already provides a configurable client with custom trust, hostname checks, client certificates, version reporting, and peer-chain diagnostics. Server sessions and a TLS-1.3-only profile remain future interface work, as do provider-backed keys and direct use of CA key handles. Co-Authored-By: Codex <noreply@openai.com>

  1115. Deucе
    Sun Aug 02 2026 22:08:52 GMT-0700 (PDT)
    Added Files:
    

    src/xptls/test_xp_ca.c diff
    src/xptls/xp_ca.h diff
    src/xptls/xp_ca_botan3.cpp diff
    src/xptls/xp_ca_file.h diff
    src/xptls/xp_ca_none.c diff
    src/xptls/xp_ca_openssl.c diff
    src/xptls/xp_ca_policy.h diff
    Modified Files:

    3rdp/build/GNUmakefile diff
    src/syncterm/CMakeLists.txt diff
    src/syncterm/GNUmakefile diff
    src/xptls/CMakeLists.txt diff
    Add provider-neutral certificate authority wrapper

  1116. Deucе
    Sun Aug 02 2026 21:54:36 GMT-0700 (PDT)
    Modified Files:
    

    3rdp/dist/Botan.tar.xz diff
    Upgrade vendored Botan to 3.12.0

  1117. Deucе
    Sun Aug 02 2026 20:45:47 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/CMakeLists.txt diff
    build: link Crypt32 with vendored Botan Propagate Botan's CryptoAPI dependency through the vendored CMake target when its Windows certificate-store module is enabled. Co-Authored-By: Codex <noreply@openai.com>

  1118. Deucе
    Sun Aug 02 2026 20:45:47 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/GNUmakefile diff
    build: link Botan static dependencies Use pkg-config --static for Botan so its Libs.private entries follow the Botan archive. This brings in Crypt32 when the Windows certificate-store module is enabled. Co-Authored-By: Codex <noreply@openai.com>

  1119. Rob Swindell (on Windows 11)
    Sun Aug 02 2026 20:14:18 GMT-0700 (PDT)
    Modified Files:
    

    src/build/Common.gmake diff
    Note why Win32 is excluded from PREFER_POLL The bare ifneq gives no hint that the exclusion is deliberate, and the Windows poll() path has never been compiled: WSAPoll() rejects an empty descriptor set and POLLPRI, both of which the PREFER_POLL code passes it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1120. Deucе
    Sun Aug 02 2026 20:06:11 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/telnets.c diff
    syncterm: declare asprintf use in TelnetS Include xpprintf.h in telnets.c so builds use the project's asprintf() declaration instead of relying on an implicit function declaration. Co-Authored-By: Codex <noreply@openai.com>

  1121. Deucе
    Sun Aug 02 2026 19:32:23 GMT-0700 (PDT)
    Modified Files:
    

    3rdp/build/GNUmakefile diff
    src/syncterm/CMakeLists.txt diff
    build: include Botan system certificate stores The minimized vendored Botan build enabled X.509 parsing but omitted the system certificate-store modules. xp_tls_botan3.cpp now includes and constructs System_Certificate_Store for Web-PKI validation, so the Raspberry Pi build failed as soon as it reached that source file. Enable the system-store facade and the flat-file CA-bundle backend on Unix. Select Botan's native system-store implementation on macOS and both Windows targets. Keep the CMake vendored module list synchronized with the GNU make build. Co-Authored-By: Codex <noreply@openai.com>

  1122. Rob Swindell (on Windows 11)
    Sun Aug 02 2026 19:20:50 GMT-0700 (PDT)
    Added Files:
    

    src/Directory.Build.props diff
    Modified Files:

    docs/v322_new.md diff
    Windows: raise FD_SETSIZE to 1024 for all MSBuild projects Winsock defaults FD_SETSIZE to 64, and nothing in the tree raised it. FD_SET() silently discards every socket past the 64th, after which select() can never report it ready. The JS event loop reaches that ceiling: js_internal.cpp polls its event list with select() on Windows (the poll() alternative is compiled only where PREFER_POLL is defined, which src/build/Common.gmake does for non-Win32 builds only, since 663ca552e6, 2021-03-31). Events are inserted at the head of the list and the fill loop walks it forward, so the oldest event is the first one dropped -- for a JS server that is the listening socket registered at startup. A Win32 JS server holding 64+ sockets therefore stops accepting new connections entirely while every established connection keeps working, and the kernel still completes the TCP handshake from the listen backlog, so it presents as a network fault rather than a server one. Reachable since the socket-callback event loop landed in 1928973941 (2021-04-02); ircd.js moved its accept path into it in d7cb93923c (2021-05-22), before which it polled its listeners directly each pass. Observed on vert.synchro.net, a Win32 IRCd hub with 57 server links. The value has to be identical in every translation unit -- fd_set is { u_int fd_count; SOCKET fd_array[FD_SETSIZE]; }, and sbbs.h exports js_socket_add()/js_socket_isset(), which take fd_set* across the sbbs.dll boundary -- so it is set in src/Directory.Build.props, which also covers xpdev for the solutions that build it outside sbbs3.sln. Redefining FD_SETSIZE is explicitly supported by winsock2.h, and ws2_32.dll tolerates the larger struct because select() and __WSAFDIsSet() only walk fd_count entries. Switching Windows to poll()/WSAPoll() instead is the other candidate fix; see issue #1212 for what currently stands in the way. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1123. Deucе
    Sun Aug 02 2026 18:51:07 GMT-0700 (PDT)
    Modified Files:
    

    src/syncterm/Manual.txt diff
    src/syncterm/Wren.adoc diff
    src/syncterm/bbslist.c diff
    src/syncterm/bbslist.h diff
    src/syncterm/menu_settings.c diff
    src/syncterm/scripts/menu_bbs_editor.wren diff
    src/syncterm/scripts/menu_bbs_editor_test.wren diff
    src/syncterm/scripts/menu_settings_ui.wren diff
    src/syncterm/scripts/menu_ui.wren diff
    src/syncterm/scripts/syncterm.wren diff
    src/syncterm/scripts/syncterm_menu.wren diff
    src/syncterm/scripts/ui_popup_test.wren diff
    src/syncterm/syncterm.c diff
    src/syncterm/syncterm.h diff
    src/syncterm/telnets.c diff
    src/syncterm/wren_bind.c diff
    src/syncterm/wren_bind_menu.c diff
    src/syncterm/wren_bind_menu_settings.c diff
    src/xptls/xp_tls.h diff
    src/xptls/xp_tls_botan3.cpp diff
    src/xptls/xp_tls_none.c diff
    src/xptls/xp_tls_openssl.c diff
    syncterm: authenticate TelnetS connections Replace the old accept-any-certificate TelnetS path with explicit server authentication. Trust Web PKI by default, allow a per-entry certificate instead, and deliberately fail with an empty trust store when neither is selected. Keep the trust sources mutually exclusive and reject blind trust through the configured TLS interface. On verification failure, capture and display the presented certificate chain with readable UTC validity dates and scrollable details. Allow named directory entries to install a selected certificate beside the INI file without overwriting an existing file, then bind that trust anchor to only that entry. Add exact-version TLS 1.2 and TLS 1.3 PSK support, record the strongest protocol previously negotiated, and require confirmation before a downgrade. Support global and per-entry client certificate identities, with file pickers rooted in the configuration directory and Delete clearing configured paths. Implement the policy consistently in the OpenSSL and Botan backends, including hostname verification and explicitly trusted leaf or intermediate certificates. Update the settings bindings, documentation, and Wren regression tests for the new configuration and certificate UI. Co-Authored-By: Codex <noreply@openai.com>

  1124. Deucе
    Sun Aug 02 2026 18:51:06 GMT-0700 (PDT)
    Added Files:
    

    docs/superpowers/specs/2026-08-02-qwk-certificate-authority-design.md diff
    docs: design QWK certificate authority Record the design for an automated private CA whose delegation tree follows QWKnet. A node authenticates through its existing QWK account, carries a CSR in a REP additional file, and receives a short-lived delegated BBS CA in the parent's QWK reply. This deliberately permits a node that has been offline beyond its certificate lifetime to re-enrol with a new key: the QWK account/password is the enduring authority, and stealing it is correspondingly sufficient to recover that identity. The certificate profiles use a single CN and matching one-item DNS SAN, seven-day BBS, service, and user certificates, separate CA/service/user keys, and a TLS 1.3 Ed25519/X25519 profile. BBS CAs may delegate without limit in the QWK tree. Telnet client authentication pins the direct local BBS issuer rather than accepting any leaf under the shared root. The offline root signs thirteen-month online intermediates. Their longer lifetime is the reason the design includes full X.509 CRLs: QWK packets distribute a CRL bundle; every validator understands it for each issuer, and a root CRL can kill a compromised intermediate's entire subtree. The document also records the unavoidable failure mode: a compromised intermediate controlling a node's only QWK path can withhold the CRL, so the eventual HTTPS distribution-point support is a separate follow-on. Finally, specify replay-safe CERTREQ/CERTREP envelopes, atomic certificate installation, the five-minute clock margin, session expiry enforcement, and a controlled mutual-TLS IRC-link handover so regular seven-day renewal does not require an avoidable network split. Co-Authored-By: Codex <noreply@openai.com>

  1125. Rob Swindell (on Windows 11)
    Sun Aug 02 2026 14:36:02 GMT-0700 (PDT)
    Modified Files:
    

    exec/emailval.js diff
    Allow Internet email address always, even when users can't send Internet email For Brian Davidson (Winzlo).

  1126. Rob Swindell (on Windows 11)
    Sun Aug 02 2026 14:35:08 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/services.ini diff
    Fix repeated Options key in [IMAPS] section Caught by Claude.Ai.

  1127. Rob Swindell
    Sun Aug 02 2026 14:09:28 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/server.js diff
    exec/tests/ircd/network.js diff
    Merge branch 'ircd-tests' into 'master' ircd: BURST 0 catch-up for +p/+s channels + test improvements See merge request main/sbbs!718

  1128. Nigel Reed
    Sun Aug 02 2026 14:09:28 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/server.js diff
    exec/tests/ircd/network.js diff
    ircd: BURST 0 catch-up for +p/+s channels + test improvements

  1129. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 23:40:01 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/js_file.cpp diff
    Parse an .ini once in File.iniGetAllObjects() It asked for each section's keys by name, and that lookup scans the file from the top -- so the cost was O(sections * lines). SyncArcade's lobby reads games.ini on every run for the cabinet titles, and at 4740 sections that read took two seconds on an idle machine; a loaded one paid seven, which reads as the lobby rescanning its ROMs when it is doing nothing of the kind. Parse the file into per-section lists once instead, the way scfglib1.c and scfglib2.c already read the configuration: 2005ms -> 66ms on that file. The section list still comes from iniGetSectionList(), so a duplicate section name is still collapsed to its first occurrence. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1130. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 20:39:34 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: the crypto abstraction and its libraries are already in the tree The crypto-library section posed the choice as one to be made from scratch. It is largely made. src/xptls/ provides xp_crypt, a portable abstraction with Botan 3, OpenSSL and null backends whose outputs are byte-compatible by design, and xp_crypt.h:66 already declares a KDF interface with PBKDF2-HMAC-SHA256, scrypt, and a placeholder comment naming Argon2id as gated on OpenSSL 3.2+ or Botan support. The libraries are in place too: Botan 3 is vendored as 3rdp/dist/Botan.tar.xz and built only when the probe finds neither system Botan 3.6+ nor OpenSSL 3.0+ (3rdp/build/GNUmakefile:61-70), so every build already resolves to one of the two. Neither is a new dependency to argue for, and a vendored Argon2 is redundant if Argon2id reaches xp_crypt through either backend. What actually remains is narrower: add Argon2id or accept scrypt; link xp_crypt where the user database is touched, since it is consumed by SyncTERM and the SSH code but not by sbbs3, which leaves the sbbsecho and makeuser linkage as the real work; and decide what covers key wrapping, memory hygiene and a hardware path, none of which xp_crypt does today. The candidate list is rewritten around the two backends that exist, with libsodium's objection restated as "a third crypto library in a tree that carries two" rather than any technical shortcoming. Three smaller points. The threat model does not depend on sysops keeping backups, and would survive the observation that many do not: the BBS makes the copies itself, daily, without being asked, which is where the seven cleartext copies on the surveyed system came from -- none of them a deliberate backup. How rare the no-TPM case is remains contested, and the counter-view is recorded: that essentially every sysop has a TPM and the Raspberry-Pi-and-stranger-hardware population is a special case rather than a design constraint, which would make the file fallback a compatibility path rather than something the design is shaped around. And the invisibility of the storage choice to users is recorded as not a gap to be filled, with no protocol signal to be invented for it. A user who cared already uses a distinct password per system. The design exists for the ones who do not and will never think about it, and telling them which BBS hashes would change nothing about what they type. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1131. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 20:32:34 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    src/sbbs3/websrvr.cpp diff
    websrvr: load a file's cost before checking download credits (#1192) The credit gate added in 72303693ef (2026-07-31) compared against a cost that was always zero. resolve_vpath() loaded the file record at file_detail_index, and smb_getfile() skips smb_getmsghdr() entirely at that detail level, while cost is only ever set from the SMB_COST header field. Every comparison against it therefore passed: costed files downloaded free of charge for authenticated users as well as anonymous ones, while user_downloaded_file() still billed the account afterward (it reloads the record itself at file_detail_normal), so a user could go credit-negative. Read the header record when the directory's files can cost something. A free directory has none to report, since loadfile() zeroes the cost and download_is_free() short-circuits on the same DIR_FREE flag before any credit comparison, so the index record alone still suffices there and loadfile() is not asked to open the base twice. Verified against a live file base: an unauthenticated request for a 2,639,434-credit file is refused with 401, a zero-cost file in the same non-free directory returns 200, and a file in a free directory transfers in full. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1132. Rob Swindell
    Sat Aug 01 2026 20:08:53 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/core.js diff
    Merge branch 'ircd-netsplit-fix' into 'master' ircd: fix netsplit stack overflow on deep server topologies See merge request main/sbbs!714

  1133. Nigel Reed
    Sat Aug 01 2026 20:08:53 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/core.js diff
    ircd: fix netsplit stack overflow on deep server topologies

  1134. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 19:42:16 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/exec.cpp diff
    Always append .js to an extensionless module name js_execfile() resolved a command containing a path separator by trying the name as given first and appending .js only when that failed, so the two branches of one function disagreed about what an extensionless name means. Everywhere else it means "<name>.js" unconditionally: exec_bin() appends .js (and then .bin) without ever trying the bare name, the no-separator branch here appends it to each directory it searches, and jsexec appends it to every candidate path. Do the same here. A module file carrying no extension can no longer be run by path. Nothing else could run one either - not by bare name, not through exec_bin(), and not through jsexec since 8f8a8f9249 (defeat-12-living, 2026-08-01). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1135. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 19:38:57 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/targets.mk diff
    Order the sub-makes after the text.h regeneration In an official tree with SBBSCTRL set, text.h is generated from ctrl/text.dat by textgen, and the rule also depends on the textgen binary - so a build that relinks textgen rewrites the header. Objects built in this directory depend on text.h through their generated .d files, but the scfg/uedit/umonitor/gtk* sub-makes are phony targets carrying no such dependency. Under -j they can compile a source of ours that includes text.h while textgen is still writing it: ../date_str.c:167:67: error: 'Never' undeclared Give each of those targets an order-only prerequisite on text.h. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1136. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 19:34:30 GMT-0700 (PDT)
    Modified Files:
    

    src/sbbs3/exec.cpp diff
    src/sbbs3/jsexec.cpp diff
    Append the implicit .js extension to path-form module names too A JavaScript module command-line with no filename extension gets ".js" appended - but only when the name contains no path separator. sbbs_t::js_execfile() appends it on the branch that searches the startup, mods and exec directories; a name with a separator is copied verbatim and then fails its own existence check. So a "?"-prefixed external editor or program command like "?../xtrn/hermedit/hermedit" cannot find hermedit.js, even though exec_bin() located it a moment earlier. Append the extension on the verbatim branch as well, after the name as given fails to resolve, so a script that genuinely carries no extension still loads. jsexec had the same gap for a different reason: js_ext() tested strchr(fname, '.'), which matches the dot in a relative name such as "../xtrn/probe/probe" and concludes the name already has an extension. Test with getfext() instead, which looks only at the filename component. One behavior change falls out of that: an extensionless script named by path no longer loads verbatim, and is now treated the way a bare "jsexec noext" has always been treated - as a request for noext.js. Both gaps surfaced on merge request !717. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1137. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 19:31:12 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: pin down the Windows versions behind the secret-storage options The Windows rows in the key-storage table were flagged as unverified. They are now checked against the API documentation and carry their minimum supported versions: CryptProtectData and CredWriteW are Windows XP and Server 2003, and NCryptProtectSecret is Windows 8 and Server 2012, desktop apps only. The practical answer is that this is not a version question. The MSVC project targets the Windows 10 SDK with toolset v143, so all three are available on any Windows a current Synchronet build runs on, and choosing between them turns on their properties rather than on availability. One caveat is recorded as not applying: DPAPI's interactive CRYPTPROTECT_PROMPTSTRUCT flow is deprecated for removal in February 2027, but an unattended service passes NULL and takes the non-interactive path. Also drops an unverified claim that Credential Manager's per-item blob limit is "a few kilobytes". The limit is small and the figure was not confirmed; what matters is that it is ample for one key and useless in bulk, which is what the row now says. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1138. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 18:28:39 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: cite the Gmail precedent, and correct two overstated costs Three corrections, all of which make the hashing branch cheaper than the document claimed. The question that started this analysis was how large providers support digest authentication without holding cleartext passwords. The answer -- that they do not support it -- was never recorded. Gmail's IMAP, POP3 and SMTP servers offer XOAUTH2 and credentials over TLS; CRAM-MD5, DIGEST-MD5 and APOP are absent. Faced with the same theorem this document derives, the largest mail provider in the world dropped the mechanisms rather than keep the passwords recoverable. Their fallback for clients that cannot do OAuth is the same shape recommended here for MQTT: an app password is a generated 16-character credential, scoped to one application or device, revocable individually, and invalidated when the account password changes. Two limits are recorded with it -- Google can require 2-Step Verification and can afford to break non-complying clients, and their scale makes an at-rest breach a different kind of event -- so the precedent is cited for the choice, not for the weighing behind it. The TLS mail listeners already ship, so the transport prerequisite shrinks from building to enabling. ctrl/services.ini defines [IMAPS] on 993 with Options=TLS, and ctrl/sbbs.ini defines TLSSubmissionPort 465 and TLSPOP3Port 995. What remains is to enable and document them, since both IMAP services ship Enabled=false, and to decide what the cleartext ports do afterwards. STARTTLS on 143 still does not exist and is optional if 993 is the answer. None of this changes the separate point that a server-side port is not a replacement unless the client can use it. And the key-storage fallback was described as "a mode-0600 file" and treated as the floor, as though the only alternative to a TPM were a secret sitting in the open. There is a wide range in between, most of it portable and cheap. The rungs are not degrees of cryptographic strength but a question of which adversary each defeats, and the three that matter are different people: someone holding a backup, something else running as the BBS user, and someone with the machine. The two free rungs are the largest steps available. Having the supervisor hand the key over keeps it out of the filesystem the BBS user can read at all -- systemd's LoadCredential= has systemd read the key as root and place it in a tmpfs readable only by that service, and Windows has the same shape through a service account and an ACL. This does not stop a live compromise of the process holding the key, which holds it by definition, but it stops offline reading: a backup, a stolen disk, a file-disclosure bug, or any other process running as sbbs. Keeping the key outside the installation tree aims at this document's threat model directly, since backups take the BBS directory. Above those: a passphrase-protected keyset, which this tree already uses for the TLS private key (ssl.c:480-482); a machine-bound value mixed in, so a backup restored onto other hardware is useless; mlock(); then the OS facilities and TPM sealing. Two corrections of scope come with that. Unattended startup does not conflict with hardware-backed protection, since a TPM is read by the machine and not by a person, so the constraint recorded earlier rules out only the passphrase-at-startup variant. And the no-TPM case is narrower than claimed: Windows 11 requires TPM 2.0, most x86 hardware since roughly 2016 ships a firmware TPM, and macOS has the Secure Enclave behind the Keychain. The genuine gaps are single-board computers, small VPS instances with no virtual TPM, older hardware, and firmware TPMs left disabled -- host types BBSes do run on, so the fallback is not hypothetical, but a minority rather than the default. Finally, since a new or additional crypto library is likely part of this work, the selection criteria are extended from "which KDF" to four: a modern password KDF, authenticated key wrapping, memory-hygiene primitives, and a PKCS#11 or provider path that makes hardware a configuration choice rather than per-platform code. libsodium and OpenSSL are added as candidates and scored against those. The KDF is revisable later because records are self-describing; the key-protection facilities are not, which is why they belong in the decision rather than after it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1139. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 17:58:48 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: weigh the two storage options against each other honestly This pass is about the comparison the document was failing to make, and about a claim that made it look like there was nothing to compare. "Why the digest authentication schemes must go" was stated unconditionally. It opened by observing that a server verifying an HMAC keyed by the password must hold something password-equivalent, and that no storage format changes this. Encryption changes it exactly: it holds the password and can recover it, which is the reversibility the whole trade is about. The section therefore read as though the deprecations followed from moving credentials out of user.tab, when they are the price of the hashing branch alone. It is now titled and framed as conditional, and its table column says "fate under hashing". The two branches were also argued asymmetrically. Encryption's drawbacks appeared as a list where the choice is posed; hashing's -- the digest deprecations, password-by-email, retroactive auditing, client reconfiguration, the transport regression -- were scattered across four later sections, so a reader had one column in front of them and had to assemble the other. A side-by-side ledger now sits at the decision point, covering the three properties, the failure mode, each capability that dies, client reconfiguration, transport, key management and the portable floor. Neither column is empty, and the choice is not deducible from it: hashing's costs are certain, immediate and land on identifiable users, while encryption's is a low-probability event with an unbounded blast radius. That weighing is now recorded rather than left implicit, as a judgment and not a measurement. At-rest exposure is both the more likely and the more severe threat: it is present on every system since each account was created and in every backup, where interception requires an attacker positioned on a path, and the realistic adversary for a hobby BBS is commodity infostealer malware scraping files rather than anyone on the wire. One interception yields one credential for one session; one copy of user.tab yields every account retroactively, with no detection and no expiry. The protection being defended is narrower than it looks, besides -- CRAM-MD5 and APOP cover the mail protocols, while terminal login, FTP and HTTP Basic send the password in the clear today and are untouched by them (login.cpp:102, ftpsrvr.cpp:2684, websrvr.cpp:2142). Two qualifications are recorded as insufficient to reverse it: an intercepted CRAM-MD5 exchange is an unsalted MD5 HMAC over a known challenge and so is offline-crackable, and the affected users currently have both exposures. Two things follow. A sysop confident in their storage whose users are on hostile networks has a real argument for encryption. And refusing plaintext authentication on unencrypted connections is not negotiable, since silently moving CRAM-MD5 users to PLAIN on port 110 is the worst outcome available and the default if nobody decides otherwise. Preceding that, two claims defending the deprecations are withdrawn. Hashed storage "needs no user action" only where nothing about the login changes -- terminal, FTP, HTTP Basic, and clients already sending plain credentials over TLS -- and not for anyone who must reconfigure a mail client. And a server-side replacement is not a replacement unless the client can reach it: a POP3 client with CRAM-MD5 and no TLS sends a digest today and never transmits the password, but after removal either stops working or sends it in cleartext. That is a transport-security loss for a subset in exchange for an at-rest gain for all, and calling the server-side work a "replacement path" hid that it is a trade. SCRAM does not rescue that population either, since the clients in question do not implement it. Finally, the key-storage section stopped treating a preinstalled package as an operating-system capability. It listed systemd-creds as what "Linux" offers and the BSDs as having "nothing standard", comparing a package that happens to be preinstalled against one that happens not to be. Only DPAPI and the macOS Keychain are base-system facilities; systemd-creds is systemd, which Alpine, Void, Devuan and OpenRC systems do not have, and TPM2 sealing is hardware plus tpm2-tss, a package or port everywhere including the BSDs. The axis is default availability, not standardness, and the real capability question is whether the machine has a TPM -- which cuts across OS families. The table now records where each facility comes from, adds the row that was missing (a mode-0600 file, the floor, which works everywhere), and the design names none of them: Synchronet reads the key from a location the sysop configures, and how that location is protected is their platform's business. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1140. Rob Swindell
    Sat Aug 01 2026 17:53:01 GMT-0700 (PDT)
    Added Files:
    

    xtrn/hermedit/.gitignore diff
    xtrn/hermedit/HERMedIT.js diff
    xtrn/hermedit/README.md diff
    xtrn/hermedit/fonts/tdfont_index.json diff
    xtrn/hermedit/fonts/tdfont_map.json diff
    xtrn/hermedit/install-xtrn.ini diff
    xtrn/hermedit/package.json diff
    xtrn/hermedit/scripts/build-font-index.mjs diff
    xtrn/hermedit/scripts/bundle.mjs diff
    xtrn/hermedit/src/core/attr.ts diff
    xtrn/hermedit/src/core/cp437.ts diff
    xtrn/hermedit/src/core/doc.ts diff
    xtrn/hermedit/src/core/dropfiles.ts diff
    xtrn/hermedit/src/core/quote.ts diff
    xtrn/hermedit/src/core/shapes.ts diff
    xtrn/hermedit/src/core/std.ts diff
    xtrn/hermedit/src/core/syntax.ts diff
    xtrn/hermedit/src/core/tdf.ts diff
    xtrn/hermedit/src/host/input.ts diff
    xtrn/hermedit/src/host/sbbs.ts diff
    xtrn/hermedit/src/host/types.ts diff
    xtrn/hermedit/src/main.ts diff
    xtrn/hermedit/src/smoke.ts diff
    xtrn/hermedit/src/ui/charsets.ts diff
    xtrn/hermedit/src/ui/controller.ts diff
    xtrn/hermedit/src/ui/fontpicker.ts diff
    xtrn/hermedit/src/ui/keys.ts diff
    xtrn/hermedit/src/ui/modals.ts diff
    xtrn/hermedit/src/ui/screen.ts diff
    xtrn/hermedit/src/ui/theme.ts diff
    xtrn/hermedit/src/ui/widgets.ts diff
    xtrn/hermedit/tsconfig.build.json diff
    xtrn/hermedit/tsconfig.json diff
    xtrn/hermedit/types/build.d.ts diff
    xtrn/hermedit/types/node-test-shim.d.ts diff
    xtrn/hermedit/types/synchronet.d.ts diff
    Merge branch 'hermedit' into 'master' xtrn/hermedit: add HERMedIT, a CP437 art and word-processing message editor See merge request main/sbbs!717

  1141. HM Derdok
    Sat Aug 01 2026 17:53:01 GMT-0700 (PDT)
    Added Files:
    

    xtrn/hermedit/.gitignore diff
    xtrn/hermedit/HERMedIT.js diff
    xtrn/hermedit/README.md diff
    xtrn/hermedit/fonts/tdfont_index.json diff
    xtrn/hermedit/fonts/tdfont_map.json diff
    xtrn/hermedit/install-xtrn.ini diff
    xtrn/hermedit/package.json diff
    xtrn/hermedit/scripts/build-font-index.mjs diff
    xtrn/hermedit/scripts/bundle.mjs diff
    xtrn/hermedit/src/core/attr.ts diff
    xtrn/hermedit/src/core/cp437.ts diff
    xtrn/hermedit/src/core/doc.ts diff
    xtrn/hermedit/src/core/dropfiles.ts diff
    xtrn/hermedit/src/core/quote.ts diff
    xtrn/hermedit/src/core/shapes.ts diff
    xtrn/hermedit/src/core/std.ts diff
    xtrn/hermedit/src/core/syntax.ts diff
    xtrn/hermedit/src/core/tdf.ts diff
    xtrn/hermedit/src/host/input.ts diff
    xtrn/hermedit/src/host/sbbs.ts diff
    xtrn/hermedit/src/host/types.ts diff
    xtrn/hermedit/src/main.ts diff
    xtrn/hermedit/src/smoke.ts diff
    xtrn/hermedit/src/ui/charsets.ts diff
    xtrn/hermedit/src/ui/controller.ts diff
    xtrn/hermedit/src/ui/fontpicker.ts diff
    xtrn/hermedit/src/ui/keys.ts diff
    xtrn/hermedit/src/ui/modals.ts diff
    xtrn/hermedit/src/ui/screen.ts diff
    xtrn/hermedit/src/ui/theme.ts diff
    xtrn/hermedit/src/ui/widgets.ts diff
    xtrn/hermedit/tsconfig.build.json diff
    xtrn/hermedit/tsconfig.json diff
    xtrn/hermedit/types/build.d.ts diff
    xtrn/hermedit/types/node-test-shim.d.ts diff
    xtrn/hermedit/types/synchronet.d.ts diff
    xtrn/hermedit: add HERMedIT, a CP437 art and word-processing message editor

  1142. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 17:25:22 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: correct what hashing actually costs, and what the sentinel can rest on Two claims in this design were wrong in the same way: each asserted that something could not happen, where the code says otherwise. The first was that encryption buys "a capability that will never be used". Synchronet recovers a stored password in at least four places today, and all four survive under encryption and die under hashing: the digest authentication mechanisms; mailing a user their forgotten password (login.js:90-134, on by default); auditing every account against password.can (badpasswords.js); and auditing every account for weak, obvious or shared passwords (chksetup.js:126-165). The last is not incidental. chksetup.js builds password_list[password] across every account precisely to find users who share one, so making that unanswerable is P1 -- the stated goal of this design. One of its own properties exists to destroy a capability a sysop has today and may reasonably value. So the argument is restated as what it is: not that reversibility is unused, but that each of those capabilities is one Synchronet is better off without. Digest authentication is the thing being argued against rather than an independent benefit. Mailing a password sends a live credential in cleartext to a mailbox the BBS does not control and leaves it there, when a reset does the same job. Retroactive auditing is replaceable by enforcement at set time, which check_pass() already performs on the interactive paths. Detecting shared passwords has no replacement and goes deliberately. That is a value judgment about which features should exist, and a sysop who disagrees about any of the four has a real argument for encryption. Only the failure mode -- total and retroactive on key disclosure, against hashing's per-account degradation -- survives independent of it. Two consequences elsewhere. login.js was missing from the cleartext-sink audit and is added, flagged as enabled by default. And the feature removals are re-attributed throughout: they are the price of choosing hashing, not of moving credentials out of user.tab, since encryption would keep every one of them. That is a materially different trade to put in front of a sysop. The second wrong claim was that check_pass() guarantees no account holds a value shorter than MIN_PASS_LEN, which would have made a short sentinel safe by construction. It does not. check_pass() is policy on three paths -- signup, the change-password flow, and an advisory entry point for scripts -- and the sysop-facing tools are where it is absent. The terminal user editor filters through getstr() but accepts any length including one byte; the standalone UserEdit GUI is a plain text field and enforces neither; user.security.password, makeuser and makeuser.js copy through unvalidated; and third-party tools, imports and text editors answer to nothing. An earlier justification from getstr() was wrong for the same reason and is also withdrawn. The design no longer rests on either. A collision is tolerable rather than impossible, since new code never reads USER_PASS and a colliding record affects one account on a reader predating the change, and migration verifies instead of assuming: the conversion pass scans every record for the chosen sentinel before writing any and picks another if it collides. The value is chosen to be implausible on every path rather than impossible on some -- non-printable, from a control range clear of tab, LF, CR and the attribute-code 0x01 -- and randomized per installation rather than compiled in, because a published constant would let anyone present the known byte to a downgraded reader and authenticate as anyone without the file at all. Resisting that needs entropy, so the sentinel is several bytes rather than one, which still returns most of LEN_PASS to the rest of the record. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1143. Rob Swindell
    Sat Aug 01 2026 16:28:28 GMT-0700 (PDT)
    Added Files:
    

    xtrn/synthkart/ansi_art/mt-evoke2014.ans diff
    xtrn/synthkart/src/render/frames/Scene3d.ts diff
    Modified Files:

    xtrn/synthkart/README.md diff
    xtrn/synthkart/build.sh diff
    xtrn/synthkart/install-xtrn.ini diff
    xtrn/synthkart/package.json diff
    xtrn/synthkart/src/game/Game.ts diff
    xtrn/synthkart/src/highscores/HighScoreDisplay.ts diff
    xtrn/synthkart/src/main.ts diff
    xtrn/synthkart/src/render/Renderer.ts diff
    xtrn/synthkart/src/render/frames/FrameManager.ts diff
    xtrn/synthkart/src/render/frames/FrameRenderer.ts diff
    xtrn/synthkart/src/synchro/Compat.d.ts diff
    xtrn/synthkart/src/ui/CarSelector.ts diff
    xtrn/synthkart/src/ui/CupStandings.ts diff
    xtrn/synthkart/src/ui/TrackSelector.ts diff
    xtrn/synthkart/src/util/Config.ts diff
    xtrn/synthkart/synthkart.js diff
    Merge branch 'synthkart-sync-1210' into 'master' xtrn/synthkart: sync from upstream and write the high-score server into [highscores] Closes #1210 See merge request main/sbbs!716

  1144. HM Derdok
    Sat Aug 01 2026 16:28:28 GMT-0700 (PDT)
    Added Files:
    

    xtrn/synthkart/ansi_art/mt-evoke2014.ans diff
    xtrn/synthkart/src/render/frames/Scene3d.ts diff
    Modified Files:

    xtrn/synthkart/README.md diff
    xtrn/synthkart/build.sh diff
    xtrn/synthkart/install-xtrn.ini diff
    xtrn/synthkart/package.json diff
    xtrn/synthkart/src/game/Game.ts diff
    xtrn/synthkart/src/highscores/HighScoreDisplay.ts diff
    xtrn/synthkart/src/main.ts diff
    xtrn/synthkart/src/render/Renderer.ts diff
    xtrn/synthkart/src/render/frames/FrameManager.ts diff
    xtrn/synthkart/src/render/frames/FrameRenderer.ts diff
    xtrn/synthkart/src/synchro/Compat.d.ts diff
    xtrn/synthkart/src/ui/CarSelector.ts diff
    xtrn/synthkart/src/ui/CupStandings.ts diff
    xtrn/synthkart/src/ui/TrackSelector.ts diff
    xtrn/synthkart/src/util/Config.ts diff
    xtrn/synthkart/synthkart.js diff
    xtrn/synthkart: sync from upstream and write the high-score server into [highscores]

  1145. Rob Swindell
    Sat Aug 01 2026 16:27:51 GMT-0700 (PDT)
    Added Files:
    

    xtrn/zzt/zzt.example.ini diff
    Modified Files:

    xtrn/zzt/.gitignore diff
    xtrn/zzt/README.md diff
    xtrn/zzt/install-xtrn.ini diff
    xtrn/zzt/src/game.ts diff
    xtrn/zzt/src/sounds.ts diff
    xtrn/zzt/src/zzt.ts diff
    xtrn/zzt/zzt.js diff
    Merge branch 'zzt-sync-1209' into 'master' xtrn/zzt: sync from upstream and install the high-score server where the game reads it Closes #1209 See merge request main/sbbs!715

  1146. HM Derdok
    Sat Aug 01 2026 16:27:51 GMT-0700 (PDT)
    Added Files:
    

    xtrn/zzt/zzt.example.ini diff
    Modified Files:

    xtrn/zzt/.gitignore diff
    xtrn/zzt/README.md diff
    xtrn/zzt/install-xtrn.ini diff
    xtrn/zzt/src/game.ts diff
    xtrn/zzt/src/sounds.ts diff
    xtrn/zzt/src/zzt.ts diff
    xtrn/zzt/zzt.js diff
    xtrn/zzt: sync from upstream and install the high-score server where the game reads it

  1147. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 16:00:15 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: reopen hashing-vs-encryption, and state what storage cannot touch The document read as though hashing were decided. It is not: the question was raised as encrypted password storage and encryption is still argued for. "Why encryption was rejected" is now "Hashing or encryption", the recommendation is labelled as a recommendation, and the choice is the first entry under open questions. Everything downstream -- pass.tab, the record format, the migration -- is compatible with either, since both store an opaque per-user credential that only the authentication path interprets. One thing about it is settled, as a requirement rather than a preference: no scheme may require an operator to type a key at startup. A BBS restarts when its machine does, unattended, and a design that will not come back up on its own is not a candidate however good its cryptography. A new section states what no storage design changes. Most protocols Synchronet speaks transmit the password and ask the server to check it -- terminal login, FTP PASS, HTTP Basic, SMTP/POP3/IMAP PLAIN and LOGIN -- so the cleartext exists in the process on every login, in a stack buffer in the terminal case (login.cpp:31). A core dump from a server handling a login can therefore contain a live password, and it can reach swap. Zeroizing after use is hygiene, not a fix; the window can be shortened, not closed. This is the same fact as "a malicious sysop cannot be mitigated", stated from the other end, and only SCRAM or FIDO2 escape it. The key-storage question gets real detail instead of a gesture, starting with a correction of scale: encryption puts one master key in an OS facility, not thousands of user credentials -- the records stay in pass.tab as file data. A table now covers DPAPI, Credential Manager, CNG/DPAPI-NG, systemd-creds, direct TPM2 sealing, the kernel keyring and the macOS Keychain, with what each does unattended and where it fails. systemd-creds with TPM2 sealing is the best Linux fit; the kernel keyring is the wrong tool because it does not survive a reboot; the BSDs have nothing standard, which is the real portability cost. The Linux facts were measured on a Debian 13 host, and the Windows and macOS rows are flagged as documentation rather than measurement. The sentinel argument is rebuilt on the right foundation. It claimed a control byte was unmatchable because getstr() rejects anything below a space, which does not survive scrutiny: HTTP Basic and SMTP/IMAP PLAIN carry base64 that decodes to arbitrary bytes, makeuser takes a password from argv, and the JavaScript path takes what it is given. The guarantee comes instead from check_pass() (userdat.c:4302), which every password-setting path uses and which rejects anything shorter than MIN_PASS_LEN, so a sentinel of one to three bytes is something no account can legitimately hold. Unmatchability is not achievable at all against an adversary holding the file, since a comparison is against a value they can read and replay. So the sentinel's claim is narrowed to what is true: it converts "nobody is asked for a password, so everybody gets in" into "an attacker needs both the file and a reader predating the change". It should be randomly generated per installation rather than compiled in as a constant -- neither survives reading the file, but a constant is defeated by reading the source. Finally, a copyedit pass. The document kept announcing that its points were worth stating, honest, or belonged in the document, which says nothing a reader cannot judge and pads every paragraph carrying an argument. Roughly twenty of those wrappers are gone; the claims they wrapped are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1148. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 15:33:57 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: scope the password design honestly and narrow its argument Third pass, following review. Most of this is retraction. The case against encryption rested on four claims that are now withdrawn: that a sysop necessarily holds the key; that the key would sit on the same disk, in the same backup, as the data; that two users with the same password would encrypt to the same ciphertext; and that encryption fails the non-usability property by definition. The first three each evaluated encryption at its worst instantiation and rejected the primitive for the result, which is an argument available against anything -- an unsalted single-round SHA-256 is "hashing" too, and it would fail every property this document sets out. The fourth was circular: it read the property as "is a one-way function" and then observed that encryption is not one. A ciphertext record is not a credential; it cannot be presented to a login prompt and without the key it authenticates nothing. The property survives and keeps its job -- ruling out cleartext, and ruling out the CRAM-MD5 midstate, which is directly presentable as a credential with no key at all -- but encryption is not in that class and is now recorded as satisfying it. Which leaves encryption, competently built, meeting every property this document asks for and beating hashing on one: against a file-only adversary there is no offline attack at all without the key, where a hash only makes one expensive. A weak password survives a stolen ciphertext and does not survive a stolen hash. So the rejection is now narrow, and rests on two things. Encryption fails totally and retroactively when it fails, where hashing has no single secret whose loss exposes everyone and charges the attacker per account instead. And the BBS never needs to recover a password, only to answer yes or no about one, so reversibility is a capability that will never be used and is paid for in key management that hashing does not incur. The key-management cost is also stated at its true size. Every operating system Synchronet runs on has secret storage, and distributing a key to a multi-host installation means provisioning the same secret into each host, not federating their key stores -- an ordinary setup step of the same kind as installing a TLS private key. What remains is a manual step per host, repeated on rotation, with the secret outside any key store in transit. That is some cost, not much, and the failure mode is what actually decides the question. The document also now states its own scope, and the criticism of it. An analysis that answers every existing use of passwords with "passwords, but stored more carefully" is a narrow answer to a broad problem, and pairing it with the removal of working features makes the narrowness harder to excuse. Most of that is correct. A large share of the sites catalogued here should not use a password at all: the MQTT broker wants an issued API key, qtmonitor wants the key it was issued rather than a human's login, door dropfiles want a per-session token or nothing, and the human-facing surfaces want FIDO2 on the web, public keys at the terminal, and client certificates for mail. Each of those is a larger improvement than this design is. What defends proceeding is that storage is the floor rather than the ceiling. No post-password mechanism retires an existing password -- a BBS with a thousand records still has a thousand passwords the day FIDO2 ships, and most of those users will never enrol anything. Storage is the only measure that requires no user action, which matters when the threat is a file that leaks rather than a user who chooses badly. And it is a precondition rather than a competitor, since SCRAM stores the salted iterated verifier this design already builds. Accordingly the removed mechanisms are recorded as a cost rather than as cleanup, in "What this delivers" alongside the limitations, and the rule that nothing is removed without a replacement path is stated generally rather than only for IMAP. FIDO2 and API keys are named for the first time, in place of gesturing at the families they belong to. FIDO2 is the strongest of the post-password options and the one users would plausibly adopt: the private key is not extractable even by the user, the server stores a public key, and a leaked credential file is inert rather than merely expensive. Being origin-bound, it addresses the reused-credential asset by construction instead of by cost. Its limit is transport rather than merit -- WebAuthn is a browser API -- which is why the post-password map is three protocols and not one. For MQTT the standard answer has a name, API key generation, and the lifecycle is the point rather than the value: issued to a client rather than to a person, revocable and rotatable independently, high-entropy so no KDF is needed, never typed. Concretely, revoking a sysop's broker access today means changing the password they log into the BBS with, and since authenticate_psk() compares against cfg->sys_pass it revokes broker access for every other sysop at the same time. The residue is stated too: TLS-PSK is symmetric, so API keys fix reuse and revocation completely and the at-rest problem only partly, where client certificates need no shared secret at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1149. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 14:44:57 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: settle the pass.tab record format and sharpen the threat model Second pass over the hashed-password design, following review. The threat model now names two assets rather than dismissing one. An earlier draft said the asset being protected "is not the user's access to this BBS", which overcorrected: a leaked user.tab is directly usable to log in as any user on every server the BBS runs. Reuse elsewhere stays primary because the harm is unbounded and nobody here can see it happen or undo it; access to this BBS is secondary because it is bounded and a mass reset ends it, not because it is small. That adds a third property, P0 -- the stored record must not itself authenticate. It is free once the other two are met, but it decides the second asset, and a proposal can satisfy it and still achieve nothing: an unsalted fast hash meets P0 and fails both others. It also sharpens the case against per-mechanism verifiers, which fail P0 for their own mechanism, since a CRAM-MD5 midstate answers any challenge by construction. Sysop accounts already have a second factor, and the model says so. The system password lives outside the user database, gates sysop login when enabled, and gates sysop commands unconditionally, so a copy of user.tab yields the sysop's account but not the sysop's authority. It is bounded -- one shared secret, itself cleartext, useless for a reused password and for every non-sysop account -- and its storage and use stay out of scope. Encryption is rejected on better grounds than before. "A sysop holds the key" proves too much, so the document now answers the version that argument does not touch: a key held off disk with randomized ciphertext per record. That still fails P0, fails totally and retroactively where hashing degrades gracefully, and has nowhere to keep a key on a machine that runs unattended -- and it buys nothing hashing does not, since the BBS never needs to recover a password, only to answer yes or no about one. The malicious-sysop concession is scoped accordingly: it is a limit of password authentication, not of authentication, since an SSH host never receives the private key. The pass.tab format is settled. Records are tab-separated, tab-padded and LF-terminated as the extension claims, holding a normalization field and one opaque verifier. The verifier is not split into algorithm, salt and digest, because password libraries verify from the encoded string and reassembling it byte-exactly is a subtle bug for the sake of legibility; because bcrypt already does not fit that shape; and because an imported user base can never be re-hashed, so foreign verifiers must be storable verbatim. Normalization is its own field rather than a pbkdf2-sha512-uc pseudo-algorithm, since uppercasing is Synchronet's behavior and not the KDF's. One verifier per record, not a list: the only use for a list is the per-mechanism verifiers this design refuses. The record length is measured rather than stored -- read to the first LF and that is the stride. No header, so the offset arithmetic stays (N - 1) * reclen, nothing has to be written for it to work, and there is no second copy of the fact to go stale. It requires that no field contain an LF, that the measurement be range-checked against a file size that divides evenly, and that the compile-time default apply only when creating an empty file. user.tab can adopt this as a code-only change whenever its own record has to grow, since every existing file already answers 1000 to the measurement. The sentinel left in the vacated USER_PASS field is one byte, not forty. It only has to be non-empty and unenterable, and getstr() accepts nothing below a space, so a control byte suffices -- avoiding tab, LF, CR and the attribute-code 0x01. A printable sentinel would become a universal password on any reader that predates the change, which is the one scenario it exists for. Because every record carries it, the field's worst-case contribution drops from LEN_PASS to one byte, giving the format headroom instead of consuming it. Two smaller corrections. The user.tab geometry analysis is gone: it existed to argue against widening LEN_PASS, and once credentials moved to a separate file that argument had already won. And the document no longer argues from one installation's setup -- exported over SMB, three hosts sharing a mount, counts from a named system -- none of which most BBSes have, and none of which the reasoning needs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1150. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 13:32:05 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/ircd.js diff
    ircd: bump the IRCd version to 2.1 The version last moved when 2.0 landed in December 2023. Since then the 3.22 cycle changed the server-to-server wire format: the JOIN burst now carries a timestamp, announced by the TSJOIN capability token. A peer could tell the two apart only by inspecting CAPAB, which is why the handshake warns "linked without TSJOIN capability; it may be running outdated code" -- inferring a version the version string should have stated. VERSION is what peers and users actually see, in numerics 002 and 004 on connect, 200 for /TRACE and 351 for /VERSION, so bump it rather than leaving 2.0 to cover both wire formats. TSJOIN still marks the compatibility boundary for links already deployed; a fresh number leaves the next network-breaking change its own. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1151. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 13:30:32 GMT-0700 (PDT)
    Modified Files:
    

    docs/superpowers/specs/2026-07-31-hashed-password-storage-design.md diff
    docs: revise the hashed-password design after review Restates the threat model as two testable properties, so that the rest of the document is measured against something falsifiable rather than against a job title. P1: two users with the same password must not produce the same stored record. P2: given the file and a candidate plaintext, confirming a match must not be cheap. A malicious sysop is now explicitly conceded as unmitigable by any storage design; what is addressed is careless handling of a database that someone else later obtains. Records the decision that hashed storage is mandatory, not a sysop-selectable mode. The user who benefits cannot tell a BBS that hashes from one that does not, so an option assigns the choice to the party that bears none of the consequence. That removes the per-system switch and makes the IMAP transport work a hard prerequisite, since a sysop whose mail client breaks has no way back. Corrects two errors. No browser has deprecated HTTP authentication; what is true is that RFC 7616 deprecates MD5 within the scheme while browser support for the SHA-256 variants is essentially nonexistent. And HTTP Basic cannot be moved onto session tokens -- the browser resends the credential on every request and the server cannot opt out -- so the denial-of-service mitigation is a verification cache plus rate limiting, not a change of authentication scheme. Sharpens the rebuttal of per-mechanism verifiers. The technique is real and RFC 2104 section 4 describes it; the objection is that unsalted MD5 midstates fail P1 outright and fail P2 by orders of magnitude. The same RFC section stresses that those intermediates must be protected exactly as secret keys are. Completes the audit: the built-in C++ broker enumerates sysop passwords just as broker.js does, and qtmonitor persists a sysop password as a TLS-PSK key on the sysop's own workstation. Both belong to a wider pattern, now written up separately -- several sites use the password as key material or as a secret handed to third-party code, where a generated credential belongs. Those are pre-existing misuses that hashing merely exposes, and fixing them is worthwhile on its own schedule. Also: pass.tab gains a header record carrying its own record length, so it does not repeat user.tab's hardcoded stride; and the crypto-library choice moves from an open question to a constraint, because userdat.o links into sbbsecho and makeuser, neither of which links cryptlib. Design only; no code changes. Reviewed by Deuce. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1152. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 01:49:30 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    docs: note the IRCd self-link and config-macro fixes in v322 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1153. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 01:49:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/load/ircd/config.js diff
    ircd: keep SYSTEM_* macros through a config conversion or edit ircd.conf names the local system with SYSTEM_HOST_NAME, SYSTEM_NAME, SYSTEM_QWKID and VERSION_NOTICE, expanded as the file is read, so the shipped file works unedited and a ctrl directory shared between hosts gives each of them its own identity. The .ini format had no such macro, and Write_Config_File() writes whatever the globals hold -- so ircd_conf2ini.js and an ircdcfg.js "Save" both froze the converting host's values into the output. There is no correct value to freeze. system.host_name is set per process by jsexec's -h, which is how one host runs an IRCd under a name other than the BBS's own; converting without the daemon's -h silently renamed the server. Where the new name collided with a configured link, the result was a server configured to link to itself. Expand the macros through a single expand_config_macros(), apply it to .ini files as well as .conf, and skip expansion when IRCDCFG_Editor is set. The converter and the editor then read the macro unexpanded and write it back unchanged, while the daemon resolves it per process as before. A converted .ini is now as portable as the .conf it came from. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1154. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 01:49:05 GMT-0700 (PDT)
    Added Files:
    

    exec/tests/ircd/selflink.js diff
    Modified Files:

    exec/load/ircd/config.js diff
    exec/load/ircd/core.js diff
    exec/load/ircd/server.js diff
    exec/load/ircd/unregistered.js diff
    ircd: never link to a server bearing our own name A live server exited with "InternalError: too much recursion" seconds after an outbound link dropped, taking every user with it. The link was to a server whose name matched our own. Register_Unregistered_Local_Server() sets linkparent = ServerName on every local link, so a link named after us ends up with nick and linkparent both equal to ServerName. Server_Quit() calls netsplit() before removing itself from Servers[], and netsplit() quits every server whose linkparent matches this.nick -- which, for such a link, is the link itself. quit -> netsplit -> quit until the stack ran out. Refuse the state and survive it anyway: - The SERVER handshake now rejects a peer using our own name. The existing guard only consulted the Servers[] hash, which never contains ServerName, so it could not catch this. - Auto-connect and an operator's /CONNECT both decline a C:Line that names us. Auto-connect does not reschedule, since such a C:Line can never become valid. - Read_Config_File() reports a [Server] section naming this server and skips it, so the misconfiguration is visible at startup rather than only when the resulting link drops. - netsplit() skips this server, and Server_Quit() refuses to re-enter. Together these terminate any cycle in the linkparent graph, not just the self-referential one, so a malformed topology from a peer degrades instead of killing the daemon. Note this is not purely a configuration error: two servers on a network can collide on a name without either being misconfigured, and the daemon must not die when that link goes away. exec/tests/ircd/selflink.js covers it: against the previous revision the test IRCd dies with the same "too much recursion" the live server hit, and no client can connect afterwards. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1155. Rob Swindell (on Debian Linux)
    Sat Aug 01 2026 01:49:05 GMT-0700 (PDT)
    Modified Files:
    

    exec/tests/ircd/lib.sjs diff
    ircd tests: bind the test IRCd to the loopback address only Every test in exec/tests/ircd failed on Linux with "port not ready after 5s". lib.sjs started the IRCd without -a, so Startup() fell back to its ["0.0.0.0", "::"] default and tried to bind both. Where net.ipv6.bindv6only is 0 -- the default on Linux -- the "::" socket is dual-stack and collides with the 0.0.0.0 one already bound, so the second bind failed with EADDRINUSE and no listener came up at all: !ERROR 98 binding IRCd socket: Address already in use !Error Error: Unable to add host to socket set Pass -a with the address the tests actually connect to. They only ever talk to IRCD_TEST_HOST, so binding the wildcards was never needed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1156. Rob Swindell (on Windows 11)
    Sat Aug 01 2026 01:20:04 GMT-0700 (PDT)
    Modified Files:
    

    docs/v322_new.md diff
    exec/load/ircd/core.js diff
    exec/load/ircd/unregistered.js diff
    ircd: serialize manual CONNECT, and stop answering ERROR with a numeric IRCClient_do_connect() declined to start when Outbound_Connect_in_Progress was set but never set it itself, so for the duration of an operator's /CONNECT the flag stayed clear and a scheduled Automatic_Server_Connect() could dial a second server concurrently -- the case 0b4056bbcf (2024-06-19) added the flag to prevent. It also meant every manual /CONNECT logged "Outbound connection while !Outbound_Connect_in_Progress" when the socket callback found the flag already false. Unregistered_Commands() had no case for ERROR, so a server refusing our handshake -- which reports why with ERROR just before dropping the link -- was answered with 461 "You have not registered", and the reason went no further than the raw protocol log. Log it and notify routing opers instead. Outbound links are named by their configured server name, since an unregistered client's hostname defaults to the socket's peer address, which is not yet resolvable at that point in the connect callback. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1157. Rob Swindell (on Windows 11)
    Sat Aug 01 2026 00:57:15 GMT-0700 (PDT)
    Modified Files:
    

    ctrl/ircd.ini diff
    docs/v322_new.md diff
    exec/load/ircd/config.js diff
    ircd: fix defects in the stock ircd.ini and the [Operator] password rule An [Operator] section carrying the S flag authenticates against the BBS system password and never consults Password=, but ini_Operator required Password= to be present regardless and discarded the whole section without it. The stock ircd.ini's only operator example is exactly that shape, so uncommenting it as written produced no operator at all. Require a password only when S is absent, and say which of the two is missing when a section is rejected. The stock ircd.ini also: - shipped [Server:vert] and [Server:cvs] active, with placeholder passwords, in a class whose ConnectFrequency is non-zero. Every install with the IRCd enabled therefore dialed both hubs every five minutes and failed to authenticate. Commented out, with a pointer to the link-registration procedure. - put its catch-all *@* [Allow] entry above the specific example. Client authorization is first-match in file order, so the example below it could never match. Reordered, with the ordering rule stated. - presented SSL= on [Port:N] as if it selected TLS. Nothing reads that key; TLS is decided by port number. Noted as the annotation it is. - left [Capab] commented out. Enforce=false is already the default, but writing it explicitly documents the knob ahead of the network turning enforcement on. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1158. Rob Swindell (on Windows 11)
    Sat Aug 01 2026 00:46:40 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircd_conf2ini.js diff
    Merge branch 'ircd-allow-shadow-warning' into 'master'

  1159. Rob Swindell (on Windows 11)
    Sat Aug 01 2026 00:46:32 GMT-0700 (PDT)
    Modified Files:
    

    exec/ircd_conf2ini.js diff
    ircd_conf2ini: warn when an [Allow] mask shadows later sections Client authorization is matched in file order and the first match wins, so a broad mask early in the file leaves every narrower one below it unreachable. The converter preserves the source file's order, which can carry a pre-existing shadowing problem into the .ini unremarked. Report it instead, naming the masks left unreachable. An entry restricted to one port is only reported as shadowing sections that specify the same port. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

  1160. Rob Swindell (on Windows 11)
    Sat Aug 01 2026 00:38:47 GMT-0700 (PDT)
    Added Files:
    

    exec/ircd_conf2ini.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/load/ircd/config.js diff
    Merge branch 'ircd-conf2ini' into 'master'

  1161. Rob Swindell (on Windows 11)
    Sat Aug 01 2026 00:36:23 GMT-0700 (PDT)
    Added Files:
    

    exec/ircd_conf2ini.js diff
    Modified Files:

    docs/v322_new.md diff
    exec/load/ircd/config.js diff
    ircd: add ircd.conf to ircd.ini converter, fix .ini read/write defects New exec/ircd_conf2ini.js converts a legacy Bahamut-style ircd.conf to the ircd.ini format added in d41c2447a (2023-11-09). It reuses the reader and writer in ircd/config.js, re-reads the file it just wrote and compares it entry-by-entry against the .conf, and renames the original to .bak only if nothing was lost. Class descriptions, which the .conf format can carry only as a comment above each Y:Line, are moved into the [Class] Comment key. Defects that round-trip exposed, all in ircd/config.js: - [Ban] sections were written with a Hostmask key but read back from Mask, so every ban was dropped on the next read. - OLine_Flags_String() emitted the RESTART and DIE flags only in the branch that spells out individual flags, so an operator covered by the "o"/"O" shorthand silently lost /RESTART and /DIE. - [Server] sections paired C:Lines to N:Lines by array index; they are now matched by server name, and an N:Line with no matching C:Line is written as an inbound-only link with Port=0. - Hubs with no server link of their own were not written at all, and now get [Hub] sections. - [Allow] Password was documented but never read, and never written. - Z:Lines had no representation and were discarded; they are now written as [Ban] sections matching *@<address>. - [Class] Maximum=0 means unlimited, as Unregistered_Commands() tests before enforcing it, but the reader clamped it to a minimum of 1 and substituted 100. - Entries duplicated between the compiled-in defaults and the config file were written twice. A [Hub] section with no Servername key is now ignored with a warning instead of throwing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

AuthorCommitsLatest
Deucе247Fri Nov 27 2026 23:54:39 GMT-0800 (PST)
Rob Swindell856Wed Nov 25 2026 21:46:59 GMT-0800 (PST)
Nigel Reed13Wed Nov 25 2026 16:00:46 GMT-0800 (PST)
Eric Oulashin7Tue Nov 24 2026 19:48:34 GMT-0800 (PST)
Antonio Rodriguez1Thu Nov 19 2026 11:42:09 GMT-0800 (PST)
ct-clmsn1Sun Nov 08 2026 19:01:08 GMT-0800 (PST)
DaiTengu1Wed Oct 14 2026 20:32:25 GMT-0700 (PDT)
Steven Philley4Fri Sep 11 2026 17:30:30 GMT-0700 (PDT)
Stephen Hurd26Mon Sep 07 2026 12:36:37 GMT-0700 (PDT)
Craig Hendricks1Sun Sep 06 2026 14:39:23 GMT-0700 (PDT)
Andy Alt1Thu Sep 03 2026 20:07:07 GMT-0700 (PDT)
HM Derdok3Sat Aug 01 2026 17:53:01 GMT-0700 (PDT)

For older commits (in CVS), click here

Dynamically generated in 1156 milliseconds