Re: Reusing connections for multiple commands (General questions)
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:
- Reusing connections for multiple commands - jdlogicman, 2011-04-06, 01:24
- Re: Reusing connections for multiple commands - woddrazen, 2011-04-06, 09:11
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 18:39
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 18:48
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 21:01
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 21:15
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 22:19
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 22:22
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 22:19
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 21:15
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 21:01
- Re: Reusing connections for multiple commands - wodDamir, 2011-04-06, 18:48
- Re: Reusing connections for multiple commands - jdlogicman, 2011-04-06, 18:39
- Re: Reusing connections for multiple commands - woddrazen, 2011-04-06, 09:11