• Node pause behavior is odd

    From Andre Robitaille@1:103/705 to GitLab issue in main/sbbs on Fri Mar 4 19: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.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre Robitaille@1:103/705 to GitLab note in main/sbbs on Fri Mar 4 19: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.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre Robitaille@1:103/705 to GitLab note in main/sbbs on Thu Mar 10 03: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
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)