• Problems after recent update of sychronet 3.20 files

    From Amessyroom@1:103/705 to Digital Man on Sun Oct 13 13:38:05 2024
    Re: Problems after recent update of sychronet 3.20 files
    By: Amessyroom to Digital Man on Sun Oct 13 2024 10:59 am

    Found issue with bullseye.js, for unknown reasons I had a copy in my mods directory. Argh.

    Now to figure out the other issues.
    --
    Amessyroom - Sysop
    toolazy.synchro.net:22 (ssh)
    toolazy.synchro.net:2323 (telnet)
    https://toolazy.synchro.net
    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Amessyroom@1:103/705 to Digital Man on Sun Oct 13 21:26:29 2024
    Re: Problems after recent update of sychronet 3.20 files
    By: Digital Man to Amessyroom on Sun Oct 13 2024 01:10 pm

    Re: Problems after recent update of sychronet 3.20 files By: Amessyroom to Digital Man on Sun Oct 13 2024 10:59 am

    Updated. But still see problem.

    Can you paste the error message(s) again? --
    digital man (rob)

    Synchronet/BBS Terminology Definition #8: BinkP = BinkD Protocol

    I wasn't seeing the fix, because I had a copy of bullseye.js in "mods". .Possibly when you first implemented the use of files, to generate the menu.
    I may have copied it to mods before, I did a fully update.

    Once I removed the one from mods, then the latest download worked without the error message.
    Sun Oct 13 13:34:05 2024 master/639781e2a toolazy.synchro.net
    term Node 1 <Amessyroom> !ERROR in prntfile.cpp line 287 (menu) checking "/sbbs/text/bullseye.asc" access=0
    --
    Amessyroom - Sysop
    toolazy.synchro.net:22 (ssh)
    toolazy.synchro.net:2323 (telnet)
    https://toolazy.synchro.net
    ---
    þ Synchronet þ Too Lazy BBS - toolazy.synchro.net:2323
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Amessyroom on Mon Oct 14 23:49:19 2024
    Re: Problems after recent update of sychronet 3.20 files
    By: Digital Man to Amessyroom on Sun Oct 13 2024 02:34 am

    2) I added calls to sendmail.js to try and page me via
    email to SMS gateway. This worked before 10/11/2024.

    paging sysop calls sendmail.js (per local configuration
    in chat.ini)

    chat.ini:cmd=?sendmail.js -s "BBS: Someone wants to chat" -- XXXXXXXXXX@txt.att .net < /home/sbbs/ctrl/pageme chat.ini:cmd=?sendmail.js -s "BBS: Someone wants to chat" -- XXXXXXXXXX@txt.att .net < /home/sbbs/ctrl/pageme

    says it cannot compile. 1st line is a she-bang !# to jsexec
    is that the correct way the file should be ?

    Paging Amessyroom...!JavaScript sendmail.js line 1: SyntaxError: illegal charac t
    er

    !ERROR compiling /sbbs/exec/sendmail.js

    Back to this issue: I don't believe this ever worked. sendmail.js is only designed to be run from jsexec (not from sbbs). I would expect sendmail.js to fail in exactly this way if configured like you showed in chat.ini.

    So, maybe you just never tested this before? sendmail.js when used as intended (invoked from a *nix shell which in turn uses jsexec to execute the script) still works as it always has.

    If you want to send an email or netmail from SBBS, the proper script to invoke would be postmsg.js, not sendmail.js.
    --
    digital man (rob)

    Breaking Bad quote #20:
    So who's your chief, little injun? - Hank Schrader
    Norco, CA WX: 59.0øF, 90.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Errol Casey@1:3634/58 to Digital Man on Tue Oct 15 15:53:23 2024
    Re: Problems after recent update of sychronet 3.20 files
    By: Digital Man to Amessyroom on Mon Oct 14 2024 11:49 pm

    Back to this issue: I don't believe this ever worked. sendmail.js is only designed to be run from jsexec (not from sbbs). I would expect sendmail.js to fail in exactly this way if configured like you showed in chat.ini.

    So, maybe you just never tested this before? sendmail.js when used as intended (invoked from a *nix shell which in turn uses jsexec to execute the script) still works as it always has.

    If you want to send an email or netmail from SBBS, the proper script to invoke would be postmsg.js, not sendmail.js.
    --
    I'll give that a try, I have received text messages this way. So it is confusing. I think you are probably correct (as always), so I will see
    what I can do with postmsg.js and let you know if it works for me.

    Thanks.
    --
    Amessyroom - Sysop
    toolazy.synchro.net:22 (ssh)
    toolazy.synchro.net:2323 (telnet)
    https://toolazy.synchro.net
    --- SBBSecho 3.20-Linux
    * Origin: Too Lazy BBS - toolazy.synchro.net:2323 (1:3634/58)
  • From Digital Man@1:103/705 to Errol Casey on Tue Oct 15 13:08:03 2024
    Re: Problems after recent update of sychronet 3.20 files
    By: Errol Casey to Digital Man on Tue Oct 15 2024 03:53 pm

    I'll give that a try, I have received text messages this way. So it is confusing. I think you are probably correct (as always), so I will see
    what I can do with postmsg.js and let you know if it works for me.

    sendmail.js just can't (and never could) be invoked in that way. There are multiple reasons why this would never work, but one obvious thing is that command-lines beginning with a '?' just go directly into the linked JavaScript engine (and not passed to any OS command shell), so the file indirection you're using on that command line (via the '<' operator) would never work. Plus, like you've already pointed out, that first line in sendmail.js means it can't be invoked directly via SBBS. So... yeah, it never worked the way you show it configured.
    --
    digital man (rob)

    Sling Blade quote #25:
    Karl: they seen fit to put me in here and here I've been a great long while. Norco, CA WX: 68.1øF, 73.0% humidity, 4 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)