delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/19/10:37:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 19 Oct 2002 10:36:13 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cbfalconer AT worldnet DOT att DOT net
cc: cygwin AT cygwin DOT com
Subject: Re: <crlf> vs <lf> and use of diff
In-Reply-To: <3DB0CB05.66E0955A@yahoo.com>
Message-ID: <Pine.GSO.4.44.0210191032430.6818-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 18 Oct 2002, CBFalconer wrote:

> Igor Pechtchanski wrote:
> > On Fri, 18 Oct 2002, CBFalconer wrote:
> >
> ... snip ...
> > >
> > > I also thought that I had read somewhere that the cygwin libraries
> > > generated <crlf> output lines, but it is obviously not so.
> >
> > mount the directory with DJPP makefiles in text mode.  Then the newly
> > produced files will have crlf line endings.
>
> I just created the directory and unzipped into there.  Showed up a
> couple of glitches in my published work :-).  How do we "mount in
> text mode"?

'man mount'.  If you want crlf sent through pipes, check out the binmode
setting in the CYGWIN environment variable (in the User Guide).

> BTW attacking this has shown up a couple of Cygwin glitches.  bash
> won't run a MSDOS .com file, even though it is in the path.
> Piping doesn't work to DOS utilities.  Also stdin redirection to
> DOS utilities doesn't work - maybe the same bug.  These utilities
> detect that stdin is NOT the console, and act accordingly.

I think the 'tty' setting in the CYGWIN environment variable may be
responsible for this, people will correct me if I'm wrong...  Details in
the User Guide.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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