This is the mail archive of the
mailing list for the Cygwin project.
Re: Can cygwin be configured to always use mixed path output types?
- From: Cohen Dan <daniel_m_cohen at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 29 Jan 2004 12:16:08 -0800 (PST)
- Subject: Re: Can cygwin be configured to always use mixed path output types?
Hi Igor et al.,
Here is what I am seeing the cygwin command prompt:
Here is what I would like to see:
I am fairly new to cygwin and am not entirely certain
about the solution you are proposing.. (For example,
what do you mean by "check the latest version of
In any case, If there is no solution to this, then I
know my course of action and would only ask in the
future that cygwin environment and tools support the
two modes (Even if that means losing some symbolic
link and Cygwin mounting capabilities).
If I am wrong, I would appreciate an example of how to
set this up.. Thank you in advance.
--- Igor Pechtchanski <firstname.lastname@example.org> wrote:
> On Thu, 29 Jan 2004, Cohen Dan wrote:
> > Hi,
> > I have a project that requires me to use both
> cygwin and MKS.. MKS
> > primarily uses paths like "c:/temp" and cygwin has
> the path
> > "/cygdrive/c/temp". I know I can use cygpath
> (cygpath -m
> > /cygdrive/c/temp) to convert the cygwin path to
> "c:/temp" but that
> > solution will be very time consuming to implement
> in the very large
> > application I need to convert. I was wondering if
> there was a way to
> > configure cygwin to work with the mixed path mode
> instead of using
> > cygpath in my scripts.
> > Thanks in advance.
> > Dan
> FWIW, Cygwin's file manipulation routines will
> understand the regular
> Win32-style paths (make sure to quote the
> backslashes in your shell).
> Programs that don't attempt to manipulate the paths
> themselves should work
> just fine with Windows paths. I believe (though I'm
> not as sure of it)
> that a
> pattern is
> also used to indicate a Windows path and the DLL
> acts accordingly (i.e.,
> mixed mode should also work). If you want to make
> sure, look in the
> latest version of winsup/cygwin/path.cc.
> Of course, if some program does attempt to process
> the path itself (e.g.,
> walk through directories, etc), all bets are off.
> Also note that you will
> lose the benefit of Cygwin mounts and symlinks if
> you stick to Windows
> |\ _,,,---,,_ email@example.com
> ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
> |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski,
> '---''(_/--' `-'\_) fL a.k.a
> JaguaR-R-R-r-r-r-.-.-. Meow!
> "I have since come to realize that being between
> your mentor and his route
> to the bathroom is a major career booster." --
> Patrick Naughton
> Unsubscribe info:
> Problem reports:
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html