• src/sbbs3/atcodes.cpp

    From Rob Swindell (in GitKrake@VERT to Git commit to main/sbbs/master on Friday, March 03, 2023 17:45:00
    https://gitlab.synchro.net/main/sbbs/-/commit/2ed9a14695a1b553367aa78a
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add CPS @-code which is used to display the current download CPS

    In a minute, this CPS value will be of more use since it'll be reflective of the user's actual download rate (in characters/bytes per second) instead of just some randomly-chosen numeric constant.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKrake@VERT to Git commit to main/sbbs/master on Monday, March 20, 2023 17:23:00
    https://gitlab.synchro.net/main/sbbs/-/commit/9976fd9b5c709bbc9cf6699d
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add GETDIM @-code to get the current ANSI terminal dimensions (rows and cols)

    This code will do nothing if there's no user logged-in or their terminal is
    not ANSI or their terminal dimensions (rows and cols) are set to specific values (not auto-detected). This code does the same thing as calling JS console.getdimensions(). Since it waits (up to 5 seconds) for a CPR response from the terminal, this does potentially slow down output, so caveat emptor.

    This could be used by a sysop to address issue #529.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Wednesday, September 13, 2023 18:42:00
    https://gitlab.synchro.net/main/sbbs/-/commit/b5b01373dd7339a330b2669f
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add new @-code: PROT, user's default file transfer protocol (character)

    This fixes issue #629

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Sunday, September 24, 2023 01:57:00
    https://gitlab.synchro.net/main/sbbs/-/commit/ae2079ace6ec729e9fbd17a2
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    text.dat string IDs can now be used in/as @-codes, directly

    The TEXT:<x> @-code can now be used with the text.dat string ID rather than
    the text.dat string number, if preferred.

    For convenience and brevity, ALL text.dat string IDs are now valid @-codes (case-sensitive). While this functionality is redundant with the TEXT: @-code now, if there are any conflicts between new/existing @-codes and text.dat string IDs, the TEXT: @-code can be used to overcome such conflicts.

    This should help with localization (to other languages) by using common single-word replacements (Which, Quit, Next, etc.) in text.dat strings.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/master on Friday, December 01, 2023 19: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/master on Sunday, December 10, 2023 13: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/master on Friday, January 12, 2024 22: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@VERT to Git commit to main/sbbs/master on Sunday, January 14, 2024 20:12:00
    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@VERT to Git commit to main/sbbs/master on Monday, January 15, 2024 21:14:00
    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@VERT to Git commit to main/sbbs/master on Wednesday, January 24, 2024 20:41:00
    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@VERT to Git commit to main/sbbs/master on Thursday, January 25, 2024 14:03:00
    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@VERT to Git commit to main/sbbs/master on Thursday, January 25, 2024 20:57:00
    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 11:53:00
    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 L@VERT to Git commit to main/sbbs/master on Wednesday, March 06, 2024 22:56:00
    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