Re: Reusing connections for multiple commands - WeOnlyDo Discussion board

Re: Reusing connections for multiple commands (General questions)

by jdlogicman, Wednesday, April 06, 2011, 21:01 (4980 days ago) @ wodDamir

I'm almost there.

I had to go to non-blocking mode and set the prompt explicitly (to be reliable if someone sends me PS1=xxxx). I also had to turn off echoing commands (stty -echo).

Now, it seems that all of the UNIX newlnes are being translated into CRLF. For example if I cat a multiline text file, I get CRLFs on the receiving end.

Is that a property of the SSH library or is that another terminal setting?


Complete thread: