delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/02/07:22:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Wed, 2 Mar 2005 13:21:53 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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> <loom DOT 20050302T100414-499 AT post DOT gmane DOT org> <20050302094752 DOT GL18314 AT cygbert DOT vinschen DOT de> <loom DOT 20050302T104906-403 AT post DOT gmane DOT org> <20050302100936 DOT GP18314 AT cygbert DOT vinschen DOT de> <loom DOT 20050302T111136-706 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20050302T111136-706@post.gmane.org>
User-Agent: Mutt/1.4.2i

On Mar  2 10:14, Vincent Rowley wrote:
> Corinna Vinschen <corinna-cygwin <at> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019