• src/sbbs3/atcodes.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, April 07, 2025 21:32:28
    https://gitlab.synchro.net/main/sbbs/-/commit/fccf1a5718fdcb9864bcbccf
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Better parsing of invalid @-codes

    @-codes never start with a number (decimal digit)
    @-codes never contain any whitespace (including tabs, CR and LF).

    These 2 issues caused the stock batch file transfer menu for RIP terminals
    to display all messed-up.

    This RIP menu (text/menu/batchxfr.rip) contains @s and they triggered some stripping of text and expanding to a text.dat string (!).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, April 08, 2025 16:52:07
    https://gitlab.synchro.net/main/sbbs/-/commit/7b42b9be244f639d5afd7e23
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Clean-up the initial string/pointer adjustment in show_atcodes()

    No functional change.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, April 22, 2025 16:12:46
    https://gitlab.synchro.net/main/sbbs/-/commit/fc4ee1b9f4fe8397fedcb8c9
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Allow C escape sequences in EXEC: @-code argument, to allow param passing

    e.g. separate module name from command-line params with \x20 and separate params from eachother with \x20.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, June 11, 2025 21:08:01
    https://gitlab.synchro.net/main/sbbs/-/commit/c122ddd88d1cb0b1c0abb5f6
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Renamed DAYBYTES to USEDCDT (amount of free credits used today)

    DAYBYTES is now an alias for BTODAY, since that more accurately reflects what PCB and WC used this code for, though WC4 Sysop Guide says it's in "K", we'll ignore that inconsistency (Wildcat! docs are wrong maybe?).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, June 12, 2025 16:04:56
    https://gitlab.synchro.net/main/sbbs/-/commit/e636d71e390a0f2a4d014a63
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Transfer stats @-codes using byte total estimates (e.g. "1.2M")

    BTODAY now expands to a byte estimate (DAYBYTES is still the exact byte count)

    New codes: UPB and DLB for total-uploaded-bytes and total-downloaded-bytes There are already existed other codes for kibibytes or exact bytes, but there were none for byte estimates that shorten larger numbers nicely.

    Here's an example of the various transfer stats related @-codes now:

    DTODAY: '1'
    BTODAY: '2.8K'
    KTODAY: '2'
    DAYBYTES: '2827'
    DLFILES: '615'
    DLB: '2.2G'
    DLBYTES: '2406384443'
    DOWNK: '2349984'
    UPFILES: '247'
    UPB: '13.6G'
    UPBYTES: '14602185912'
    UPK: '14259947'

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, June 12, 2025 20:57:16
    https://gitlab.synchro.net/main/sbbs/-/commit/e159c5096ead5b835dbbd06b
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-codes to display credit percentages awarded for up/downloads for curdir

    - UCP (upload credit percentage)
    - DCP (download credit percentage)

    ---
    þ 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 Wednesday, June 18, 2025 21:46:45
    https://gitlab.synchro.net/main/sbbs/-/commit/db7fde0045aa49a3699d60b2
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add BYTERATIO alias (PCBoard compatible) for UDR @-code

    First addition for issue #940

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, December 08, 2025 16:47:32
    https://gitlab.synchro.net/main/sbbs/-/commit/d4d92c9ce53f4b2196164d3a
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code: PSTAT - expands to On|Off text.dat string indicating Pause status

    Similar to UPAUSE @-code, but this takes into account the Ctrl-O hot key and sys_status methods of forcing screen pause on or off.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, December 08, 2025 16:47:32
    https://gitlab.synchro.net/main/sbbs/-/commit/45cd7ac09f1705d59b575f89
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code: RAWIO expands to On|Off text.dat string indicating Raw I/O status

    Raw I/O mode is toggled with Ctrl-Z key

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, January 27, 2026 16:47:24
    https://gitlab.synchro.net/main/sbbs/-/commit/e4e1de9e09e29a51b0a6aaf7
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    INCLUDE:<file> code shouldn't read line-at-a-time

    Use P_OPENCLOSE, like it's a small/menu file (because it probably is).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, May 02, 2026 19:46:18
    https://gitlab.synchro.net/main/sbbs/-/commit/652c350f9e81a9a671481b84
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Make the FILE_NAME and FILE_WEB_PATH @-code expand to <sys_id>.QWK by default

    Fix for issue #1133

    ---
    þ 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 Wednesday, May 06, 2026 22:36:57
    https://gitlab.synchro.net/main/sbbs/-/commit/7e2d255f35e499c0039fa28a
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    atcodes: suppress INTEGER_OVERFLOW for CDTLEFT credit cast (CID 640970)

    The cast of user_available_credits() (uint64_t) to int64_t overflows
    only if credits exceed INT64_MAX (~9.2 quintillion). Not a real
    concern; SUPPRESS with explanation rather than a runtime clamp.

    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 Wednesday, May 20, 2026 21:52:20
    https://gitlab.synchro.net/main/sbbs/-/commit/b78433c8c490a6fefb2b6142
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add PCBoard @-code aliases for existing codes (#940)

    Several PCBoard display @-codes already had Synchronet equivalents under different names. Add them as aliases so PCBoard-style files/messages work without modification:

    @CARRIER@ -> @CONN@
    @PROLTR@ -> @PROT@
    @PRODESC@ -> @PROTNAME@ / @PROTOCOL@
    @CONFNAME@ -> @CONF@
    @CURMSGNUM@-> @MSG_NUM@

    @QON@/@QOFF@ were already implemented in putmsg.cpp. The remaining missing PCBoard codes (@FILERATIO@, @HIGHMSGNUM@, @LOWMSGNUM@, @LMR@, @FIRSTU@) would be new value-codes, not aliases, and are left for a follow-up.

    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 Thursday, May 21, 2026 20:32:04
    https://gitlab.synchro.net/main/sbbs/-/commit/7ebaeebd4aa98468f84225e3
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add Wildcat! @-code aliases for existing codes (#941)

    Wildcat! display macros that already had Synchronet equivalents under a different name, added as aliases so Wildcat!-style files/messages work unmodified:

    @ACCBAL@ -> @CREDITS@
    @USERID@ -> @USERNUM@
    @CALLID@ -> @CID@
    @CONNECT@ -> @CONN@
    @ID@ -> @QWKID@
    @ENTER@ -> @PAUSE@ (approximate: Wildcat! waits for Enter, ours is hit-any-key)

    Remaining missing Wildcat! codes (@CONFOP@, @INCHAT@, @MAXRATIO@, @NETBAL@) have
    no Synchronet equivalent; @FAX@, @MODEM@, @YNDEF@, @ELSE@/@ENDIF@/@IFSEC@, @NOPREV@ are N/A to Synchronet's model (IFSEC-style conditionals are handled by @SHOW:@).

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

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