mirror of https://github.com/macssh/macssh.git
Disable _convertLFs, was causing CR ('\r') sent by remote to beocme a newline ('\n')
This commit is contained in:
parent
1c41674e23
commit
76af9acc2a
|
@ -1065,7 +1065,7 @@ void init_context(lshcontext *context, short port)
|
||||||
memcpy(&context->_mactermios, &defaulttermios, sizeof(struct termios));
|
memcpy(&context->_mactermios, &defaulttermios, sizeof(struct termios));
|
||||||
context->_gConsoleInEOF = 0;
|
context->_gConsoleInEOF = 0;
|
||||||
/*context->_convertLFs = 0;*/
|
/*context->_convertLFs = 0;*/
|
||||||
context->_convertLFs = 1;
|
context->_convertLFs = 0;
|
||||||
context->_lastCR = 0;
|
context->_lastCR = 0;
|
||||||
context->_insock = NULL;
|
context->_insock = NULL;
|
||||||
context->_gConsoleInBufLen = 0;
|
context->_gConsoleInBufLen = 0;
|
||||||
|
|
Loading…
Reference in New Issue