www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <200207011615.g61GFTZ06273@etp1.bitmover.com> |
From: | Andrew Chang <awc AT bitmover DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | FYI: cygwin1.3.11 and ssh |
Date: | Mon, 1 Jul 2002 09:15:29 -0700 |
MIME-Version: | 1.0 |
Hi, After I switched from cygwin1.3.10 to cygwin1.3.11-3, I notice ssh starts doing output in text mode. My win32 apps start ssh as sub process and talk to it via a pipe. This causes problem for my win32 apps because it uses ssh to transfer a data stream with control characters. I tracked the problem to a binary-mode/text-mode problem. I ended up adding a setmode(0, _O_BINARY) in the main() of ssh.c, which fixed the problem. I am wondering why cygwin1.3.11-3 default to text mode and the previous version does the oppsite. Is this intentional ? Thanks Andrew Chang BitKeeper Development P.S. please cc your reply to awc AT bitmover DOT com. I am not on this mailing list, thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |