Re: Non-web based LXR

2017-11-08 Thread Mike Harless

François  wrote:

> On Tue, Oct 31, 2017 at 01:14:30PM +1100, Tobin C. Harding wrote:
> > So, thank you for your ideas. I'll consider this issue resolved by;
> > 
> > Use git grep
> > Use ctags/etags
> > Use free-electrons as a last resort
> 
> Also, there's a tool called cscope [1].
> There are also occurences of coccigrep [2] in the kernel.
> 
> [1] 
> https://courses.cs.washington.edu/courses/cse451/12sp/tutorials/tutorial_cscope.html
> [2] https://home.regit.org/software/coccigrep/

and another to add to the list is gscope, which is based off of cscope:

  * https://github.com/tefletch/gscope

--Mike

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Non-web based LXR

2017-11-08 Thread Mike Harless

François  wrote:

> On Tue, Oct 31, 2017 at 01:14:30PM +1100, Tobin C. Harding wrote:
> > So, thank you for your ideas. I'll consider this issue resolved by;
> > 
> > Use git grep
> > Use ctags/etags
> > Use free-electrons as a last resort
> 
> Also, there's a tool called cscope [1].
> There are also occurences of coccigrep [2] in the kernel.
> 
> [1] 
> https://courses.cs.washington.edu/courses/cse451/12sp/tutorials/tutorial_cscope.html
> [2] https://home.regit.org/software/coccigrep/
> 

and another to add to the list is gscope, which is based off of cscope:

  * https://github.com/tefletch/gscope

--Mike

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Non-web based LXR

2017-10-31 Thread Tobin C. Harding
On Tue, Oct 31, 2017 at 10:53:58AM +0100, François wrote:
> On Tue, Oct 31, 2017 at 01:14:30PM +1100, Tobin C. Harding wrote:
> > So, thank you for your ideas. I'll consider this issue resolved by;
> > 
> > Use git grep
> > Use ctags/etags
> > Use free-electrons as a last resort
> 
> Also, there's a tool called cscope [1].
> There are also occurences of coccigrep [2] in the kernel.

Cool, thanks François

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Non-web based LXR

2017-10-31 Thread François
On Tue, Oct 31, 2017 at 01:14:30PM +1100, Tobin C. Harding wrote:
> So, thank you for your ideas. I'll consider this issue resolved by;
> 
> Use git grep
> Use ctags/etags
> Use free-electrons as a last resort

Also, there's a tool called cscope [1].
There are also occurences of coccigrep [2] in the kernel.

[1] 
https://courses.cs.washington.edu/courses/cse451/12sp/tutorials/tutorial_cscope.html
[2] https://home.regit.org/software/coccigrep/

--
François

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Non-web based LXR

2017-10-30 Thread Tobin C. Harding
On Tue, Oct 31, 2017 at 08:55:10AM +1100, Tobin C. Harding wrote:
> CC'd Thomas because I read online recently him commenting on web based
> cross reference tools. 
> 
> Hi,
> 
> Does any one use a terminal based source code cross referencer to search
> the kernel tree?
> 
> thanks,
> Tobin.

Responding to all responses in single email. Thanks for the
responses. Apologies, I need to learn to be more explicit when asking
questions to be more respectful of other peoples time.

I already use grep (various versions, git grep, egreg, and ack).

I also already use ctags in emacs (or is it called etags when in emacs).

I [too] often still find myself going to

http://elixir.free-electrons.com

I just attempted to recreate an example search that fails using grep or
ctags but was unable to. Perhaps the problem is a user error, i.e I come
across a code search that is not fully serviced by grep/ctags, go to
free-electros, then go back to it from habit only later realizing that I
am doing so when I get annoyed with having to use a web browser.

So, thank you for your ideas. I'll consider this issue resolved by;

Use git grep
Use ctags/etags
Use free-electrons as a last resort

thanks,
Tobin.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies