March 30, 2006 Archives

Thu Mar 30 11:41:54 NZST 2006

Exuberant ctags!

So I was looking at the Solaris source this week, trying to figure out how I'm able to issue kill commands with the pid in two formats – one just as you'd expect, and the other as (4294967296 - pid) …

(I didn't find the answer, but suspect it's because uid_t is long. Still, I didn't find the function that would have confirmed it)

However, the real point of this post is that I really like OpenGrok -- it's a great browsing environment. Colourful, and fast! But what makes it cross-reference so extensively?

The answer is Exuberant ctags! And the nice bit about that is that it'll tag Ruby … I must try that some time soon … it'll also tag "Assembler, AWK, ASP, BETA, Bourne/Korn/Zsh Shell, C, C++, COBOL, Eiffel, Fortran, Java, Lisp, Lua, Make, Pascal, Perl, PHP, Python, REXX, S-Lang, Scheme, Tcl, Vim, and YACC"


Posted by Jim Cheetham | Permanent Link