Subj : src/syncterm/conn_pty.c conn_telnet.c modem.c rlogin.c rlogin.h To : Git commit to main/sbbs/master From : Deuc¨ Date : Mon Jan 06 2025 07:26:12 https://gitlab.synchro.net/main/sbbs/-/commit/e28ab10be189fa2ee989b2a4 Modified Files: src/syncterm/conn_pty.c conn_telnet.c modem.c rlogin.c rlogin.h Log Message: Tie all the input and output threads together with an atomic_bool Since we're using it in one place, use it everywhere. While we're here, read()/recv() of 0 after select indicates a closed connection as well, an ensure we check terminate flags in inner loops. This should help with SyncTERM issues where it appears to be connected until you press a key, or it "hangs" and you have to manually disconnect due to the connection actually having been torn down at one end or the other. --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .