This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Poor perf of cd; pregnant pauses


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]