delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/03/12:50:45

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
Message-ID: <20001103174150.85086.qmail@web10707.mail.yahoo.com>
Date: Fri, 3 Nov 2000 09:41:50 -0800 (PST)
From: Mike Ayers <x99969 AT yahoo DOT com>
Reply-To: mayers AT bmc DOT com
Subject: RE: bison having ^M problems?
To: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

> From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
> 
> --- Charles Wilson <cwilson AT ece DOT gatech DOT edu> wrote:
> > > You have
> > > > TEMP = `/cygdrive/c/TEMP'
> > > and
> > > > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
> > > >   (default) = `/cygdrive'
> > > >   cygdrive flags = 0x00000020
> > > indicates that your /cygdrive pseudo mount is set to text 
> mode while
> > > > C:\progfile\Cygwin\bin  /usr/bin  system  binmode
> > > > C:\progfile\Cygwin\lib  /usr/lib  system  binmode
> > > > C:\progfile\Cygwin  /        system  binmode
> > > are set to binary mode.
> > > 
> > > To resolve this, change the /cygdrive pseudo mount to 
> binary mode.  Hint:
> > > `mount --help'.
> > > 

     This helps - a little.  The text for 'mount --help' describes some
ways to modify cygdrive, but could have stood a little more text.  I
had to guess, and wound up with:

$mount -b -s --change-cygdrive-prefix /cygdrive

    ...which changed my cygdrive flags to 0x00000022.  Does this mean
binary mode? 'mount --show-cygdrive-prefix' doesn't report flags (is
this a bug?).

> > 
> > Good call.  This should be a FAQ -- or perhaps setup should set
> > cygdrive's mount mode to binary when 'Binary' is selected for other
> > mounts?
> > 

    I vote for FAQ, whether or not setup gets changed, and I'm not sure
that it should be changed.  Consider someone who likes the /cygdrive
naming scheme, uses binary mode for almost everything, and only uses
mount to mount drives in text mode.  If setup were to interpret the
mode flags, it would interpret incorrectly for such a user, who would
have to reset the mount structure after every upgrade.  Also, you might
want to include the info on how to interpret the cygdrive flags in the
FAQ.


/|/|ike

> 
> It's the first thing I look for nowadays when the problem is 
> related to \r\n. 
> We've taken care of most of the problems, yet this still 
> remains.  Yes, setup
> should change as you've described.
> 
> Cheers,
> 
> =====
> Earnie Boyd
> mailto:earnie_boyd AT yahoo DOT com
> 
> ---         <http://earniesystems.safeshopper.com>         ---
> --- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
> ---   Minimalist GNU for Windows <http://www.mingw.org/>   ---
> 


__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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