head	1.2;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.1.4.6.1
	RELENG_4_11:1.1.1.4.6.1.0.18
	RELENG_4_11_BP:1.1.1.4.6.1
	RELENG_4_10_0_RELEASE:1.1.1.4.6.1
	RELENG_4_10:1.1.1.4.6.1.0.16
	RELENG_4_10_BP:1.1.1.4.6.1
	RELENG_4_9_0_RELEASE:1.1.1.4.6.1
	RELENG_4_9:1.1.1.4.6.1.0.14
	RELENG_4_9_BP:1.1.1.4.6.1
	RELENG_4_8_0_RELEASE:1.1.1.4.6.1
	RELENG_4_8:1.1.1.4.6.1.0.12
	RELENG_4_8_BP:1.1.1.4.6.1
	RELENG_4_7_0_RELEASE:1.1.1.4.6.1
	RELENG_4_7:1.1.1.4.6.1.0.10
	RELENG_4_7_BP:1.1.1.4.6.1
	RELENG_4_6_2_RELEASE:1.1.1.4.6.1
	RELENG_4_6_1_RELEASE:1.1.1.4.6.1
	RELENG_4_6_0_RELEASE:1.1.1.4.6.1
	RELENG_4_6:1.1.1.4.6.1.0.8
	RELENG_4_6_BP:1.1.1.4.6.1
	RELENG_4_5_0_RELEASE:1.1.1.4.6.1
	RELENG_4_5:1.1.1.4.6.1.0.6
	RELENG_4_5_BP:1.1.1.4.6.1
	RELENG_4_4_0_RELEASE:1.1.1.4.6.1
	RELENG_4_4:1.1.1.4.6.1.0.4
	RELENG_4_4_BP:1.1.1.4.6.1
	RELENG_4_3_0_RELEASE:1.1.1.4.6.1
	RELENG_4_3:1.1.1.4.6.1.0.2
	RELENG_4_3_BP:1.1.1.4.6.1
	RELENG_4_2_0_RELEASE:1.1.1.4.6.1
	RELENG_4_1_1_RELEASE:1.1.1.4
	PRE_SMPNG:1.1.1.4
	RELENG_4_1_0_RELEASE:1.1.1.4
	RELENG_3_5_0_RELEASE:1.1.1.4
	RELENG_4_0_0_RELEASE:1.1.1.4
	RELENG_4:1.1.1.4.0.6
	RELENG_4_BP:1.1.1.4
	RELENG_3_4_0_RELEASE:1.1.1.4
	RELENG_3_3_0_RELEASE:1.1.1.4
	RELENG_3_2_PAO:1.1.1.4.0.4
	RELENG_3_2_PAO_BP:1.1.1.4
	RELENG_3_2_0_RELEASE:1.1.1.4
	RELENG_3_1_0_RELEASE:1.1.1.4
	RELENG_3:1.1.1.4.0.2
	RELENG_3_BP:1.1.1.4
	v3_4_2:1.1.1.4
	RELENG_2_2_8_RELEASE:1.1.1.3.2.1
	RELENG_3_0_0_RELEASE:1.1.1.3
	RELENG_2_2_7_RELEASE:1.1.1.3.2.1
	RELENG_2_2_6_RELEASE:1.1.1.3.2.1
	RELENG_2_2:1.1.1.3.0.2
	v2_2_4:1.1.1.3
	v2_2_1:1.1.1.2
	v2_0:1.1.1.1
	GLOBAL:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2000.10.15.07.01.42;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	97.08.16.04.13.55;	author cwt;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.08.16.04.13.55;	author cwt;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.12.15.23.08.08;	author cwt;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	98.02.02.05.37.37;	author cwt;	state Exp;
branches
	1.1.1.3.2.1;
next	1.1.1.4;

1.1.1.4
date	99.01.18.06.58.40;	author simokawa;	state Exp;
branches
	1.1.1.4.6.1;
next	;

1.1.1.4.6.1
date	2000.10.16.08.53.27;	author obrien;	state dead;
branches;
next	;

1.1.1.3.2.1
date	98.02.05.04.41.22;	author cwt;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove GLOBAL -- it has moved to Ports.

Approved by:	unanimous response on arch@@freebsd.org (June time frame)
@
text
@
Installation of GLOBAL 2.0

						3-Jul-1997 Shigio Yamaguchi
---------------------------------------------------------------------------
Guide line (C style)
---------------------------------------------------------------------------

if (Your system == FreeBSD) {
	You are lucky!
	You need not to do procedure "1. Preparation for generic UNIX".

	switch (version) {
	case 2.0.5R:
	case 2.1.0R:
	case 2.1.5R:
		There is no problem.
		break;
	case 2.1.6R:
	case 2.1.7R:
		I don't know. But it seems same with 2.1.5R.
		break;
	case 2.2.1R:
		It is OK. But your native nvi is version 1.71.
		Use 1.79 nvi available on the Internet.
		break;
	case 2.2.2R:
		Your system inlucdes GLOBAL 1.9. You can overwrite it
		with this 2.0 package.
		But skip procedure "3. Extended vi (OPTIONAL)", because
		your /usr/bin/nvi is already extended nvi for GLOBAL.
		break;
	default:
		I don't know. But it semms to be little problem.
	}
} else {
	You may some error message to make GLOBAL.
	But it seems not so difficult to clear it. If you make a patch for it,
	please let me know. I would like to include your patch into new
	version of GLOBAL.

	Thank you in advance.
}

