- 24 Feb, 2022 2 commits
-
-
Rob Swindell authored
CID 33210 CID 33211
-
Rob Swindell authored
CID 33207 CID 33208 CID 33209
-
- 23 Nov, 2020 1 commit
-
-
Rob Swindell authored
The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down. I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit. There is no functional change in behavior in this comment.
-
- 06 Nov, 2020 1 commit
-
-
Rob Swindell authored
I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values. This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service). The new macros names are bit more descriptive as well.
-
- 16 Aug, 2020 1 commit
-
-
Rob Swindell authored
-
- 14 May, 2020 1 commit
-
-
rswindell authored
SCFG for Win32 is linked against a load_cfg lib that builds withOUT SCFG defined, so these compiled AR elements were allocated and then many SCFG operations (e.g. copy/paste, create new) would copy the allocated ARs to another configuration and then be subjected to double-free upon exit/clean-up (resulting in exception or crash). Just get rid of this cruft and some other related RAM-byte-saving hold-overs from the MS-DOS days.
-
- 19 Mar, 2020 1 commit
-
-
rswindell authored
- ASCII - UTF8 - CP437 And these, along with the pre-existing PETSCII keyword, are mutually exclusive (only one will be set/true).
-
- 22 Oct, 2018 1 commit
-
-
rswindell authored
So Omegix recently asked in the Synchronet Discussion group whether or not a PETSCII (Commodore) terminal could be used to access his Synchronet BBS. Now, the answer is "Yes". :-) The major issues addressed: - detecting a PETSCII terminal, solved by assigning specific (configurable): TCP ports to be used for incoming PETSCII connections, by default: port 64 is for 40-column PETSCII and port 128 is for 80-column PETSCII, but if the terminal sends a Telnet Window Size reply (e.g. SyncTERM), then either size terminal should fine on either port. The port numbers are configurable in the [BBS] section of your sbbs.ini file using the new keys: PET40Port (default value: 64) and PET80Port (default value: 128). Having these keys set doesn't make make the terminal server listen on that additional port - you'll need to add more IP:port combinations to one of Interfaces values, example: TelnetInterface=71.95.196.34,71.95.196.34:64,71.95.196.34:128 And you don't have to use Telnet for the PETSCII connections - you could use RLogin or SSH instead (or in addition). - support for terminal widths < 80 columns: This was achieved through a combination of text.dat changes (numerous), new Ctrl-A and @-codes and new optional terminal-width-specific menu files (e.g. text/menu/main.40col.asc) A side effect of these changes is actually better support for terminals *wider* than 80 columns as well! - support for terminals that don't expand tabs to spaces (e.g. PETSCII): The terminal server now handles tab expansion with a run-time settable tab-size (default size: 8) - conditional access based on PETSCII (or small) terminal use (or not): + New PETSCII ARS keyword (boolean) + New COLS and ROWS ARS keywords (for terminal width and height requirements) + New TERM (string) ARS keyword New @-codes: - WORDWRAP, when placed at the top of a file, enables auto-wordwrap for lines longer than the terminal width - CENTER, the text following before an end of line will be displayed centered on the terminal (whatever the width, in columns) - CLEAR, like CLS, except it ignores (doesn't display) a CRLF that follows - COLS, current number of terminal columns (width) - ROWS, current number of terminal rows (height) - TERM, the auto-detected or reported terminal type (e.g. ANSI, TTY, etc.) - SYSONLY, toggles "echo" (display) off/back-on for non-sysops similar to the Ctrl-A( and ) codes, but more convenient to use (and PabloDraw won't strip the @-code from the file like it does with Ctrl-A codes it doesn't support) New Ctrl-A codes: - \ conditional new-line/continuation when the terminal width is < 80 cols prints the new text.dat string LongLineContinuationPrefix yesno() will now return true if passed a blank string. noyes() will now return false if passed a blank string. getstr()'s input length limiting based on terminal width is more broadly applied now (not just when using the K_LINE mode flag). New JS bbs object method: menu_exists(<base_filename>) returns Boolean New JS console object property: tabstop (Number) New JS console object methods: getbyte() and putbyte() to recv/send raw byte value with (very little) interpretation/intervention by the terminal server New JS console object method: creturn() - performs a carriage return (or equivalent) New JS (and C) printfile() mode flag: P_TRUNCATE, causes long lines to be truncated, rather than displaying causing a line-wrap. New text.dat strings: - NoAccessTerminal (for ARS check failures) - LongLineContinuationPrefix (for breaking long lines for 40col terminals) - Scanning (replaces a previously hard-coded "Scanning" string) - Done (replaces a previusly hard-coded "Done") - Scanned (when finished scannning, clears the progress bar)
-
- 20 Feb, 2018 1 commit
-
-
rswindell authored
-
- 24 Oct, 2011 1 commit
-
-
deuce authored
nular or NULL.
-
- 22 Mar, 2009 1 commit
-
-
rswindell authored
ars.c:1282:7: warning: no newline at end of file
-
- 20 Mar, 2009 3 commits
-
-
rswindell authored
-
rswindell authored
DIR <code>) are now handled correctly. The PROT (protocol) keyword never worked correctly. Some ambiguities (e.g. "PROT NOTIFY" and "PROT NOT IFY") are now handled more gracefully. White-space is now required after AND/OR/EQUAL/NOT if the next char is a letter. All the examples in http://synchro.net/docs/security.html still work as documented.
-
rswindell authored
Added HOST and IP keywords to allow restricted access/privileges to/for specific remote hostnames or IP addresses (wildcards allowed). All string-argument type ARS keywords (e.g. SHELL, PROT, etc.) now support .can style wildcards. The current remote client is now used for protocol, host, and IP ARS checking, when available, so this requires passing the client pointer around (which explains why so many files are touched by this change) and takes care of a long standing to-do item (the user's 'modem' value was used for the PROT value checking, which was not always correct).
-
- 30 Sep, 2007 1 commit
-
-
rswindell authored
ULM (uploaded megabytes), and DLK and DLM (for downloaded K/Mbytes).
-
- 23 Sep, 2007 1 commit
-
-
rswindell authored
* ULS - uploaded files * ULB - uploaded bytes * DLS - downloaded files * DLB - downloaded bytes ... so now Phil can have a "true" 1:4 upload/download file ratio requirement by using an ARS of "DLS NOT 4 OR UDFR 25"
-
- 29 Dec, 2006 1 commit
-
-
rswindell authored
-
- 01 Nov, 2005 1 commit
-
-
rswindell authored
-
- 02 Oct, 2005 1 commit
-
-
rswindell authored
Wasn't accounting for correct lengths of keywords: WIN32, UNIX, LINUX, and PROT Didn't support >8 char internal codes in SUBCODE and DIRCODE values Would skip pass the line (null) terminator causing stack corruption or crash when parsing values for SUBCODE, DIRCODE, or SHELL keywords as the last keyword.
-
- 05 Sep, 2005 2 commits
- 17 Oct, 2004 1 commit
-
-
rswindell authored
correctly for the BBS (e.g. "Telnet" and "RLogin") until the chk_ar function is changed to accept a client_t argument.
-
- 30 May, 2004 1 commit
-
-
deuce authored
-
- 27 Dec, 2001 1 commit
-
-
rswindell authored
-
- 23 Jun, 2001 1 commit
-
-
rswindell authored
-
- 30 Apr, 2001 1 commit
-
-
rswindell authored
-
- 08 Nov, 2000 1 commit
-
-
rswindell authored
-
- 29 Oct, 2000 1 commit
-
-
rswindell authored
-
- 10 Oct, 2000 1 commit
-
-
rswindell authored
-