From 76af9acc2a25c7975b978b0ea649b2ff944ed68d Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Mon, 25 Jun 2018 23:30:33 -0700 Subject: [PATCH] Disable _convertLFs, was causing CR ('\r') sent by remote to beocme a newline ('\n') --- macssh/source/ssh/ssh2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macssh/source/ssh/ssh2.c b/macssh/source/ssh/ssh2.c index 55fa356..42de9dd 100755 --- a/macssh/source/ssh/ssh2.c +++ b/macssh/source/ssh/ssh2.c @@ -1065,7 +1065,7 @@ void init_context(lshcontext *context, short port) memcpy(&context->_mactermios, &defaulttermios, sizeof(struct termios)); context->_gConsoleInEOF = 0; /*context->_convertLFs = 0;*/ - context->_convertLFs = 1; + context->_convertLFs = 0; context->_lastCR = 0; context->_insock = NULL; context->_gConsoleInBufLen = 0;