----------------------------------------------------------------------------
Install procedure
----------------------------------------------------------------------------

0. Extracting

	% tar xzvf global-2.0.tar.gz
	% cd global-2.0

1. Preparation for generic UNIX

   If you are a FreeBSD (all version) user, nothing to do here.
   Please go to "2. GLOBAL basic".

   Otherwise, you must install following items before you install GLOBAL.

   a) Generic makefile

      This package includes generic makefile. Please do the followings.

	% make -f Makefile.generic gen
	% vi Makefile		<- check install directories (BINDIR, MANDIR)

   b) BSD db library version 1.85

      If you don't have it, you can fetch it from this site.

	http://mongoose.bostic.com/db/packages/db.1.85.tar.gz

   c) PERL version 4 or later

      If you don't have it, you can fetch it from this site.

	ftp://ftp.cis.ufl.edu/pub/perl/CPAN/src/5.0/latest.tar.gz

      If you install perl into other than /usr/bin, please rewrite the header
      of following commnads.
 
	gtags/gtags.pl global/global.pl htags/htags.pl

2. GLOBAL basic (NEEDED)

   	% make
   	# make install

3. Extended vi (OPTIONAL)

   GLOBAL supports two version of nvi. There is a little defference between
   them when a number of functions located. (please see 'README' file.)
   Version 1.34 nvi is included by FreeBSD 2.0.5R, 2.1.0R and 2.1.5R.
   Version 1.79 nvi is available on

	ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz.

   If you don't have nvi-1.34, use nvi-1.79.

   If you use version 1.34 nvi which is a native command in FreeBSD 2.0.5R,
   2.1.0R or 2.1.5R then

	% cp -r /usr/src/usr.bin/vi vi		<- version 1.34 of nex/nvi
	% cd vi
	% patch -p < ../nvi-1.34.diff
	% make
	# make install

   else if you use version 1.79 nvi which is the latest version then
   fetch from ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz and

	% tar xzvf nvi-1.79.tar.gz
	% cd nvi-1.79
	% patch -p < ../nvi-1.79.diff
	% cd build
	% ./configure
	% make
	# make install

        Caution: If you use FreeBSD 2.2.2R or later, your nvi is already
		extended vi. Don't patch with nvi-1.79.diff.

   else we have no patch for it.

4. Extended emacs (OPTIONAL)

   The version of Emacs supported by GLOBAL is GNU Emacs 19.28, 19.34 or
   Mule 2.3 (= Emacs 19.28). Other emacs version seems to work well,
   but I don't confirm it.

   You can get it from 

	Emacs 19.34b:
		prep.ai.mit.edu/pub/gnu/emacs-19.34b.tar.gz
	Mule 2.3:
		ftp://ftp.cs.buffalo.edu/pub/mule/mule-2.3.tar.gz

   If you are a FreeBSD user, install it from package.

   If you have installed it, to use extended emacs, copy gtags.el
   in this package to the emacs lisp library directory or place the file
   in a directory (for example "~/lisp") and write $HOME/.emacs like this.

	+-----------------------------------------------
	|(setq load-path (cons "~/lisp" load-path))

Good luck!
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Import global v2.0 as contributed software.  We will maintain it this
way, retiring the sources from usr.bin/global shortly.

Reviewed by: jdp
Discussed-with: obrien
@
text
@@


1.1.1.2
log
@Import of virgin Global v2_2_1 sources
@
text
@d2 1
a2 1
Installation of GLOBAL 2.21
d4 1
a4 1
						11-Dec-1997 Shigio Yamaguchi
a27 1
	case 2.2.5R:
d29 1
a29 1
		with this 2.2 package.
d34 1
a34 1
		I don't know. But it seems to be little problem.
d37 1
a37 1
	You may some error messages to make GLOBAL.
d51 2
a52 2
	% tar xzvf global-2.21.tar.gz
	% cd global-2.21
d80 2
a81 9
   d) Rewrite some files

      If you install GLOBAL into other than /usr/bin, you need rewrite
      hard coded path in a program. You can find the place by this command.

	% grep '/usr/bin/global' */*.pl

      If you install perl to other than /usr/bin, please rewrite hard coded
      path in some programs. You can find the places by this command.
d83 1
a83 10
	% grep '/usr/bin/perl' */*.pl

   e) POSIX regular expression (extension) library

      If you don't have it, you can use GNU's regex library.

   f) Some UNIX tools

      Find(1), sed(1), sort(1) are needed.
      If your environment is UNIX, you have them.
d92 2
a93 3
   GLOBAL supports two version of nvi.
   There is a little defference in behavior between them when a number of
   functions located. (please see 'README'.)
