delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/15/22:41:21

X-Spam-Check-By: sourceware.org
Message-ID: <4532F13A.5040000@cygwin.com>
Date: Sun, 15 Oct 2006 22:40:58 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can not start UltraEdit using cygwin path
References: <BAY21-F175DFD03F91F9E2EB5F331E9090 AT phx DOT gbl>
In-Reply-To: <BAY21-F175DFD03F91F9E2EB5F331E9090@phx.gbl>
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

lin q wrote:
>> From: Brian Dessent 
>> lin q wrote:
>>
>> >   If I run it with cygwin path like this,
>> >
>> > uedit /cygdrive/c/tmp/log
>> >
>> >   UltraEdit says the path is wrong.
>>
>> UltraEdit is not a Cygwin application.  How on earth do you expect it to
>> understand something beginning in /cygdrive?  Look into cygpath.
> I know cygpath, but it is easier to just type in DOS path than to use 
> cygpath each time.
> 
>>
>> >   Interesting enough, I have similar function for gvim,
>> >
>> > vi ()
>> > {
>> >     gvim $@ &
>> > }
>>
>> gvim is a Cygwin application.
> I download gvim myself from vim web site and installed it, it is not the 
> one in cygwin package. This is the reason I think the application does 
> not have to be from cygwin package.


One non-Cygwin application that you may have been able to get to understand
some POSIX path does not mean any or all non-Cygwin applications will
understand all POSIX paths.  As Brian points out, you should not expect
non-Cygwin applications to understand POSIX paths.  If you want such ability,
you will need to build such applications with Cygwin's gcc/g++ (without the
-mno-cygwin flag).  FWIW, there is a gvim package for Cygwin.  This certainly
understand POSIX paths.




-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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