Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Reply-To: <Larry.Piano@atomictangerine.Com>
From: "Lawrence Piano" <lpiano@atomictangerine.Com>
To: <cygwin@cygwin.com>
Cc: "Lawrence J Piano \(E-mail\)" <lpiano@atomictangerine.Com>
Subject: Command line parsing in Cygwin 1.3.1
Date: Thu, 3 May 2001 13:44:31 +0100
Message-ID: <003601c0d3ce$d07d2500$6f000a0a@ATLONCAMB1>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

I doubt this is specific to 1.3.1, but that's what I have installed.  My
question is about some strange behavior I'm getting when running Windows
apps from a shell command line.  If I do any cygwin command, it finds the
correct root (/) directory, like: ls /, gives a listing of my root dir,
c:/cygwin.

However, if I use a Win2k program like NTEmacs or Word, and type emacs
/testfile or (my alias) word /testfile, they look for or create a file on
the root dir of whatever disk, c:, d:, I'm on.  If I type: cd / and then do
emacs or word, I get the same behavior.

That is - cygwin progs interpret / correctly and Windows progs don't.

I thought my mounts might be the problem, but I've checked and they're the
same as in the documentation:

	c:\cygwin\bin on /usr/bin type user (binmode)
	c:\cygwin\lib on /usr/lib type user (binmode)
	c:\cygwin on / type user (binmode)

I've tried changing them to textmode but with no effect.  The same thing
happens whether I use tcsh or bash.

Is there some shell option I need to set or is it a known - or unknown -
bug?  Or will windows programs never have a clue about cygnus paths?

I could live with it if emacs only worked right ...

Thanks,

Larry


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

