• msglist as loadable module

    From Nolageek@VERT to Digital Man on Thu Mar 5 08:35:30 2020
    I just updated the exec directory (.exe, .js) and ran 'jsexec update' and 'jsexec msglist -install', however I'm not seeing any new behavior when I
    list or read messages.

    I just have 'msglist' in the loadable modules configuration.

    I'm assuming it's due to the code used in my js shell, maybe it's not triggering the new loadable module?

    case 'L':
    bbs.list_msgs();
    break;

    Is there another function that I should be using that will trigger the
    loadable module once it's installed? Right now it just uses the standard message list.

    nolageek

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nolageek on Thu Mar 5 11:53:20 2020
    Re: msglist as loadable module
    By: Nolageek to Digital Man on Thu Mar 05 2020 08:35 am

    I just updated the exec directory (.exe, .js) and ran 'jsexec update' and 'jsexec msglist -install', however I'm not seeing any new behavior when I list or read messages.

    What about when you list/read email?

    I just have 'msglist' in the loadable modules configuration.

    It sould be in the SCFG->System->Loadable Modules list twice.

    I'm assuming it's due to the code used in my js shell, maybe it's not triggering the new loadable module?

    case 'L':
    bbs.list_msgs();
    break;

    Is there another function that I should be using that will trigger the loadable module once it's installed? Right now it just uses the standard message list.

    Yeah, use bbs.exec("?msglist") instead.

    digital man

    Synchronet "Real Fact" #46:
    Synchronet External X/Y/ZMODEM protocol driver (SEXYZ) was introduced in 2005. Norco, CA WX: 73.0°F, 50.0% humidity, 0 mph ENE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nolageek@VERT to Digital Man on Thu Mar 5 12:26:56 2020
    Re: msglist as loadable module
    By: Nolageek to Digital Man on Thu Mar 05 2020 08:35 am

    I just updated the exec directory (.exe, .js) and ran 'jsexec update'
    and
    'jsexec msglist -install', however I'm not seeing any new behavior
    when I
    list or read messages.

    What about when you list/read email?

    Nope. It uses the standard page-by-page view.


    I just have 'msglist' in the loadable modules configuration.

    It sould be in the SCFG->System->Loadable Modules list twice.

    Under which module types?

    I'm assuming it's due to the code used in my js shell, maybe it's not triggering the new loadable module?

    case 'L':
    bbs.list_msgs();
    break;

    Is there another function that I should be using that will trigger
    the
    loadable module once it's installed? Right now it just uses the
    standard
    message list.

    Yeah, use bbs.exec("?msglist") instead.

    If I call it explicitly like that, why should set it up as a module in
    SCFG?

    nolageek

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nolageek on Thu Mar 5 13:10:56 2020
    Re: Re: msglist as loadable module
    By: Nolageek to Digital Man on Thu Mar 05 2020 12:26 pm

    Re: msglist as loadable module
    By: Nolageek to Digital Man on Thu Mar 05 2020 08:35 am

    I just updated the exec directory (.exe, .js) and ran 'jsexec update'
    and
    'jsexec msglist -install', however I'm not seeing any new behavior
    when I
    list or read messages.

    What about when you list/read email?

    Nope. It uses the standard page-by-page view.


    I just have 'msglist' in the loadable modules configuration.

    It sould be in the SCFG->System->Loadable Modules list twice.

    Under which module types?

    Read Mail and List Msgs:
    http://wiki.synchro.net/module:msglist

    I'm assuming it's due to the code used in my js shell, maybe it's not triggering the new loadable module?

    case 'L':
    bbs.list_msgs();
    break;

    Is there another function that I should be using that will trigger
    the
    loadable module once it's installed? Right now it just uses the
    standard
    message list.

    Yeah, use bbs.exec("?msglist") instead.

    If I call it explicitly like that, why should set it up as a module in
    SCFG?

    So that'll be called automatically when users use the 'L' command from the reading msgs/mail prompt. So that it'll be caused automatically when reading mail from all possible methods of doing that via the terminal server.

    digital man

    Synchronet/BBS Terminology Definition #32:
    FTS = FidoNet Technical Standard
    Norco, CA WX: 76.9°F, 37.0% humidity, 6 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Nolageek on Thu Mar 5 13:11:31 2020
    Re: Re: msglist as loadable module
    By: Nolageek to Digital Man on Thu Mar 05 2020 12:26 pm

    Yeah, use bbs.exec("?msglist") instead.

    If I call it explicitly like that, why should set it up as a module in SCFG?

    Setting things up in SCFG could be useful if you want to be able to run a door easily from multiple command shells. But DM's msglist is easy enough to run that you could easily add it to multiple command shells if you wanted..

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nolageek@VERT to Digital Man on Thu Mar 5 13:45:34 2020
    Yeah, use bbs.exec("?msglist") instead.
    If I call it explicitly like that, why should set it up as a module in SCFG?

    So that'll be called automatically when users use the 'L' command from the reading msgs/mail prompt. So that it'll be caused automatically when
    reading mail from all possible methods of doing that via the terminal server.

    My understanding (which is more and more often wrong lol) was that using a loadable module meant I wouldn't have to modify my shell. Or is that only on certain menu options?

    nolageek

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nolageek on Thu Mar 5 14:17:23 2020
    Re: Re: msglist as loadable module
    By: Nolageek to Digital Man on Thu Mar 05 2020 01:45 pm


    Yeah, use bbs.exec("?msglist") instead.
    If I call it explicitly like that, why should set it up as a module in SCFG?

    So that'll be called automatically when users use the 'L' command from the reading msgs/mail prompt. So that it'll be caused automatically when reading mail from all possible methods of doing that via the terminal server.

    My understanding (which is more and more often wrong lol) was that using a loadable module meant I wouldn't have to modify my shell. Or is that only on certain menu options?

    The loadable modules configured in SCFG->System->Loadable Modules are only invoked automatically from native functions in the C/C++ and only where it makes sense. The bbs.list_msgs() messages does not invoke the "List Msgs" loadable module because it can't support all the uses cases (e.g. optional argument values) supported by bbs.list_msgs(). I considered/tried to make that happen, but it wasn't feasiable, at least not initially.

    The 'L' command key in the default shell is a new addition, so having it invoke msglist.js directly was no problem.

    digital man

    Synchronet "Real Fact" #85:
    The ZMODEM file transfer protocol is limited to files of 4 gigabytes or smaller.
    Norco, CA WX: 79.5°F, 29.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net