nvi

nvi

nvi (new vi) is a re-implementation of the classic Berkeley text editor, ex/vi, traditionally distributed with BSD, and later, Unix systems. It was originally distributed as part of the Fourth Berkeley Software Distribution (4BSD).

Due to licensing disputes between AT&T and the Computer Systems Research Group (CSRG) at the University of California, Berkeley (see USL v. BSDi), the CSRG was required to replace all Unix-derived portions of BSD source with new and unencumbered code. nvi was one of many components to be re-written despite the fact that the original vi was from UC Berkeley. AT&T had a legal claim over the license. nvi turned out to be a major improvement over the classical vi as discussed below.

Contents

Features

Usually referred to as a vi-clone, nvi contains a number of features not present in the original program. These include:

  • 8-bit clean data, lines and files limited by available memory
  • Multiple edit buffers
  • Colon command-line editing and path name completion
  • Tag stacks
  • Cscope support
  • Extended Regular Expressions
  • Infinite undo
  • Horizontal scrolling
  • Message catalogs (Dutch, English, French, German, Russian, Spanish, Swedish)
  • Preliminary support for Perl and Tcl/Tk scripting languages

Features that are not present in version 1.79 (which are in the original program) include:

  • lisp mode
  • modelines
  • open mode

Credits and distribution

nvi was written by Keith Bostic, and currently seems to be frozen at version 1.79. It is the default vi on all BSD systems (NetBSD, OpenBSD, and FreeBSD).

It was originally derived from the first incarnation of elvis, written by Steve Kirkendall, as noted in the README file included in nvi's sources.

Sven Verdoolaege added support for Unicode in 2000. He also has been developing a GTK+ front-end for nvi, but this effort seems to have stalled. The aspects of nvi that are still marked preliminary or unimplemented are, for the time being, likely to remain that way.

BSD projects continue to use version 1.79 due to licensing differences between Berkeley Database 1.85 and the later versions by Sleepycat Software. nvi is unusual because it uses a database to store the text as it is being edited. Sven Verdoolaege's changes after version 1.79 use locking features not available in the 1.85 database.

There are also reportedly changes to nvi after 1.79 which make nvi less vi-compatible[citation needed].

Due to the liberal policy of the BSD license, nvi can vary subtly across the BSDs.

As with the original vi, nvi is only executable on POSIX/Unix platforms due to its reliance on the curses/ncurses library.

A multilingual version is available as nvi-m17n by Jun-ichiro itojun Hagino.[1] [2]

See also

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Nvi — (new vi) is a re implementation of the classic Berkeley text editor, ex/vi, traditionally distributed with BSD, and later, Unix systems. It was originally distributed as part of the Fourth Berkeley Software Distribution (4BSD).Due to licensing… …   Wikipedia

  • Nvi — (new vi, en français « nouveau vi ») est un éditeur de texte reprennant les fonctionnalités du logiciel ex/vi de Berkeley, traditionnellement distribué dans les systèmes BSD, puis plus tard dans les systèmes Unix. À l origine, il était… …   Wikipédia en Français

  • nvi — (new vi, en français « nouveau vi ») est un éditeur de texte reprenant les fonctionnalités du logiciel ex/vi de Berkeley, traditionnellement distribué dans les systèmes BSD, puis plus tard dans les systèmes Unix. À l origine, il était… …   Wikipédia en Français

  • NVI — or nvi may refer to: Nvi, a text editor Avial NV, an airline no value indicator, a non denominated postage stamp Navoiy Airport, in Uzbekistan Negative volume index, a financial analysis method Nationale Vliegtuig Industrie or National Aircraft… …   Wikipedia

  • NVI — puede referirse a: Nueva Versión Internacional, versión evangélica de la Biblia escrita en español contemporáneo. Nvi, la reimplementación del editor de texto vi distribuido en los sistemas unix like. Esta página de desambiguación cataloga… …   Wikipedia Español

  • NVI F.K.33 — F.K.33 Role Airliner National origin Netherlands Manufacturer Nationale Vliegtuig Industrie Designer Frederick Koolhoven First flight 1925 Primary user KLM Number built …   Wikipedia

  • NVI F.K.31 — F.K.31 Role Reconnaissance fighter Manufacturer Nationale Vliegtuig Industrie Introduction 1925 Retired 1927 Primary user Finnish Air Force NVI F.K.31 was a Dutch designed, two seat reconnaissance fighter, which was developed in the 1920s by …   Wikipedia

  • Nvi (editor de texto) — Nvi es la reimplementación del editor de texto vi distribuido en los sistemas unix like. Nvi apareció en la disputa de la autoría de BSD con AT T, para tener un editor cubierto por licencias en el caso de que AT T se quedase con los derechos de… …   Wikipedia Español

  • NVI — National Vision, Inc. (Business » NYSE Symbols) * Natural Vision Improvement (Medical) * No Value Indicator (Computing » Assembly) * NewVision International (Community » Religion) * National Violence Index (Governmental » US Government) *… …   Abbreviations dictionary

  • nvi — New ua&vi BSD 4.4 Implementation des original Standard UNIX Editors …   Acronyms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”