看板 DFBSD_kernel 關於我們 聯絡資訊
On Thu, Nov 11, 2004 at 04:32:24AM -0800, Max Okumoto wrote: >George Georgalis wrote: >[stuff deleted] >>When jumping into a block of code that has functions and >>declarations, what is an efficient way to to find those definition >>amidst all the includes, paths and Makefiles of the whole tree, >>without completely losing your place? (eg I'd like to reference >>O_RDONLY and fp_close) >[stuff deleted] > >If you use vi as your editor you can navigate code using a >tags file, other editors have similar functionality (for >example emacs uses etags). > >% man 1 vi >.. > -t Start editing at the specified tag. (See ctags(1)). Max, _That_ is really awesome! Just when I thought I had vim optimized, here's a whole new galaxy to explore! Thanks! >If you are interested in the kernel source then there is a >target in /usr/src/sys/i386/Makefile which will create a tags >file for the whole kernel. will check that out too. // George -- George Georgalis, systems architect, administrator Linux BSD IXOYE http://galis.org/george/ cell:646-331-2027 mailto:george@galis.org