delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/14/13:14:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000114181809.1448.qmail@web118.yahoomail.com>
Date: Fri, 14 Jan 2000 10:18:09 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: cygwin bash groks PATH wrong
To: Peter Cordes <peter AT Cordes DOT Phys DOT Dal DOT Ca>
Cc: cygwin users <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

The pathing routines have been rewritten.  Either download a snapshot or buy
the CD version to get these changes.  //c/ is nolonger what happens.  Report
your bug against what is current please.

Earnie.

--- Peter Cordes <peter AT Cordes DOT Phys DOT Dal DOT Ca> wrote:
> On Fri, 14 Jan 2000, Bob McGowan wrote:
> 
> > Peter,
> > 
> > I don't think this can qualify as a bug.  Though relative paths don't
> > really make sense in either the DOS/Windows world or the UNIX world, you
> > can change your path to include them.  I think this is true also on
> > DOS/Windows, with the added issue of drives and their current directory
> > concepts.  This means for DOS I could have a directory with no drive
> > letter, so it is only valid when the drive it is on is current.
> 
>  I'd agree with that, except that I think it is a bug because there
> is no way //cfoo can be considered correct.  Maybe cygwin (or bash,
> whichever one is doing the dos->unix style path translation) should
> translate c:foo to a simple relative PATH of foo, dropping the drive
> letter.  This is right sometimes, and avoids putting a bogus UNC name in
> the PATH.  Even better would be to print a warning before doing this, so
> the user could fix their (probably typo'd) DOS path.
>  
> > Do you have any control over the local computer you are running bash
> > on?  You may be able to effect some repair in the Control
> > Panel->System's environment tab.  If not, you should have complete
> > control over your personal setup of Cygwin and should be able to either
> > set the PATH exactly as you like in your .profile or .bashrc (i.e. don't
> > put a $PATH on the right side), or even run the existing DOS/Windows
> > path through sed or awk to munge it up the way you need it.
> 
>  Luckily, the CS help desk listens to bug reports, and fixed their typo in
> the DOS path.  :)
> 
>  Thanks,
> 
> #define X(x,y) x##y
> DUPS Secretary ; http://is2.dal.ca/~dups/
> Peter Cordes ;  e-mail: X(peter AT cordes DOT phys. , dal.ca)
> 
> "The gods confound the man who first found out how to distinguish the hours!
>  Confound him, too, who in this place set up a sundial, to cut and hack
>  my day so wretchedly into small pieces!" -- Plautus, 200 BCE
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.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