• msg_find_text & msg_find_

    From Bob Roberts@VERT/HOVAL to All on Tue Dec 1 03:07:00 2020
    Hello,

    On my SBBS, the Find Message and Find Message All function (F & /F in Default.src) perform the same actions. They both only search the local sub board and neither prompt the user if they want to search the Sub Board, the Group, or All.

    I checked my default.src, and F is msg_find_text and /F is msg_find_text_all.

    I logged into a few other SBBS boards and they had the same problem. Except for Vert. It works properly at Vert.

    I'm running the latest code on gitlab and I've tried recompiling the Baja .src.

    |01bobbobbobbob|09bob|03bob|11bob|03bob|09bob|01bobbobbob |01robrobrobrob|09rob|03rob|11rob|03rob|09rob|01robrobrob
    |07

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco= Happy Holidays
  • From Digital Man@VERT to Bob Roberts on Tue Dec 1 07:12:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Bob Roberts to All on Tue Dec 01 2020 08:07 am

    Hello,

    On my SBBS, the Find Message and Find Message All function (F & /F in Default.src) perform the same actions. They both only search the local sub board and neither prompt the user if they want to search the Sub Board, the Group, or All.

    I checked my default.src, and F is msg_find_text and /F is msg_find_text_all.

    I logged into a few other SBBS boards and they had the same problem. Except for Vert. It works properly at Vert.

    I'm running the latest code on gitlab and I've tried recompiling the Baja .src.

    I logged onto another SBBS (nix.synchro.net) and it appears to work as expected:
    þ Main þ 1:59:43 [1] Main [1] Notices: F

    Find Text in Messages

    Sub-board: Notices, Group: Main, or All:
    þ Main þ 1:59:41 [1] Main [1] Notices: /F

    [û] Display Subjects Only? No

    Text to search for:

    What do you have set in SCFG->System->Loadable Modules->Scan Subs? If you have a module configured there, its possible that module is not detecting the difference between "scan current sub" (argv[0]==0) and "Scan all subs" (argv[0]==1).
    --
    digital man

    Synchronet/BBS Terminology Definition #80:
    Telix = Commercial MS-DOS and Windows communications/terminal program
    Norco, CA WX: 80.3øF, 11.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Bob Roberts@VERT to Digital Man on Tue Dec 1 07:27:00 2020
    What do you have set in SCFG->System->Loadable Modules->Scan Subs? If you have a module configured there, its possible that module is not detecting the difference between "scan current sub" (argv[0]==0) and "Scan all subs" (argv[0]==1). --

    Shoot. I'm using DDScanSubs.js. Part of DDMessageReader.

    I'm looking at the JS now and it appears to have support for the argv[0]=="1" but maybe its broken....
    --- SBBSecho 3.11-Linux
    * Origin: Halls of Valhalla =-= Happy Holidays (1:218/840)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Bob Roberts on Tue Dec 1 09:33:00 2020
    Bob wrote:
    What do you have set in SCFG->System->Loadable Modules->Scan Subs? If you
    have a module configured there, its possible that module is not detecting
    the difference between "scan current sub" (argv[0]==0) and "Scan all subs"
    (argv[0]==1). --

    Shoot. I'm using DDScanSubs.js. Part of DDMessageReader.

    I'm looking at the JS now and it appears to have support for the argv[0]=="1" but maybe its broken....
    --- SBBSecho 3.11-Linux
    * Origin: Halls of Valhalla =-= Happy Holidays (1:218/840)
    ??? Synchronet ??? Vertrauen ??? Home of Synchronet ??? [vert/cvs/bbs].synchro.net

    I had a conversation with Nightfox about this but I don't think he knows how
    to fix it, or even if the ability exists. I was going to look into it and totally forgot. Maybe hw should revisit it.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Nightfox@VERT/DIGDIST to Bob Roberts on Tue Dec 1 15:53:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Bob Roberts to Digital Man on Tue Dec 01 2020 12:27 pm

    If you have a module configured there, its possible that module is
    not detecting the difference between "scan current sub" (argv[0]==0)
    and "Scan all subs" (argv[0]==1). --

    Shoot. I'm using DDScanSubs.js. Part of DDMessageReader.

    I'm looking at the JS now and it appears to have support for the argv[0]=="1" but maybe its broken....

    It does have support for the different pareameters for argv[0]:

    var scanAllSubs = (argv[0] == "1");

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Bob Roberts@VERT/HOVAL to Nightfox on Wed Dec 2 03:23:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Nightfox to Bob Roberts on Tue Dec 01 2020 08:53 pm

    Shoot. I'm using DDScanSubs.js. Part of DDMessageReader.

    I'm looking at the JS now and it appears to have support for the
    argv[0]=="1" but maybe its broken....
    It does have support for the different pareameters for argv[0]:
    var scanAllSubs = (argv[0] == "1");

    Hi Nightfox,

    I'm not sure why it's not working. In SCFG -> Loadable Modules -> Scan Subs... Where I put DDScanSubs.js, do I need to add any variables which will cause SBBS to pass the 0 or 1?

    My DDScanSubs.js is v 1.6 2020/05/23

    |01bobbobbobbob|09bob|03bob|11bob|03bob|09bob|01bobbobbob |01robrobrobrob|09rob|03rob|11rob|03rob|09rob|01robrobrob
    |07

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco= Happy Holidays
  • From Digital Man@VERT to Bob Roberts on Wed Dec 2 05:11:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Bob Roberts to Nightfox on Wed Dec 02 2020 08:23 am

    Re: msg_find_text & msg_find_text_all the same
    By: Nightfox to Bob Roberts on Tue Dec 01 2020 08:53 pm

    Shoot. I'm using DDScanSubs.js. Part of DDMessageReader.

    I'm looking at the JS now and it appears to have support for the
    argv[0]=="1" but maybe its broken....
    It does have support for the different pareameters for argv[0]:
    var scanAllSubs = (argv[0] == "1");

    Hi Nightfox,

    I'm not sure why it's not working. In SCFG -> Loadable Modules -> Scan Subs... Where I put DDScanSubs.js, do I need to add any variables which will cause SBBS to pass the 0 or 1?

    No, the 0/1 is automatically added to the arguments passed to the module.
    --
    digital man

    Sling Blade quote #1:
    Karl: I've killed Doyle with a lawn mower blade. Yes, I'm right sure of it. Norco, CA WX: 75.2øF, 14.0% humidity, 1 mph SW wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Bob Roberts@VERT to Nightfox on Wed Dec 2 07:10:00 2020
    I'm looking at the JS now and it appears to have support for the
    argv[0]=="1" but maybe its broken....

    It does have support for the different pareameters for argv[0]:
    var scanAllSubs = (argv[0] == "1");

    Nightfox,

    I visited your board to see if Find Message Scan -- All Subs worked, but I wasn't able to trigger it. F scans just one sub, and /F isn't available.

    --bobrob
    --- SBBSecho 3.11-Linux
    * Origin: Halls of Valhalla =-= Happy Holidays (1:218/840)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Bob Roberts on Wed Dec 2 07:26:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Bob Roberts to Nightfox on Wed Dec 02 2020 08:23 am

    I'm looking at the JS now and it appears to have support for the
    argv[0]=="1" but maybe its broken....

    It does have support for the different pareameters for argv[0]:
    var scanAllSubs = (argv[0] == "1");

    Hi Nightfox,

    I'm not sure why it's not working. In SCFG -> Loadable Modules -> Scan Subs... Where I put DDScanSubs.js, do I need to add any variables which will cause SBBS to pass the 0 or 1?

    As far as I know, you shouldn't have to. My understanding is that Synchronet knows what kind of scan you're doing and should pass the appropriate parameter to the script.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Bob Roberts on Wed Dec 2 07:28:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Bob Roberts to Nightfox on Wed Dec 02 2020 12:10 pm

    I visited your board to see if Find Message Scan -- All Subs worked, but I wasn't able to trigger it. F scans just one sub, and /F isn't available.

    F on my BBS is simply a find text, which I don't think is equivalent to Synchronet's sub scanning. S on my BBS triggers Synchronet's new-to-you scan, and N on my BBS triggers Synchronet's newscan. I have a custom command shell, so I'll probably have to try Synchronet's stock shell (and possibly Synchronet's stock reader) and see how it behaves.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Bob Roberts@VERT/HOVAL to Nightfox on Wed Dec 2 08:36:00 2020
    Re: msg_find_text & msg_find_text_all the same
    By: Nightfox to Bob Roberts on Wed Dec 02 2020 12:28 pm

    F on my BBS is simply a find text, which I don't think is equivalent to Synchronet's sub scanning. S on my BBS triggers Synchronet's new-to-you scan, and N on my BBS triggers Synchronet's newscan. I have a custom command shell, so I'll probably have to try Synchronet's stock shell (and possibly Synchronet's stock reader) and see how it behaves.

    Okay. Just to be clear the problem I'm highlighting is the Find Text scan. In the default Synchronet shell it's F for Find Current Sub, and /F for Find All Subs. Regardless of which one is used, and called, with DD it only searches the current sub. At least, in my experience.



    |01bobbobbobbob|09bob|03bob|11bob|03bob|09bob|01bobbobbob |01robrobrobrob|09rob|03rob|11rob|03rob|09rob|01robrobrob
    |07

    ---
    þ Synchronet þ Halls of Valhalla =San=Francisco= Happy Holidays