Skip to content
Snippets Groups Projects
  1. Jan 15, 2019
  2. Jan 14, 2019
  3. Jan 13, 2019
  4. Jan 12, 2019
  5. Jan 11, 2019
    • rswindell's avatar
      Stop parsing/converting when reading a Ctrl-Z (CPM EOF char): used to mark · 367077dd
      rswindell authored
      the beginning of a SAUCE record and the end of very old MS-DOS text files.
      Added support for ESC[1;1f/H (home cursor) and ESC[0J (clear to EOS) sequences
      (converted to the equivalent in Ctrl-A codes).
      Output Ctrl-A characters in uppercase, as they were documented and as is
      common practice.
      Covert ESC[xB and ESC[xD to the appropriate Ctrl-A sequences rather than
      converting to ASCII ctrl chars (CR, LF, BS).
      367077dd
    • rswindell's avatar
      Add missing (but rarely used) Ctrl-A sequences: · 9a0faf76
      rswindell authored
      Ctrl-AJ (clear to EOS)
      Ctrl-A` (home cursor)
      9a0faf76
    • rswindell's avatar
      A partial retraction of the Ctrl-AZ interpretation changes introduced on · b2412964
      rswindell authored
      Oct-14-2018:
      It turns out, PabloDraw actually inserts a Ctrl-AZ sequence at the end of .msg
      (and presumably Synchronet .asc) files it edits - before the SAUCE record.
      This resulted in a printed Ctrl-Z character (arrow pointing right) in most
      terminals when viewing text/menu files created or edited with PabloDraw. :-(
      So, now Ctrl-AZ (uppercase) will revert to the previous definition:
      premature end-of-file (EOF)
      and a Ctrl-Az (lowercase) will output a Ctrl-Z (substitute) character.
      I'm not a big fan of case-sensitive Ctrl-A codes, but frankly, running out of
      chars and I already started this pattern with the Ctrl-AF/f sequences.
      Hopefully there's no existing software that is/was putting Ctrl-Az (lowercase)
      in files, expecting that to trigger a premature EOF. I certainly was not.
      b2412964
    • rswindell's avatar
      Provide a better/updated example. · a4fa36f0
      rswindell authored
      a4fa36f0
    • rswindell's avatar
      Read the default web_inactivity value from modopts.ini [web] inactivity value. · d79bf15c
      rswindell authored
      - this change is dependant on the updated load/modopts.js.
      Cache the presence_lib and nodelist options in the bbs.mods object to speed
      up the re-loading of this script from the BBS. This means that changes to the
      presence_lib or modopts.ini will require the user log-off/back-on to experience
      the changes (only for the nodelist module).
      d79bf15c
    • rswindell's avatar
      Automatically exclude 0-aged users and blank genders from the output · 85ca7a6d
      rswindell authored
      of the user_age_and_gender() method.
      Changed options.web_inactivity_timeout to just options.web_inactivity to be
      more consistent with the existing modopts.ini [web] option naming.
      85ca7a6d
    • rswindell's avatar
      New modopts.js usage supported: · 6ae79a48
      rswindell authored
      You may now request the value of a single modopts.ini key value (optionally
      specifying a default option value), via:
          optval = load({}, 'modopts.js', 'modname', 'optname');
      or:
          optval = load({}, 'modopts.js', 'modname', 'optname', default_optval);
      
      This usage will return just a single option value rather than an object
      containing properties reflecting all the options in the [modname] section.
      The pre-existing usage is still supported (and preferred in most cases).
      6ae79a48
    • rswindell's avatar
      Allow the web user action verb to be configurable via options.web_browsing · f1aa7207
      rswindell authored
      (default: 'browsing' - to match web UI verbiage).
      f1aa7207
Loading