• src/syncterm/conn_telnet.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, October 28, 2024 15:46:43
    https://gitlab.synchro.net/main/sbbs/-/commit/4376404234828ec45ef7d4db
    Modified Files:
    src/syncterm/conn_telnet.c
    Log Message:
    Ok, I'm convinced... initiate some telnet negotation

    - Attempt to suppress go aheads in both directions.
    - Attempt to set binary mode in both directions
    - Request the remote echos

    These express the assumptions that SyncTERM always makes, so it's
    a good idea to tell the remote this. For systems that don't like
    this, there is the Raw "protocol".

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, March 15, 2026 14:09:13
    https://gitlab.synchro.net/main/sbbs/-/commit/ddbe9b1638f713364426cccd
    Modified Files:
    src/syncterm/conn_telnet.c
    Log Message:
    Fix static last_was_lf persisting across connections in conn_telnet.c

    Move last_was_lf from function-static in st_telnet_expand() to file
    scope, and reset it in telnet_connect() alongside the other telnet
    state (telnet_local_option, telnet_remote_option). Previously, CR/LF
    state from one session could cause the first byte of the next session
    to be incorrectly consumed.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

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