Skip to content

Commit 9f1c6f0

Browse files
committed
Import Elvis 2.2_0 (written by Steve Kirkendall)
1 parent 97d8998 commit 9f1c6f0

File tree

346 files changed

+101656
-26290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+101656
-26290
lines changed

Announce-2.2_0

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
As of October 20, Elvis 2.2 is officially released.
2+
3+
To learn about elvis, or download (source, Win32 binaries, or MS-DOS
4+
binaries) go to...
5+
6+
ftp://ftp.cs.pdx.edu/pub/elvis/README.html
7+
8+
It's been a full four years since the version 2.1.4 was released so you
9+
should expect a lot of new features. Here's a brief summary:
10+
11+
* Elvis 2.2 is pretty
12+
o The :color command has been greatly improved.
13+
o Can use Xft for antialiased text (x11 only).
14+
o You can use background images. (x11 and windows only)
15+
o You can load your own elvis icon. (x11 and windows only)
16+
o Themes are supported. ":theme sand" is included. Other themes are
17+
available via ":e theme:". (x11 and windows only)
18+
o Good default colors are provided for all user interfaces.
19+
o The Windows interface can use X11 color names.
20+
21+
* Elvis 2.2 has many of Vim's feaures
22+
o :autocmd
23+
o Many g commands.
24+
o Name completion. Filenames, commands, options, etc.
25+
o <key> notation in :map commands.
26+
o You can load aliases and maps to emulate vim better with ":ru likevim".
27+
28+
* Other stuff
29+
o Built-in spell checker. Context sensitive, and can suggest corrections.
30+
o Folding. Lets you hide parts of your text without deleting it.
31+
o Region highlighting.
32+
o User-definable URL protocols.
33+
34+
* Still has the best features of 2.1
35+
o "hex" display mode for editing binary files.
36+
o "html", "man", and "tex" display modes, for previewing text.
37+
o Online manual is written in HTML, and viewable with the "html" display
38+
mode. Look nice, and has many convenient links.
39+

BUGS

+1-1,816
Large diffs are not rendered by default.

COPYING

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Elvis 2.1 Copyright 1999 by Steve Kirkendall
1+
Elvis 2.2 Copyright 2003 by Steve Kirkendall
22

3-
Elvis 2.1 is copyrighted freeware. It is provided in the hope that it will
3+
Elvis 2.2 is copyrighted freeware. It is provided in the hope that it will
44
be useful, but with no warranty.
55

6-
Elvis is distributed under the terms of the "Artistic License." This is
7-
the same license under which PERL is distributed. A copy of this license
8-
is available in the "lib/license" file.
6+
Elvis is distributed under the terms of the "Clarified Artistic License."
7+
This is the same license under which PERL is distributed. A copy of this
8+
license is available in the "doc/license.html" file.

INSTALL

+37-32
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
HOW TO COMPILE & INSTALL ELVIS 2.1_4
1+
HOW TO COMPILE & INSTALL ELVIS 2.2
22

33
Separate sets of instructions are provided below for UNIX, Windows-NT,
44
MS-DOS, and OS/2.
@@ -10,25 +10,22 @@ development environment if you prefer. Separate instructions are given
1010
for both compilation methods, for both operating systems.
1111

1212
All of these instructions assume that you have already unpacked the files
13-
from the source code archive, "elvis-2.1_4.tar.gz". That's a gzipped tar
13+
from the source code archive, "elvis-2.2*.tar.gz". That's a gzipped tar
1414
archive. If you don't have the gzip and tar utilities, then the easiest
1515
way for you to unpack them is to compile the "untar.c" program (available
1616
via anonymous FTP from ftp://ftp.cs.pdx.edu/pub/elvis/untar.c). The files
17-
will be placed in a subdirectory named "elvis-2.1_4". The MS-DOS *.MAK files
17+
will be placed in a subdirectory named "elvis-2.2*". The MS-DOS *.MAK files
1818
assume that you've unpacked them while in C:\MSVC, so the files themselves
19-
should end up in C:\MSVC\elvis-2.1_4.
19+
should end up in C:\MSVC\elvis-2.2*.
2020

2121
Under MS-DOS, the name of the archive will be mangled. It will probably
2222
be "elvis-~1.gz", but it may be something else; the exact name depends on
2323
how you downloaded it, and whether you already had an old version of that
2424
archive in the same directory. The MS-DOS version of the "untar" program
2525
needs to be passed the mangled name, whatever that turns out to be. The
26-
Win32 version, on the other hand, can handle the full "elvis-2.1_4.tar.gz"
26+
Win32 version, on the other hand, can handle the full "elvis-2.2*.tar.gz"
2727
file name.
2828

29-
Also under MS-DOS, you may see complaints about some OS/2 files. You can
30-
ignore that; you don't need those files to compile elvis for MS-DOS.
31-
3229
================================================================================
3330

3431
UNIX
@@ -77,13 +74,25 @@ UNIX
7774
--bindir=directory
7875
This value is incorporated into the Makefile. The
7976
command "make install" will copy the executables into
80-
this directory. The default is /usr/local/bin.
77+
this directory. The default is /usr/bin.
8178

8279
--datadir=directory
8380
This is incorporated into both the Makefile and the
8481
config.h file. It is the directory where elvis' support
8582
files will reside after a "make install". The default is
86-
/usr/local/lib/elvis.
83+
/usr/share/elvis.
84+
85+
--docdir=directory
86+
This is incorporated into both the Makefile and the
87+
config.h file. It is the directory where elvis' manual
88+
will reside after a "make install". The default is
89+
/usr/share/elvis/doc.
90+
91+
--prefix=directory
92+
This value is incorporated into the Makefile. It supplies
93+
leading part of the datadir, docdir, and bindir values.
94+
Its default value is /usr, which is why those directories
95+
all have values starting with "/usr".
8796

8897
--libs=string
8998
This option allows you to specify which library to use
@@ -98,23 +107,19 @@ UNIX
98107
header files in /usr/include.
99108

100109
2) Give the command "make". This should eventually produce programs
101-
named "elvis" and "ref". Source code is also included for "ctags"
102-
and "fmt" but these aren't normally compiled because your UNIX system
103-
probably already has better versions of them. If you want to use
104-
elvis' versions of "ctags" and "fmt" then you should edit the Makefile
105-
to add those programs to the definition of the ALL macro.
106-
107-
Exception: Linux gets all four programs by default, because the
108-
versions of "ctags" and "fmt" distributed with Linux actually came
109-
from elvis 1.8, so the 2.1 versions are newer.
110+
named "elvis", "ref", "elvtags", and "elvfmt". (elvtags and elvfmt
111+
are elvis' own versions of the standard ctags and fmt programs. The
112+
names of elvis' versions were changed so they wouldn't clash with the
113+
standard ones.)
110114

