On 4 Oct, Siegfried Heintze 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?
We've been doing this for years, since Cygwin's cvs gives us messages of the form $ /usr/bin/cvs update 2>&1 | cat -tvu Enter passphrase for key /home/luke/.ssh/id_dsa: cvs update: warning: unrecognized response `ok^M from cvs server using either the :pserver: or the external client-server via rsh methods. Anyway, in your case it should be as simple as this: PATH="/cygdrive/c/Program Files/cvsnt/bin:$PATH" You may need to export EDITOR=notepad if you have trouble with cvs commits aborting because it can't run your editor. It all works fine; we've been using cvs-1.10 and earlier, compiled natively for Windows, for years. luke -- 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/