• src/syncterm/conn_pty.c

    From Deuce@1:103/705 to Git commit to main/sbbs/master on Thu May 25 18:22:02 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/4badae306772dd590d7217bb
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    ttydefchars ion ChromOS Linux is wildly uselessThe wrong characters in the wrong order. I have no idea why theyeven have the thing defined, but we'll just stop using it sinceit seems BSD systems are the only ones where it's useful...instead just set V* to C* except ERASE and ERASE2 which we set bothto CTRL-H
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to main/sbbs/master on Thu May 25 18:22:02 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/ab3f0971e79a92990ef0dd60
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    Set the unused VTIME/VMIN values too.Be sure to set them first though, since they may overlay withother ICANON entries.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to main/sbbs/master on Thu May 25 18:30:49 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/bb0bd64e74a7ee5c0c471055
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    Add VSWTCOnly on Linux, Documented as VSWTCH (also added), as a SysV-onlything but actually defined a VSWTC, must be disabled (ie: set to_POSIX_DISABLE) to not show up in stty as being modified.*sigh*I'm not convinced Linux developers want termios to work.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu May 25 19:03:51 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/a0f7f0e77c27111ead3d9099
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    Fix BSD builds
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Mon Feb 12 14:41:11 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0e3c71349664bf1f84c08328
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    Initialize c_cc in SyncTERM as well.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 11 21:55:16 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a8a2f09041c01e088a0b9321
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    Don't loop waiting to write entire received data to conn buf

    Shaves time down to 3.85 seconds.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jul 24 15:44:20 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/12e2bdbb261ef958ea7e4ca8
    Modified Files:
    src/syncterm/conn_pty.c
    Log Message:
    Disable software flow control on PTY creation

    PTYs already provide reliable kernel backpressure. Starting a slave
    with software flow control enabled can allow XON and XOFF bytes into
    binary protocol streams.

    Clear IXON, IXOFF, and IXANY in the initial input flags and leave
    VSTART and VSTOP disabled. This provides a safe initial state for
    commands that preserve the inherited terminal settings; interactive
    programs may still override them after forkpty() returns.

    Co-authored-by: OpenAI Codex <[email protected]>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)