delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/19/18:07:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A68C865.5F65B03A@yahoo.com>
Date: Fri, 19 Jan 2001 18:06:13 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Chuck DOT Irvine AT mail DOT sprint DOT com
CC: cygwin AT sourceware DOT cygnus DOT com, C DOT Conrad AT cli DOT de, christoph DOT conrad AT gmx DOT de,
kifer AT cs DOT sunysb DOT edu
Subject: Re: ^M diff related problem
References: <H00009db08251d8f DOT 0979944665 DOT kcopmp06 AT MHS>

What is your TEMP variable set to?

What happens if you `export TEMP=/tmp'?

Cheers,
Earnie.

Chuck DOT Irvine AT mail DOT sprint DOT com wrote:
> 
> When invoking diff in a bash shell, output gets generated with ^M
> terminated lines. This seems to cause certain diff dependent emacs
> commands, e.g. vc-resolve-conflicts, to misbehave. To illustrate:
> 
> ***********************************************
> > echo hello >> test
> > echo hello >> test2
> > echo hello >> test2
> > diff -C 2 test test2 | cat -v -
> *** test        Fri Jan 19 16:52:24 2001^M
> --- test2       Fri Jan 19 16:52:44 2001^M
> ***************^M
> *** 1 ****^M
> --- 1,2 ----^M
>   hello^M
> + hello^M
> > echo $CYGWIN
> binmode
> ************************************************
> 
> I've done some reading regarding binary vs text mode and the only
> relevant config setting I can find is setting CYGWIN to binary, which
> I've done, as shown above. After doing so, I still get the error above.
> 
> Any help with getting rid of these ^M would be greatly appreciated.
> 
> Chuck
> Sprint
> 
>   ------------------------------------------------------------------------
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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