https://gitlab.synchro.net/main/sbbs/-/commit/89d9f19cd9a86b7ec526d8cd
Modified Files:
src/syncterm/rlogin.c ssh.c
Log Message:
syncterm: send full pty-req mode set; default RLogin to raw
ssh.c's pty-req previously sent an empty terminal-modes blob. RFC 4254
section 8 says the client SHOULD send any modes it knows about, so emit
the full set: standard control characters, 8-bit clean (ISTRIP=0, CS8=1),
no software flow control (IXON/IXOFF=0), server-side LF-to-CRLF (ONLCR=1),
and friendly cooked-mode echo defaults for the times the user lands at
a real shell. ATASCII and PETSCII emulations override VERASE/VEOL.
For consistency with the SSH IXON=0 advertisement, RLogin now defaults
to raw mode (binary_mode=true) at connect: DC1/DC3 in user input pass
straight to the server instead of being consumed locally. A server can
still request cooked mode via OOB 0x20 if it wants the legacy behavior.
Co-Authored-By: Claude Opus 4.7 (1M context) <
[email protected]>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)