"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/global.texi" between
global-6.6.4.tar.gz and global-6.6.5.tar.gz

About: GNU GLOBAL is a source code tag system that works the same way across diverse environments. It is similar to ctags or etags, but it is independent of any editor.

global.texi  (global-6.6.4):global.texi  (global-6.6.5)
skipping to change at line 91 skipping to change at line 91
@c Introduction @c Introduction
@c *************************************************************************** @c ***************************************************************************
@node Introduction @node Introduction
@chapter Overview of this tool @chapter Overview of this tool
@section What is GNU GLOBAL? @section What is GNU GLOBAL?
GNU GLOBAL is a source code tagging system that works the same way GNU GLOBAL is a source code tagging system that works the same way
across diverse environments, such as Emacs editor, Vi editor, across diverse environments, such as Emacs editor, Vi editor,
Less viewer, Bash shell, various web browsers, etc. Less viewer, Bash shell, various web browsers, etc.
You can locate specified symbols, such as functions, macros, structs and classes You can find the locations of symbols such as functions, macros, structs and cla
in your source files and move there easily. sses
It is useful for hacking large projects which contain many sub-directories, in your source code and move there easily.
It is useful for hacking a large project which contains many sub-directories,
many @code{#ifdef} and many @code{main()} functions. many @code{#ifdef} and many @code{main()} functions.
It is similar to ctags or etags, but is different from them at the point of It is similar to ctags or etags, but is different from them at the point of
independence of any editor. independence of any editor.
@section Concept of project @section Concept of project
GNU GLOBAL can treat a source tree containing sub-directories as a project. GNU GLOBAL can treat a source tree containing sub-directories as a project.
Anywhere in the project, you can utilize a high performance tag database. Anywhere in the project, you can utilize a high performance tag database.
You need not specify where the database is, as global(1) locates it by itself. You need not specify where the database is, as global(1) locates it by itself.
Because of this feature, you can move freely in a project, Because of this feature, you can move freely in a project,
and in and out of many projects. and in and out of many projects.
@section Features @section Features
GNU GLOBAL has the following features: GNU GLOBAL has the following features:
@itemize @bullet @itemize @bullet
@item supports C, C++, Yacc, Java, PHP4 and assembly. @item supports C, Yacc, Java, PHP4 and assembly.
@item works the same way across diverse environments like follows: @item works the same way across diverse environments like follows:
@itemize @minus @itemize @minus
@item Shell command line @item Shell command line
@item Bash shell @item Bash shell
@item Vi editor (Nvi, Elvis, vim) @item Vi editor (Nvi, Elvis, vim)
@item Less viewer @item Less viewer
@item Emacs editor (Emacs, Mule, Xemacs) @item Emacs editor (Emacs, Mule, Xemacs)
@item Web browser @item Web browser
skipping to change at line 721 skipping to change at line 721
The default editor is vi(1). You can specify it statically by @env{EDITOR} The default editor is vi(1). You can specify it statically by @env{EDITOR}
environment variable or temporarily by options. environment variable or temporarily by options.
@example @example
[/usr/src/sys] show -e 3 [/usr/src/sys] show -e 3
(Preloaded emacs show boot/alpha/boot1/boot1.c at line 227.) (Preloaded emacs show boot/alpha/boot1/boot1.c at line 227.)
[/usr/src/sys] show -l 3 [/usr/src/sys] show -l 3
(Load less and show boot/alpha/boot1/boot1.c at line 227.) (Load less and show boot/alpha/boot1/boot1.c at line 227.)
[/usr/src/sys] show -g 3 [/usr/src/sys] show -g 3
(Preloaded mozilla show boot/alpha/boot1/boot1.c at line 227.) (Preloaded firefox show boot/alpha/boot1/boot1.c at line 227.)
@end example @end example
Otherwise, you can use the following commands (with abbreviated form): Otherwise, you can use the following commands (with abbreviated form):
@table @command @table @command
@item list (l) @item list (l)
print tag list. print tag list.
@item first @item first
go to the first tag. go to the first tag.
skipping to change at line 1449 skipping to change at line 1449
@end example @end example
Suggested map: Suggested map:
@example @example
map <C-\>^] :GtagsCursor<CR> map <C-\>^] :GtagsCursor<CR>
@end example @end example
Though the mapping of @kbd{:GtagsCursor} to @kbd{^]} seems suitable, Though the mapping of @kbd{:GtagsCursor} to @kbd{^]} seems suitable,
it will bring an inconvenience in the help screen. it will bring an inconvenience in the help screen.
@item If you have the hypertext generated by htags(1) then you can display @item If you have a hypertext generated by htags(1) then you can display
the same part of the source code in the mozilla browser. the same part of the source code in your browser.
Let's load mozilla and try this: Let's load firefox and try this:
@example @example
:Gozilla :Gozilla
@end example @end example
Suggested map: Suggested map:
@example @example
map <C-g> :Gozilla<CR> map <C-g> :Gozilla<CR>
@end example @end example
skipping to change at line 1701 skipping to change at line 1701
* Features(browser):: Features. * Features(browser):: Features.
* Preparation(browser):: Preparation. * Preparation(browser):: Preparation.
* Usage(browser):: Usage. * Usage(browser):: Usage.
@end menu @end menu
@c *************************************************************************** @c ***************************************************************************
@node Features(browser) @node Features(browser)
@subsection Features @subsection Features
@itemize @bullet @itemize @bullet
@item Htags makes a hypertext from C, C++, Yacc and Java source files. @item Htags makes a hypertext from C, Yacc and Java source files.
@item Once the hypertext is generated, you need nothing other than a web browser . @item Once the hypertext is generated, you need nothing other than a web browser .
@item You can move the hypertext to anywhere; it is independent of the source co de. @item You can move the hypertext to anywhere; it is independent of the source co de.
@item You can use all of your browser's functions, such as search, @item You can use all of your browser's functions, such as search,
history, bookmark, save, frames, windows, etc. history, bookmark, save, frames, windows, etc.
@end itemize @end itemize
@c *************************************************************************** @c ***************************************************************************
@node Preparation(browser) @node Preparation(browser)
@subsection Preparation @subsection Preparation
skipping to change at line 1759 skipping to change at line 1759
@example @example
$ lynx HTML/index.html $ lynx HTML/index.html
@end example @end example
You will understand the usage by looking at the examples. You will understand the usage by looking at the examples.
You can move the HTML directory to anywhere. It is independent of the You can move the HTML directory to anywhere. It is independent of the
source code as long as CGI facility is not used. source code as long as CGI facility is not used.
Using mozilla, you can also utilize the hypertext from your command line like th is: Using firefox, you can also utilize the hypertext from your command line like th is:
@example @example
$ mozilla # @r{load mozilla}
$ global -x main $ global -x main
main 10 main.c main(int argc, char *argv[]) @{ main 10 main.c main(int argc, char *argv[]) @{
$ gozilla +10 main.c # @r{usage is similar to vi editor.} $ gozilla +10 main.c # @r{usage is similar to vi editor.}
(show main.c at 10 on mozilla's screen.) (show main.c at 10 on your browser.)
@end example @end example
But in this case, you must not move the HTML directory from the source directory . But in this case, you must not move the HTML directory from the source directory .
@c *************************************************************************** @c ***************************************************************************
@c Doxygen documentation system @c Doxygen documentation system
@c *************************************************************************** @c ***************************************************************************
@node Doxygen documentation system @node Doxygen documentation system
@section Doxygen using GLOBAL @section Doxygen using GLOBAL
 End of changes. 8 change blocks. 
12 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)