Re: sort kills cygwin

2003-01-14 Thread fergus
There are a number of commands with names common both to Windows and to
Cygwin. One example is "sort"; others are "find" and "more" and maybe "ftp"
and "telnet".

If /cygdrive/c/WINDOWS/ and /cygdrive/c/WINDOWS/COMMAND/ precede /usr/bin/
or /bin/ on your PATH then it is the Windows version of the executable, not
the Cygwin version, that will be picked up. I tried sort --version with the
Windows executable and got exactly the "not found" message you have
described.

Solution: either alter the order of the entries on your PATH or (which I
have done, not to any identifiable disadvantage) delete all Windows
references from your path. (So this is my Cygwin path:
~/bin:/usr/local/bin:/usr/bin:/bin:)

Fergus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sort kills cygwin

2003-01-14 Thread Max Bowsher
Bhiksha Raj wrote:
> Hi All,
>
> Im having blue screen of death problems all around.
> I thought I had this beat, but no..
>
> Anyway, Id been having BSOD problems when I ran "configure"
> for the guile packages. The machine only died when I ran
> the script, but I could not kill it by running any commands
> from commmand line.
>
> Ive finally isolated a command that kills my machine.
> Everytime I run "sort" on any data, the machine dies.
> sort --version does not give me a version number, but
> rather the node that <-VERSION> is not a file.
>
> Any idea why "sort" would cause problems? I have the latest
> texttools, and most system libraries are new, although I
> may have some old ones (older than 3 months)

Do you mean textutils?

Anyway, what you say about --version suggests that Windows sort is being run
instead of Cygwin sort.

You know, with the amount of BSODs your getting, I'd be thinking about
reinstalling Windows.

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/