- Mar 24, 2020
-
-
rswindell authored
-
rswindell authored
filtering on packet address (e.g. to limit importing to a specific msg network) - for Ragnarok
-
rswindell authored
"getter". Don't call getstats() when querying properties that aren't actually stats (e.g. total_users) - performance optimization.
-
rswindell authored
create the directories.
-
rswindell authored
This makes this file more suitable for import into SCFG->Message Areas (something I'll work on soon), i.e. as an alternative to importing badareas.lst
-
rswindell authored
55 characters (per echobase.hlp and .que in http://echolist.net/echohelp.zip). ... who knew?
-
rswindell authored
when importing an echolist (e.g. badareas.lst) file, the storage path of the template sub-board (if there was one) is cleared. Don't over-ride the template sub's storage path unless a non-blank storage directory was specified in the import file (e.g. subs.txt).
-
- Mar 23, 2020
-
-
echicken authored
Possibly fix dupe dummy score on first run. Didn't test lol. Added 'N' for immediate next wave. ESC to quit still works, but now Q does too. Tidied up a bit, but wow ... this is pretty bad. You'd think I wrote most of it over the course of a drunken evening seven years ago or something.
-
rswindell authored
if there are no Fidonet addresses configured in SCFG->Networks->FidoNet.
-
rswindell authored
-
rswindell authored
Added CVS/rcs "Id" keyword, as all sbbs .js files should have.
-
rswindell authored
Resolve a couple of CPU-sucking while(!console.inkey()); loops.
-
rswindell authored
set the capabilities of sbbs (enable low-port binding)
-
rswindell authored
-
rswindell authored
This eliminates the error messages that would be displayed/logged when attempting the SYS_capset SYSCALL, which fails when not root. So the capabilities dance enabled with USE_LINUX_CAPS (which is automatically enabled when /usr/include/sys/capabilites.h exists, which is installed with the libcap2-dev package) apparently is still useful if you need to start sbbs as root: the main thread will remain as root even when the child threads have their user-id's changed to the user specified in the [UNIX] section of sbbs.ini or on the command-line - so reducing the enabled privilege set for this root/main thread to the minimum needed, is a good security measure. It does this reduction (call to linux_minprivs() after the call to change_user()) so I'm not exactly sure how that works, but according to Deuce, this is what's happening. :-/
-
rswindell authored
thing or how to test the change. <shrug>
-
rswindell authored
time for it to go away. Using 'sudo setcap sbbs' during build seems like the better, more supported solution.
-
rswindell authored
the generated 'sbbs' executable to enable low-port-binding capability. e.g. run 'make RELEASE=1 setcap symlinks' to make a release (non-debug) build, set the bind-capability on sbbs, and create symlinks from your exec directory to the build output (*.exe.release) directory.
-
- Mar 22, 2020
-
-
rswindell authored
-
rswindell authored
progress, but [H]eader view and [C]hange attributes commands work, more or less.
-
rswindell authored
of external program names to be displayed: 32 chars in multicolumn mode 40 chars in singlecolumn mode
-
rswindell authored
of external program names to be displayed: 32 chars in multicolumn mode 40 chars in singlecolumn mode New modopts.ini [xtrn_sec] keys: - multicolumn_separator (default: " ") - singlecolumn_margin (default: 7) - singlecolumn_height (default: screen rows - singlecolumn_margin) - singlecolumn_lstfmt (default: "\x01h\x01c%3u \xb3 \x01n\x01c%s\x01h ")
-
rswindell authored
Moved twitlist.cfg and spamblock.cfg to "Edit Filter File" menu.
-
rswindell authored
nanosleep was interrupted by a signal and the SLEEP parameter is > 1. Previously, any signal wuold abort SLEEP() prematurely. A SLEEP(1) (yield) behaves the same as before since 1 is a special value where a short-sleep duration is fine/expected on occasion.
-
rswindell authored
Updated Menu Item names (e.g. "Configure BBS" rather "Run SCFG"). Added menu options to view echostats.ini and badareas.lst
-
rswindell authored
(could create duplicate groups). Added EchoList configuration to sbbsecho.ini (optional/prompted).
-
- Mar 21, 2020
-
-
rswindell authored
Fixed capitalization and description of "SBBSecho".
-
rswindell authored
term.c:1033:23: warning: '%s' directive writing up to 4096 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] term.c:1033:5: note: 'sprintf' output between 2 and 8194 bytes into a destination of size 4097 term.c: In function 'xmodem_download': term.c:1503:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] term.c:1503:5: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 term.c:1543:25: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] term.c:1543:7: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 term.c:1585:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] term.c:1585:5: note: 'sprintf' output 2 or more bytes (assuming 4098) into a destination of size 4097 Apparently removed some trailing whitespace characters too (thanks, Geany!).
-
rswindell authored
bbslist.c:1336:44: warning: '%s' directive writing up to 1024 bytes into a region of size 536 [-Wformat-overflow=] bbslist.c:1336:3: note: 'sprintf' output between 25 and 1049 bytes into a destination of size 560 bbslist.c:1342:44: warning: '%s' directive writing up to 1023 bytes into a region of size 376 [-Wformat-overflow=] bbslist.c:1342:3: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 400 bbslist.c:1343:44: warning: '%s' directive writing up to 1023 bytes into a region of size 296 [-Wformat-overflow=] bbslist.c:1343:3: note: 'sprintf' output between 25 and 1048 bytes into a destination of size 320 bbslist.c:1344:44: warning: '%s' directive writing up to 4096 bytes into a region of size 216 [-Wformat-overflow=] bbslist.c:1344:3: note: 'sprintf' output between 25 and 4121 bytes into a destination of size 240 bbslist.c:1345:45: warning: '%s' directive writing up to 1024 bytes into a region of size 136 [-Wformat-overflow=] bbslist.c:1345:3: note: 'sprintf' output between 25 and 1049 bytes into a destination of size 160
-
- Mar 20, 2020
-
-
rswindell authored
the necesary functions for a re-implementation of asprintf().
-
rswindell authored
any files), so use "del /q" instead.
-
rswindell authored
Fixed some JSDOC strings.
-
rswindell authored
Unexpected file path 's:\sbbs\fido\outbound\0067270f.hut' expected '../fido/outbound\0067270f.hut' (skipped) Unexpected file path 's:\sbbs\fido\outbound\0067270f.hlo' expected '../fido/outbound\0067270f.hlo' (skipped) Unexpected file path 's:\sbbs\fido\outbound.002\011801d0.clo' expected '../fido/outbound.002\011801d0.clo' (skipped)
-
rswindell authored
Nah, seriously, though is anyone but me using PETSCII? :-)
-
- Mar 19, 2020
-
-
rswindell authored
"dump" to an array of strings using the (new) smb_msghdr_str_list() SMBLIB function. The message header passed must've been previously returned from the get_msg_header() or get_all_msg_headers() method. A similar dump could be constructed from the header properties, as available in JS, but that would be inconsistent with other msg header dumps and likely lack header fields or details available from the lowest level dump method provided in SMBLIB.
-
rswindell authored
- ASCII - UTF8 - CP437 And these, along with the pre-existing PETSCII keyword, are mutually exclusive (only one will be set/true).
-
rswindell authored
- you couldn't specify a maxnum value of 0 (it would get overridden to ~0) - you couldn't specify a mode argument value without also specifying a non-zero maxnum value
-
rswindell authored
-
rswindell authored
-
rswindell authored
(e.g. for the [O]perator->(H)eader dump command from the reading msgs prompt) Looks pretty much the same as before.
-