- Dec 02, 2020
-
-
Rob Swindell authored
It enables the keyboard insert mode by default (for Nelgin).
-
Rob Swindell authored
The "DOS" ARS keyword was always evaluating to false, on all platforms, for the C version of chk_ar(), which is used for populating JS *_area objects and for the User.compare_ars() implementation. Unfortunately, the startup (sbbs.ini) "NO_DOS" option is not recognized here (yet), so it'll report true (e.g. for Win64 or Linux systems with DOSemu) even if/when the NO_DOS option is set.
-
Rob Swindell authored
e.g. don't log the error "term !ERROR resolve_ip example.com failed with error -2", just let the script deal with the failure and log an error if it wishes.
-
- Dec 01, 2020
-
-
Rob Swindell authored
Pre-increment would've worked too.
-
Rob Swindell authored
... or when passed an invalid external program code or number, rather just just returning false. The underlying exec_xtrn() C++ function may return false (failure) for other reasons, so let's not obfuscate the other potential failure causes.
-
Rob Swindell authored
cmdstr() is often called for non-executable command-lines (e.g. for @include: file name/path arguments), so don't default to native unless a mode value was specified. Hopefully addresses issue reported by bobrob without breaking anything else (again).
-
Rob Swindell authored
This reverts commit 1597e9a9.
-
- Nov 30, 2020
-
-
Rob Swindell authored
Always check the command-line for a '*' or '?' prefix and compare the executed filename against the native program list. For DOSEMU magic drive/path name command-line specifier substitution, but only when invoking DOS programs. Reported by bobrob via IRC.
-
Rob Swindell authored
xmodem_cancel() would return an error if putcom() failed, *before* setting the "cancelled" [sic] flag. xmodem_cancel() in response to the receipt of a remote cancel request (^X character).
-
- Nov 29, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
Don't do the DOSEMU drive-letter dance for xtrn startup directory if the xtrn's command line is implicitly native (e.g. Baja or JS). Also, recognize Baja command-lines as native in cmdstr() - for %n, %!, etc. DOSemu expansion hack.
-
Rob Swindell authored
If a node's configuration can't be loaded (e.g. nodeX/node.cnf is missing), fall-back and load the "first node" (e.g. Node1) configuration. On recent *nix installs (since the migration to Git), the node2+/node.cnf files were not copied/created, so let's solve that soon-to-be-FAQ now.
-
Rob Swindell authored
Fixes issue introduced in last commit to this file (the each-node-has-its-own-config-in-memory enhancement) that would prevent users from logging in because their time was reduced for an upcoming event that had already run. The change assumes the event thread is running (its the thing that reads the event last-run info from time.dab). Thanks to mlong for the report.
-
Rob Swindell authored
... between all nodes of a instance sbbs instance. That's now no longer true.
-
Rob Swindell authored
Previously, all nodes shared the same copy of the configuration in memory. This prevented any node from seeing an updated configuration until all nodes were offline or waiting for connection and could be recycled. Now, no recycling of the server is needed for a node to load a new config. A node in-use *still* cannot reload configuration until the user disconnects, but all you have to do is logon to another unused node and you (or that user) will get an updated configuration. Bots or server recycling problems will no longer prevent the sysop or user from getting a current configuration when connecting to any node. This is one of those instances of giving the sysop what he wants rather than what he asked for. I should've done this a long time ago, but the idea just occurred to me. You're welcome. :-)
-
Rob Swindell authored
Let UIFC do the truncation as necessary to fit windows/forms, when applicable. Thanks for jc and nelgin for pointing this out via IRC.
-
Rob Swindell authored
The name length is limited to 25 chars, so we don't need a 50-char wide menu here.
-
- Nov 28, 2020
-
-
-
Rob Swindell authored
-
Rob Swindell authored
More logging details (e.g. subpacket byte progress). Identify XON and XOFF by name (e.g. when purging receive buffer). Some variable naming and comment improvements.
-
Rob Swindell authored
Also, zmodem_send_raw() was saving the "last sent" char, even if it wasn't successfully sent. Eliminated the "errors" mode of zmodem_recv_header_raw() since was no longer used. Eliminated zmodem_recv_header_and_check() since it's no longer used. Some debug-log fix-ups (e.g. with progress/offset).
-
Rob Swindell authored
-
Rob Swindell authored
only when the errored data subpacket was a ZCRCW (waiting for ZACK). To resolve a non-streaming failure to recover after CRC error issue.
-
Rob Swindell authored
-
Rob Swindell authored
... like the last commit that did this, but do in the other 2 places where stderr output is logged as log messages. Also, include the extended program name in the stderr log messages, making it easier to find the output you're looking for.
-
Rob Swindell authored
... based on the configuration setting. Also, prompt for upper or lowercase after setting the editor information file type, so no "door drop file" needs to be selected to change the case of the editor information file. - reported by mlong
-
- Nov 27, 2020
-
-
Rob Swindell authored
Makes easier trace/debugging of issues (e.g. matching up with sending side logs). No functional change.
-
Rob Swindell authored
__FUNCTION__ cannot be used a string literal in GCC.
-
Rob Swindell authored
Previously, a ZRINIT frame would be sent even after a failed file download, and this could be misinterpreted by the sender as a successful file receipt acknowledgement. 'lrz' just completely aborts the receive "batch" under the same conditions, so we'll just do the same to prevent the sender (e.g. BBS) from mistakenly counting this as a successful transfer (download). A lot of log message updates: additions, removals, and use of the __FUNCTION__ macro.
-
Rob Swindell authored
-
- Nov 26, 2020
-
-
Rob Swindell authored
Only observed on Windows, the option value variable (val) was uninitialized so querying byte-sized options using WinSock getsockopt() would leave the MSB of the value as undefined (garbage), resulting in sockinfo.js output like this: KEEPALIVE = -858993663 instead of this: KEEPALIVE = 1
-
Rob Swindell authored
Ctrl-A codes that cause cursor movement or attribute changes or anything except toggling the console output will now be ignored when console output is off.
-
Rob Swindell authored
Only in Socket I/O mode. This will allow us to tweak the SNDBUF size (to account for slow ZMODEM downloads - sends from sexyz) and frob other socket knobs. Also added a line feed to Windows OutputDebugString() messages since MSVC's debug log viewer now assumes that you will.
-
Rob Swindell authored
Don't complain that exec/<modname>.bin can't be opened. Instead, complain that <modname> doesn't exist and therefore can't be executed. The old message could be misleading/confusing if the expected module is a JS mod (not Baja-compiled .bin mod).
-
- Nov 25, 2020
-
-
Rob Swindell authored
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
-
Rob Swindell authored
Make it clear that if it's not a 16-bit DOS program, it's "native". Changed "New Shell / New Context" to "New Shell or New Context"
-
Rob Swindell authored
- for Nelgin
-
Rob Swindell authored
JavaScript modules are intuitively "native" and have not historically required the "native" option to be set to "yes" in SCFG.
-
Rob Swindell authored
-
Rob Swindell authored
Testing my commit hook more than anything.
-