• src/sbbs3/str.cpp

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed May 6 22:36:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/fadcfd96c23be40c6487bd48
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    str: explicit truncation cast in spy() char assignment (CID 549016)

    After the 'if (in == NOINP) continue;' check, in is in [0,255], so
    'ch = in' is safe Ä but Coverity flags it because incom() returns
    int and ch is char. Make the truncation explicit with (char)in to
    silence the analyzer; semantics unchanged.

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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Sep 29 15:57:27 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/21736a5bdea48f464fab76c8
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Sep 29 15:57:27 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/3b827c985cc463f4f4b41fb4
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    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>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Sep 30 02:44:22 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/df8b8248ed275ccc0c8325f3
    Modified Files:
    src/sbbs3/str.cpp
    Log Message:
    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>

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