• exec/msgutil.js

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Jun 28 17:58:02 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/291ff7b10f8c13dac128b8ec
    Modified Files:
    exec/msgutil.js
    Log Message:
    Don't load() 822header.js unless we're exporting messages

    822header.js adds an enumerable method to the header object which ends up in the output when using the -hdrs option/command.

    This addresses issue #277

    Note: this is not actually a supported or documented script.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Apr 24 17:49:32 2020
    exec msgutil.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv30659

    Modified Files:
    msgutil.js
    Log Message:
    Better command-line parsing.
    Added "-export" for F. Krueger (2:333/808.1) which exports every message from the specified message base into a separate text file (in the sbbs/temp dir). e.g. "jsexec <msgbase-code> -export"
    Uses RFC-822 style header syntax. No dot-stuffing. Strips Ctrl-A codes. Uses CRLF-terminated lines. All these things could be configurable with options easily enough if someone wants different behavior.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net