"Yegappan Lakshmanan" <[EMAIL PROTECTED]> 写于 2007-05-14 22:52:58:
> Hi,
>
> On 5/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > > "A.J.Mechelynck" <[EMAIL PROTECTED]> 写于 2007-05-14
> > 13:21:47:
> > > >> If your shell is cmd.exe, "/usr/bin/ctags" will give "Unknown
command
> > or
> > > > file
> > > >> name". If you want to mix Dos shells and cygwin utilities, you
will
> > have
> > > > to
> > > >> juggle with the path formats: see "man cygpath" from within
cygwin.
> > > >>
> > > >>
> > > >> Best regards,
> > > >> Tony.
> > > >> --
> > > >
> > > > My shell is c:/cygwin/bin/bash, since I do not want to mix dos
shells
> > with
> > > > cygwin utilities. (I don't use any DOS utilities at all.)
> > > >
> > > > I had tried to replace the content of /usr/bin/ctags with something
> > else,
> > > > which proves that the ctags does get executed. Cygpath is not the
issue
> > > > here.
> > > >
> > > > --
> > > > Sincerely, Pan, Shi Zhu. ext: 2606
> > > >
> > > >
> > >
> > > If your shell is bash and your ctags a cygwin version, you shouldn't
pass
> >
> > > \"D:/panshizhu/blabla.cpp\" to the latter nor >D:/temp/VIo74.tmp to
the
> > > former. You may pass either /cygdrive/d/panshizu/blabla.cpp
> > >  >/cygdrive/d/temp/VIo74.tmp, or (IIUC) `cygpath -u
> > D:\\panshizu\\blabla.cpp`
> > >  >`cygpath -u D:\\temp\\VI074.tmp`
> > >
> > >
> > > Best regards,
> > > Tony.
> > > --
> >
> > It does not matter, cygwin handles both POSIX path and windows paths
with
> > '/'s.
> >
> > In cygwin bash shell, paths like d:/foo/bar can be used instead of
`cygpath
> > -u d:\\foo\\bar` and it works better IMO.   What is more, this kind of
> > usage are generated by taglist.vim, the taglist script author has test
that
> > usage under cygwin and it works that way.
> >
> > That said, I had configured them right last year, but during the last
year
> > I upgraded my windows, cygwin, vim and taglist plugin, I now do not
know
> > where the problem is. (I use OSX and Linux at the same time, so it is
> > normal that I had not use my WindowsXP for a long time)
> >
> > Note: my notebook uses the same configuration as my desktop, my
notebook is
> > still working that way (cygwin bash + ctags + windows gvim + windows
path
> > with '/' instead of '\\'), only my desktop has the issue.
> >
>
> The exuberant ctags utility invokes the sort utility to sort the
generated
> output. Do you have cygwin version of sort installed on your system?
> Can you check whether your notebook has cygwin sort installed?
>
> Exuberant ctags can use either external or internal sort depending on
> the build time configuration.
>
> - Yegappan

Great, the problem comes from WindowsXP itself, it has
c:\windows\system32\sort.exe, which shows in the path before
c:\cygwin\bin\sort.exe, I think I would change the PATH setting to make
c:\cywin\bin apperas before c:\windows\system32, Or I should rebuild my
ctags to do internal sort.

It may be good to indicate this in the document of taglist.

--
Sincerely, Pan, Shi Zhu. ext: 2606

Reply via email to