The final release of the original vi
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
OTHER
USD.doc
ex3.7preserve
ex3.7recover
.MAP
LICENSE
Makefile.in
README.md
READ_ME
configure
ex.1
ex.c
ex.h
ex_addr.c
ex_argv.h
ex_cmds.c
ex_cmds2.c
ex_cmdsub.c
ex_data.c
ex_extern.c
ex_get.c
ex_io.c
ex_put.c
ex_re.c
ex_re.h
ex_set.c
ex_subr.c
ex_tagio.c
ex_temp.c
ex_temp.h
ex_tty.c
ex_tty.h
ex_tune.h
ex_unix.c
ex_v.c
ex_vadj.c
ex_vars.h
ex_vars.h.init
ex_vget.c
ex_vis.h
ex_vmain.c
ex_voper.c
ex_vops.c
ex_vops2.c
ex_vops3.c
ex_vput.c
ex_vwind.c
makeoptions
mapmalloc.c
obj
ovprintf.c
pathnames.h
printf.c
tags
vi.1

README.md

ex-3.7 (from 4.4BSD release)

This is the final release of the original vi taken from 4.4BSD. It had been released in 1993 but the last functional changes had been made in 1985, hence :ve gives this date.

Installation notes

The software is downloaded with

git clone https://github.com/n-t-roff/ex-3.7_4.4BSD.git

and can be kept up-to-date with

git pull

Some configuration (e.g. installation paths) can be done in the makefile. For compiling on BSD, Linux and Solaris autoconfiguration is required:

$ ./configure

The software is build with

$ make

and installed with

$ su
# make install
# exit

All generated files are removed with

$ make distclean

Usage notes

  • The original vi never had a showmode option. (showmode in Solaris and Heirloom vi is no original code.)
  • PAGE-UP, PAGE-DOWN keys may work on most terminals by putting map ^[[5~ ^B and map ^[[6~ ^F into ~/.exrc. If this doesn't work on your terminal you may need other escape sequences which can be retrieved with infocmp -l from capabilities kpp and knp.
  • The documents vi/paper.pdf and ex/paper.pdf describe this vi version in detail.