• Node pause behavior is odd

    From Andre Robitaille@VERT to GitLab issue in main/sbbs on Sat Mar 5 01:41:47 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/365

    When calling ;NODE from exec/str_cmds.js , it doesn't pause at the end of the output, so it just blasts right through and back to the menu without informing the sysop what happened.

    Also, the -PAUSE conditional in node.c is nested too deeply, so it pauses after each node. I believe it should be after the action is completed on all the nodes.

    As an aside, -pause and -loop aren't listed (-debug is listed) in the no-args usage help, but given that they kind of conflict I don't know if there's a clean way to do that.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Andre Robitaille@VERT to GitLab note in main/sbbs on Sat Mar 5 01:52:43 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/365#note_2415

    I can't push code to the project...

    **exec/str_cmds.js**

    310: `bbs.exec(bbs.cmdstr("%!node%. -PAUSE ") + str.substr(4).toLowerCase(), EX_STDIO|EX_NATIVE);`

    **src/sbbs3/node.c**

    663: Move the `if(pause)` block below the closing brace just below it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Andre Robitaille@VERT to GitLab note in main/sbbs on Thu Mar 10 09:00:01 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/365#note_2440

    This might be closed, unless you were planning on adding loop and pause to node.c:477

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