delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/16/17:52:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
Subject: Re: Programatically finding value of "cygdrive" prefix
Mail-Copies-To: never
Reply-To: sds AT gnu DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds AT gnu DOT org>
In-Reply-To: <Pine.GSO.4.61.0508161649420.9560@slinky.cs.nyu.edu> (Igor Pechtchanski's message of "Tue, 16 Aug 2005 17:10:25 -0400 (EDT)")
References: <42FA4604 DOT 8000507 AT tlinx DOT org> <20050810183616 DOT GA5892 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 61 DOT 0508152130380 DOT 9560 AT slinky DOT cs DOT nyu DOT edu> <1124222681 DOT 29974 DOT 37 DOT camel AT p450> <Pine DOT GSO DOT 4 DOT 61 DOT 0508161649420 DOT 9560 AT slinky DOT cs DOT nyu DOT edu>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Tue, 16 Aug 2005 17:51:00 -0400
Message-ID: <uwtml1rgb.fsf@gnu.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)
MIME-Version: 1.0

> * Igor Pechtchanski <crpugpun AT pf DOT alh DOT rqh> [2005-08-16 17:10:25 -0400]:
>
>
> was asking for the actual problem that programmatically accessing the
> cygdrive prefix was supposed to solve.

I already explained that in
<http://article.gmane.org/gmane.os.cygwin:67856>.

let me try to do it again:

unix shell scripts and makefiles do not call cygpath.
when they are used under cygwin, they spit out cygwin pathnames
(/cygdrive/c/...) to non-cygwin programs.

[indeed, if I were using only cygwin-based software, I would have been
OK, but I do not.  I prefer the native implementations whenever
possible, so I stick with woe32 versions of CLISP, Mozilla, Emacs and VIM.]

when a non-cygwin program receives a /cygdrive/c/... pathname, it dies.

what are my options?

1. Fix all free software to call cygpath before invoking an editor or a
   browser.  This does not sound too optimistic.

2. Fix editors and browsers to handle cygwin pathnames.  This requires
   an officially published interface, preferably a known registry slot.


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.honestreporting.com> <http://truepeace.org> <http://ffii.org/>
<http://www.jihadwatch.org/> <http://www.savegushkatif.org>
In C you can make mistakes, while in C++ you can also inherit them!

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