• exec/mqtt_spy.js

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Friday, August 04, 2023 20:25:00
    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 L@VERT to Git commit to main/sbbs/master on Friday, August 04, 2023 21:07:00
    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 L@VERT to Git commit to main/sbbs/master on Thursday, August 17, 2023 22:21:00
    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 L@VERT to Git commit to main/sbbs/master on Sunday, February 11, 2024 16:54:00
    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