• Bullshit Q's

    From Va7aqd@1:103/705 to echicken on Mon Jun 3 22:09:01 2019
    Howdy echicken,

    I went to give Bullshit a try tonight, and a couple of things I found and have questions about are:

    - I have bullshit looking in a message base for the bulletin messages. I wrote my first one, and I'm writing on a 132 column terminal, and the formatting of the bulletin in bullshit is odd - it mostly has a maximum text formatting output of 80 columns I'm guessing, except for one line in the whole message. It's odd.

    - Also, apparently @-codes aren't supported in the output? The output looks fine when reading the message in the message base, but it just shows the @-coded word in the bulletin in bullshit.

    Thanks!

    ---
    þ Synchronet þ VA7AQD's Tavern - bbs.isurf.ca
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Va7aqd on Tue Jun 4 10:50:08 2019
    Re: Bullshit Q's
    By: Va7aqd to echicken on Mon Jun 03 2019 22:09:01

    - I have bullshit looking in a message base for the bulletin messages. I wrote my first one, and I'm writing on a 132 column terminal, and the formatting of the bulletin in bullshit is odd - it mostly has a maximum text formatting output of 80 columns I'm guessing, except for one line in the whole message. It's odd.

    It's supposed to be word wrapping the message body at the width of the content 'window' (basically the terminal width minus 2 columns). I just glanced at the
    script and nothing obviously wrong is jumping out at me. Must be a new problem.

    Can you describe what you mean by "except for one line in the whole message"? I don't quite understand.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Va7aqd on Tue Jun 4 10:53:00 2019
    Re: Bullshit Q's
    By: Va7aqd to echicken on Mon Jun 03 2019 22:09:01

    - Also, apparently @-codes aren't supported in the output? The output looks fine when reading the message in the message base, but it just
    shows
    the @-coded word in the bulletin in bullshit.

    I never use @-codes myself so I wouldn't have noticed this. I guess frame.js doesn't handle those. I'll see about adding that later.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Va7aqd@1:103/705 to echicken on Tue Jun 4 08:59:39 2019
    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 10:50 am

    It's supposed to be word wrapping the message body at the width of the
    content 'window' (basically the terminal width minus 2
    columns). I just glanced at the script and nothing obviously wrong is
    jumping out at me. Must be a new problem.
    Can you describe what you mean by "except for one line in the whole
    message"? I don't quite understand.

    Odd - I went back to check the formatting in the message base again just now and that's where it was off. My own issue, apparently - I pasted in a text that had line breaks and apparently didn't notice I wasn't utilizing the width.

    So, that part's fine, but upon double-checking what things look like in BS now, it appears the scrollbar can appear over the right-most text... here's what it looks like here:

    https://nc.isurf.ca/apps/files/?dir=/SBBS&fileid=2593#

    (That should be a screenshot png)

    ---
    þ Synchronet þ VA7AQD's Tavern - bbs.isurf.ca
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Va7aqd@1:103/705 to echicken on Tue Jun 4 09:00:07 2019
    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 10:53 am

    I never use @-codes myself so I wouldn't have noticed this. I guess
    frame.js doesn't handle those. I'll see about adding that
    later.

    That'd be very cool!

    ---
    þ Synchronet þ VA7AQD's Tavern - bbs.isurf.ca
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jun 4 09:37:36 2019
    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 10:50 am

    It's supposed to be word wrapping the message body at the width of the content 'window' (basically the terminal width minus 2 columns). I just

    Why minus 2? Some message editors (for example) seem to wrap at terminal width
    minus 1.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Va7aqd on Tue Jun 4 12:40:10 2019
    Re: Bullshit Q's
    By: Va7aqd to echicken on Tue Jun 04 2019 08:59:39

    So, that part's fine, but upon double-checking what things look like in
    BS
    now, it appears the scrollbar can appear over the right-most text... here's what it looks like here:

    https://nc.isurf.ca/apps/files/?dir=/SBBS&fileid=2593#

    Link not working, but I know what you're describing. Should be a simple fix; believe I added something to scrollbar.js to deal with this a month or two ago.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jun 4 09:40:27 2019
    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 10:53 am

    I never use @-codes myself so I wouldn't have noticed this. I guess frame.js doesn't handle those. I'll see about adding that later.

    SlyVote uses frame.js to display poll vote results. If @-code support is added, it might be good to try to ensure negative side-effects don't happen.. I seem to remember a discusson on Dove-Net a while ago about an issue a sysop had related to an @-code - Perhaps someone posted a messge with an @EXEC or something, I don't remember.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Tue Jun 4 12:53:17 2019
    Re: Bullshit Q's
    By: Nightfox to echicken on Tue Jun 04 2019 09:37:36

    Why minus 2? Some message editors (for example) seem to wrap at terminal width minus 1.

    I think it was to leave some padding between the text and the border that's drawn around it. Can't remember.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Tue Jun 4 13:57:41 2019
    Re: Bullshit Q's
    By: Nightfox to echicken on Tue Jun 04 2019 09:40:27

    SlyVote uses frame.js to display poll vote results. If @-code support is added, it might be good to try to ensure negative side-effects don't

    I don't plan on modifying frame.js for this. Will see if I can expand the @-codes before they're fed into Frame.putmsg (might be doable with bbs.atcode()).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Va7aqd on Tue Jun 4 13:14:09 2019
    Re: Bullshit Q's
    By: Va7aqd to echicken on Tue Jun 04 2019 09:00 am

    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 10:53 am

    I never use @-codes myself so I wouldn't have noticed this. I guess frame.js doesn't handle those. I'll see about adding that
    later.

    That'd be very cool!

    @-codes should not be expanded for user-generated content however, so be mindful of that.

    digital man

    Synchronet/BBS Terminology Definition #72:
    TCP = Transmission Control Protocol
    Norco, CA WX: 73.2øF, 65.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Nightfox on Tue Jun 4 13:19:29 2019
    Re: Bullshit Q's
    By: Nightfox to echicken on Tue Jun 04 2019 09:40 am

    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 10:53 am

    I never use @-codes myself so I wouldn't have noticed this. I guess frame.js doesn't handle those. I'll see about adding that later.

    SlyVote uses frame.js to display poll vote results. If @-code support is added, it might be good to try to ensure negative side-effects don't happen..
    I seem to remember a discusson on Dove-Net a while ago about an issue a sysop had related to an @-code - Perhaps someone posted a messge with an @EXEC or something, I don't remember.

    @-codes should only be expanded for sysop-generated content (text).

    digital man

    Synchronet "Real Fact" #59:
    Synchronet apparel and merchandise can be purchased at cafepress.com/synchronet
    Norco, CA WX: 73.2øF, 65.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Digital Man on Tue Jun 4 16:43:49 2019
    Re: Bullshit Q's
    By: Digital Man to Va7aqd on Tue Jun 04 2019 13:14:09

    @-codes should not be expanded for user-generated content however, so be mindful of that.

    In this case they would be sysop-generated messages. However, if the sysop misconfigures the message base that these are stored in, user generated messages might appear, and that would be bad.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Va7aqd@1:103/705 to echicken on Tue Jun 4 13:58:11 2019
    Re: Bullshit Q's
    By: echicken to Va7aqd on Tue Jun 04 2019 12:40 pm

    Link not working, but I know what you're describing. Should be a simple
    fix; I believe I added something to scrollbar.js to
    deal with this a month or two ago.

    Ugh, sorry, should have caught that the link was the wrong format for a share. I suspect you know what you say you know, but here's the correct link if you want to see for fun. ;-)

    https://nc.isurf.ca/s/AFC59D9tnEBaA8E

    ---
    þ Synchronet þ VA7AQD's Tavern - bbs.isurf.ca
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Va7aqd@1:103/705 to Digital Man on Wed Jun 5 09:25:25 2019
    Re: Bullshit Q's
    By: Digital Man to Va7aqd on Tue Jun 04 2019 01:14 pm

    @-codes should not be expanded for user-generated content however, so be
    mindful of that.

    Is synchro doing ACL checks on this in the message bases? I didn't even think about this and after putting an @-code in to a message it is being processed when reading the message.

    ---
    þ Synchronet þ VA7AQD's Tavern - bbs.isurf.ca
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Va7aqd on Wed Jun 5 12:51:58 2019
    Re: Bullshit Q's
    By: Va7aqd to Digital Man on Wed Jun 05 2019 09:25 am

    Re: Bullshit Q's
    By: Digital Man to Va7aqd on Tue Jun 04 2019 01:14 pm

    @-codes should not be expanded for user-generated content however, so be mindful of that.

    Is synchro doing ACL checks on this in the message bases?

    When displaying/viewing message text, it will only expand @-codes for messages created by the sysop.

    digital man

    Synchronet "Real Fact" #83:
    Donations to the Synchronet project are welcome @ http://wiki.synchro.net/donate
    Norco, CA WX: 78.4øF, 59.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Va7aqd@1:103/705 to Digital Man on Wed Jun 5 14:17:30 2019
    Re: Bullshit Q's
    By: Digital Man to Va7aqd on Wed Jun 05 2019 12:51 pm

    Is synchro doing ACL checks on this in the message bases?
    When displaying/viewing message text, it will only expand @-codes for
    messages created by the sysop.

    OK, perfect!

    ---
    þ Synchronet þ VA7AQD's Tavern - bbs.isurf.ca
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Wed Jun 5 23:24:30 2019

    On 2019 Jun 05 12:51:58, you wrote to Va7aqd:

    @-codes should not be expanded for user-generated content however, so
    be mindful of that.

    Is synchro doing ACL checks on this in the message bases?

    When displaying/viewing message text, it will only expand @-codes for messages created by the sysop.

    by the sysop (aka user 0) or those with sec levels >89??

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Someone pays to read this stuff.
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Thu Jun 6 00:23:09 2019
    Re: Bullshit Q's
    By: mark lewis to Digital Man on Wed Jun 05 2019 11:24 pm


    On 2019 Jun 05 12:51:58, you wrote to Va7aqd:

    @-codes should not be expanded for user-generated content however, so
    be mindful of that.

    Is synchro doing ACL checks on this in the message bases?

    When displaying/viewing message text, it will only expand @-codes for messages created by the sysop.

    by the sysop (aka user 0) or those with sec levels >89??

    By user #1. From readmsgs.cpp:

    show_msg(&smb, &msg
    ,msg.from_ext && !strcmp(msg.from_ext,"1") && !msg.from_net.type
    ? 0:P_NOATCODES
    ,&post[smb.curmsg]);


    digital man

    Synchronet "Real Fact" #24:
    1584 Synchronet BBS Software registrations were sold between 1992 and 1996. Norco, CA WX: 59.8øF, 93.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Thu Jun 6 06:44:02 2019

    On 2019 Jun 06 00:23:08, you wrote to me:

    messages created by the sysop.

    by the sysop (aka user 0) or those with sec levels >89??

    By user #1.

    hahaha... me and my programmer counting :lol:

    From readmsgs.cpp:

    show_msg(&smb, &msg
    ,msg.from_ext && !strcmp(msg.from_ext,"1") && !msg.from_net.type
    ? 0:P_NOATCODES
    ,&post[smb.curmsg]);

    hummm... i think i see another patch in my future... i rarely use my user #1 account (wkitty42) and have been considering using this message base method of news instead of using text files... both my accounts are sysop accounts but the second one (rampage) was set up later after the guest account and a few users had signed up... that because of that names thing that bit me with the sbbslist... i dunno right now, though...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... All ties go to the train!
    ---
    * Origin: (1:3634/12.73)
  • From Daryl Stout@1:19/33 to ECHICKEN on Wed Jun 5 09:09:00 2019
    I never use @-codes myself so I wouldn't have noticed this. I guess frame.js
    doesn't handle those. I'll see about adding that later.

    I did when I ran GT Power for dial-up.

    Daryl

    ===
    þ OLX 1.53 þ The severity of the itch is proportional to the reach.
    --- SBBSecho 3.07-Win32
    * Origin: FIDONet: The Thunderbolt BBS - tbolt.synchro.net (1:19/33)
  • From Digital Man@1:103/705 to mark lewis on Thu Jun 6 12:15:56 2019
    Re: Bullshit Q's
    By: mark lewis to Digital Man on Thu Jun 06 2019 06:44 am

    On 2019 Jun 06 00:23:08, you wrote to me:

    messages created by the sysop.

    by the sysop (aka user 0) or those with sec levels >89??

    By user #1.

    hahaha... me and my programmer counting :lol:

    From readmsgs.cpp:

    show_msg(&smb, &msg
    ,msg.from_ext && !strcmp(msg.from_ext,"1") && !msg.from_net.type
    ? 0:P_NOATCODES
    ,&post[smb.curmsg]);

    hummm... i think i see another patch in my future... i rarely use my user
    #1
    account (wkitty42) and have been considering using this message base method of news instead of using text files... both my accounts are sysop accounts but the second one (rampage) was set up later after the guest account and a few users had signed up... that because of that names thing that bit me
    with
    the sbbslist... i dunno right now, though...

    Which user number (if any) has the name/alias specified in SCFG->System->Operator?

    digital man

    Synchronet/BBS Terminology Definition #72:
    TCP = Transmission Control Protocol
    Norco, CA WX: 78.3øF, 62.0% humidity, 7 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Fri Jun 7 09:59:02 2019

    On 2019 Jun 06 12:15:56, you wrote to me:

    hummm... i think i see another patch in my future... i rarely use my
    user #1 account (wkitty42) and have been considering using this message
    base method of news instead of using text files... both my accounts are
    sysop accounts but the second one (rampage) was set up later after the
    guest account and a few users had signed up... that because of that
    names thing that bit me with the sbbslist... i dunno right now,
    though...

    Which user number (if any) has the name/alias specified in SCFG->System->Operator?

    user #1... waldo kitty (wkitty42)... that is my operator account but i do everything with my mark lewis (rampage) account... i think it is currently user #11...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... A newspaper is a device for making the crazy crazier.
    ---
    * Origin: (1:3634/12.73)