delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 26 May 2008 22:42:29 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin1.dll incluson in Cygwin makefile |
Message-ID: | <20080527024229.GA31544@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <483A64DE DOT 3020607 AT cs DOT cmu DOT edu> <483A85DF DOT 1510038B AT dessent DOT net> <483B7138 DOT 2070100 AT cs DOT cmu DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <483B7138.2070100@cs.cmu.edu> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |