On Fri, 30 May 2014, Jafar Al-Gharaibeh wrote:

> Dick,
> 
>   From the look of it, the path  "/cygdrive/c/file" seems to be a cgywin

This is correct.  However, the program also had a windows "C:" style
path in it, and I believe it makes no sense to use both.  If the
Unicon had been successfully compiled under Cygwin, which I have not
attempted in ages, then the /cygdrive/c paths should work, but not
the windows style ones.  And vice versa.

> thingy. I have very little experience with cgywin but I believe unless you
> use cgywin toolschains the application wont see /"cygdrive/c", it is an
> invalid path from Windows point of view.  Unicon is not a cgywin
> application so I'm not surprised that this is not working. A quick googling
> returned this answer:
> 
> cygpath -w:   converts to windows path
> 
> cygpath -u:    converts to unix path
> to use the correct path based on the application (cgywin-based or not).
>  Somebody suggested that you can actually configure cygwin to drop the
> cygdrive prefix by editing the /etc/fstab in cygwin. Just add a line that
> says
> 
> none / cygdrive binary 0 0
> 
> This way all of you paths would say something like "/c/file", and would be
> consistent whether you are running a cgywin application or not.
> 
> --Jafar
> 
> P.S. Unicon could be made smart enough to map "/cgydrive/c" to "c:/" but
> that means every single path used in Unicon applications has to be checked
> first for the string "/cgydrive" and do the mapping. Not sure if that is
> the right thing to do, will leave that for the discussion.

But then one would would have some kind of obligation to support
paths for MSys, and the other Unix emulation layers.  I think it
would be more fruitful to aim for successful builds of Unicon under
the various Unix emulation layers.  I may not be seeing the whole
picture, though.

Hugh
> 
> 
> 
> 
> 
> On Fri, May 30, 2014 at 4:29 AM, Richard H. McCullough <[email protected]>
> wrote:
> 
> > I got your hint that I should create a ticket on Unicon bug tracker,
> > but I couldn't find any link to create new ticket.
> >
> > So here's another bug for you.  Likely fails on all Windows versions.
> >
> > see attached cygdrive.icn
> >
> > Dick McCullough
> > Context Knowledge Systems
> > What is your view?
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Time is money. Stop wasting it! Get your web API in 5 minutes.
> > www.restlet.com/download
> > http://p.sf.net/sfu/restlet
> > _______________________________________________
> > Unicon-group mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/unicon-group
> >
> >
> 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to