Skip to content

Conversation

@ghaerr
Copy link
Owner

@ghaerr ghaerr commented Jan 11, 2026

Fixes telnet requirement to discard received data after ^C or ^O until DM received, with DM handling having been untested from previous PR comment #2566 (comment).

Coding error found during discussion in Mellvik/TLVC#217 (comment). Thanks @Mellvik for testing my macOS telnetd.

Testing now shows ^C handling with discarding working well with ELKS telnetd and macOS telnetd using DM instead of timeout, with no lost data and shell prompt displayed after discarding stopped.

^O discards output, also without sending ENTER after DM. On very long listings, ^O discards output for several seconds, then ^O is displayed, and if a character is typed, output resumes as expected, with ^O^R displayed after several more seconds. This is likely expected behavior of the remote shell. I will be leaving this as is until more information is found regarding IAC AO operations(s).

@ghaerr ghaerr merged commit 3d5084c into master Jan 11, 2026
1 check passed
@ghaerr ghaerr deleted the dmfix branch January 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants