- Aug 16, 2019
-
-
echicken authored
-
rswindell authored
the P_SAVEATR mode flag was specified (behave like the P_OPENCLOSE mode).
-
rswindell authored
-
rswindell authored
Support a 3-char "node num" (e.g. "Web").
-
rswindell authored
terminal server (BBS) logon.
-
rswindell authored
(manual install step). Don't use the LastFewCallersFmt string from the text.dat, it requires a numeric node number and we want to support non-numeric (e.g. "W" for "Web") "nodes" here. This string, like the others, can be over-ridden via [logonlist] in ctrl/modopts.ini.
-
rswindell authored
Install (for daily maintenance) with: 'jsexec logonlist install'
-
rswindell authored
used for "last few callers", "logons today", "logons yesterday", etc. Methods: - add([obj]) - optional object to add, auto-filled if not supplied - get([num], [age]) - optional number of records to return (0:all) and age/days - maint(backup_level) - daily maintenance A lot more detail is now recorded for each BBS Logon, so sysops can get crazy with the information provided in their logon list, if they wish. It is trivial to add more information (e.g. just add some properties to the add() argument object).
-
nightfox authored
Version 1.70: Fix for a bug introduced in the flowing-line update in 1.68 where some quote blocks were sometimes not being included when saving a message. Also, quote lines are now wrapped to the user's terminal width rather than 80 columns.
-
rswindell authored
Also renamed preqwk_ar to preqwk_ars, for consistency.
-
- Aug 15, 2019
-
-
deuce authored
-
rswindell authored
logon.lst file format) and thought I came up with a cool new idea. Nope. It's already a thing: http://jsonlines.org/ http://ndjson.org/ Here's a library to append-to and read these "JSON Lines", "NDJSON" and "LDJSON" files. On underscores versus dashes in filenames: Apparently my tendency is to use underscores in source/script filenames, while other CVS contributors (e.g. mcmlxxix) prefer dashes (e.g. json-*.js), so the filenames are starting to look a bit bipolar. Oh well. :-(
-
rswindell authored
'maxlen' argument. E.g. passing 10 would result in a maximum read string length of 9 characters.
-
rswindell authored
-
rswindell authored
optionally including the current (your) node. New @-codes: "ANODES" (active-nodes count), aliases: "ANODE" and "AN" "ONODES" (other-active-nodes count), aliases: "ONODE" and "ON" Make "NN" an alias for "NODE" and "TN" and alias for "TNODE". Add "TNODES" alias for "TNODE" as well, for symmetry.
-
nightfox authored
Version 1.69: Updated to only use console.inkey() for user input and not use console.getkey() anymore. Also, SlyEdit will now write the editor style (ICE or DCT) to result.ed at the end when a message is saved. Also, when editing a message, if the cursor is at the end of the last line and the user presses the DEL key, then treat it as a backspace. Some terminals send a delete for backspace, particularly with keyboards that have a delete key but no backspace key.
-
rswindell authored
maintained between lines, reported by Immortal@IDOMAIN: Use P_SAVEATR to retain the new attributes after each call to putmsg() in printfile() line-at-a-time mode. We are no setting the initial attribute to LIGHTGRAY or restoring the original attribute at the end (like a call to putmsg() withou the P_SAVEATR would) - so we may need to add that later for line-at-a-time mode, as well.
-
rswindell authored
Use adjusetuserrec() for credit adjustments (support full 4GB range).
-
rswindell authored
-
- Aug 14, 2019
-
-
nightfox authored
-
rswindell authored
a CR *and* it doesn't contain a 0xE3 (QWK newline). <sigh>
-
rswindell authored
Use the proper method of detecting an ANSI terminal: console.term_supports(USER_ANSI), not (user.settings&USER_ANSI) Use a user-property, [logon] makguest=false, rather than the 4G flag to indicate that the sysop has opted-out of creating a 'Guest' account on their BBS. If you don't have an Guest account and you already opted-out, sorry, this will prompt you again. However, get the use of a security flag (4G) back for your own definition/use, as originally intended. Removed some commented-out debug output (clean-up).
-
rswindell authored
(Sorry Deuce). If/when HTMLterm is resurrected, this logic should probably go into a subordinate module that's invoked when appropriate.
-
rswindell authored
(ctrl_dir). Use the CPM-EOF printfile mode to stop printing files when encountering a SAUCE record.
-
rswindell authored
This variation on fcntl() record-locks resolves multiple-thread / forking issue with region locks. No longer falls back to using flock() (whole-file locks), when OFD locks are available and used successfully. At the least, this should provide a performance boost for shared files using region locks (on Linux). No change for Windows (region locks already worked sanely among multiple threads) and other *nixes (that use POSIX fcntl() locks only).
-
rswindell authored
(credits) to use the full 4 gibibyte range of a 32-bit unsigned integer: max-out at 4,294,967,295 instead of 2,147,483,647. Since these values are stored as 10 characters, we could theoretically extend the range to 9,999,999,999 (credits/bytes) without changing the user.dat format but is a bigger change (moving to 64-bit integers everywhere these values are read or adjusted).
-
rswindell authored
Only retain the last (most recent) 10 data/<id>.qwk.*.bad files and data/file/<user-num>.rep.*.bad files.
-
- Aug 13, 2019
- Aug 12, 2019
-
-
rswindell authored
TERMINAL LOCATION NUMBER (RFC 946) in sbbs_t::telnet_location. Some (older?) versions of fTelnet request to send this option to the BBS to share the real IP address of the client. Accept this option (when using "format 0") and store the first 32-bits (an IPv4 address) in the telnet location storage / caller-ID information. The same place the telnet SEND LOCATION value is stored if received. Now, we're not requesting this option (e.g. with a Telnet "DO" command), but fTelnet doesn't need that: It offers to send it, so we accept.
-
rswindell authored
to put in the description (in strftime() format). Can also be used in combination with '-t' if you want today's date/time instead. It's not very clear from the help/usage output, but if you specify both -f (or -F) and -t, you'll *only* get today's date in the description (not both the file date and today's date).
-
rswindell authored
-
rswindell authored
"kludges ... should be ... terminated by either a carriage return, or the (0xE3) QWK terminator" :-(
-
rswindell authored
(not delete) from the end of the sorted list of files (normally, 0). Created an sbbs_t::delfiles() wrapper which defaults to keep 0 files and also generates a error.log message if any of the file-deletions fail.
-
rswindell authored
(not delete) from the end of the sorted list of files (normally, 0).
-
rswindell authored
deprecated
-
- Aug 11, 2019
- Aug 10, 2019
-
-
deuce authored
-