Date: Mon, 29 Jul 1996 18:24:57 +0900 From: Shigio Yamaguchi <shigio@ca2.so-net.or.jp> To: hackers@freebsd.org Cc: shigio@ca2.so-net.or.jp Subject: Unix source code tour by global 1.3 and patched vi. Message-ID: <199607290924.SAA00390@chiota>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607290924.SAA00390>