From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12219 invoked by alias); 25 Apr 2003 21:46:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12212 invoked from network); 25 Apr 2003 21:46:57 -0000 Received: from unknown (HELO web14801.mail.yahoo.com) (216.136.224.217) by sources.redhat.com with SMTP; 25 Apr 2003 21:46:57 -0000 Message-ID: <20030425214653.13670.qmail@web14801.mail.yahoo.com> Received: from [129.33.49.251] by web14801.mail.yahoo.com via HTTP; Fri, 25 Apr 2003 14:46:53 PDT Date: Fri, 25 Apr 2003 23:06:00 -0000 From: Qwer Zxcv Subject: what determines cygwin path? To: cygwin@cygwin.com In-Reply-To: <02ad01c30b68$c5c0ff50$78d96f83@pomello> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg02266.txt.bz2 Qwer Zxcv wrote: >>> 0 How can I fix one or both of my current configurations? Max Bowsher wrote: >> Check if echo/grep exist. OK, so I roll back to my old cygwin: * changed my windows (w2k sp2) path to PATH=d:\bin\cygwin\1.3.13-1\bin;d:\bin\cygwin\1.3.13-1\usr\X11R6\bin;d:\bin;C:\WINNT\system32;C:\WINNT; etc. The only cygwin references are the two at the front. * run the shortcut to my old bash I get the message > bash: /bin/echo: No such file or directory > bash: /bin/grep: No such file or directory But both grep and echo are in /d/bin/cygwin/1.3.13-1/bin/, and run if I cd there. 'id' also runs from there. > qwerzxcv@qwerzxcv /d/bin/cygwin/1.3.13-1/bin > $ id > uid=1002(qwerzxcv) gid=513(None) groups=513(None),544(Administrators),545(Users) >> Find out why your path is weird. That's what I'd like to know! so I run > qwerzxcv@qwerzxcv /d/bin/cygwin/1.3.13-1/bin > $ cygcheck -svr > Cygwin Win95/NT Configuration Diagnostics > Current System Time: Fri Apr 25 17:33:58 2003 > Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 > Path: D:\bin\cygwin\1.3.22-1\usr\local\bin > D:\bin\cygwin\1.3.22-1\bin > d:\bin\cygwin\1.3.10\bin > D:\bin\cygwin\1.3.22-1\usr\X11R6\bin > D:\bin\cygwin\1.3.22-1\bin > c:\WINNT\system32 > c:\WINNT > c:\WINNT\System32\Wbem > g:\bin\cmvc\1.7\CMVC\EXE > . > `id' program not found which is completely wrong. So what I'd like to know is, how is cygwin's path determined? (Apparently not entirely by the windows path, at least not by default.) And how do I fix it? >> Also please note: I'd appreciate it if you could reply directly to >> me, as well as to the list. I'm on the digest, to avoid flooding my >> inbox, but I'd like to get this problem fixed ASAP, without waiting >> for the digest. I have some scripts I need to run, in order to get >> "real work" done, but for now I'm "dead in the water" :-( __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/