• src/sbbs3/atcodes.cpp

    From Deucе@VERT to Git commit to main/sbbs/master on Wed Feb 7 11:53:18 2024
    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 Wed Mar 6 22:56:23 2024
    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 rswindell@VERT to CVS commit on Mon Apr 20 01:21:50 2020
    src/sbbs3 atcodes.cpp 1.119 1.120
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28963

    Modified Files:
    atcodes.cpp
    Log Message:
    Add STR @-code, to display the current Baja/PCMS command string value.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 23 19:40:39 2020
    src/sbbs3 atcodes.cpp 1.120 1.121
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv18666

    Modified Files:
    atcodes.cpp
    Log Message:
    For Nelgin, new @-codes
    - FIRSTON (date and time user first logged on)
    - FIRSTDATEON (same as SINCE)
    - FIRSTTIMEON (time of day of user's first logon)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 23 20:01:46 2020
    src/sbbs3 atcodes.cpp 1.121 1.122
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv21686

    Modified Files:
    atcodes.cpp
    Log Message:
    Some new user stats @-codes for Nelgin:
    - EMAILS
    - FBACKS
    - ETODAY
    - PTODAY
    - LTODAY
    - TTODAY
    - TLAST
    - TEXTRA


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 00:17:42 2020
    src/sbbs3 atcodes.cpp 1.122 1.123
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26640

    Modified Files:
    atcodes.cpp
    Log Message:
    Add PCR (post/call ratio) @-code.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 00:47:24 2020
    src/sbbs3 atcodes.cpp 1.123 1.124
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30837

    Modified Files:
    atcodes.cpp
    Log Message:
    Add FREECDT @-code


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 10:56:04 2020
    src/sbbs3 atcodes.cpp 1.124 1.125
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2083

    Modified Files:
    atcodes.cpp
    Log Message:
    Fix PCR code: actually return the formatted string.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 12:20:23 2020
    src/sbbs3 atcodes.cpp 1.125 1.126
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14042

    Modified Files:
    atcodes.cpp
    Log Message:
    Add:
    - TTOTAL (time in minutes from all previous logons, in HH:MM:SS)
    - TTODAY (time in used from previous logons today, in H:MM:SS)
    - MTOTAL (time in minutes from all previous logons)
    - MTODAY (time in minutes from previous logons today)
    - MPERC (minutes allowed per call, alias to TIMELIMIT)
    - MPERD (minutes allowed per day)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 12:45:30 2020
    src/sbbs3 atcodes.cpp 1.126 1.127
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv17242

    Modified Files:
    atcodes.cpp
    Log Message:
    Add:
    - TTOTAL (time in minutes from all previous logons, in HH:MM)
    - TTODAY (time in used from previous logons today, in H:MM)
    - MTOTAL (time in minutes from all previous logons)
    - MTODAY (time in minutes from previous logons today)
    - MPERC (minutes allowed per call, alias to TIMELIMIT)
    - MPERD (minutes allowed per day)
    - TEXTRA (extra time earned in HH:MM)
    - MEXTRA (extra time earned in minutes)
    - TBANKED (banked time, in HH:MM)
    - MBANKED (banked time, in minutes)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 12:48:18 2020
    src/sbbs3 atcodes.cpp 1.127 1.128
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv17634

    Modified Files:
    atcodes.cpp
    Log Message:
    Add CREDITS @-code.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 13:22:23 2020
    src/sbbs3 atcodes.cpp 1.128 1.129
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22487

    Modified Files:
    atcodes.cpp
    Log Message:
    Add:
    - MAXCALLS (maximum logons per day for user's security level)
    - MAXPOSTS (maximum posted msgs per day for user's security level)
    - MAXMAILS (maximum email messages sent per day for user's security level)
    - MAXLINES (maximum number of lines per messages allowed for user's sec level)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 26 02:00:30 2020
    src/sbbs3 atcodes.cpp 1.129 1.130
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26458

    Modified Files:
    atcodes.cpp
    Log Message:
    Added a 'U' (uppercase) modifier, for Nelgin (e.g.REV|U for uppercase revision letter).
    Also, REALNAME is now an alias for COMPANY and MEMO2. Man these legacy
    @-code names are terrible.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 26 16:06:19 2020
    src/sbbs3 atcodes.cpp 1.130 1.131
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    atcodes.cpp
    Log Message:
    Fix gcc warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int'



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Apr 28 01:44:05 2020
    src/sbbs3 atcodes.cpp 1.132 1.133
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8081

    Modified Files:
    atcodes.cpp
    Log Message:
    Add STRVAR:<variable-name> @-code
    It's a hack, but since both Nelgin *and* Mortifis asked for it...
    If a string variable is defined in the current command-shell, you may display that variable's current value using this @-code. This does not work for integer variables (do you need that too?) and does not work for any other Baja modules that are executed (e.g. executed *from* a command shell).
    Note that Baja, by defaults converts variables names to all-CAPS during the "compilation" phase (unless the "baja -c" option is used), so you'll want to either specify the variable name in ALL-CAPS or (if "baja -c" was used), match the capitalization used in the .src file.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 30 13:28:09 2020
    src/sbbs3 atcodes.cpp 1.134 1.135
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8224

    Modified Files:
    atcodes.cpp
    Log Message:
    Sanity-check: If string passed to show_atcode() does not start with an '@', just immediately return 0.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 30 17:16:22 2020
    src/sbbs3 atcodes.cpp 1.135 1.136
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv15938

    Modified Files:
    atcodes.cpp
    Log Message:
    The 'U' modifier for @-codes implies left-alignment, but does not truncate the expanded value by default (only when a width is explicitly expressed).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun May 10 13:12:35 2020
    src/sbbs3 atcodes.cpp 1.141 1.142
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27231

    Modified Files:
    atcodes.cpp
    Log Message:
    Add @-code CLEAR_HOT clears any existing hot spots.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 27 21:59:24 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/f5c5187ddb81c7ed8183012b
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New user-related @-codes: NETMAIL, FWD, TMP, NOTE, LASTIP

    NETMAIL: user's personal netmail or email address - for WitNik
    FWD: "On" if the user has opted for forwarding their mail to netmail or "Off" TMP: user's chosen temporay file type (e.g. "ZIP")
    NOTE: user's note (same as MEMO1)
    LASTIP: user's most recent IP address at time of logoff

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Tue Sep 29 16:21:00 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/0b8c9595001eb87ff3f1c856
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Support C escape sequences in FILL @-code argument

    e.g. FILL:\x20 to fill with space (for Michael Long via USENET)

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sat Oct 3 18:57:28 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/d5ae1e5f820c094c6516cb7e
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix just-introduced bug in BDATE @-code.

    Truncating. str is a pointer, so sizeof(str) is only 4 (or 8) bytes.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Oct 4 20:24:16 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/5951355a6ed363cf052356c4
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Support strftime format arguments to DATE/TIME codes

    - DATE: (alias: TIME:)
    - BDATE:
    - PWDATE:
    - SINCE:
    - LASTON:
    - FIRSTON:
    - LASTNEW:
    - EXPDATE:

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wed Oct 14 20:56:39 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/5cf2dd2632aae8314f15730a
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code: BIRTH for full-format user birthdate

    Use BIRTH instead of BDATE if you want MM/DD/YYYY (or DD/MM/YYYY) instead of MM/DD/YY or DD/MM/YY formatted birthdate display.

    New aliases (for consistency): BIRTHFMT -> BDATEFMT and BIRTH:<fmt> -> BDATE:<fmt>

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thu Oct 15 19:09:46 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8201881049bc380aea3641db
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code TEXT:<num> to display text.dat string #num

    Also, don't truncate strings to accommodate screen width when the string contains a new-line character.
    This is so ScottD (from irc.synchro.net) can use TEXT:556 @-code to print the Ctrl-K menu (text.dat string) via a command shell written in Baja.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Nov 25 14:08:17 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/858ab1587bcceba18d8dc63d
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add SYSAVAILYN @-code, same as SYSAVAIL but expands to Yes or No instead.
    - for Nelgin

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Nov 25 14:24:31 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/f191dfe46cb923cecf832bc4
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Merge remote-tracking branch 'origin/master'

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Nov 25 15:59:44 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/d3284acde8d7e271f5aea957
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @code SHOW:<ars> to only show text to users meeting ARS

    ARS = Access Requirement String
    Spaces aren't allowed in the <ars> so you might have to get creative with ARS symbols instead of keywords.
    SHOW by itself will re-enable display output for all users.
    - for Nelgin

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Dec 5 16:55:58 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/363388eb3f513f200c3bde8c
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-codes for current message thread info

    - MSG_THREAD_ID
    - MSG_THREAD_BACK
    - MSG_THREAD_NEXT
    - MSG_THREAD_FIRST

    for John (JCBBS). Not sure what you're going to use these for, but there you have them. <shrug> :-)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Dec 5 20:15:26 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/bc007231d8ee9bc73d8f7be5
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    More @-codes for bigger units of free disk space

    - FREESPACEM - Mebibytes
    - FREESPACEG - Gibibytes
    - FREESPACET - Tebibytes

    Mr. Millionaire's request.

    ---
    þ 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 25 12:00:02 2024
    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 Wed Sep 25 15:25:26 2024
    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 Thu Dec 19 18:15:35 2024
    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 Fri Dec 20 17:23:09 2024
    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 Fri Dec 20 16:38:15 2024
    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 Fri Dec 20 20:37:40 2024
    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)