Linux HOWTOs

About | Home | Search


ERROR: Slooooow dooooown... this page load was delayed.

HOWTO: elvis
Description: Elvis is a clone of vi/ex, the standard UNIX editor
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# elvis 2.2_0
# ===========
# Slackware 8.1, 9.0 and 9.1's 'elvis' packages include version 2.1_4,
# Slackware 10.0's includes version 2.2_0

# Prerequisites:
# make
# gcc
# fileutils or coreutils
# sed
# X (optional)
# Xft (optional)
# Gnome (optional)

cd
test -f installed/elvis-2.2_0.tar.gz && mv installed/elvis-2.2_0.tar.gz .
test ! -f elvis-2.2_0.tar.gz &&
 wget ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.2_0.tar.gz
cd /usr/local/src
find -type d -maxdepth 1 -name "elvis-*" -exec rm -r {} \;
tar xzvf ~/elvis-2.2_0.tar.gz
cd elvis-2.2_0
chown -R root.root .

# If you don't want X, Xft and/or Gnome support (which is temporarily disabled
# by default) built in, add --without-x, --without-xft, and/or
# --without-gnome to the configure line.  To shut off all three, you only
# need to specify --without-x.

./configure \
 --bindir=/usr/bin \
 --datadir=/usr/share/elvis-2.2_0 \
 --docdir=/usr/share/elvis-2.2_0/doc \
 --verbose
make
removepkg elvis
find /usr/doc -type l -name "elvis-*" -exec rm {} \;
find /usr/share -type d -name "elvis-*" -exec rm -r {} \;
make install
ln -sf /usr/bin/elvis /usr/bin/ex
ln -sf /usr/bin/elvis /usr/bin/vi
ln -sf /usr/share/elvis-2.2_0/doc /usr/doc/elvis-2.2_0
cd
mkdir -p -m 0700 installed
rm -f installed/elvis-*.tar.*
mv elvis-2.2_0.tar.gz installed/

# If vim is your preferred editor, you may want to change the ex and vi
# symlinks to point to it instead

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>