• New query feature

    From vk3jed@21:1/50 to apam on Tue Nov 20 22:26:08 2018
    Hi Andrew,

    Just a thought, my mind has fully processed your new query feature, and to me, it seems there's a lot of redundancy in configuration - something that bugs my sense of how things work. I'm wondering if it's possible to use the same configuration data to both define subs you host, as well as provide a lit of subs for query responses?

    No biggie, I've got it all setup, but it's just something that doesn't seem quite efficient, and would be more error prone.

    Food for thought. :)


    ... To be natural is such a very difficult pose to keep up.
    --- MultiMail/Win
    + Origin: Bush Track BBS (@6)
    * Origin: FTN-MNET Gateway (21:1/50)
  • From apam@21:1/125 to vk3jed on Wed Nov 21 09:57:53 2018
    I'm wondering if it's possible to use the same
    configuration data to both define subs you host, as well as provide a
    lit of subs for query responses?

    Not sure I follow, can you provide an example?

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Vk3jed@21:1/109 to apam on Wed Nov 21 15:11:00 2018
    On 11-21-18 09:57, apam wrote to vk3jed <=-

    I'm wondering if it's possible to use the same
    configuration data to both define subs you host, as well as provide a
    lit of subs for query responses?

    Not sure I follow, can you provide an example?

    Well currently, we have to configure any subs we host in mnet.cfg

    ; Area definitions AreaNo, HostNo, Jam Path, Exports...
    ; Unless you are a host, this should be filled in by mnetsubunsub
    ;MSGAREA 1, 1, /home/andrew/mystic/msgs/mn_gen, 2, 3, 4
    ; The line below is my sub.
    MSGAREA 600, 6, /magicka/MagickaBBS/msgs/hnx_vk3jed, 2

    MSGAREA 1, 1, /magicka/MagickaBBS/msgs/hnx_gen
    MSGAREA 2, 1, /magicka/MagickaBBS/msgs/hnx_pbook
    MSGAREA 401, 4, /magicka/MagickaBBS/msgs/hnx_fsx_mag
    You have new mail in /var/mail/magicka magicka@bushtrack:/magicka/MagickaBBS/mnet$


    But if I want others to be able to find it in a query, I have to put the sub number into queryfile.txt.

    magicka@bushtrack:/magicka/MagickaBBS/mnet$ cat queryfile.txt
    600, Tony's Chat Sub

    I was wondering if there was a way to have a single "mysubs.ini" file that could hold local hosted subs, for example:

    ; This one is "public" and a mnetquery will reveal it.
    Pub 600, 6, /magicka/MagickaBBS/msgs/hnx_vk3jed, Tony's Chat Sub

    ; This one is "private" and will not be included in query results
    Pvt 601, 6, /magicka/MagickaBBS/msgs/hnx_private, Private sub - invite only

    It may even be possible to integrate this with the BBS message area configuration too (more thought required).

    But don't worry about anything yet, thinking further, I'd like to see how gating could be done (i.e. areas having multiple network types), without needing special utilities or a dedicated gateway. So, more thought required. Consider this an exercise in thinking out loud more than anything. :) If I do come up with something, I could probably try it out on my system with some scripting to test whether it's possible to be a bit more efficient and have as few bits in separate config files as possible. :)


    ... No one does as much harm as one going about doing good.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)