heirloom-ex-vi-bd1f88

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 24. SVR4-style Tools

- Prev

  pkgsuite-056d70

- Next

  Creative Commons License

- Up
- Home

# heirloom-ex-vi-bd1f88

## Introduction to heirloom-ex-vi

The heirloom-ex-vi package, also known as “The Traditional Vi”, is a portable version of the 2.11BSD/SVR4 vi.

- Download: https://github.com/n-t-roff/heirloom-ex-vi/archive/bd1f886598d20d457885c5c189fea34b027cbdef/heirloom-ex-vi-bd1f886598d20d457885c5c189fea34b027cbdef.tar.gz

### Additional Downloads

- Required patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/heirloom-ex-vi/heirloom-ex-vi-bd1f88-paths.patch

### heirloom-ex-vi Dependencies

#### Optional

The X Window System (to use wvi)

## Installation of heirloom-ex-vi

Apply a patch to make the installation paths conform with the others in this category:

    patch -Np1 -i ../heirloom-ex-vi-bd1f88-paths.patch

Install heirloom-ex-vi by running the following command:

    ./configure &&
    CC="cc -std=gnu17" make

Now, as the `root` user:

    make install

## Configuring heirloom-ex-vi

### Config Files

`~/.exrc`

### Configuration Information

The above file can be used to configure the editor. The defaults are fine, but the configuration file gets ignored if anyone except the user executing vi has the ability to write to it. Make sure the file's octal permission value is `644` or similar in case you want to use it.

## Contents

Installed Programs: edit (link to ex), ex, expreserve, exrecover, vedit (link to ex), vi (link to ex), view (link to ex), and wvi
Installed Libraries: None
Installed Directories: /var/preserve

### Short Descriptions

edit | is a symlink pointing to ex
ex | is the text editor
expreserve | preserves files into `/var/preserve`
exrecover | recovers files from `/var/preserve`
vedit | is a symlink pointing to ex
vi | is a symlink pointing to ex
view | is a symlink pointing to ex
wvi | is a script that opens vi in a separate xterm

- Prev

  pkgsuite-056d70

- Next

  Creative Commons License

- Up
- Home