Subj : Re: msglist as loadable module
To : Nolageek
From : Digital Man
Date : Thu Mar 05 2020 02:17 pm
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