• ctrl/text.dat docs/v322_n

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Sat Jul 25 23:01:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ef1f8026a4d5bb11b91165ee
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/sbbs.h text.h text_defaults.c text_id.c useredit.cpp
    Log Message:
    Uedit: boolean 'T'ext search, dedicated prompt for the '/' ARS search

    The sysop user editor's T)ext search now compiles its query with
    boolsrch.c, like the message base, mail, file list and file pager
    searches: AND/OR/NOT, parenthesized grouping, "quoted phrase"
    whole-word terms, '?' for the textsrch help menu, and a diagnostic for
    a malformed expression. searchup()/searchdn() take the compiled
    expression rather than an upper-cased string, so the per-record
    strupr() goes away. The haystack is still the whole tab-delimited
    user.tab record, so bare one-word queries match as before and a quoted
    term gets a word boundary at each field edge.

    The '/' AR-string search prompted with text[SearchStringPrompt], which
    gained a "(?=help)" hint in 76dba467f3 (sheets-27-dance) when '?' was
    wired up at the boolean-search prompts -- a binding that prompt does
    not implement. It gets its own string now: text[UeditARSearchPrompt]
    (text.dat 949).

    Both prompts leave the previous search criteria intact when nothing is
    entered, and free what they replace; the compiled AR string leaked on
    every re-entry of '/' and on disconnect.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sat Jul 25 23:10:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/22e8f64c9ca1a9f2558fe6f4
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js exec/websocketservice.js src/sbbs3/atcodes.cpp con_out.cpp getkey.cpp js_bbs.cpp putmsg.cpp sbbs.h terminal.cpp terminal.h text.h text_defaults.c text_id.c useredit.cpp
    Log Message:
    Merge branch 'master' of gitlab.synchro.net:main/sbbs

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed Sep 30 02:44:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/fa1cb21ea322b44a8675d1d5
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/text.h text_defaults.c text_id.c
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed Sep 30 02:44:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/1aa845b8337ae6e8fc9e1344
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/text.h text_defaults.c text_id.c
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed Sep 30 02:44:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5e29026bbb1be9d7338d3976
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/text.h text_defaults.c text_id.c
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Wed Sep 30 16:22:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ce3b73460e452f53f639b8e6
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/bat_xfer.cpp filedat.c filedat.h main.cpp sbbs.h text.h text_defaults.c text_id.c upload.cpp src/smblib/smbfile.c smblib.h
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Fri Oct 23 20:52:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/482e54f7e927dc1029e712cc
    Modified Files:
    ctrl/text.dat docs/v322_new.md src/sbbs3/text_defaults.c
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Fri Nov 13 21:49:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/cbffacab16dfcd53a7171067
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/atcodes.cpp date_str.c date_str.h download.cpp getmsg.cpp listfile.cpp sbbs.h sftp.cpp text.h text_defaults.c text_id.c upload.cpp
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sat Nov 21 13:22:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0b060a17bc19a82c3bec7de6
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/logon.cpp text.h text_defaults.c text_id.c
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sat Nov 21 15:29:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/6b9e44ebe6709141507d533d
    Modified Files:
    ctrl/text.dat docs/v322_new.md exec/load/text.js src/sbbs3/getkey.cpp text.h text_defaults.c text_id.c
    Log Message:
    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>

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