Poor perf of cd; pregnant pauses

Matthias Morche morche@sat1.de
Tue Jul 21 11:09:00 GMT 1998


Andrew Sharp wrote:
...
> As for the hang when you type a command that doesn't exist, I used to
> have this problem on a Win95 OSR2 machine (never on NT), I'm pretty sure
> it went away (it's gone now, so something made it go away) after I
> painstakingly eliminated non-existant paths from the PATH variable.
...

Another instance of this problem arises, when Novell defines a PATH like
"Y:" which is translated into "//Y.". Unfortunately this invokes a
search for a machine named "Y". The problem went away, whem I patched
the path to give "//Y" instead:
export PATH=`echo $PATH | sed
's=\(^\|:\)\(//[A-Z]\)\.\(/\|:\|$\)=\1\2\3='`

Perhaps there' a better solution out there.
-- 
	Matthias Morche ( mailto:morche@sat1.de )
		SAT.1 ( http://www.sat1.de )

>>> Linux: the greatest adventure game since the invention of the PC <<<
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list