This is the mail archive of the cygwin@sources.redhat.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: cygwin-1.1.4: problems with remote commands


Ralf Fassel wrote:
> 
> * norbert.bladt@usa.net
> | >      % ssh nt-host ls
> | This works for me.
> | Either you
> |       - are using the ls from the Resource Kit or
> 
> Duh!
> 
>    % ssh nt-host /bin/ls
> 
> works as advertised.  I was picking up the `ls' (and other UNIX tools)
> from the NutCracker Suite, since I chose to _append_ /usr/bin to PATH
> for testing purposes.  Hmmm.  Maybe I should _prepend_
> /cygdrive/c/usr/bin to PATH, since the other shells won't find
> anything there.  I want to make sure not to disturb other shells when
> adding cygwin to PATH...

Personally I have only the Cygwin bin path which points to the
base package (including cygwin1.dll!) in my system environment
as last entry:

	PATH="...:D:\Cygwin\bin"

In my global profiles (bash: /etc/profile, tcsh: /etc/csh.login)
I set PATH so that it contains all my important bin paths at the
beginning:

	export PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

or

	set path = ( /usr/local/bin /usr/bin /bin $path )

I have good experiences with that strategy.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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