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 2.11BSD/SVR4 vi.

[Notat]

Notat

Under utpakkingen kan du få følgende melding(er):

unzip: Cannot set mode for '...': Operation notsupported

Du kan ignorere nevnte melding(er), alt er i orden. Det er forårsaket av et forsøk på å angi filattributtene på en symbolsk lenke, som ignoreres på de fleste Unix og Unix lignende systemer, med et bemerkelsesverdig unntak macOS.

Additional Downloads

heirloom-ex-vi Dependencies

Required

libarchive (to unpack the distribution)

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