summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-06-23 21:34:41 -0700
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-06-23 21:34:41 -0700
commit874d317334fae1ddce316f9b6f4d0ce4e434bf52 (patch)
tree929f924d3c3696d3aa9917aca0e7048bbe3e93e8 /README.md
parent15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff)
heirloom vi fixes from arch AUR
Diffstat (limited to 'README.md')
-rw-r--r--README.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ae524d0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,43 @@
+# The traditional Vi
+This implementation had been derived by Gunnar Ritter
+from ex/vi 3.7 of 6/7/85 and the BSD
+termcap library, originally from the 2.11BSD distribution.
+He had added some useful enhancements,
+most notably UTF-8 support.
+
+The last release of *heirloom-ex-vi* had been
+version 050325 (4.0).
+Until 2007 he added new features, e.g.
+dynamically allocated screen buffers for resizing the terminal
+and support for files with arbitrary line length.
+
+These changes did introduce an issue to numbered lines mode.
+This and other found bugs are fixed now.
+A simple `./configure` had been added to set curses
+as the terminal capabilities access library
+on some systems.
+## How to install
+The embedded termcap library may cause problems on systems where
+there is no `/etc/termcap` and `$TERMCAP` of the user that runs
+`./configure` and other users (e.g. `root`) differs.
+Therefore using termcap has lowest priority during auto-configure.
+To prefere termcap put the corresponding line before the curses
+entries in
+[configure](https://github.com/n-t-roff/heirloom-ex-vi/blob/master/configure).
+```
+$ ./configure
+$ make
+$ su
+# make install
+# exit
+$ make mrproper
+```
+## Usage information
+The traditional `vi` reads the file `~/.exrc` at start-up.
+For full screen scrolling `vi` uses the keys `^F` and `^B`.
+To make &lt;PAGE-DOWN&gt; and &lt;PAGE-UP&gt; work add the following
+lines to `.exrc`:
+```
+map ^[[5~ ^B
+map ^[[6~ ^F
+```