public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: PATH conversion bug
@ 1999-10-01  5:53 Earnie Boyd
  1999-10-01  6:08 ` Kai Henningsen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-10-01  5:53 UTC (permalink / raw)
  To: Kai Henningsen, cygwin

--- Kai Henningsen <kai@cats.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!!

> 
> I don't know if this is a general problem with converting relative path
> entries.
> 
> Anyway, the result is long pauses during every PATH search,
> presumably while the machine is looking for network hosts named
> "W." and so on.
> 

Most likely correct.

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.


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PATH conversion bug
  1999-10-01  5:53 PATH conversion bug Earnie Boyd
@ 1999-10-01  6:08 ` Kai Henningsen
  1999-10-31 19:54   ` Kai Henningsen
  1999-10-01  6:32 ` Chris Faylor
  1999-10-31 19:54 ` Earnie Boyd
  2 siblings, 1 reply; 8+ messages in thread
From: Kai Henningsen @ 1999-10-01  6:08 UTC (permalink / raw)
  To: Kai Henningsen, cygwin, earnie_boyd

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

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

> --- Kai Henningsen <kai@cats.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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PATH conversion bug
  1999-10-01  5:53 PATH conversion bug Earnie Boyd
  1999-10-01  6:08 ` Kai Henningsen
@ 1999-10-01  6:32 ` Chris Faylor
  1999-10-31 19:54   ` Chris Faylor
  1999-10-31 19:54 ` Earnie Boyd
  2 siblings, 1 reply; 8+ messages in thread
From: Chris Faylor @ 1999-10-01  6:32 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: Kai Henningsen, cygwin

On Fri, Oct 01, 1999 at 05:52:05AM -0700, Earnie Boyd wrote:
>--- Kai Henningsen <kai@cats.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!!

I have to disagree.  This looks like a Cygwin bug to me.  It is fixed in
the current snapshot, though.

-chris

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PATH conversion bug
  1999-10-01  6:08 ` Kai Henningsen
@ 1999-10-31 19:54   ` Kai Henningsen
  0 siblings, 0 replies; 8+ messages in thread
From: Kai Henningsen @ 1999-10-31 19:54 UTC (permalink / raw)
  To: Kai Henningsen, cygwin, earnie_boyd

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

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

> --- Kai Henningsen <kai@cats.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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PATH conversion bug
  1999-10-01  6:32 ` Chris Faylor
@ 1999-10-31 19:54   ` Chris Faylor
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Faylor @ 1999-10-31 19:54 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: Kai Henningsen, cygwin

On Fri, Oct 01, 1999 at 05:52:05AM -0700, Earnie Boyd wrote:
>--- Kai Henningsen <kai@cats.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!!

I have to disagree.  This looks like a Cygwin bug to me.  It is fixed in
the current snapshot, though.

-chris

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PATH conversion bug
  1999-10-01  5:53 PATH conversion bug Earnie Boyd
  1999-10-01  6:08 ` Kai Henningsen
  1999-10-01  6:32 ` Chris Faylor
@ 1999-10-31 19:54 ` Earnie Boyd
  2 siblings, 0 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-10-31 19:54 UTC (permalink / raw)
  To: Kai Henningsen, cygwin

--- Kai Henningsen <kai@cats.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!!

> 
> I don't know if this is a general problem with converting relative path
> entries.
> 
> Anyway, the result is long pauses during every PATH search,
> presumably while the machine is looking for network hosts named
> "W." and so on.
> 

Most likely correct.

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.


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* PATH conversion bug
  1999-10-01  2:25 Kai Henningsen
@ 1999-10-31 19:54 ` Kai Henningsen
  0 siblings, 0 replies; 8+ messages in thread
From: Kai Henningsen @ 1999-10-31 19:54 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

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.

I don't know if this is a general problem with converting relative path
entries.

Anyway, the result is long pauses during every PATH search,
presumably while the machine is looking for network hosts named
"W." and so on.

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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* PATH conversion bug
@ 1999-10-01  2:25 Kai Henningsen
  1999-10-31 19:54 ` Kai Henningsen
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Henningsen @ 1999-10-01  2:25 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

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.

I don't know if this is a general problem with converting relative path
entries.

Anyway, the result is long pauses during every PATH search,
presumably while the machine is looking for network hosts named
"W." and so on.

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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-10-31 19:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-01  5:53 PATH conversion bug Earnie Boyd
1999-10-01  6:08 ` Kai Henningsen
1999-10-31 19:54   ` Kai Henningsen
1999-10-01  6:32 ` Chris Faylor
1999-10-31 19:54   ` Chris Faylor
1999-10-31 19:54 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-10-01  2:25 Kai Henningsen
1999-10-31 19:54 ` Kai Henningsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).