xref: /illumos-gate/usr/src/cmd/vi/README (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
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
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
30	port - ex/vi source directory.
31
32	local - contains "uparm.h" which must be edited to
33		reflect your system setup!
34		EXAMPLE:
35		--------
36		#define libpath(file) "/usr/lib/file"
37		#define loclibpath(file) "/usr/lib/file"
38		#define binpath(file) "/usr/lbin/file"
39		#define usrpath(file) "/usr/file"
40		** libpath is where ex/vi expects the strings file
41		(exstrings...this file is made as the ex/vi source
42		is compiled), and ex/vi 's recover & preserve commands
43		(exrecover and expreserve).
44		** usrpath is where the preserved files are held after
45		a hangup or fail..."preserve" is tacked onto
46		the end of the usrpath string .
47
48	PATHs to look at (and possibly change) include:
49
50	  port/makefile.usg   ---|
51	  preserve and recover commands all are installed in
52	  ${LIBDIR}....make sure this is where you
53	  want them to go.  This path must be the same as
54	  the path defined in local/uparm.h ...c variable
55	  name is usrpath.
56
57	     In the event of a hangup, the editor will place a
58	  copy of the temporary file in /usr/preserve.
59