• exec/mqtt_spy.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Aug 4 20:25:01 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/483e3f07a3cdff863b81e9eb
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Add character set translation (CP437 <> UTF-8)

    ... for when your terminal and the node client terminal don't use the same character set. Only CP437 and UTF-8 addressed in this commit, not PETSCII
    or plain ASCII.

    This was never possible before MQTT.

    ---
    þ 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 Aug 4 21:07:52 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/70a6a7df7cff9506c346ed84
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Don't publish "null" node input topic

    get_ansi_seq() here can return null, don't pass that value to mqtt.publish() which gets converted to a string.

    ---
    þ 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 Thu Aug 17 22:21:59 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/85076da060105721ca53cd16
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Use console.write() when available for outputting spied content

    Defeats local auto-screen-pausing

    Fixes issue #603 reported by Nelgin

    ---
    þ 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 Feb 11 16:54:51 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e8f9ad602d27d8e9c4db481f
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Support spying node being a UTF-8 terminal

    console.write() converts CP437->UTF-8, so use write_raw() instead since
    we're already doing the CP437->UTF-8 conversion here.

    As reported by Keyop.

    ---
    þ 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 Nov 17 03:11:30 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0eb5b55160785f3b2bd31091
    Modified Files:
    exec/mqtt_spy.js
    Log Message:
    Add backup Ctrl-C input checking, just incase console.aborted isn't working

    Telnet BINARY_TX mode from the client disables CTRL-C input checking in all versions of SBBS (before now). This change shouldn't be necessary now, but
    it worked-around the BINARY_TX issue when I was having it (couldn't abort
    mqtt spy).

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