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).

nvi
The vi editor in OpenBSD (nvi), editing a small "Hello, world!" type Ruby program
Repositoryrepo.or.cz/nvi.git
LicenseBSD License[1]
Websitewww.bostic.com/vi/ 

Due to licensing disputes between AT&T and the Computer Systems Research Group (CSRG) at the University of California, Berkeley, the CSRG was required to replace all Unix-derived portions of BSD source with new and unencumbered code. nvi was one of many components rewritten, despite the fact that the original vi was from UC Berkeley. AT&T had a legal claim over the license.

Credits and distribution

nvi was written by Keith Bostic. It is the default vi on all major BSD systems (NetBSD, OpenBSD, and FreeBSD) as well as MINIX.[2]

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.[3] 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 nvi 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 Berkeley DB 1.85 database. Reportedly, changes to nvi after 1.79 make it less vi-compatible.

nvi can vary subtly across the BSDs.

nvi is only available on POSIX/Unix platforms due to its reliance on the curses/ncurses library.[4]

An unmaintained, multilingual version by the late Jun-ichiro itojun Hagino is available as nvi-m17n. [5][6]

A currently-maintained, multibyte version is available as nvi2, and is the default vi on DragonFly BSD.[7]

gollark: Via bibliocraft.
gollark: You can copy them.
gollark: Kepler hoards the secret knowledge of the tomes, you see.
gollark: Æweirdcharacters
gollark: \™

See also

References

  1. Keith Bostic. "Update the license: we're going to standard BSD, copyright UC Berkeley".
  2. Lionel Sambuc. "Termcap update, replacing elvis by nvi".
  3. "nvi commitlog". Archived from the original on May 1, 2001.
  4. Thomas E. Dickey, "Types of library users", NCURSES Frequently Asked Questions (FAQ), retrieved July 11, 2014
  5. Jun-ichiro itojun Hagino and Yoshitaka Tokugawa. "Multilingual vi clones: past, now and the future".
  6. Federico Biancuzzi (December 4, 2007). "The Man in the Machine". SecurityFocus.
  7. Zhihao Yuan. "nvi2 git repo".
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.