xref: /illumos-gate/usr/src/cmd/vi/README (revision 278421a2)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
57c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
67c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
77c478bd9Sstevel@tonic-gate# with the License.
87c478bd9Sstevel@tonic-gate#
97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
127c478bd9Sstevel@tonic-gate# and limitations under the License.
137c478bd9Sstevel@tonic-gate#
147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
197c478bd9Sstevel@tonic-gate#
207c478bd9Sstevel@tonic-gate# CDDL HEADER END
217c478bd9Sstevel@tonic-gate#
22*278421a2SRichard Lowe
237c478bd9Sstevel@tonic-gate  This directory and its subdirectories contain the files necessary
24*278421a2SRichard Lowefor making ex/vi in the AT&T UNIX environment:
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate	This is a list of all the important directories and what's
277c478bd9Sstevel@tonic-gate	hidden under each.
287c478bd9Sstevel@tonic-gate
29*278421a2SRichard Lowe
307c478bd9Sstevel@tonic-gate	port - ex/vi source directory.
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gate	local - contains "uparm.h" which must be edited to
337c478bd9Sstevel@tonic-gate		reflect your system setup!
347c478bd9Sstevel@tonic-gate		EXAMPLE:
357c478bd9Sstevel@tonic-gate		--------
367c478bd9Sstevel@tonic-gate		#define libpath(file) "/usr/lib/file"
377c478bd9Sstevel@tonic-gate		#define loclibpath(file) "/usr/lib/file"
387c478bd9Sstevel@tonic-gate		#define binpath(file) "/usr/lbin/file"
397c478bd9Sstevel@tonic-gate		#define usrpath(file) "/usr/file"
407c478bd9Sstevel@tonic-gate		** libpath is where ex/vi expects the strings file
41*278421a2SRichard Lowe		(exstrings...this file is made as the ex/vi source
427c478bd9Sstevel@tonic-gate		is compiled), and ex/vi 's recover & preserve commands
437c478bd9Sstevel@tonic-gate		(exrecover and expreserve).
447c478bd9Sstevel@tonic-gate		** usrpath is where the preserved files are held after
457c478bd9Sstevel@tonic-gate		a hangup or fail..."preserve" is tacked onto
467c478bd9Sstevel@tonic-gate		the end of the usrpath string .
477c478bd9Sstevel@tonic-gate
48*278421a2SRichard Lowe	PATHs to look at (and possibly change) include:
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate	  port/makefile.usg   ---|
517c478bd9Sstevel@tonic-gate	  preserve and recover commands all are installed in
527c478bd9Sstevel@tonic-gate	  ${LIBDIR}....make sure this is where you
537c478bd9Sstevel@tonic-gate	  want them to go.  This path must be the same as
547c478bd9Sstevel@tonic-gate	  the path defined in local/uparm.h ...c variable
557c478bd9Sstevel@tonic-gate	  name is usrpath.
567c478bd9Sstevel@tonic-gate
577c478bd9Sstevel@tonic-gate	     In the event of a hangup, the editor will place a
587c478bd9Sstevel@tonic-gate	  copy of the temporary file in /usr/preserve.
59