• exec/mqtt_spy.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Mar 9 21:03:25 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/da7b51a1a2362296e89a8762
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Output the MQTT spy banner earlier so it's more clear that's what you're using

    ... to make it more clear when this is being using by the ;spy command and there are any issues connecting to the MQTT broker

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Apr 12 02:49:56 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/63fb04f5429d069b57ed9071
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Fix the node number display in the MQTT Spy banner

    i.e. "*** Synchronet MQTT Spy on Node undefined: Ctrl-C to Abort ***"

    broken in commit 4fe0bb1983aa734

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Nov 13 20:36:22 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/4992e7ed855369e62b191c12
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    mqtt_spy: reset terminal attributes on status change and exit

    The spied-upon node's output can leave the spying terminal in any color
    (e.g. the user dropped while in a door or chat), so "New node status"
    and "Done spying" would inherit those colors.

    Send a full attribute reset first: the terminal-type-appropriate
    sequence from console.ansi(ANSI_NORMAL) when run in the terminal server (written raw, since the spied output bypasses attribute tracking and an attribute change via console.attributes or Ctrl-A could be a no-op), or
    an ANSI SGR 0 when run via jsexec.

    Also disable the JS time limit, since spying is open-ended.

    Fixes #1343

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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