xref: /titanic_50/usr/src/cmd/vi/README (revision 34f9b3eef6fdadbda0a846aa4d68691ac40eace5)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.7	*/
23  This directory and its subdirectories contain the files necessary
24for making ex/vi in the AT&T UNIX environment:
25
26	This is a list of all the important directories and what's
27	hidden under each.
28
29	misc - contains files used in the "make" of ex/vi
30	      { mkstr.c, xstr.c ...}
31
32	port - ex/vi source directory.
33
34	local - contains "uparm.h" which must be edited to
35		reflect your system setup!
36		EXAMPLE:
37		--------
38		#define libpath(file) "/usr/lib/file"
39		#define loclibpath(file) "/usr/lib/file"
40		#define binpath(file) "/usr/lbin/file"
41		#define usrpath(file) "/usr/file"
42		** libpath is where ex/vi expects the strings file
43		(exstrings...this file is made as the ex/vi source
44		is compiled), and ex/vi 's recover & preserve commands
45		(exrecover and expreserve).
46		** usrpath is where the preserved files are held after
47		a hangup or fail..."preserve" is tacked onto
48		the end of the usrpath string .
49
50	PATHs to look at (and possibly change) include:
51
52	  port/makefile.usg   ---|
53	  preserve and recover commands all are installed in
54	  ${LIBDIR}....make sure this is where you
55	  want them to go.  This path must be the same as
56	  the path defined in local/uparm.h ...c variable
57	  name is usrpath.
58
59	     In the event of a hangup, the editor will place a
60	  copy of the temporary file in /usr/preserve.
61