delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/05/02:24:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <bcbc1a8604100423246f4c8da3@mail.gmail.com>
Date: Tue, 5 Oct 2004 14:24:02 +0800
From: "Edward L. Fox" <edyfox AT gmail DOT com>
Reply-To: "Edward L. Fox" <edyfox AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT?
In-Reply-To: <200410042311468.SM01220@fasolt>
Mime-Version: 1.0
References: <20041005035646 DOT C44D285135 AT pessard DOT research DOT canon DOT com DOT au> <200410042311468 DOT SM01220 AT fasolt>
X-IsSubscribed: yes

Hi, Siegfried:

    In my opinion, I don't think it a good idea to use native Windows
program in cygwin.

    Yes, you can remove your cygwin version of cvs.exe in /usr/bin and
create a symbolic link there, pointing to /cygdrive/.../cvsnt/bin/cvs.exe.
And it in fact will run instead of cygwin version. But the native Windows
program will not recognize the strange path offered by cygwin's shell.

    If you are always using relative path, I think the native Windows
program will work as well. Or you can write a simple wrapper to translate
the cygwin path into native Windows path. Who knows? Who cares?

    Good luck!


                Edward L. Fox

                2004-10-05


From: edyfox AT gmail DOT com

On Mon, 4 Oct 2004 23:12:05 -0600, Siegfried Heintze <siegfried AT heintze DOT com>
wrote:
> I notice that Cygwin manipulates the path by prepending "
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:" to the windows PATH
> environment variable.
> 
> This is a problem for me because I'm using CVSNT and I need my cvs client
> to be /cygdrive/c/Program Files/cvsnt/bin which it never sees because it
> finds cvs.exe in /usr/bin instead and this is not the cvsnt client!
> 
> How do I prepend /cygdrive/c/Program Files/cvsnt/bin to the path?
> 
> Thanks
> Siegfried
> 
> --
> 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/
> 
>

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019