The original source code of the vi text editor, taken from System V
Cube9999/vi
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
This directory and its subdirectories contain the files necessary
for making ex/vi in the BTL UNIX environment:
This is a list of all the important directories and what's
hidden under each.
misc - contains files used in the "make" of ex/vi
{ mkstr.c, xstr.c ...}
vax - ex/vi source directory for the vax, 3B, C70, 370, &
pdp 11/70 (UNIX type=ov -- with overlays)
pdp11 - ex/vi source directory for the pdp11/70 (UNIX type=od
without overlays)
local - contains "uparm.h" which must be edited to
reflect your system setup!
EXAMPLE:
--------
#define libpath(file) "/usr/lib/file"
#define loclibpath(file) "/usr/lib/file"
#define binpath(file) "/usr/lbin/file"
#define usrpath(file) "/usr/file"
** libpath is where ex/vi expects the strings file
(ex2.16strings or ex3.9strings...this file is
made as the ex/vi source is compiled), and
ex/vi 's recover & preserve commands (ex2.16preserve
or ex3.9preserve).
** usrpath is where the preserved files are held after
a hangup or fail..."preserve" is tacked onto
the end of the usrpath string .
Look through the source, make all necessary changes to
local/uparm.h (& ex source if necessary) and then do
a "makevi". makevi is a shell which directs you through
a "make" of ex/vi.
PATHs to look at (and possibly change) include:
vax/makefile.u3 ---|
pdp11/makefile.u3 ---| the editor's string file,
preserve and recover commands all are installed in
${DESTDIR}${LIBDIR}....make sure this is where you
want them to go. This path must be the same as
the path defined in local/uparm.h ...c variable
name is usrpath.
In the event of a hangup, the editor will place a
copy of the temporary file in the place defined as
${DESTDIR}/usr/preserve.
About
The original source code of the vi text editor, taken from System V
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published