• exec/msgutil.js

    From rswindell@VERT to CVS commit on Thursday, May 10, 2018 12:06:46
    exec msgutil.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv21180

    Added Files:
    msgutil.js
    Log Message:
    A simple message base test script right now, but ultimately could (should)
    grow into something that could be used in lieu of smbutil for at least
    some message base admin functions. Committing in its current form for
    Bill McGarrity to use to help diagnose a Message-ID issue (w/newslink.js)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Bill McGarrity@VERT/TEQUILAM to rswindell on Thursday, May 10, 2018 15:25:05
    Re: exec/msgutil.js
    By: rswindell to CVS commit on Thu May 10 2018 12:06:46

    Hiya Rob...

    Added Files: msgutil.js Log Message: A simple message base test script right now, but ultimately could (should) grow into something
    that could be used in lieu of smbutil for at least some message base
    admin functions. Committing in its current form for Bill McGarrity to
    use to help diagnose a Message-ID issue (w/newslink.js)

    OK.. downloaded the script and ran it. (hopefully correctly) Here are the results:

    c:\sbbs\exec>jsexec msgutil.js c:\sbbs\data\subs\usenet_altbbsfg.shd

    JSexec v3.17a-Win32 (rev 1.199) - Execute Synchronet JavaScript Module
    Compiled Apr 30 2018 05:03:22 with MSC 1800

    Loading configuration files from C:\SBBS\CTRL
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from c:\sbbs\exec\msgutil.js
    c:\sbbs\exec\msgutil.js compiled in 0.00 seconds
    !include votes = undefined
    0 seconds
    c:\sbbs\exec\msgutil.js executed in 0.04 seconds

    In all my USENET areas I Have Allow voting set to NO

    If I did it incorrectly, please let me know..

    --

    Bill

    Telnet: tequilamockingbirdonline.net
    Web: bbs.tequilamockingbirdonline.net
    FTP: ftp.tequilamockingbirdonline.net:2121
    IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: 6697
    Radio: radio.tequilamockingbirdonline.net:8010/live

    ---
    þ Synchronet þ TequilaMockingbird Online - Toms River, NJ
  • From rswindell@VERT to CVS commit on Friday, April 24, 2020 17:49:32
    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
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, June 28, 2021 17:58:02
    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