Elvis (text Editor) - History

History

Elvis is an enhanced clone of vi. To understand the full context in which Elvis was created, readers should consider the history of vi. In this section we examine the version history of Elvis almost exclusively.

Steve Kirkendall posted the first version of Elvis to the Usenet newsgroup comp.os.minix in early January, 1990, intending it to be a more complete and faithful clone of Vi than Tim Thompson's Stevie (ST editor for VI enthusiasts), released three years previously. Kirkendall outlined several ways in which Elvis was different from Stevie, namely:

  • The text is stored in a temporary file, just like the real vi, and unlike stevie. Because of this, you can edit files that are larger than a single process' data space. Also, you can recover your file after a crash or power failure.
  • Arrow keys work in input mode. In fact, if you invoke the editor via the name "input", then it will start editing in input mode. You can make your changes, and then exit by hitting control-Z twice, and NEVER go into visual command mode. In other words, elvis can act pretty much like a normal editor -- something that the real vi certainly can't do.
  • Long lines are displayed differently. Where vi and stevie wrap the line onto several rows of the screen, elvis displays it on one row and allows you to scroll sideways.

In addition, Elvis almost all ex/vi commands worked (except :@, :abbr, and :preserve in ex mode and @ in visual mode and appending to named buffers).

It quickly attracted considerable interest in a number of enthusiast communities. Andrew Tanenbaum quickly asked the community to decide one of these two editors to be the vi clone in Minix; Elvis was chosen, and remains the vi clone for Minix today.

In 1989 Lynne Jolitz and William Jolitz began porting BSD Unix to run on 386 class processors, but to create a free distribution they needed to avoid any AT&T-contaminated code, including Joy's vi. To fill the void left by removing vi, their 1992 386BSD distribution adopted Elvis as its vi replacement. But at UC Berkeley, Keith Bostic wanted a “bug for bug compatible” replacement for Joy's vi for BSD 4.4 Lite. Using Kirkendall's Elvis (version 1.8) as a starting point, Bostic created nvi, releasing it in Spring of 1994.

In August 1994, Kirkendall announced that he was working on a major rewrite of Elvis, and in October 1996, it was ready for release. The new version had a number of new features, including

  • Multiple edit buffers, so you can edit several files at the same time.
  • Multiple windows, so those edit buffers can share screen space.
  • Multiple display modes, including...
  • "normal" which looks like the traditional vi screen
  • "hex" which is good for viewing binary files
  • "syntax" which supports syntax coloring (configurable)
  • "man" which formats Unix man-pages like nroff
  • "html" which formats Web pages
  • Online hypertextual help
  • A variety of user interfaces, including...
  • "termcap" which uses text screens like the traditional vi
  • "x11" which provides a GUI interface for Unix/X Window users
  • Compiling: elvis can parse error messages, and move to source of error
  • WYSIWYG printing, with drivers for most printer types
  • Built-in calculator with a C-like syntax
  • Extreme customizability
  • "Open" mode, for one-line-at-a-time editing even on very dumb terminals

In December, 1998, Kirkendall released Elvis 2.1, with added features, including name completion, via the key, network protocols (allowing can reading/writing via Web URLs), and a "tex" display mode. Kirkendall maintained the 2.1 release with bugfixes and minor enhancements as 2.1_1, 2.1_2, 2.1_3, and culminating in 2.1_4, released in October 1999.

In October, 2003, four years after the previous release, Kirkendall released Elvis 2.2, which added a number of new features, including a built-in context-sensitive spell checker, text folding, region highlighting, and user-definable URL protocols. In addition, it adopted a number of ideas from Vim.

At the time of writing, January, 2011, there has been no new release of Elvis since 2.2.

Read more about this topic:  Elvis (text Editor)

Famous quotes containing the word history:

    We may pretend that we’re basically moral people who make mistakes, but the whole of history proves otherwise.
    Terry Hands (b. 1941)

    Every literary critic believes he will outwit history and have the last word.
    Mason Cooley (b. 1927)

    It would be naive to think that peace and justice can be achieved easily. No set of rules or study of history will automatically resolve the problems.... However, with faith and perseverance,... complex problems in the past have been resolved in our search for justice and peace. They can be resolved in the future, provided, of course, that we can think of five new ways to measure the height of a tall building by using a barometer.
    Jimmy Carter (James Earl Carter, Jr.)