• exec/load/cterm_lib.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Saturday, April 01, 2023 09:53:29
    https://gitlab.synchro.net/main/sbbs/-/commit/43370cc1a33ae299156a043e
    Modified Files:
    exec/load/cterm_lib.js
    Log Message:
    Add method: query_ctda() - Query CTerm Device Attributes

    Returns an array of attributes (digits), if valid response

    Now Nightfox, you can query SyncTERM (only) to see if it supports Pixel ops (e.g. Sixel) is supported at the moment, using:

    cterm_lib.query_ctda(cterm_lib.cterm_device_attributes.pixelops_supported)

    - will return true if pixel operations are supported

    Other dynamic terminal capabilities (e.g. depdendant on the output mode that SyncTERM is run in) can be detected with this method. But note: the values returned in SyncTERM's CTDA query-response do not exaclty match the values documented in cterm.txt. So use the constants from cterm_lib.js instead.

    ---
    þ 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 Saturday, April 01, 2023 18:54:13
    https://gitlab.synchro.net/main/sbbs/-/commit/cf5cb5f3bb24e043f06f2b28
    Modified Files:
    exec/load/cterm_lib.js
    Log Message:
    Call query_ctda() from supports_sixel() to confirm Sixel support

    Both the version and the output mode SyncTERM must be confirmed.

    A similar change should be made for supports_palettes() I think.

    ---
    þ 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 Friday, October 18, 2024 17:11:06
    https://gitlab.synchro.net/main/sbbs/-/commit/d06c74760b0a28b5400c651c
    Modified Files:
    exec/load/cterm_lib.js
    Log Message:
    Define cterm_version_supports_copy_buffers (1316)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 18, 2024 18:29:35
    https://gitlab.synchro.net/main/sbbs/-/commit/e81d266166ab527ccc7cd1a1
    Modified Files:
    exec/load/cterm_lib.js
    Log Message:
    Make scale_rgb_channel_value() a bit smoother and avoid divide by zero.

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