Absolute file-path under bash (cygwin32)

Mikey jeffdb@netzone.com
Tue Apr 15 18:55:00 GMT 1997


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dospwd.sh
Type: text/x-shellscript
Size: 479 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19970415/0c880682/attachment.bin>


More information about the Cygwin mailing list