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: Wed, 2 Mar 2005 13:21:53 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cp (coreutils) 5.2.1 Corrupts Binary File Message-ID: <20050302122153.GQ18314@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200503020847 DOT j228lR6v007623 AT mail4 DOT magma DOT ca> <20050302085754 DOT GA28084 AT cygbert DOT vinschen DOT de> <20050302094752 DOT GL18314 AT cygbert DOT vinschen DOT de> <20050302100936 DOT GP18314 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i On Mar 2 10:14, Vincent Rowley wrote: > Corinna Vinschen cygwin.com> writes: > > Oh, wait. I see you're running coreutils-5.2.1-2. That version might > > actually have textmode issues. The current version is 5.2.1-5. Could > > you please try if that solves your problem? > > I will try this in a couple of hours and let you know. > > By the way, would you recommend us to install Cygwin selecting the Unix mode? > If yes, how should we proceed since we have already installed it in DOS mode? > I was thinking that we should select DOS since our non-Cygwin applications are > Windows applications. Please let me know what you think. I would always and everywhere suggest to install in binmode. Textmode is an unfortunate idea which only results in problems. We're keeping that for some sort of (probably misguided) backward compatibility. Personally I'd rather get rid of them. You don't have to reinstall everything when you change over to binmode, but you should be aware that some of your textfiles have to be converted! Tcsh for instance doesn't like \r\n in scripts. If you want to switch over to binmode, just umount all of your mount points and then re-mount them again using the -b option (but that's default anyway): cd /bin ./umount / ./mount -f C:/apps/cygwin / [etc] The /cygdrive mounts are changed by just calling `mount -c /cygdrive'. HTH, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/