delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/01/09:08:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
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
From: "Kai Henningsen" <kai AT cats DOT ms>
Organization: Spuentrup CTI
To: Kai Henningsen <kai AT cats DOT ms>, cygwin AT sourceware DOT cygnus DOT com,
earnie_boyd AT yahoo DOT com
Date: Fri, 1 Oct 1999 15:01:49 +0200
MIME-Version: 1.0
Subject: Re: PATH conversion bug
X-Confirm-Reading-To: "Kai Henningsen" <kai AT cats DOT ms>
X-pmrqc: 1
In-reply-to: <19991001125205.16806.rocketmail@web116.yahoomail.com>
X-mailer: Pegasus Mail for Win32 (v3.12a)
Message-Id: <E11X2Jq-0006p4-00@charlotte.intern.cats.ms>
X-MIME-Autoconverted: from Quoted-printable to 8bit by delorie.com id JAA12578

On 1 Oct 99, at 5:52, Earnie Boyd wrote:

> --- Kai Henningsen <kai AT cats DOT ms> wrote:
> > The following PATH sequence:
> > 
> > 		;W:.;Z:.;Y:.;X:.;
> > 
> > which is typical for drives mapped by the Netware client, gets
> > converted into the following cygwin PATH sequence:
> > 
> > 		://W.://Z.://Y.://X.:
> > 
> > This is a bug and doesn't work.
> 
> Not a cygwin bug!!

Why not? Who else is converting DOS-style PATH variables to 
Unix-style PATH variables?

W:. is certainly a legal (if slightly unusual) PATH entry. 
//W. is certainly something very different.

I don't see that it can be anything BUT a cygwin bug.

> To solve/workaround this problem, modify the PATH in the ~/.bashrc file to be
> what it should be.  NOTE: The smaller the PATH the faster cygwin will be.

PATH="$( echo -n $PATH | sed 's+//\([A-Z]\)\.+//\1+g' )" 

seems to work well enough. I suggest putting the equivalent into 
the PATH converter.


Regards - Kai Henningsen

-- 
http://www.cats.ms
Spuentrup CTI       Fon: +49 251 322311 0  
Windbreede 12       Fax: +49 251 322311 99
D-48157 Münster     Mob: +49 161 3223111
Germany             GSM: +49 171 7755060

--
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