Skip to content
Snippets Groups Projects
  1. Dec 06, 2020
    • Rob Swindell's avatar
      Don't print a CRLF in printfile() (called by menu) if no file exists · 0286b97e
      Rob Swindell authored
      printfile() assumes you want the file displayed starting in column 0, so will send a CRLF to insure that it does (unless the P_NOCRLF mode flag is specified). But this CRLF printing was happening before the file was opened and when the P_NOERROR mode flag is specified, this should be a silent failure with no print output. So move the CRLF printing to *after* the file is opened.
      
      This expose an issue in the latest xtrn_sec.js where it makes several calls to bbs.menu() with the P_NOERROR mode flag set, expecting nothing to happen if/when the optional display files (e.g. xtrn*_tail.*) don't exist.
      
      Reported by JC via IRC.
      0286b97e
    • Rob Swindell's avatar
      Fix null pointer deref (crash) in new_user() when "client" object is invalid · e67fe56e
      Rob Swindell authored
      When system.new_user() was called but the current "client" object is uninitialized (e.g. has NULL protocol, host or IP address fields because there is no active client, e.g. because is was called from a timed event with active user online) - this code would dereference a NULL pointer and crash the b0rad. Reported by Mortifis.
      e67fe56e
    • Rob Swindell's avatar
      New @-codes for current message thread info · 7acd5931
      Rob Swindell authored
      - MSG_THREAD_ID
      - MSG_THREAD_BACK
      - MSG_THREAD_NEXT
      - MSG_THREAD_FIRST
      
      for John (JCBBS). Not sure what you're going to use these for, but there you have them. <shrug> :-)
      7acd5931
  2. Dec 04, 2020
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      ZMODEM Window Management support · 829627b9
      Rob Swindell authored
      The default is still full-streaming mode. The default can be changed by
      setting [ZMODEM] MaxWindowSize in sexyz.ini to a maximum window size to
      use by default (e.g. "100K"). Additionally, a [ZMODDEM] TargetWindowSize
      can be set to a duration (e.g. 60s) to dynamically adjust the maximum
      window size to match the through-put rate while keeping the outstanding data
      in-flight to an estimated "duration". When TargetWindowSize is used, the
      MaxWindowSize only specifies the *initial* maximum window size.
      
      The new '-w' command-line option can be used to control Window Management
      support (e.g. over-riding the .ini set default) - by using '-w' or '-w0',
      Window Management won't be used or by using '-w<max-size>', a maximum window
      size will be imposed (subject to the TargetWindowSize setting mentioned
      above). <max-size> can be specified in bytes or multiples (e.g. "-w100K").
      Ths option is similar to the [l]sz '-w' option except no space is expected
      between '-w' and the (optional) max-size value.
      
      Also new, when receiving [ZMODEM] FullDuplex can be set to FALSE to disable
      streaming mode: if the RecvBufSize is not set (0), the sender should use the
      subpacket data length (block size, e.g. 1K) as the segment size. Otherwise,
      setting FullDuplex=FALSE should produce the same behavior as setting the
      RecvBufSize would before (the result being the use of "segmented ZMODEM"
      instead of "streaming ZMODEM").
      
      All sexyz command-line options are case-sensitive now (not just the 'cmds').
      A lot of code clean-up in zmodem.c.
      
      Incremented zmodem.c rev to 2.0.
      Incremented sexyz version to 3.0.
      829627b9
    • Rob Swindell's avatar
      Change rev to 2.0. · 61b0bde8
      Rob Swindell authored
      61b0bde8
  3. Dec 03, 2020
  4. Dec 02, 2020
  5. Dec 01, 2020
  6. Nov 30, 2020
  7. Nov 29, 2020
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Command-lines that start with '?' or '*' are implicitly native · 79864b8e
      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.
      79864b8e
    • Rob Swindell's avatar
      Fallback to the "first node" configuration · 6af93d70
      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.
      6af93d70
    • Rob Swindell's avatar
      Copy event last-run info from global config into node config · 9ee0fb9e
      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.
      9ee0fb9e
    • Rob Swindell's avatar
      Remove now-obsolete help text about FirstNode config being shared · f348a267
      Rob Swindell authored
      ... between all nodes of  a instance sbbs instance. That's now no longer true.
      f348a267
    • Rob Swindell's avatar
      Load/keep/refresh each node's configuration in memory. · e638c332
      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. :-)
      e638c332
    • Rob Swindell's avatar
      Don't truncate configuration strings when displaying lists/menus · 714d6b19
      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.
      714d6b19
    • Rob Swindell's avatar
      Narrow the File Transfer Protocol menu. · 16a05389
      Rob Swindell authored
      The name length is limited to 25 chars, so we don't need a 50-char wide menu here.
      16a05389
  8. Nov 28, 2020
  9. Nov 27, 2020
Loading