-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
newlines not rendered on Windows telnet #3
Comments
I checked using putty with telnet and it also has the indent issue. I think somewhere in the write() when a newline is detected an additional '\r' must be added to the buffer, or something along those lines like this quick hack in write()
|
There is a solution without adding code: |
yes, that'll work. Also using the windows telnet.exe with
https://support.microsoft.com/en-nz/help/322846/telnet-client-does-not-send-crlf-when-expected
…On Sun, Dec 30, 2018 at 5:34 PM Wolfgang Mattis ***@***.***> wrote:
There is a solution without adding code:
In the putty configuration (Category:) click on "terminal" and check the
line "Implicit CR in every LF".
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLHeCCyJGoXe2V0lxXPgvEakOMqUzDaks5u-OsSgaJpZM4Zkv7l>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the great library. I'm using it in one of my projects to replace some home grown telnet logging libraries. I noticed when using Telnet on Windows the newlines are not left-justified. I think this is because you need a '\r' after a '\n'. For example using your stock example code in a Serial window it shows correctly as:
but in the telnet window:
Works fine using telnet from Linux, like an ubuntu shell in Windows10 though.
The text was updated successfully, but these errors were encountered: