[Lxr-dev] Re: Got LXR 0.9 working on windows!
Brought to you by:
ajlittoz
From: Shree K. <sh...@pr...> - 2002-01-22 06:06:34
|
Hi Malcolm, --------------------------------------------------------------------- > > Were there any special config steps you had to take, or was it literally > plug'n'play? There were no special config steps. But contrary to my previous mail, one small change was required to 'generic.pm'. The windows version of ctags does not recognize unix style directory separators. Hence the following change: --- if ($config->ectagsbin) { # Windows specific patch - ctags.exe expects \tmp\lxrtemp... instead of /tmp/lxrtemp.... # ie replace forward slash with backslash to account for Windows filenaming convention $path =~ s/\//\\/; open(CTAGS, join(" ", $config->ectagsbin, $self->ectagsopts, "--excmd=number", "--language-force=$langforce", "-f", "-", --- If the cygwin version of ctags were used, no changes would be required, however. Before running genxref, the user must ensure that the drive [c:, d:, etc] from genxref is executed must have a \tmp directory --------------------------------------------------------------------- > If there were, I'm sure a brief posting of them would be > much appreciated. > But I still don't have the CVS part working. What happened is that I dabbled with NTFS file permissions and now LXR is not able to read the some files and directories. So do you think it is advisable to post it now? And to which forum should I post the developments? --------------------------------------------------------------------- > > I have also added an additional feature - regular expression based > > identifier search. > > Sounds cool. Any chance of patches? Sure. I have added the code currently only for MySQL. But I have not used the regular expression based query facilities available in MySQL. Instead I get all identifiers and match with the supplied regexp. I have found the facility were useful indeed! One bad thing is that I have not yet made it conformant with CSS use. Your opinion ? -------------------------------------------------------------------- One more feature that would be helpful is a GUI frontend for lxr.conf. This would prevent a lot of frustration due to non-existent/ wrong path, inappropriate permission on files, etc. Any takers ? Cheers, Shree Kumar |