• Bullsh*t Bulletins - Support for msg?

    From Hatton@1:103/705 to echicken on Tue Sep 22 02:36:05 2020
    I'm trying to implement the BS Bulletin alternative and wanted to bring in the BullsEye bulletins. When I do this I'm running into two issues...

    The main one is that it doesn't appear to support the msg files.

    The other one (not in the subject) is that it's wrapping the dove-net.txt file rather wildly.

    One feature I don't see listed but would be interesting is the ability to point to multiple message boards for bulletins. I could see this for some of the automated/stat driven data that I see on other nets.

    Thanks!
    Hatton

    ... A woman drove me to drink, and I never had the courtesy to thank her.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Tue Sep 22 10:05:33 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Tue Sep 22 2020 02:36:05

    I'm trying to implement the BS Bulletin alternative and wanted to bring
    in the BullsEye bulletins.

    The main one is that it doesn't appear to support the msg files.

    Try changing the extension from msg to txt. If you *need* to bring in .msg files on an ongoing basis, then it should be easy to add support to the underlying library (frame.js).

    The other one (not in the subject) is that it's wrapping the dove-net.txt
    file rather wildly.

    I'll have a look, but by default it should be wrapping to the width of the terminal. This doesn't always turn out very nice if the file is formatted for some width > that of the terminal.

    One feature I don't see listed but would be interesting is the ability to
    point to multiple message
    boards for bulletins. I could see this for some of the automated/stat
    driven data that I see on
    other nets.

    At a basic level it's not a difficult feature to add, but:

    - Anyone who can post to those subs has the ability to add "bulletins" to your BBS.

    - All messages in those subs would become bulletins on your BBS, unless I also add filtering so that only messages with a certain From address or matching a certain Subject pattern are imported

    I'm not opposed to making some changes, but bear all of this in mind.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Tue Sep 22 15:39:24 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Tue Sep 22 2020 10:05 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Tue Sep 22 2020 02:36:05

    I'm trying to implement the BS Bulletin alternative and wanted to
    bring
    in the BullsEye bulletins.

    The main one is that it doesn't appear to support the msg files.

    Try changing the extension from msg to txt. If you *need* to bring in .msg files on an ongoing basis, then it should be easy to add support to the underlying library (frame.js).

    .msg is the same format as .asc (Synchronet Ctrl-A). The only difference is the
    display priority (.asc is preferred over .msg for users whose terminals support US-ASCII only).

    digital man

    Synchronet/BBS Terminology Definition #42:
    IMAP = Internet Message Access Protocol
    Norco, CA WX: 87.4øF, 42.0% humidity, 6 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Tue Sep 22 22:14:54 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Tue Sep 22 2020 10:05 am

    The main one is that it doesn't appear to support the msg files.
    Try changing the extension from msg to txt. If you *need* to bring in
    .msg
    files on an ongoing basis, then it should be easy to add support to the underlying library (frame.js).

    I was hoping to include the dynamic value functionality that the msg format brings.

    What's interesting is when I changed the extension the same strange wrapping happened that I got on the DoveNet.txt file.

    It's almost like instead of just raw-dumping the file at the end of a line it's hitting a CR/LF and then putting in spaces equal to the number of characters in the previous line. I've put a sample after my signature.

    I just posted a test in the bulletin message group to see what happens. Unfortunately that's not showing up yet so I need to see if I missed something in the config somewhere.

    Regarding adding multiple subs, the mindset behind my thought process there was for the networked "stats" subs but I get your point regarding the security there.

    Thanks!
    Hatton

    What is Dove-Net? Fri Jul 13 2007 01:22 am

    DOVE-Net Introduction, Rules and Instructions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    =-=-=-=-=-
    $Id: dove-net.txt,v 1.13 2007/07/13 01:22:23 rswin

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Tue Sep 22 17:45:11 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Tue Sep 22 2020 10:14 pm

    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Tue Sep 22 2020 10:05 am

    The main one is that it doesn't appear to support the msg files.
    Try changing the extension from msg to txt. If you *need* to bring in .msg files on an ongoing basis, then it should be easy to add support to the underlying library (frame.js).

    I was hoping to include the dynamic value functionality that the msg format brings.

    What's interesting is when I changed the extension the same strange
    wrapping
    happened that I got on the DoveNet.txt file.

    It's almost like instead of just raw-dumping the file at the end of a line it's hitting a CR/LF and then putting in spaces equal to the number of characters in the previous line. I've put a sample after my signature.

    I just posted a test in the bulletin message group to see what happens. Unfortunately that's not showing up yet so I need to see if I missed something in the config somewhere.

    Regarding adding multiple subs, the mindset behind my thought process there was for the networked "stats" subs but I get your point regarding the security there.

    Thanks!
    Hatton

    What is Dove-Net? Fri Jul 13 2007 01:22 am

    DOVE-Net Introduction, Rules and Instructions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    =-=-=-=-=-
    $Id: dove-net.txt,v 1.13 2007/07/13 01:22:23 rswin

    Looks like an LF versus CRLF line-ending problem. Try runnnig "unix2dos" on the file?

    digital man

    This Is Spinal Tap quote #22:
    David St. Hubbins: Here lies David St. Hubbins... and why not?
    Norco, CA WX: 82.9øF, 42.0% humidity, 7 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Wed Sep 23 00:20:59 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to echicken on Tue Sep 22 2020 03:39 pm

    .msg is the same format as .asc (Synchronet Ctrl-A). The only difference is the display priority (.asc is preferred over .msg for users whose terminals support US-ASCII only).

    Yeah, I think my request was somewhat unrealistic - I was hoping that I could use the alternate bulletin reader and incorporate the dynamic fields in the msg format.

    Hatton

    ... A failure will not appear till a unit has passed final inspection.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Tue Sep 22 18:51:53 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Wed Sep 23 2020 12:20 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to echicken on Tue Sep 22 2020 03:39 pm

    .msg is the same format as .asc (Synchronet Ctrl-A). The only difference is the display priority (.asc is preferred over .msg for users whose terminals support US-ASCII only).

    Yeah, I think my request was somewhat unrealistic - I was hoping that I could use the alternate bulletin reader and incorporate the dynamic fields in the msg format.

    By dynamic fields, you mean @-codes?

    digital man

    This Is Spinal Tap quote #32:
    Derek Smalls: [A jog?] We don't have time for that.
    Norco, CA WX: 78.9øF, 40.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Wed Sep 23 01:37:50 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Tue Sep 22 2020 05:45 pm

    Looks like an LF versus CRLF line-ending problem. Try runnnig "unix2dos" on the file?

    Even if I'm in a Linux environment?

    Hatton

    ... Just because everything is different doesn't mean anything has changed.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Tue Sep 22 19:10:52 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Wed Sep 23 2020 01:37 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Tue Sep 22 2020 05:45 pm

    Looks like an LF versus CRLF line-ending problem. Try runnnig "unix2dos" on the file?

    Even if I'm in a Linux environment?

    Yes, especially.

    digital man

    Rush quote #40:
    I can learn to resist, anything but temptation
    Norco, CA WX: 76.9øF, 43.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Tue Sep 22 22:10:00 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Tue Sep 22 2020 22:14:54


    It's almost like instead of just raw-dumping the file at the end of a
    line it's hitting a CR/LF and
    then putting in spaces equal to the number of characters in the previous
    line. I've put a sample
    after my signature.

    The display-management "library" that it uses (frame.js) is probably doing something weird re: word-wrapping. I'll see if I can sort it out tonight.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Wed Sep 23 02:34:43 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Tue Sep 22 2020 06:51 pm

    By dynamic fields, you mean @-codes?

    Yup, so for example when the initial "stock" bulletins load up it pulls system.msg for the Statistics.

    I was hoping there was a way to use these in echicken's BS bulletin tool along with the reference to the message base.

    Hatton

    ... Illiteratets of the wlord. Untie!

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Tue Sep 22 20:37:23 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Wed Sep 23 2020 02:34 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Tue Sep 22 2020 06:51 pm

    By dynamic fields, you mean @-codes?

    Yup, so for example when the initial "stock" bulletins load up it pulls system.msg for the Statistics.

    I was hoping there was a way to use these in echicken's BS bulletin tool along with the reference to the message base.

    Looks like frame.js support @-codes in ".ans" files only. Not sure why.

    digital man

    Synchronet "Real Fact" #92:
    Digital Man's manifesto from '96: http://wiki.synchro.net/history:manifesto Norco, CA WX: 72.0øF, 60.0% humidity, 6 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Tue Sep 22 23:56:49 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Tue Sep 22 2020 22:14:54

    It's almost like instead of just raw-dumping the file at the end of a
    line it's hitting a CR/LF and
    then putting in spaces equal to the number of characters in the previous
    line. I've put a sample
    after my signature.

    The thing that was loading the text file assumed that it would encounter CRLF line endings. I've committed a change which should handle this better. It'll also accept .asc, .msg, or .txt files now.

    Word of warning: it can be very slow to scroll a lot of content sometimes; probably more to do with how many characters are on the display than the actual length (in lines) of the file. It was painful trying to scroll through dove-net.txt on my system.

    I'm tempted to revise Bullshit to use some different display management techniques, but for it to do that *and* handle ANSI properly will take a bunch more work. (I made a thing called ScrollBox which is currently only used in my gopher client, xtrn/go-for, but it mostly assumes that it's being fed plain text. It uses client-side scrolling, though, and is much, much faster.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Wed Sep 23 04:47:02 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Tue Sep 22 2020 11:56 pm

    The thing that was loading the text file assumed that it would encounter CRLF line endings. I've committed a change which should handle this better. It'll also accept .asc, .msg, or .txt files now.

    Word of warning: it can be very slow to scroll a lot of content
    sometimes;
    probably more to do with how many characters are on the display than the actual length (in lines) of the file. It was painful trying to scroll through dove-net.txt on my system.

    Thanks! I'll pull a new version in the morning and let you know!

    Hatton

    ... Scratch & Sniff .\\essage: Scratch Here --->²²²²²²²²<---

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Thu Sep 24 01:25:47 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Tue Sep 22 2020 11:56 pm

    The thing that was loading the text file assumed that it would encounter CRLF line endings. I've committed a change which should handle this better. It'll also accept .asc, .msg, or .txt files now.

    Thanks for the update (again) - I think I must be doing something wrong though.

    I did a git pull from the server, even recompiled, even copied *.js from the repo but I'm not seeing anything different on the output.

    Hatton

    ... Laugh and the world laughs with you, snore and you sleep alone.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Wed Sep 23 22:26:34 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Thu Sep 24 2020 01:25:47

    I did a git pull from the server, even recompiled, even copied *.js from
    the repo but I'm not seeing
    anything different on the output.

    The relevant change was made to exec/load/frame.js. I don't think I modified anything in xtrn/bullshit/. So, just in case frame.js didn't get updated, please do so and give it a shot.

    I observed the same issue that you did with dove-net.txt beforehand, and it was fixed afterward.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Fri Sep 25 04:45:06 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Tue Sep 22 2020 08:37 pm

    Yup, so for example when the initial "stock" bulletins load up it
    pulls system.msg for the Statistics.

    I was hoping there was a way to use these in echicken's BS bulletin
    tool along with the reference to the message base.

    Looks like frame.js support @-codes in ".ans" files only. Not sure why.

    I've been through three iterations of this reply so far.

    I pulled in the frame.js from the latest commit (along with a rebuild). Am I missing a step in the updates to pull over the latest & greatest committed JS files as well?

    I started to ask about echicken pulling this code over and decided to dust off my own fading memory. On my local copy I've pulled the @-code logic from the ANS section to the section for TXT, MSG and such.

    After some fiddling, I ended up replacing:
    this.putmsg(lines.shift() + "\r\n");

    with
    {
    var line = lines.shift();
    //parse 'ATCODES'??
    line = line.replace(/@(.*)@/g,
    function (str, code, offset, s) {
    return bbs.atcode(code);
    }
    );
    this.putmsg(line + "\r\n");
    }

    This works for the most part but some of the lines are coming back as null, which tells me that there's a missing mapping for the @-code somehow.

    Likes like this return null
    ^An^Ah^AwThis is ^Ay@BBS@^Aw located in ^Ay@LOCATION@^Aw

    Likes like this work
    with your sysop, ^Ay@SYSOP@^Aw here to serve you.

    I also know that the files will need to be updated to remove the CLS calls.

    Any thoughts?

    Hatton

    ... Ebius tagline. This is a moebius tagline. This is a mo ...

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Thu Sep 24 22:16:30 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Fri Sep 25 2020 04:45 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Tue Sep 22 2020 08:37 pm

    Yup, so for example when the initial "stock" bulletins load up it
    pulls system.msg for the Statistics.

    I was hoping there was a way to use these in echicken's BS bulletin
    tool along with the reference to the message base.

    Looks like frame.js support @-codes in ".ans" files only. Not sure why.

    I've been through three iterations of this reply so far.

    I pulled in the frame.js from the latest commit (along with a rebuild). Am I missing a step in the updates to pull over the latest & greatest
    committed
    JS files as well?

    Dunno. Do you multiple files named frame.js on your file system?

    I started to ask about echicken pulling this code over and decided to dust off my own fading memory. On my local copy I've pulled the @-code logic from the ANS section to the section for TXT, MSG and such.

    After some fiddling, I ended up replacing:
    this.putmsg(lines.shift() + "\r\n");

    with
    {
    var line = lines.shift();
    //parse 'ATCODES'??
    line = line.replace(/@(.*)@/g,
    function (str, code, offset, s) {
    return bbs.atcode(code);
    }
    );
    this.putmsg(line + "\r\n");
    }

    This works for the most part but some of the lines are coming back as null, which tells me that there's a missing mapping for the @-code somehow.

    Likes like this return null
    ^An^Ah^AwThis is ^Ay@BBS@^Aw located in ^Ay@LOCATION@^Aw

    Likes like this work
    with your sysop, ^Ay@SYSOP@^Aw here to serve you.

    I also know that the files will need to be updated to remove the CLS calls.

    Any thoughts?

    Not really. Seems like you're on the right track though. Perhaps the lines with multiple @-codes are problematic?

    digital man

    Synchronet "Real Fact" #2:
    Synchronet version 2 for DOS and OS/2 was released to the public domain in 1997.
    Norco, CA WX: 71.8øF, 56.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Fri Sep 25 01:38:34 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Fri Sep 25 2020 04:45:06

    I started to ask about echicken pulling this code over and decided to
    dust off my own fading memory.
    On my local copy I've pulled the @-code logic from the ANS section to the
    section for TXT, MSG and
    such.

    line = line.replace(/@(.*)@/g,
    function (str, code, offset, s) {
    return bbs.atcode(code);
    }
    );

    Likes like this return null
    ^An^Ah^AwThis is ^Ay@BBS@^Aw located in ^Ay@LOCATION@^Aw

    Likes like this work
    with your sysop, ^Ay@SYSOP@^Aw here to serve you.

    You're almost there. The regex needs an adjustment to handle multiple @ codes in a string. Try this instead:

    line.replace(/@([^@]+)@/g, function (m, p1) {
    return bbs.atcode(p1);
    });

    Should do the trick.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Fri Sep 25 11:09:21 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Fri Sep 25 2020 01:38 am

    You're almost there. The regex needs an adjustment to handle multiple @ codes in a string. Try this instead:

    That did the trick! I applied that to both the original code from the ANS section as well and it also corrected the output errors from that section.

    So the next question is do I commit this change to the Git repository or does it only live in my instance?

    Hatton

    ... Spaceballs: The Tagline

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Fri Sep 25 11:15:24 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Thu Sep 24 2020 10:16 pm

    Dunno. Do you multiple files named frame.js on your file system?

    Well there's this whole "repo" directory.

    I think the step I've been missing in my updates is http://wiki.synchro.net/module:update

    I'll look after work today.

    Hatton

    ... Extreme boredom serves to cure boredom.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Fri Sep 25 11:47:57 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Fri Sep 25 2020 11:09:21

    That did the trick! I applied that to both the original code from the ANS section as well and it also corrected the output errors from that
    section.

    So the next question is do I commit this change to the Git repository or
    does it only live in my
    instance?

    So, I've given it a bit of thought and have realized that handling @-codes properly in frame.js is going to be a bit of work. We're on the right track, but there are a few things to consider:

    For reference:

    http://wiki.synchro.net/custom:atcodes

    frame.js is used to manage the contents of the terminal, and (generally) when a script uses it, all output to the user's terminal is fed through a Frame object.

    Several of the terminal-control @-codes have the potential to break things if they appear in a file that you load into a Frame (eg. CLS, CLEAR, UP, DOWN, LEFT, RIGHT). I can think of a few ways to handle this, but will want to figure out what the best one is.

    Some other codes (MENU, TYPE, INCLUDE) could screw up the display as well, while others (EXEC, JS) could be downright "dangerous".

    Adding this functionality to frame.js means that anything that uses it and loads files will suddenly start handling @-codes when it didn't before. Not a huge concern, but a bad file in somebody's ANSIView gallery or whatever could be trouble. If this change is made, it should be made carefully.

    If you want to keep the features you've added for the time being, I would recommend putting your modified copy of frame.js in mods/load/ and then leave the copy in exec/load/ unmodified (in sync with the current version in the git repo). Info on the mods directory, if you're unfamiliar, is here:

    http://wiki.synchro.net/dir:mods

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Fri Sep 25 10:09:21 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Fri Sep 25 2020 11:09 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Fri Sep 25 2020 01:38 am

    You're almost there. The regex needs an adjustment to handle multiple codes in a string. Try this instead:

    That did the trick! I applied that to both the original code from the ANS section as well and it also corrected the output errors from that section.

    So the next question is do I commit this change to the Git repository or does it only live in my instance?

    You can commit (and push) it to a user branch and submit a merge request to the master branch at gitlab.synchro.net. If that's too complicated, just send the file to ec or myself.

    digital man

    Synchronet/BBS Terminology Definition #75:
    SyncTERM = The Synchronet Terminal Emulator/BBS-client program
    Norco, CA WX: 77.0øF, 51.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Fri Sep 25 10:19:29 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Fri Sep 25 2020 11:47 am

    Some other codes (MENU, TYPE, INCLUDE) could screw up the display as well, while others (EXEC, JS) could be downright "dangerous".

    Adding this functionality to frame.js means that anything that uses it and loads files will suddenly start handling @-codes when it didn't before. Not a huge concern, but a bad file in somebody's ANSIView gallery or whatever could be trouble. If this change is made, it should be made carefully.

    Good point. @-codes in a user-supplied content are a security issue. And not a small one.

    digital man

    Synchronet/BBS Terminology Definition #55:
    PET = Personal Electronic Transactor (Commodore computer)
    Norco, CA WX: 78.3øF, 49.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Fri Sep 25 21:24:15 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to echicken on Fri Sep 25 2020 10:19 am

    Some other codes (MENU, TYPE, INCLUDE) could screw up the display as
    well, while others (EXEC, JS) could be downright "dangerous".

    Good point. @-codes in a user-supplied content are a security issue. And not a small one.

    There's an interesting "silver lining" to what I found - the coding I copied over doesn't appear to be handling those codes properly. For example, the CLS did nothing, nor did the control code for "hit any key" that were in the .MSG files I copied over from the system default bulletins.

    That does raise an interesting question though - I'm assuming there is a layer of protection built into the default bulletin tool. What's the difference on that? Is it calling a different library?

    Also, thanks for the heads-up on the mods directory! I'll pull my modified version over there and get a clean copy from my repo directory.

    Hatton

    ... The trouble with facts is that there are so many of them.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Fri Sep 25 16:41:45 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Fri Sep 25 2020 09:24 pm

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to echicken on Fri Sep 25 2020 10:19 am

    Some other codes (MENU, TYPE, INCLUDE) could screw up the display as
    well, while others (EXEC, JS) could be downright "dangerous".

    Good point. @-codes in a user-supplied content are a security issue. And not a small one.

    There's an interesting "silver lining" to what I found - the coding I
    copied
    over doesn't appear to be handling those codes properly. For example, the CLS did nothing, nor did the control code for "hit any key" that were in
    the
    .MSG files I copied over from the system default bulletins.

    Yeah, I think that's just for technical reasons, not security. Frame.js is for a non-scrolling BBS experience, so CLS, PAUSE, and many other @-codes don't really make sense in that context.

    That does raise an interesting question though - I'm assuming there is a layer of protection built into the default bulletin tool. What's the difference on that? Is it calling a different library?

    BullsEye! bulletins only display files (not messages) and it assumes that the sysop either create the files or is in direct control of their content (and no one else is). BullsEye! calls the JS bbs.menu() function directly to display files - no intermediate JS library involved.

    digital man

    Synchronet/BBS Terminology Definition #19:
    DM = Digital Man (Rob Swindell) or Dungeon Master
    Norco, CA WX: 82.6øF, 45.0% humidity, 15 mph NE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Sat Sep 26 04:03:06 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Fri Sep 25 2020 04:41 pm

    Yeah, I think that's just for technical reasons, not security. Frame.js
    is
    for a non-scrolling BBS experience, so CLS, PAUSE, and many other @-codes don't really make sense in that context.

    Fair point - I wonder if there should be an "exclude" list that filters out any dangerous commands. Actually...

    BullsEye! bulletins only display files (not messages) and it assumes that the sysop either create the files or is in direct control of their
    content
    (and no one else is). BullsEye! calls the JS bbs.menu() function directly to display files - no intermediate JS library involved.

    The way I had intended to use BS was by making use of the local message area that only SYSOP user(s) would have access to. That's how echicken has it set up in the docs. Those posts and the fixed files that I ported over from BullsEye!

    I know I had initially floated the idea of setting up multiple message areas and pointing one to a network driven announcement area but I scrapped that concept on the very valid concerns that ec raised in that first reply.

    At this point I haven't even *tried* to bring in the message base posts for the bulletins. That's the next step.

    Hatton

    ... Curiosity killed the cat, but for a while I was a suspect.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Fri Sep 25 21:16:38 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Sat Sep 26 2020 04:03 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Fri Sep 25 2020 04:41 pm

    Yeah, I think that's just for technical reasons, not security.
    Frame.js
    is for a non-scrolling BBS experience, so CLS, PAUSE, and many other @-codes don't really make sense in that context.

    Fair point - I wonder if there should be an "exclude" list that filters out any dangerous commands. Actually...

    I think its best to consider all @-codes as "dangerous".

    BullsEye! bulletins only display files (not messages) and it assumes that the sysop either create the files or is in direct control of
    their
    content (and no one else is). BullsEye! calls the JS bbs.menu() function directly to display files - no intermediate JS library involved.

    The way I had intended to use BS was by making use of the local message
    area
    that only SYSOP user(s) would have access to. That's how echicken has it
    set
    up in the docs. Those posts and the fixed files that I ported over from BullsEye!

    I know I had initially floated the idea of setting up multiple message
    areas
    and pointing one to a network driven announcement area but I scrapped that concept on the very valid concerns that ec raised in that first reply.

    At this point I haven't even *tried* to bring in the message base posts for the bulletins. That's the next step.

    Yeah, I think the way that BS is used, @-codes are likely safe. I think the "problem" that ec was trying to point out: frame.js is used by other modules where the parsing/expansion of @-codes might not actually be safe. So enabling it for *all* uses of frame.js is probably not a good idea.

    digital man

    This Is Spinal Tap quote #42:
    What day the Lord created Spinal Tap and couldn't he have rested on that day? Norco, CA WX: 68.6øF, 76.0% humidity, 2 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to Digital Man on Sat Sep 26 06:36:23 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Fri Sep 25 2020 09:16 pm

    Yeah, I think the way that BS is used, @-codes are likely safe. I think the "problem" that ec was trying to point out: frame.js is used by other modules where the parsing/expansion of @-codes might not actually be
    safe.
    So enabling it for *all* uses of frame.js is probably not a good idea.

    Makes complete sense, especially since frame.js could be considered a good use of "portable" code.

    I think what happened was that I introduced a new use-case for BS. I don't want to present my users with two distinct bulletin systems (BullsEye! and BS). At the same time I like the dynamic content presentation concept of BullsEye! and the message-board driven aspect of BS.

    If this were to push out to other SysOps, would this then warrant a different "split" of frame.js? Or am I the only one looking at this concept and saying, "hey, this is cool!"?

    Also, please forgive the grammar - it's late and I've had a few drinks. Spellcheck can only go so far :)

    Hatton

    ... Chuck Norris can have his cake and eat it too.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Hatton on Sat Sep 26 00:49:04 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Sat Sep 26 2020 06:36 am

    Re: Bullsh*t Bulletins - Support for msg?
    By: Digital Man to Hatton on Fri Sep 25 2020 09:16 pm

    Yeah, I think the way that BS is used, @-codes are likely safe. I
    think
    the "problem" that ec was trying to point out: frame.js is used by other modules where the parsing/expansion of @-codes might not
    actually
    be safe. So enabling it for *all* uses of frame.js is probably not a good idea.

    Makes complete sense, especially since frame.js could be considered a good use of "portable" code.

    I think what happened was that I introduced a new use-case for BS. I don't want to present my users with two distinct bulletin systems (BullsEye! and BS). At the same time I like the dynamic content presentation concept of BullsEye! and the message-board driven aspect of BS.

    If this were to push out to other SysOps, would this then warrant a different "split" of frame.js? Or am I the only one looking at this concept and saying, "hey, this is cool!"?

    It probably should just be a new method or argument flag in frame.js, so that other apps/consumers of the frame.js library don't automatically inherit this capability without understanding its risks.

    Also, please forgive the grammar - it's late and I've had a few drinks. Spellcheck can only go so far :)

    No problem!

    digital man

    Rush quote #32:
    Begging hands and bleeding hearts will only cry out for more
    Norco, CA WX: 64.6øF, 89.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Sat Sep 26 14:56:56 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Sat Sep 26 2020 06:36:23

    If this were to push out to other SysOps, would this then warrant a
    different "split" of frame.js?

    No. It would require some new functionality in frame.js, but not another version. We'd just want to make sure it's handling certain @ codes properly, and probably make it disallow other ones altogether.

    One of the problems is the integrity of the display. Frame needs to know what exists in each character cell on the screen at any one time, and (maybe) where the cursor currently is. Certain @ codes might pull
    the rug out from under it, but that can be accounted for.

    Say you load a .txt file which includes @exec:irc.js@. Frame has no idea that the entire contents of the screen have been obliterated by an IRC client and needs to be redrawn after that script exits.

    Suppose it doesn't execute irc.js but some other script that potentially screws up your BBS.

    So we need to filter out the 'exec' @-code and maybe others, or have a switch that disables them by default. It'll just take a bit of work.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Sat Sep 26 13:49:47 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Sat Sep 26 2020 02:56 pm

    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to Digital Man on Sat Sep 26 2020 06:36:23

    If this were to push out to other SysOps, would this then warrant a different "split" of frame.js?

    No. It would require some new functionality in frame.js, but not another version. We'd just want to make sure it's handling certain @ codes
    properly,
    and probably make it disallow other ones altogether.

    One of the problems is the integrity of the display. Frame needs to know what exists in each character cell on the screen at any one time, and (maybe) where the cursor currently is. Certain @ codes might pull
    the rug out from under it, but that can be accounted for.

    Say you load a .txt file which includes @exec:irc.js@. Frame has no idea that the entire contents of the screen have been obliterated by an IRC client and needs to be redrawn after that script exits.

    Suppose it doesn't execute irc.js but some other script that potentially screws up your BBS.

    So we need to filter out the 'exec' @-code and maybe others, or have a switch that disables them by default. It'll just take a bit of work.

    Also, you wouldn't want all existing consumers of frame.js to suddenly grow the @-code expansion feature, for security reasons. It should be an opt-in for the application scripts.

    digital man

    Synchronet "Real Fact" #9:
    The name "DOVE-Net" comes from: The Beast's DOmain / VErtrauen network.
    Norco, CA WX: 84.5øF, 46.0% humidity, 8 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nitro@1:340/203 to echicken on Fri Oct 9 21:11:22 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Tue Sep 22 2020 10:10 pm

    Greetings,

    Ive just installed bullshit, I followed the suggested setup instructions and it appears to run just fine. However the message area I associated with it doesnt seem to show up on the bullshit menu when i post a message in it.. Any thing I could look at to hunt the problem?

    Nitro
    --
    Regards,

    Nitro

    Rick

    ... When a man brings his wife flowers for no reason - there's a reason.
    --- SBBSecho 3.11-Linux
    * Origin: The Wormhole II BBS --> wh2.abon.us:2321 (1:340/203)
  • From echicken@1:103/705 to Nitro on Sat Oct 10 18:00:00 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Nitro to echicken on Fri Oct 09 2020 21:11:22

    Ive just installed bullshit, I followed the suggested setup instructions
    and it appears to run just
    fine. However the message area I associated with it doesnt seem to show
    up on the bullshit menu when
    i post a message in it.. Any thing I could look at to hunt the problem?

    The message area itself shouldn't be listed anywhere, only the messages that it contains.

    Someone else is complaining of a similar problem, so there's probably a bug. I'll have a look at it sometime in the next couple of days and see what I can do.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Smith@1:340/202.1 to echicken on Sat Oct 10 21:19:28 2020
    Greetings echicken!

    Saturday October 10 2020 18:00, you wrote to Nitro about an urgent matter!:

    Re: Bullsh*t Bulletins - Support for msg?
    By: Nitro to echicken on Fri Oct 09 2020 21:11:22

    The message area itself shouldn't be listed anywhere, only the
    messages that it contains.

    Yes ok, I was only expecting to see the post..

    Someone else is complaining of a similar problem, so there's probably
    a bug. I'll have a look at it sometime in the next couple of days and
    see what I can do.

    One thing I did notice is after following your instructions is that in scfg message areas where I did the message area setup I called the intenal part as BULLSHIT like written, and when exiting out it displays it as Local-BULLSHIT is that a problem?



    ----
    Regards,


    Rick Smith (Nitro)

    ... Wildcat! is to BBSing what an Etch-a-sketch is to ART!
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:340/202.1)
  • From Digital Man@1:103/705 to Rick Smith on Sat Oct 10 23:42:36 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sat Oct 10 2020 09:19 pm

    Greetings echicken!

    Saturday October 10 2020 18:00, you wrote to Nitro about an urgent matter!:

    Re: Bullsh*t Bulletins - Support for msg?
    By: Nitro to echicken on Fri Oct 09 2020 21:11:22

    The message area itself shouldn't be listed anywhere, only the
    messages that it contains.

    Yes ok, I was only expecting to see the post..

    Someone else is complaining of a similar problem, so there's probably
    a bug. I'll have a look at it sometime in the next couple of days and see what I can do.

    One thing I did notice is after following your instructions is that in scfg message areas where I did the message area setup I called the intenal part as BULLSHIT like written, and when exiting out it displays it as Local-BULLSHIT is that a problem?

    In that case, Local-BULLSHIT is the actual internal code of the message base and that is the string you'll need to put in the messageBase value of your bullshit/bullshit.ini file.

    digital man

    Sling Blade quote #10:
    Morris: I stand on the hill, not for thrill, but for the breath of a fresh kill
    Norco, CA WX: 62.3øF, 88.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Rick Smith on Sun Oct 11 12:48:06 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sat Oct 10 2020 21:19:28

    I made a change to bullshit yesterday which might help. Please try updating and let me know if it's fixed.

    One thing I did notice is after following your instructions is that in
    scfg message areas where I
    did the message area setup I called the intenal part as BULLSHIT like
    written, and when exiting out
    it displays it as Local-BULLSHIT is that a problem?

    The messageBase setting in bullshit.ini should be whatever shows up for Internal Code when looking at your bulletins Sub-Board in scfg. You can give the Sub-Board whatever name and Internal Code you want.

    On my system, the "Bulletins" Sub-Board belongs to a Message Group called "Local", which has an Internal Code Prefix of "LOCAL_". Consequently, the Internal Code for my "Bulletins" Sub-Board is "LOCAL_BULLETIN", so in bullshit.ini I have:

    messageBase = LOCAL_BULLETIN

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Sun Oct 11 18:16:52 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Rick Smith on Sun Oct 11 2020 12:48 pm

    On my system, the "Bulletins" Sub-Board belongs to a Message Group called "Local", which has an Internal Code Prefix of "LOCAL_". Consequently, the Internal Code for my "Bulletins" Sub-Board is "LOCAL_BULLETIN", so in bullshit.ini I have:

    messageBase = LOCAL_BULLETIN

    I couldn't get the message board portion of this working on my setup either.

    Hatton

    ... The world looks as if it has been left in the custody of trolls.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Smith@1:340/202.1 to echicken on Sun Oct 11 11:58:22 2020
    Greetings echicken!

    Sunday October 11 2020 12:48, you wrote to me about an urgent matter!:

    * Forwarded from area 'sync_sysops'
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sat Oct 10 2020 21:19:28

    I made a change to bullshit yesterday which might help. Please try updating and let me know if it's fixed.


    The messageBase setting in bullshit.ini should be whatever shows up
    for Internal Code when looking at your bulletins Sub-Board in scfg.
    You can give the Sub-Board whatever name and Internal Code you want.

    On my system, the "Bulletins" Sub-Board belongs to a Message Group
    called "Local", which has an Internal Code Prefix of "LOCAL_". Consequently, the Internal Code for my "Bulletins" Sub-Board is "LOCAL_BULLETIN", so in bullshit.ini I have:

    messageBase = LOCAL_BULLETIN

    Thank you for your reply... I did try exactly that.. I even added some files as directed in the docs and they dont show up either a .txt file and a .msg although I see that is not supported as of yet.. but neither displayed.. I must have done something else wrong or missed something, Ill keep searching..


    ----
    Regards,


    Rick Smith (Nitro)

    ... Ura BBS addict when you consider BBSing better than coffee
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:340/202.1)
  • From Rick Smith@1:340/202.1 to echicken on Sun Oct 11 13:07:28 2020
    Greetings echicken!

    Sunday October 11 2020 12:48, you wrote to me about an urgent matter!:

    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sat Oct 10 2020 21:19:28

    The messageBase setting in bullshit.ini should be whatever shows up
    for Internal Code when looking at your bulletins Sub-Board in scfg.
    You can give the Sub-Board whatever name and Internal Code you want.

    On my system, the "Bulletins" Sub-Board belongs to a Message Group
    called "Local", which has an Internal Code Prefix of "LOCAL_". Consequently, the Internal Code for my "Bulletins" Sub-Board is "LOCAL_BULLETIN", so in bullshit.ini I have:

    I was able to get files to show up in bullshit so that completely works.. I had to rework the dovenet txt from bullseye file in did some weird word wrap to the original document, but all is well there... Message base ive recheck and confirmed settings so that is still a mystery I guess.

    Thank you for your help with this it is appreciated


    ----
    Regards,


    Rick Smith (Nitro)

    ... BBSing is fun, isn't it?
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:340/202.1)
  • From Kurisu@1:103/705 to Rick Smith on Sun Oct 11 19:29:00 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sun Oct 11 2020 11:58 am

    Thank you for your reply... I did try exactly that.. I even added some
    files
    as directed in the docs and they dont show up either a .txt file and a .msg although I see that is not supported as of yet.. but neither displayed.. I must have done something else wrong or missed something, Ill keep searching..

    I've been able to get files to show on Final Zone, but I too have not at all been able to get a message group showing.
    _____
    Kurisu Yamato
    www.xadara.com

    ---
    þ Synchronet þ Final Zone BBS - finalzone.ddns.net - www.xadara.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Hatton on Sun Oct 11 22:14:59 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Sun Oct 11 2020 18:16:52

    I couldn't get the message board portion of this working on my setup
    either.

    It would probably work now if you updated and tried again. I fixed a pretty silly bug yesterday.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Rick Smith on Sun Oct 11 22:17:44 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sun Oct 11 2020 11:58:22

    I made a change to bullshit yesterday which might help. Please try
    updating and let me know if it's fixed.

    Thank you for your reply... I did try exactly that.. I even added some
    files as directed in the docs
    and they dont show up either a .txt file and a .msg although I see that
    is not supported as of yet..
    but neither displayed.. I must have done something else wrong or missed
    something, Ill keep
    searching..

    Did you try updating as suggested? I would expect it to list messages now.

    I think .txt and .msg files should be supported as of a few weeks ago.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Mon Oct 12 03:25:55 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: echicken to Hatton on Sun Oct 11 2020 10:14 pm

    It would probably work now if you updated and tried again. I fixed a pretty silly bug yesterday.

    Going to run the update tonight, thanks!

    Hatton

    ... Failure is a measurement that depends on the standard applied.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hatton@1:103/705 to echicken on Mon Oct 12 12:37:26 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Hatton to echicken on Mon Oct 12 2020 03:25 am

    I ran the update and pulled in the new file. The Message base reading works now but I immediately noticed something odd.

    I have 3 "static" (file-based) bulletins referenced in my INI file and then the message board.

    When I enabled the "newOnly" flag, only the test bulletin message I posted appeared in the list of available bulletins. It appears that the flag impacts both the message based bulletins as well as the file based ones.

    I'm not looking for a coding change on this, just to make sure I understand the expected operations. If the newOnly flag is set it seems that all bulletins would need to come from the message base.

    Alternately if I wanted to mix files and messages I'd need to have the flag turned off and delete bulletin messages that are no longer relevant.

    Am I seeing that right?

    Thanks!
    Hatton

    ... I got a new shadow. My last shadow wasn't doing what I was doing.

    ---
    þ Synchronet þ Three Corners and Beyond! http://3corners.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Smith@1:340/202.1 to echicken on Mon Oct 12 06:16:36 2020
    Greetings echicken!

    Sunday October 11 2020 22:17, you wrote to me about an urgent matter!:

    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Sun Oct 11 2020 11:58:22


    Did you try updating as suggested? I would expect it to list messages
    now.

    I was not certain how to "update" so I downloaded the new version and just copied that new file into bullshit's directory and I am happy to report that it now sees messages written in the linked message area. Files work too, I have not tested .msg so I can not report on that.. But all is well here now... Thank you..


    ----
    Regards,


    Rick Smith (Nitro)

    ... BBSing is a Maalox Moment.
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:340/202.1)
  • From echicken@1:103/705 to Rick Smith on Mon Oct 12 13:09:16 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Mon Oct 12 2020 06:16:36

    message area. Files work too, I have not tested .msg so I can not report
    on that.. But all is well
    here now... Thank you..

    You'll need an up-to-date copy of exec/load/frame.js in order for .asc/.msg loading to work, otherwise you'll be limited to .ans or .txt files.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Smith@1:340/202.1 to echicken on Mon Oct 12 12:01:28 2020
    Greetings echicken!

    Monday October 12 2020 13:09, you wrote to me about an urgent matter!:

    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Mon Oct 12 2020 06:16:36

    message area. Files work too, I have not tested .msg so I can not
    report on that.. But all is well here now... Thank you..

    You'll need an up-to-date copy of exec/load/frame.js in order for .asc/.msg loading to work, otherwise you'll be limited to .ans or .txt files.

    Can I ask a ? I probably already know? I assume there is a way to just pull all updates down?

    ----
    Regards,


    Rick Smith (Nitro)

    ... I don't do drugs...BBSing is my escape from reality
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:340/202.1)
  • From Digital Man@1:103/705 to Rick Smith on Mon Oct 12 13:37:10 2020
    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Mon Oct 12 2020 12:01 pm

    Greetings echicken!

    Monday October 12 2020 13:09, you wrote to me about an urgent matter!:

    Re: Bullsh*t Bulletins - Support for msg?
    By: Rick Smith to echicken on Mon Oct 12 2020 06:16:36

    message area. Files work too, I have not tested .msg so I can not
    report on that.. But all is well here now... Thank you..

    You'll need an up-to-date copy of exec/load/frame.js in order for .asc/.msg loading to work, otherwise you'll be limited to .ans or .txt files.

    Can I ask a ? I probably already know? I assume there is a way to just
    pull
    all updates down?

    http://wiki.synchro.net/install:dev

    digital man

    This Is Spinal Tap quote #30:
    Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
    Norco, CA WX: 96.2øF, 18.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mlong@1:103/705 to Hatton on Sun Oct 18 01:20:41 2020
    didn't see this thread until now but a limited set of at codes are now officially supported, you'll need to pull down the latest version of frame.js and bullshit.js

    ---
    ï¿­ Synchronet ï¿­ Inner Realm BBS - Charlotte, NC - innerrealmbbs.us
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)