111115
3) You should be able to run "elvis" in the source code directory now.
112116
Try "e2 README.html" or "e2 config.h".
113117

114118
Note that we're running the e2 shell script instead of the elvis
115119
executable. e2 simply runs elvis in such a way that it looks for
116-
its support files in the "lib" subdirectory, instead of the usual
117-
directory.
120+
its support files in the "data" subdirectory, instead of the usual
121+
directory. We do this because the support files haven't been
122+
installed into their usual directory yet.
118123

119124
4) If all goes well, you can install elvis by becoming the superuser and
120125
running the command "make install". (Later, if you decide to uninstall
@@ -192,11 +197,11 @@ MS-Windows/NT (or Windows95?), with Visual C++ 2.0 or later (Method #2):
192197
MS-DOS, using Visual C++ 1.5 (Method #1):
193198
REMINDER: MSVC++ 1.5 always puts the complete pathnames of all files
194199
into its NMAKE files. Because of this, you *MUST* install the
195-
source code into a directory named "C:\MSVC\elvis-2.1_4". The
196-
"elvis-2.1_4" component of that directory name is stored in the
197-
"elvis-2.1_4.tar.gz" archive file, so you should be in the C:\MSVC
200+
source code into a directory named "C:\MSVC\elvis-2.2*". The
201+
"elvis-2.*" component of that directory name is stored in the
202+
"elvis-2.2*.tar.gz" archive file, so you should be in the C:\MSVC
198203
directory when you extract the files. After extracting the files,
199-
do a "cd elvis-2.1_4"
204+
do a "cd elvis-2.2*"
200205

201206
1) Run the "makmsdos.bat" file
202207

@@ -216,19 +221,19 @@ MS-DOS, using Visual C++ 1.5 (Method #1):
216221
MS-DOS, using Visual C++ 1.5 (Method #2):
217222
REMINDER: MSVC++ 1.5 always puts the complete pathnames of all files
218223
into its NMAKE files. Because of this, you *MUST* install the
219-
source code into a directory named "C:\MSVC\elvis-2.1_4". The
220-
"elvis-2.1_4" component of that directory name is stored in the
221-
"elvis-2.1_4.tar.gz" archive file, so you should be in the C:\MSVC
224+
source code into a directory named "C:\MSVC\elvis-2.2*". The
225+
"elvis-2.2*" component of that directory name is stored in the
226+
"elvis-2.2*.tar.gz" archive file, so you should be in the C:\MSVC
222227
directory when you extract the files.
223228

224-
1) Copy all of the "C:\MSVC\elvis-2.1_4\OSMSDOS\*.MAK" files into the
225-
"C:\MSVC\elvis-2.1_4" directory.
229+
1) Copy all of the "C:\MSVC\elvis-2.2*\OSMSDOS\*.MAK" files into the
230+
"C:\MSVC\elvis-2.2*" directory.
226231

227232
c:
228-
cd \msvc\elvis-2.1_4
233+
cd \msvc\elvis-2.2*
229234
copy osmsdos\*.mak
230235

231-
2) Copy the "\MSVC\elvis-2.1_4\OSMSDOS\OSCONFIG.H" file to
236+
2) Copy the "\MSVC\elvis-2.2*\OSMSDOS\OSCONFIG.H" file to
232237
"\MSVC\elvis-2.1\CONFIG.H" Note that the "OS" is dropped from the
233238
filename.
234239

0 commit comments

Comments
 (0)