Skip to content
Snippets Groups Projects
  1. Oct 25, 2020
  2. Oct 24, 2020
    • Rob Swindell's avatar
      More log message overhaul. POP3 CAPA cmd support in transaction state. · b4582ecf
      Rob Swindell authored
      Log the IP address first in most log messages.
      Condense white-space in log messages to a single space.
      Log the server IP address of incoming connections.
      (more) Intelligent email address enclosure in angle-brackets.
      Better duplicate address comparison (just for log message).
      Fix wrong order of lprintf arguments in !UNKNOWN USER log message (new bug).
      
      b4582ecf
    • Rob Swindell's avatar
      Add condense_whitespace() function. · 1ad15bba
      Rob Swindell authored
      Created a function to condense all white-space in a string to single space-characters (e.g. Yoda).
      1ad15bba
  3. Oct 23, 2020
  4. Oct 22, 2020
  5. Oct 21, 2020
  6. Oct 17, 2020
  7. Oct 16, 2020
  8. Oct 15, 2020
  9. Oct 12, 2020
  10. Oct 11, 2020
    • Rob Swindell's avatar
      Better error detection in msgtoqwk() · 2bd03362
      Rob Swindell authored
      Have msgtoqwk() return a negative number upon error (e.g. blank message, failed to read to body text), which means *no* message header was written to the messages.dat file, so don't increment the record (block) counter used to create the index (NDX) file.
      
      If msgtoqwk() returns 0, that means that a header was written, but no body text (e.g. a vote message) and that is different than an error.
      2bd03362
  11. Oct 10, 2020
    • Rob Swindell's avatar
      Fix NDX file creation when votes are included in QWK packets · 39d09590
      Rob Swindell authored
      When both Indexes (NDX files) and vote messages are included in a QWK packet (an unexpected, but valid combination), the "Record number" stored in NDX files for subs with votes would be incorrect as it did not increment when a vote message (with no body text) was added to the messages.dat file.
      
      Reported by user that was trying to use MultiMail to read a QWK packet that included both votes and indexes and "IgnoreNDX: No" in their .mmailrc file.
      39d09590
  12. Oct 09, 2020
    • Rob Swindell's avatar
      Don't pass-through ANSI Device Attributes (DA) requests · 97638c16
      Rob Swindell authored
      putmsg(), used to display messages and display/menu files, will no longer pass-through the ANSI sequence ESC[c (found in some corrupted ANSI posts to fsxNet->FSX_BOT echo) to the client terminal since this will stimulate a (unwanted) response from the client.
      
      I do wonder if the outchar_esc value check should be == here instead of >=, but I'm not familiar with the string and SOS states. I wonder if any display files sent from the BBS would ever include those sequences.
      97638c16
    • Rob Swindell's avatar
      Use an enum for ANSI output state · fa53e10a
      Rob Swindell authored
      No functional change with regard to the ANSI output state, just making the code easier to read.
      
      Removed the conversion of `[ and \xFA[ to \x1b[ in putmsg(). This unexplained output translation has been supported since at least v2.xx and I have no recollection of exactly why it was added. If I recall correctly, some BBS software at some point in time sent ANSI-encoded messages into message networks by translating the ESC (\x1b) character in the ANSI sequences to either ` or \xFA in the process. This "feature" seems like it would still work, but it's completely undocumented and I have no idea why it was added (and seriously doubt anyone relies on this behavior), so I'm removing it. If anyone misses this feature, I'll happily add it back, but I'm skeptical that'll happen.
      fa53e10a
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Replace ESC chars with '.' when viewing messages, support '-<count>' with 'r'. · b7a70f2d
      Rob Swindell authored
      When reading messages, circumvent ANSI-encoded messages by replacing the ESC
      character (ASCII 27) with '.'. This could be made an optional behavior if
      someone really wants ANSI-encoded messages to be read via smbutil.
      
      Also, allow continuous reading of 1 or more consecutive messages using the
      -<digit> option (no prompting).
      b7a70f2d
Loading