delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/17/09:06:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <4989AFD7505BD611961B0002A5DA3E740382BE5E@NNHML2>
From: "Hughes, Bill" <Bill DOT Hughes AT cox DOT co DOT uk>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: Is there a 'ping' in Cygwin?
Date: Fri, 17 Oct 2003 14:07:45 +0100
MIME-Version: 1.0

Sent: 17 October 2003 12:59 From: Thorsten Kampe
>
> * Hughes, Bill (2003-10-17 13:31 +0200)
> > Apologies if this is as dumb as it seems to me, but is 'ping' available
in
> > Cygwin from the prompt?
>
> > I have almost everything installed, and short of using the perl or ruby
> > modules I don't seem to have any ping available in Cygwin.
> > e.g.
> >  $ ping cygwin.com
> > bash: ping: command not found
>
> Same as under Windows, NetWare, Linux or any other decent Operating
> System: either specify the whole path to "your" ping or take care that
> "your" ping is in the "PATH" environment variable. Easy, isn't it?
>
> FYI: The default /etc/profile and /etc/zprofile take care that the
> default path for ping.exe is in bash/zsh $PATH if the default path is
> in your Windows PATH variable (and that is also the default under
> Windows).
>
> Thorsten

That's how I thought it worked, and it was in my path - or so I thought.
Somehow my path was wrong in Cygwin - it contained
"/cygdrive/c/WINNT/System32" which looked ok (too much windows) - but it
should have been SYSTEM32, and I should be using PING.EXE too. This comes
from using "check_case:strict" I suspect.
Is this expected behaviour - I mean did my changing $CYGWIN to include
"check_case:strict" break the default setup?
I shall now fix my path and create symlinks so 'ping' works.
Thanks everyone for the help.

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