d135 1
a135 1
		ftp://prep.ai.mit.edu/pub/gnu/emacs-19.34b.tar.gz
d139 1
a139 1
   If you are a FreeBSD user, install it from 'package' (see pkg_add(1)).
d141 3
a143 3
   If you have installed it then copy gtags.el in this package to the emacs
   lisp library directory or place the file in a directory
   (for example "~/lisp") and write $HOME/.emacs like this.
a146 10

5. Gozilla (OPTIONAL)

   You need X(1) to install gozilla.

	% cd gozilla
	% xmkmf
	% make
	# make install
	# make install.man
@


1.1.1.3
log
@Global v2.24
@
text
@d2 1
a2 1
Installation of GLOBAL
d4 1
a4 1
						20-Jan-1998 Shigio Yamaguchi
d52 2
a53 4
	% tar xzvf global-XXX.tar.gz
	% cd global-XXX

	(XXX is version number.)
@


1.1.1.4
log
@Import Global v3_4_2 sources.

Ok'd by: peter
Discussed with: msmith
@
text
@d4 1
a4 1
						6-Dec-1998 Shigio Yamaguchi
d17 2
d21 2
d24 2
a25 1
		There is no problem.
d29 4
a32 4
	case 2.2.6R:
	case 2.2.7R:
		Your system includes GLOBAL 1.9 or 2.24.
		You can overwrite it with this package.
a36 9
} else if (Your system == NetBSD 1.3.2) {
	You are lucky!
	You need not to do procedure "1. Preparation for generic UNIX"
	and you can use nvi-1.66.diff for native nvi.
} else if (Your system == Debian GNU linux 1.3.1) {
	You are lucky!

	You can skip most of "1. Preparation for generic UNIX" except for
   	"a) Generic makefile".(It's very easy.)
a45 2
Please see ./dbpatches/README.

d59 2
a60 2
   If you are a user of FreeBSD (all version) or NetBSD 1.3.2 then
   nothing to do here.  Please go to "2. GLOBAL basic".
d62 1
a62 1
   Otherwise, you must check following items before you install GLOBAL.
d64 1
a64 1
   a) Generic makefile (necessary)
d69 1
a69 6
	% vi Makefile		<- check variables like BINDIR, MANDIR, ...

   b) Some UNIX tools (necessary)

      Find(1), sed(1), sort(1), uniq(1) are needed.
      If your environment is UNIX, you have them. You can confirm it like this.
d71 1
a71 12
	% which find
	/usr/bin/find
	%

   c) POSIX regular expression (extension) library (necessary)

      If you don't have it, you can use GNU's regex library (regex-0.12.tar.gz).
      See following site.

	http://www.gnu.org/order/ftp.html

   d) BSD db library version 1.85 (necessary)
d77 1
a77 1
   e) PERL version 4 or later (needed for htags)
d83 1
a83 1
   f) Rewrite some files (needed for htags)
d95 1
a95 4
   g) Groff (needed for formatting online manuals)

      Online manuals in GLOBAL are written with 'mandoc' macro which is a part
      of GNU groff package. See following site:
d97 1
a97 1
	http://www.gnu.org/order/ftp.html
d99 1
a99 1
      You can format these manuals by following command line manually.
d101 2
a102 4
	% groff -Wall -Tascii -mandoc global.1

      If you replace your system's nroff(1) with GNU's one(nroff.sh) then
      you can use man(1) to see GLOBAL's online manuals.
d109 7
a115 1
3. Extended nvi (OPTIONAL)
d117 1
a117 2
   If you use FreeBSD 2.2.2R or later, your nvi is already extended nvi.
   Otherwise, please get nvi-1.79 at:
d119 1
a119 1
	   ftp://ftp.cs.berkeley.edu/ucb/4bsd/nvi-1.79.tar.gz
d121 11
a131 1
   and do the followings.
d141 4
a144 1
   The patch for nvi-1.66 is also available for NetBSD 1.3.2 users.
d152 1
a152 1
   You can get it at:
d168 1
a168 10
5. Elvis (OPTIONAL)

   You need Elvis 2.1. You can get it at:

	ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.1.tar.gz

   You need not any patch for it.


6. Gozilla (OPTIONAL)
a176 25

7. other parser (OPTIONAL)

   If you want to use other tag command like etags (tag command for emacs)
   as a parser, you need to write global.conf (or $HOME/.globalrc).

   Sample gtags.conf has etags's entry. Try this.


   a) Install parser.

	% cd <emacs's source directory>/lib-src
	% make ctags
	...
	# cp ctags /usr/local/bin/ctags-emacs

   b) Select ctags-emacs for GLOBAL system.

	% setenv GTAGSLABEL ctags-emacs

	or

	+------------------------------------------------
	|default:\		<== gtags use 'default' entry by default.
	|	:include=ctags-emacs:include=htags:
@


1.1.1.4.6.1
log
@MFC: Remove GLOBAL -- it has moved to Ports.
@
text
@@


1.1.1.3.2.1
log
@global v2.24 from -current
@
text
@@
