• src/sbbs3/atcodes.cpp

    From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, September 27, 2020 21:59:24
    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 Tuesday, September 29, 2020 16:21:00
    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 Saturday, October 03, 2020 18:57:28
    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 Sunday, October 04, 2020 20:24:16
    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 Wednesday, October 14, 2020 20:56:39
    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 Thursday, October 15, 2020 19:09:46
    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 Wednesday, November 25, 2020 14:08:17
    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 Wednesday, November 25, 2020 14:24:31
    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 Wednesday, November 25, 2020 15:59:44
    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 Saturday, December 05, 2020 16:55:58
    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 Saturday, December 05, 2020 20:15:26
    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@VERT to Git commit to main/sbbs/master on Sunday, April 04, 2021 04:10:36
    https://gitlab.synchro.net/main/sbbs/-/commit/fee3fdd04566dbf57717b7c3
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-codes: GETKEY and WAIT:<milliseconds>

    GETKEY waits indefinitely for any key press by the user (resolves issue #245). WAIT:<n> waits for up to n-milliseconds for a key press and then continues on.

    For both cases, the key pressed is not echoed or acted upon in any way. Ctrl-keys could be handled by global or built-in ctrl-key handlers, so those would be the exception.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, April 04, 2021 04:22:59
    https://gitlab.synchro.net/main/sbbs/-/commit/7257b432cf45ccedc95bff02
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code: CONTINUE

    CONTINUE is like GETKEY except it'll set the display-abort flag if 'N' or 'Q' are typed.

    Make the WAIT:<n> argument 10ths of a second (instead of milliseconds) to be more consistent with DELAY:<n>.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, August 15, 2021 15:43:17
    https://gitlab.synchro.net/main/sbbs/-/commit/b8cc0c0e1d3eb4017f97de31
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-codes UDR (upload/download byte-ratio) and UDFR (file ratio)

    Expands to a percentage, similar to PCR (not capped at 100).

    Remove the failed-attempt to cap the percentage at 100 for the PCR atcode.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, October 05, 2021 22:05:31
    https://gitlab.synchro.net/main/sbbs/-/commit/0e270c4ea47ec7e0a18aa9cc
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-codes SEX and GENDERS

    SEX is the user's sex/gender
    GENDERS is the list of system-supported genders for new users to choose from.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, October 05, 2021 22:05:31
    https://gitlab.synchro.net/main/sbbs/-/commit/87731220223e895b5a9ff31e
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-code: !x to perform Ctrl-A style terminal/attribute control

    Most Ctrl-A code terminal/attribute effects can now be invoked via @!x@ where x is one or more Ctrl-A sequence operands (e.g. @!B@ to set the current attribute to blue, @!P@ to pause the terminal). Multiple attribute codes may be specified in a single @!x@ sequence. Both upper and lowercase attribute codes are supported. The "^A@" sequence is not supported, but there's already an @-code to perform the equivalent operation ("SHOW:20").

    Rationale: when using PabloDraw to edit display (e.g. .msg) files, there was no easy way to explicitly clear (set to "normal") the current attributes at the end of a line of text. If that line of text contained a background color and the line caused the terminal to scroll, that background color would fill the next/new line resulting in some potential undesirable effects. There are 2 common solutions to this problem: either clear the screen before displaying the file (not always desirable) or clear the attributes at the end of the line (before the CR/LF). This can now be achieved by adding a @!N@ (the equivalent of Ctrl-AN for "normal" attributes) to the end of a line. There's no way to insert custom Ctrl-A sequences or other way to force PabloDraw to clear the attributes at the end of a line, that I found.

    I chose the '!' character because it's (on my keyboard anyway) the Shift-1 key and Ctrl-A is ASCII 1. I considered a sequence such as @A:x@, but that's one more character and since this sequence usually won't display anything, a shorter sequence is likely preferred. For the shortest-possible sequence, use Ctrl-A sequences instead. However, for many consecutive Ctrl-A sequences, the @-code equivalent might actually end up being shorter(!). @-codes aren't support in as many places in Synchronet where Ctrl-A codes are supported (for security reasons), so it's not like this is going to replace the use of Ctrl-A codes everywhere.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to Rob Swindell on Wednesday, October 06, 2021 09:45:34
    Re: src/sbbs3/atcodes.cpp
    By: Rob Swindell to Git commit to main/sbbs/master on Tue Oct 05 2021 10:05 pm

    New @-codes SEX and GENDERS

    SEX is the user's sex/gender
    GENDERS is the list of system-supported genders for new users to choose from.

    how many genders are in the list.
    ---
    Synchronet ::: BBSES.info - free BBS services :::
  • From Digital Man@VERT to MRO on Wednesday, October 06, 2021 18:53:54
    Re: src/sbbs3/atcodes.cpp
    By: MRO to Rob Swindell on Wed Oct 06 2021 09:45 am

    GENDERS is the list of system-supported genders for new users to choose from.

    how many genders are in the list.

    However many the sysop configures in SCFG.
    --
    digital man

    Breaking Bad quote #34:
    Lose your hair, go on a couple stakeouts and all the sudden your Kojak? - Hank Norco, CA WX: 68.7F, 71.0% humidity, 2 mph NW wind, 0.00 inches rain/24hrs

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Rob Swindell on Thursday, October 07, 2021 13:31:23
    El 6/10/21 a las 02:05, Rob Swindell escribi:
    https://gitlab.synchro.net/main/sbbs/-/commit/0e270c4ea47ec7e0a18aa9cc Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    New @-codes SEX and GENDERS

    SEX is the user's sex/gender
    GENDERS is the list of system-supported genders for new users to choose from. ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net


    d8b d8b
    888888888
    `Y88888P'
    `Y888P'
    `Y8P'
    `Y'

    ---
    Synchronet Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, March 28, 2022 01:20:37
    https://gitlab.synchro.net/main/sbbs/-/commit/90baf9cd6bf8997e2dbb2dc9
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix another new GCC warning I missed

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, September 02, 2022 18:51:35
    https://gitlab.synchro.net/main/sbbs/-/commit/d518b015974b797acc702a29
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Fix negative MSG_SCORE @-code on 64-bit (*nix) builds

    As reported by Android8675 (SHODAN) on DOVE-Net.
    This problem did not manifest itself in 32-bit builds.

    ---
    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:15
    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:53
    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