• src/sbbs3/atcodes.cpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 04:10:36 2021
    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 Sun Apr 4 04:22:59 2021
    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 Sun Aug 15 15:43:17 2021
    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 Tue Oct 5 22:05:31 2021
    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 Tue Oct 5 22:05:31 2021
    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 Wed Oct 6 09:45:34 2021
    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 Wed Oct 6 18:53:54 2021
    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.7°F, 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 Thu Oct 7 13:31:23 2021
    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 Sat Feb 26 12:33:56 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/7448a68a421ac2ebcee4f9b3
    Modified Files:
    src/sbbs3/atcodes.cpp
    Log Message:
    Add BUILD_DATE and BUILD_TIME @-codes

    For DesotoFireflite (VALHALLA)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Mar 28 01:20:37 2022
    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 Fri Sep 2 18:51:35 2022
    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 (in GitKraken)@VERT to Git commit to main/sbbs/master on Fri Mar 3 17:45:11 2023
    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 GitKraken)@VERT to Git commit to main/sbbs/master on Mon Mar 20 17:23:01 2023
    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 Wed Sep 13 18:42:15 2023
    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 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