• src/sbbs3/atcodes.cpp

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Friday, December 01, 2023 22:43:00
    https://gitlab.synchro.net/main/sbbs/-/commit/d6b3ad8ea5b09f8160a94cc0
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix potential buffer overflow and NULL pointer deref in expand_atcodes()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Sunday, December 10, 2023 16:48:00
    https://gitlab.synchro.net/main/sbbs/-/commit/40a47c302d2011b79b6875a6
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add new @-codes: MSG_TO_FIRST and MSG_FROM_FIRST

    The first word of the message recipient or author's name.

    For Accession.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Saturday, January 13, 2024 01:33:00
    https://gitlab.synchro.net/main/sbbs/-/commit/01401754b857bf11b3eebf29
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code NODE_USER which will expand to UNKNOWN_USER if node is anonymous

    Needed for exactly reproducing built-in node status string formatting using @-codes (only).

    ---
    þ 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 Sunday, January 14, 2024 23:12:02
    https://gitlab.synchro.net/main/sbbs/-/commit/ad12b9b21236615ae51b0112
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix the recently-added NODE_USER @-code

    Since "NODE*" is a match for a node number status (ugh), and this comparison happened before the comparison for "NODE_USER", we'd never hit that condition. Thought I tested this before original commit, but I guess I did not. Oops.

    ---
    þ 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 16, 2024 00:14:44
    https://gitlab.synchro.net/main/sbbs/-/commit/cca3e63334314ddee890c2d2
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix hungry-matching of "NODEx" @-code

    The 5th character must be a digit.

    Prevent future stupidity such as happened with recently added and then
    fixed NODE_USER @-code.

    ---
    þ 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, January 24, 2024 23:41:28
    https://gitlab.synchro.net/main/sbbs/-/commit/68e4967280d16a009b822c34
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix 4-digit bug in separat_thousand() used for 'T' @-code format modifier

    I noticed while testing the previous commit that 4 digit values weren't thousands-separated, while larger values were. I'm not sure why this
    non-zero index check was in this loop, but appears to be a bug.

    ---
    þ 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, January 25, 2024 17:03:43
    https://gitlab.synchro.net/main/sbbs/-/commit/47f34aaefd7982374764231b
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Make parse() a member function of struct atcode_format

    Silly me, this is C++, do the C++ thing

    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 Thursday, January 25, 2024 23:57:05
    https://gitlab.synchro.net/main/sbbs/-/commit/0787d5d334c80f9271b4419e
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    struct declarations don't need the 'struct' keyword in C++

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 14:53:18
    https://gitlab.synchro.net/main/sbbs/-/commit/338252ce6a9c10ce3c1d0e32
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    More format specifier correction.

    ---
    þ 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, March 07, 2024 01:56:23
    https://gitlab.synchro.net/main/sbbs/-/commit/931f9234fe1b311af8d575a4
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code: GIT_DATE

    ---
    þ 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, September 25, 2024 12:00:02
    https://gitlab.synchro.net/main/sbbs/-/commit/a04916dd0960f42157018445
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add PETGRFX @-code to send char 142 (enter PETSCII upper/graphics char set)

    ... when PETSCII terminal in use.

    For those sysops using editors that don't automatically or easily add this character to their SEQ art files when needed.

    ---
    þ 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, September 25, 2024 15:25:26
    https://gitlab.synchro.net/main/sbbs/-/commit/dccb546d8b89ce021b8eb569
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    include petdefs.h (needed for PETSCII_UPPERGRFX definiton)

    ---
    þ 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, December 19, 2024 18:15:35
    https://gitlab.synchro.net/main/sbbs/-/commit/9f2c2e51eb313313b43e01b4
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add @-codes to display dates/times in UTC

    When the system time zone is not UTC, but the sysop wants to display some
    dates and times in UTC, they can now use these @-codes to do that:
    - TIME_UTC
    - DATE_UTC
    - UTC:fmt
    - DATETIME_UTC
    - MSG_DATE_UTC

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to Rob Swindell on Friday, December 20, 2024 17:23:09
    Hello Rob Swindell (On Windows,

    On Thu, Dec 19 2024 20:15:35 -0600, you wrote ..

    - UTC:fmt

    Does this one here mean you can now do:

    (at)UTC:%a, %b %d %Y %H:%M:%S %z

    .. or something similar?

    Regards,
    Nick

    ... He who laughs last, thinks slowest.
    ---
    þ Synchronet þ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
  • From Digital Man@VERT to Accession on Friday, December 20, 2024 16:38:15
    Re: Re: src/sbbs3/atcodes.cpp
    By: Accession to Rob Swindell on Fri Dec 20 2024 05:23 pm

    Hello Rob Swindell (On Windows,

    On Thu, Dec 19 2024 20:15:35 -0600, you wrote ..

    - UTC:fmt

    Does this one here mean you can now do:

    (at)UTC:%a, %b %d %Y %H:%M:%S %z

    .. or something similar?

    Kind of. You can't have spaces in @-codes, so you'd need to use \x20 in place of space. And you'd need a terminating (at).

    It's just like the TIME:fmt @-code, but instead of local time, it's UTC. https://wiki.synchro.net/custom:atcodes
    --
    digital man (rob)

    Sling Blade quote #7:
    Karl: I don't reckon the Good Lord would send anybody like you to Hades.
    Norco, CA WX: 66.6øF, 43.0% humidity, 4 mph W wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to Digital Man on Friday, December 20, 2024 20:37:40
    Hello Digital,

    On Fri, Dec 20 2024 18:38:15 -0600, you wrote ..

    Does this one here mean you can now do:

    (at)UTC:%a, %b %d %Y %H:%M:%S %z

    .. or something similar?

    Kind of. You can't have spaces in @-codes, so you'd need to use \x20
    in place of space. And you'd need a terminating (at).

    It's just like the TIME:fmt @-code, but instead of local time, it's
    UTC. https://wiki.synchro.net/custom:atcodes

    Thanks for the explanation!

    All relevant information is indeed on the wiki (thanks for that, too!), but your explanation here made it far easier for me to find it all on the wiki and put it together (I had to scroll from the top to the bottom to find all the pieces you mentioned in this message).

    Regards,
    Nick

    ... He who laughs last, thinks slowest.
    ---
    þ Synchronet þ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)