• 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.ãã No> If I call it explicitly like that, why should set it up as a module in ã No> 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ã