• exec/load/cterm_lib.js

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Feb 27 22:27:43 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/009202357c153e98f0f9d412
    Modified Files:
    exec/load/cterm_lib.js
    Log Message:
    activate_font() now supports an optional wantblink argument

    pass true if blink is desireable for blink/high-blink fonts.

    ---
    ■ 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 Sat Apr 1 09:53:29 2023
    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 Sat Apr 1 18:54:13 2023
    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 Fri Oct 18 17:11:06 2024
    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 Fri Oct 18 18:29:35 2024
    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