Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3A6F7F34.74A1A5BB@yahoo.com>
Date: Wed, 24 Jan 2001 20:19:48 -0500
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Earnie Boyd <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Josh Schulte <jschulte@equilibrium.com>
CC: cygwin@cygwin.com
Subject: Re: Bug In Mount?, Was [Odd/New Perl Behavior]
References: <67677D360C1FD411BB4000B0D02080418A5FDB@eqexchange.equildom.equilibrium.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Josh Schulte wrote:
> 
> Reading my previous message below may provide a little more information,
> but basically what is happening is I am getting \r\n at the end of my
> lines in my files wether or not the directory is mounted in textmode or
> binmode. Is there a bug in mount/cygwin?
> 
> Below are a perl script and results to illustrate the problem.
> 
> DOS INSTALL RESULTS
> -------------------
> 
> $ mount
> Device              Directory           Type         Flags
> C:\cygwin\bin       /usr/bin            system       textmode
> C:\cygwin\lib       /usr/lib            system       textmode
> C:\cygwin           /                   system       textmode
> 
> $ ./testperl
> <-*>line one
> <-*>line two
> <-*>line three
> 
> UNIX INSTALL RESULTS
> --------------------
> 
> $ mount
> Device              Directory           Type         Flags
> C:\cygwin\bin       /usr/bin            system       binmode
> C:\cygwin\lib       /usr/lib            system       binmode
> C:\cygwin           /                   system       binmode
> 
-8<-
> 
> C:\development\Tools\win386\..\..  /eq      user    textmode
> C:\cygwin\bin  /usr/bin  system  binmode
> C:\cygwin\lib  /usr/lib  system  binmode
> C:\cygwin  /        system  binmode
> c:    /c       user    textmode
> d:    /d       user    textmode
> 

First, of all when having mixed binmode, textmode I would expect you to
end up with \r\n line endings.

Second, give us the output of `cygcheck perl'.

Earnie.

_________________________________________________________
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

