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 Date: Mon, 10 May 2004 15:10:10 -0700 (PDT) From: calvin X-X-Sender: calvins AT protempore To: cygwin AT cygwin DOT com Subject: ssh cvs binmode problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII hi, I've been trying to get cvs over ssh working correctly, and cannot manage to add a binary file unless i do it from the server. I've come across information that leads me to believe that this is a CR/LF issue, and that setting the CYGWIN environment variable to binmode should solve the problem. I've set both the server CYGWIN and the local CYGWIN to binmode, and added a test binary file with -kb option (for binaries), but the file is corrupted when I check it out again. If I add the files from the server itself, then they are not corrupted when I check them out again. The repository is stored on a windows partition (ntfs), and here is some mount information about the repository location: $ mount C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) \everestUsersCalvin on /home/Calvin/testing type system (binmode) C:\cygwin\bin on /usr/bin type system (textmode) C:\cygwin\lib on /usr/lib type system (textmode) C:\cygwin on / type system (textmode) e: on /cygdrive/e type system (binmode) c: on /cygdrive/c type system (binmode,noumount) The e partition is the ntfs partition on which the cvsroot is located, at E:\cvsRepository, or /cygdrive/e/cvsRepository. The CVSROOT variable I'm using is :ext:Calvin AT some-hostname DOT com:/cygdrive/e/cvsRepository, and things are working fine except that I can't add binaries unless I first scp them to the server and add them locally. I also tried adding a mount point for the repository itself, like so: mount -b e:\cvsRepository /cvs But this also resulted in corrupt binaries, as well as an obscure error about an error in the CVSROOT/config file. Any help would be very much appreciated. thanks, calvin -- 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/