delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/09/11:15:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39911470.C48C304C@cygnus.com>
Date: Wed, 09 Aug 2000 10:21:04 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Ralf Fassel <ralf AT akutech DOT de>
CC: norbert DOT bladt AT usa DOT net, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: cygwin-1.1.4: problems with remote commands
References: <20000809063835 DOT 13290 DOT qmail AT nwcst289 DOT netaddress DOT usa DOT net> <14737 DOT 2200 DOT 380459 DOT 958344 AT jupiter DOT akutech DOT de>

Ralf Fassel wrote:
> 
> * norbert DOT bladt AT usa DOT 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 AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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