-
src/sbbs3/atcodes.cpp
From
rswindell 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.
-
From
rswindell 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)
-
From
rswindell 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
-
From
rswindell 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.
-
From
rswindell 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
-
From
rswindell 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.
-
From
rswindell 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)
-
From
rswindell 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)
-
From
rswindell 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.
-
From
rswindell 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)
-
From
rswindell 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.
-
From
rswindell 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'
-
From
rswindell 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.
-
From
rswindell 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.
-
From
rswindell 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).
-
From
rswindell 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.
-
From
Rob Swindell 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
-
From
Rob Swindell to
Git commit to sbbs/master on Tue Sep 29 16:21:00 2020
-
From
Rob Swindell to
Git commit to sbbs/master on Sat Oct 3 18:57:28 2020
-
From
Rob Swindell to
Git commit to sbbs/master on Sun Oct 4 20:24:16 2020
-
From
Rob Swindell 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>
-
From
Rob Swindell 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.
-
From
Rob Swindell to
Git commit to main/sbbs/master on Wed Nov 25 14:08:17 2020
-
From
Rob Swindell to
Git commit to main/sbbs/master on Wed Nov 25 14:24:31 2020
-
From
Rob Swindell 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
-
From
Rob Swindell to
Git commit to main/sbbs/master on Sat Dec 5 16:55:58 2020
-
From
Rob Swindell to
Git commit to main/sbbs/master on Sat Dec 5 20:15:26 2020
-
From
Rob Swindell 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.
-
From
Rob Swindell to
Git commit to main/sbbs/master on Sun Apr 4 04:22:59 2021
-
From
Rob Swindell to
Git commit to main/sbbs/master on Sun Aug 15 15:43:17 2021
-
From
Rob Swindell to
Git commit to main/sbbs/master on Tue Oct 5 22:05:31 2021
-
From
Rob Swindell 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.
-
From
MRO@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 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
-
From
Ragnarok@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 to
Git commit to main/sbbs/master on Sat Feb 26 12:33:56 2022
-
From
Rob Swindell to
Git commit to main/sbbs/master on Mon Mar 28 01:20:37 2022
-
From
Rob Swindell to
Git commit to main/sbbs/master on Fri Sep 2 18:51:35 2022
-
From
Rob Swindell (in GitKraken) 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.
-
From
Rob Swindell (in GitKraken) 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.
-
From
Rob Swindell (on Windows) to
Git commit to main/sbbs/master on Wed Sep 13 18:42:15 2023
-
From
Rob Swindell (on Windows) to
Git commit to main/sbbs/master on Sun Sep 24 01:57:53 2023
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.
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Fri Dec 1 19:43:53 2023
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Sun Dec 10 13:48:08 2023
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Fri Jan 12 22:33:58 2024
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Sun Jan 14 20:12:02 2024
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.
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Mon Jan 15 21:14:44 2024
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Wed Jan 24 20:41:28 2024
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.
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Thu Jan 25 14:03:43 2024
-
From
Rob Swindell (on Windows 11) to
Git commit to main/sbbs/master on Thu Jan 25 20:57:05 2024
-
From
Deuc╨╡ to
Git commit to main/sbbs/master on Wed Feb 7 11:53:18 2024
-
From
Rob Swindell (on Debian Linux) to
Git commit to main/sbbs/master on Wed Mar 6 22:56:23 2024