• what's the flow?

    From mark lewis@1:3634/12.73 to digital man on Tue Aug 15 10:24:38 2017

    we've got the logon flow down but we cannot find where the next part is after the automsg is shown... on max's system the next thing is a question asking if you want to read your mail now... it is drawn with a checkmark in square brackets with the text following... we can see the text in the text.dat file but not the square brackets with the checkmark... what we're wanting to do is swap out the yesnobar for the noyesbar on just that one question... we just can't seem to locate where it is being called from... when we select No at that
    prompt, we are dropped into the "default" menu...

    FWIW: we've looked on the wiki but only found the logon flow chart with the various login/logon and random screens... we already knew about that but had to
    look again...

    also, what directory is nonodes.txt supposed to go in? text or text/menu? we've
    found one in both places but don't know that we've ever seen either one displayed... we're looking to figure out how to busy the nodes so we can test that further but i thought i'd just ask real quick as things are rather slow moving over here at times ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Crazy folk don't know they're crazy. I know I'm crazy so I'm not. That's crazy
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Tue Aug 15 13:56:36 2017
    Re: what's the flow?
    By: mark lewis to digital man on Tue Aug 15 2017 10:24 am


    we've got the logon flow down but we cannot find where the next part is after the automsg is shown... on max's system the next thing is a question asking if you want to read your mail now... it is drawn with a checkmark in square brackets with the text following... we can see the text in the text.dat file but not the square brackets with the checkmark...

    See exec/yesnobar.src. The text.dat entry is "calling" this Baja module to perform the ANSImated yes/no selection.

    what we're
    wanting to do is swap out the yesnobar for the noyesbar on just that one question... we just can't seem to locate where it is being called from...

    It's hard-coded in logon.cpp:

    if(text[ReadYourMailNowQ][0] && mailw) {
    if(yesno(text[ReadYourMailNowQ]))
    readmail(useron.number,MAIL_YOUR);
    }

    If you wish to disable this prompt, you can set that text.dat line to a blank string (""). To change that to a noyes() prompt, you'd have to edit the .cpp file and recompile.

    also, what directory is nonodes.txt supposed to go in? text or text/menu?

    The text directory.

    we've
    found one in both places but don't know that we've ever seen either one displayed... we're looking to figure out how to busy the nodes so we can test that further but i thought i'd just ask real quick as things are rather slow moving over here at times ;)

    You can use the 'node' utility to lock nodes and test the nonodes.txt works.

    digital man

    Synchronet "Real Fact" #17:
    "Vertrauen" (ver-trow-en) translates to "trust" in German, and was a band name. Norco, CA WX: 73.8oF, 66.0% humidity, 12 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.01-Win32
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Tue Aug 15 18:00:58 2017

    On 2017 Aug 15 13:56:36, you wrote to me:

    what we're wanting to do is swap out the yesnobar for the noyesbar on
    just that one question... we just can't seem to locate where it is
    being called from...

    It's hard-coded in logon.cpp:

    ahhhh!

    if(text[ReadYourMailNowQ][0] && mailw) {
    if(yesno(text[ReadYourMailNowQ]))
    readmail(useron.number,MAIL_YOUR);
    }

    If you wish to disable this prompt, you can set that text.dat line to a blank string ("").

    yeah, we don't want to disable it... just change the default in the prompt to "No"...

    To change that to a noyes() prompt, you'd have to edit the .cpp file
    and recompile.

    ahhh... i wonder if i can make a patch file that can be applied after we update
    from the repo and before we build a new set of binaries... ain't done that many
    times, yet... i think we can add it into our script before we cast the majik compiling inkantashuns ;)

    also, what directory is nonodes.txt supposed to go in? text or
    text/menu?

    The text directory.

    thanks!

    we've found one in both places but don't know that we've ever seen
    either one displayed... we're looking to figure out how to busy the
    nodes so we can test that further but i thought i'd just ask real
    quick as things are rather slow moving over here at times ;)

    You can use the 'node' utility to lock nodes and test the nonodes.txt works.

    there it is... was thinking about creating a semaphore set but just haven't gotten down to working on it, yet... gotta leave something to do tomorrow, right?? :lol:

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Our respect for peppers borders on worship.
    ---
    * Origin: (1:3634/12.73)
  • From Uatu13@1:103/705 to mark lewis on Tue Aug 15 18:18:52 2017
    Re: what's the flow?
    By: mark lewis to digital man on Tue Aug 15 2017 10:24:38

    also, what directory is nonodes.txt supposed to go in? text or text/menu? we've found one in both places but don't know that we've ever seen either one displayed... we're looking to figure out how to busy the nodes so we can test that further but i thought i'd just ask real quick as things are rather slow moving over here at times ;)

    )\/(ark

    I know this was answered by DM, but I think it's funny that I was just messing with this the other day. :)

    Instead of using the 'node' utility, for anyone reading that's running sbbsctrl.exe in windows can just select all the nodes with shift or ctrl click and then click the lock nodes icon in the toolbar, then just try to telnet in and you should see your ../text/nonodes.txt file.

    It would be cool if we could also display a different file when the nodes are down as in for maintence. So one file for no nodes (busy) and one file for downed nodes (closed for maint).. this is assuming that nodes are downed during nightly maint. and not locked. hmm.. Thoughts?

    -=U13=-

    ---
    * Synchronet * The DarkSide of the Moon - telnet://darkside.synchro.net
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Uatu13 on Wed Aug 16 11:40:00 2017

    On 2017 Aug 15 18:18:52, you wrote to me:

    also, what directory is nonodes.txt supposed to go in? text or
    text/menu? we've found one in both places but don't know that we've
    ever seen either one displayed... we're looking to figure out how to
    busy the nodes so we can test that further but i thought i'd just ask
    real quick as things are rather slow moving over here at times ;)

    I know this was answered by DM, but I think it's funny that I was just messing with this the other day. :)

    you are where we got the idea from O:)

    Instead of using the 'node' utility, for anyone reading that's running sbbsctrl.exe in windows can just select all the nodes with shift or
    ctrl click and then click the lock nodes icon in the toolbar, then
    just try to telnet in and you should see your ../text/nonodes.txt
    file.

    we're on linux so we were looking at maybe using the various semaphore files...

    It would be cool if we could also display a different file when the
    nodes are down as in for maintence. So one file for no nodes (busy)
    and one file for downed nodes (closed for maint).. this is assuming
    that nodes are downed during nightly maint. and not locked. hmm.. Thoughts?

    i haven't seen sbbs doing like other traditional BBSes do where they exit or freeze their nodes for certain tasks... back in the day, the BBS would exit to run the maint because it was the only task... in our case, on the main system, we run a FTN mailer in front of the BBS (remoteaccess) so the mailer's scheduler handles all that stuff and the BBS only takes called handed to it by the mailer... with multitasking systems, our first was DESQview, we could have an external scheduler perform maint tasks so those scripts had to signal the mailers and BBSes to shutdown... then we got multi-process aware mailers and BBSes so that things could be done in the background without having to take them down... message base maint was a big thing to be able to do while the BBS is/was still running... it was quite easy when multinode BBSes came along and allowed for the message base files to be shared...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... And God said, "Let there be idiots"....
    ---
    * Origin: (1:3634/12.73)
  • From Uatu13@1:103/705 to mark lewis on Wed Aug 16 18:40:16 2017
    Re: what's the flow? By: mark lewis to Uatu13 on Wed Aug 16 2017 11:40:00
    It would be cool if we could also display a different file when the Ua>> nodes are down as in for maintence. So one file for no nodes (busy) Ua>> and one file for downed nodes (closed for maint).. this is assuming Ua>> that nodes are downed during nightly maint. and not locked. hmm.. Ua>> Thoughts?
    i haven't seen sbbs doing like other traditional BBSes do where they exit or freeze their nodes for certain tasks... back in the day, the BBS would
    All nodes have to be downed (offline) when using SMBUTIL with the pack option, which mine does. Not sure if this is the best way, but it's how it was out of the box I believe. So that's just one example of sbbs being down for maint.
    exit to run the maint because it was the only task... in our case, on the main system, we run a FTN mailer in front of the BBS (remoteaccess) so the
    Wow that brings back memories. Between 93-95 my BBS used FrontDoor and RA on MSDOS, although most of what FD did was a mystery to me since a friend helped meset that part up. I was 16 at the time. lol -=U13=-

    ---
    * Synchronet * The DarkSide of the Moon - telnet://darkside.synchro.net
    * Origin: Vertrauen - [vert|cvs|bbs].synchro.net (1:103/705)