Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <5.1.0.14.2.20030628103812.00b9f468@mail.dnv.wideopenwest.com> X-Sender: toscani AT mail DOT dnv DOT wideopenwest DOT com Date: Sat, 28 Jun 2003 10:39:04 -0600 To: cygwin AT cygwin DOT com From: toscani AT wideopenwest DOT com Subject: Fwd: Re: CygWin adding CRs, hurting CVS client/server communications? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-RAVMilter-Version: 8.4.1(snapshot 20020919) (pop-3.dnv.wideopenwest.com) Forgot to CC this to the list. >Date: Sat, 28 Jun 2003 10:34:52 -0600 >To: Patrick Eisenacher >From: toscani AT wideopenwest DOT com >Subject: Re: CygWin adding CRs, hurting CVS client/server communications? > >I've just tried scp'ing a text file containing CRNL line terminators...the >copy of the file on the server is unchanged, i.e., it still has CRNLs. So >I guess this means the problem isn't with SSH. It's just weird that it >popped up immediately after a CygWin update...could there be something >else in CygWin doing this? Hmmm... > >Toscani > >At 05:15 AM 6/28/2003, you wrote: > >>Works like a charm here, both for binmode and textmode mounts. >> >>My system: Win2k, WinCVS and Cygwin SSH >> >>The problem mentioned in your mailing list reference was fixed long time ago. >> >>Do your line endings change as well if you scp a textfile from your >>client to your server? If yes, then we have indeed an ssh issue on WinXP >>platforms. Otherwise your problem must lie somewhere else. >> >> >>Patrick >> >>>Hey folx...currently using OpenSSH under CygWin on an XP box to >>>communicate with a CVS server on a Linux box. Recently upgraded my >>>CygWin installation (1.3.22(0.78/3/2), including OpenSSH to v3.6.1p1 >>>(the latest available under CygWin), and now CVS client/server >>>communications over SSH (CVS_RSH=ssh) don't work. >>>I've tracked the problem deep enough to suspect that SOMETHING in CygWin >>>converts LF to CR+LF line terminators across SSH. This pretty much hoses >>>CVS client/server communications, as the CVS server interprets all >>>incoming lines as byte strings including a CR at the end (it treats LF >>>as the actual terminator)...especially bad for pathname interpretation, >>>but lots of other things may be affected as well. I've tried altering >>>the CVS server code to eat the extra CRs, but too many other things >>>break (including file data exchange I'd bet...can't tell which CRs are >>>valid data and which are inserted by the system) for that to be effective. >>>Found a reference in the mailing list archives to a similar problem >>>someone was having last October, but the solution was to install a >>>snapshot from that time period which seems to be no longer available. >>>I'm wondering if the fix for this issue never found its way into more >>>recent versions of the CygWin system components? I've upgraded CVS on >>>both client and server, but based on my testing, I don't think CVS >>>itself is adding the CRs...please flame if I'm wrong on that one. >>>Not sure what else to do right now but do without version control for a >>>bit...any better ideas? >>>- Toscani >> >> >> >>-- >>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >>Problem reports: http://cygwin.com/problems.html >>Documentation: http://cygwin.com/docs.html >>FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/