delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/13/10:44:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <4.2.2.20000613094210.00b3c800@gqserver.houston.geoquest.slb.com>
X-Sender: wjin AT gqserver DOT houston DOT geoquest DOT slb DOT com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2
Date: Tue, 13 Jun 2000 09:43:48 -0700
To: Carl Thompson <cet AT carlthompson DOT net>, Woody Jin <wjin AT delorie DOT com>
From: Woody Jin <wjin AT houston DOT geoquest DOT slb DOT com>
Subject: Re: Make and javac compliler problem in bash
Cc: Cygwin List <cygwin AT sourceware DOT cygnus DOT com>
In-Reply-To: <39459087.3AFC40CC@carlthompson.net>
References: <4 DOT 2 DOT 2 DOT 20000612160752 DOT 00a78a50 AT gqserver DOT houston DOT geoquest DOT sl b.com>
<4 DOT 1 DOT 20000612144728 DOT 01f06100 AT pop DOT mathworks DOT com>
<4 DOT 2 DOT 2 DOT 20000612131311 DOT 00b313c0 AT gqserver DOT houston DOT geoquest DOT sl b.com>
<4 DOT 1 DOT 20000612114500 DOT 02abfa80 AT pop DOT mathworks DOT com>
<4 DOT 2 DOT 2 DOT 20000612100114 DOT 00b2faa0 AT gqserver DOT houston DOT geoquest DOT sl b.com>
<4 DOT 2 DOT 2 DOT 20000612173539 DOT 00b3d690 AT gqserver DOT houston DOT geoquest DOT slb DOT com>
Mime-Version: 1.0

At 06:38 PM 6/12/00 -0700, Carl Thompson wrote:
 >Woody Jin wrote:

 >> But a better way would be to resolve it within Cygwin.  By default,
 >> any application that is not in cygwin may be considered as Windows
 >> native application (WNA). So, when you launch WNAs, cygwin can convert
 >> the unix style directory to DOS style.  After the conversion, pass the
 >> converted MS-DOS style path to the WNA. I don't know why you think
 >> that this is so impossible or so difficult.  It is just  putting the
 >> gvim's functionality into Cygwin.

 >I like this idea, but I think this functionality would more properly go into
 >the BASH patches for Cygwin than in the Cygwin DLL itself.  Since BASH (like
 >all Unix shells) processes metacharacters in command lines itself before
 >sending them to the application, this would be an natural fit for that
 >section of the code.  The only real tricky part would be figuring out how to
 >allow BASH to figure out whether an application is Cygwin or native Windows
 >(or is that easy?).


Carl, this is why I have said from the beginning that some registration
process is required. Obviously, we cannot know.
Even though it is quite rare to use slashes in the arguments
for Windows Native Applications (WNA), we cannot generalize that
every argument that contains slash means directory.
For example, Oracle's SQL Plus will accept the argument like
"user/passwd AT instance" - but then who will use this in Windows ?
Everyone I know (includeing myself) clicks on the icon to launch this.

Anyway, one possible way would be like:

% regwna javac       # register javac as wna and convert all arguments
                               #     that contains slashes into MS dos path 
names

% regwna javac -1   # Same as the above but only the first argument
% regwna javac -$   #  only the last argument
% regwna javac -aname "-classpath"   # only the argument for -classpath
% regwna javac - r   #  remove javac as wna.
                               #  etc etc ... I think that the developers 
have a better
                               #    idea of how this may be designed.

I don't think that this will completely solve the problem mathematically,
but I am quite certain that 99.9% of the problems related with path
incomatibility problem will be resolved.

Thanks,

--
Woody Jin


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