This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Absolute file-path under bash (cygwin32)


Not from bash.

vim(){
vim.exe `dospwd.sh $*`
}

try that,it's a little slow ;^), but I think it will work, and you only
have to set it up once, in .bashrc.

If you're really interested, there is a patch available from 
http://wwwdim.uqac.uquebec.ca/ftp/pub
that will allow you to rebuild the dll.
for ncurses/elvis :^(not vim) which is what I use.


> Wade Richards wrote:
> > There isn't any easy solution to this problem.  You can either type the
> > DOS-style path that vim requires, or "cd" to the directory in bash, and
then
> > edit the file with no path at all.
> 
> I find this to be a hassle also, because it requires you to constantly
> think which apps are cygwin32 and which are DOS. Is there a way to tell
> bash to turn a cygwin path into a DOS path?
> 
>  Paul Prescod

dospwd.sh (SH File)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]