Re: How to alter the cscope search results in the vim so that they refer to the right files.

2007-05-22 Thread Gary Johnson
On 2007-05-22, Natesh Kedlaya [EMAIL PROTECTED] wrote: From: Gary Johnson [EMAIL PROTECTED] Sent: Monday, May 21, 2007 5:30:52 PM On 2007-05-21, Natesh Kedlaya [EMAIL PROTECTED] wrote: Hi, I am using Vim6.3 My cscope db was built on a source directory structure 'src1' which was

Re: How to alter the cscope search results in the vim so that they refer to the right files.

2007-05-22 Thread Natesh Kedlaya
Hi Gary, I apologize for my earlier email. I should have given the full details. I would like to provide it now. I have tried your suggestion of setting the cscopeprg to a script that contained /usr/local/bin/cscope $@ | sed s@/dir1/@/dir2/@ But the cscope results still contained the

Re: How to alter the cscope search results in the vim so that they refer to the right files.

2007-05-22 Thread Navdeep Parhar
--- Natesh Kedlaya [EMAIL PROTECTED] wrote: Hi, I am using Vim6.3 My cscope db was built on a source directory structure 'src1' which was mounted on /dir1. If I use this cscope db in my vim, my cscope query would yeild following results.

Re: How to alter the cscope search results in the vim so that they refer to the right files.

2007-05-22 Thread Gary Johnson
On 2007-05-22, Natesh Kedlaya [EMAIL PROTECTED] wrote: Hi Gary, I apologize for my earlier email. I should have given the full details. I would like to provide it now. I have tried your suggestion of setting the cscopeprg to a script that contained /usr/local/bin/cscope $@ | sed

Re: How to alter the cscope search results in the vim so that they refer to the right files.

2007-05-21 Thread Gary Johnson
On 2007-05-21, Natesh Kedlaya [EMAIL PROTECTED] wrote: Hi, I am using Vim6.3 My cscope db was built on a source directory structure 'src1' which was mounted on /dir1. If I use this cscope db in my vim, my cscope query would yeild following results. [...] Any pointers appreciated. You