• Support screen size change notifications

    From Deucе@1:103/705 to GitLab issue in main/sbbs on Fri Mar 7 08:42:25 2025
    open https://gitlab.synchro.net/main/sbbs/-/issues/886

    Telnet, RLogin, and SSH all have a mechanism for the client to notify the server when the terminal size changes. These should be supported by Synchronet. Would help avoid the need to periodically re-check as discussed in #529.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Fri Mar 7 08:52:54 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/886#note_6741

    It appears this is already support for telnet (via the NAWS negotiation).
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Fri Mar 7 08:53:26 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/886#note_6742

    Ah, but it only updates telnet_cols and telnet_rows, not cols and rows.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Fri Mar 7 08:56:38 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/886#note_6743

    A JS callback should be created for event-driven scripts as well... for the rest, possibly a "changed" flag that can be cleared by the script would work?
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Sun Mar 30 18:52:42 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/886#note_6955

    When this happens, the current position, line counter, etc. all become unknown... we'll likely need to query at least the cursor position.

    Some terminals send many resize events when dragging as well, so processing may need to be deferred in some way.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)