X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 26 May 2008 22:42:29 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin1.dll incluson in Cygwin makefile
Message-ID: <20080527024229.GA31544@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <483A64DE.3020607@cs.cmu.edu> <483A85DF.1510038B@dessent.net> <483B7138.2070100@cs.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <483B7138.2070100@cs.cmu.edu>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, May 26, 2008 at 07:26:00PM -0700, Paul Newell wrote:
>cmd /c dir "c:\"
>
>just generates a shell that I have to controlC out of (other variants
>caused me to find you 2004 posting when I had to hit enter a second
>time).

It's not a shell.  It's a continuation line.  \ is a quoting character
on linux-like systems.  So the above says "quote the next character",
meaning that the " character is not recognized as closing the previous
".  If you had typed another " you would have seen output from your dir
but if you really need to use a backslash then use \\.

But, I think you're still missing the point that the main focus of
Cygwin is to be a POSIX like environment.  You shouldn't need to revert
to cmd for anything.  If you need to reference other drives then you
can use /cygdrive/c/foo rather than c:\foo .

>As for distributing my code ...  that isn't the intent at all.  This is
>nothing more than trying to learn for myself how to make better use of
>cygwin for personal uses.  I've been using cygwin since the Win98se
>days but always in a very limited form and always running a Borland
>compiler on the Win98 machine.  I'm trying to teach myself what I need
>to know to just run cygwin on Windows and Fedora / RedHat on Linux ...
>skipping Windows compilers altogether.

If you are skipping Windows compilers then you definitely don't want to
use the c: or \ notation.  Stick to "forward slashes" and no colons when
using cygwin programs.

cgf

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

