[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Unix source code tour by global 1.3 and patched vi.
From: Shigio Yamaguchi <shigio () ca2 ! so-net ! or ! jp>
Date: 1996-07-29 9:24:57
[Download RAW message or body]
Hello, this is Yamaguchi.
I put the source code of GLOBAL version1.3 for FreeBSD 2.1R at
http://ux01.so-net.or.jp/~shigio/freebsd/emain.html
GLOBAL is a command which find the locations of specified function
in C source files. This includes the patch for VI(nvi/nex 1.34) to use
global within the editor.
NEW FEATURE in VERSION 1.3:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
o Global search in not only a source tree but also library paths specified
by environment variable GTAGSLIBPATH.
Example:
% cd /develop/src/mh
% gtags <- make tag file
% global mhl
uip/mhlsbr.c <- mhl() found in the source tree
% global strlen <- strlen() not found
% cd /usr/src/lib
% gtags <- make library tag
% cd /usr/src/sys
% gtags <- make system call tag
% setenv GTAGSLIBPATH /usr/src/lib:/usr/src/sys
% cd /develop/src/mh
% global strlen
../../../usr/src/lib/libc/string/strlen.c <- strlen() is found in library
% global access
../../../usr/src/sys/kern/vfs_syscalls.c <- access() is found in kernel
OTHER FEATURES:
~~~~~~~~~~~~~~~
o Global can find the locations of specified function very quickly.
o Global can locate not only function definitions but also function references.
o Global can treat a source tree containing subdirectories and you can get
relative path of objects from anywhere within the tree.
o Global allow duplicate entries.
o Global can understand perl's regular expression.
o Global can be executed from vi's tag commands.(nvi/nex 1.34 only)
The new version of nvi/nex(1.61 and later) supports duplicate entries
in tags file. You can use patched ctags in this this package with the nvi/nex.
If you cannot get items, please send E-mail to me.
Please enjoy.
--
Shigio Yamaguchi E-Mail: shigio@ca2.so-net.or.jp
Home Page: http://ux01.so-net.or.jp/~shigio/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic