notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
nvi2 Updated implementation of the ex/vi text editor
2.2.1_2 editors on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.2.1_1Version of this port present on the latest quarterly branch.
Maintainer: leres@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-07-27 01:58:37
Last Update: 2024-09-20 17:19:00
Commit Hash: 0a18e78
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: BSD3CLAUSE
WWW:
https://github.com/lichray/nvi2/
Description:
nvi is an implementation of the ex/vi text editor. The original vi was written by William Joy. Later Mark Horton added a number of enhancements. nvi was written by Keith Bostic and was distributed as part of the Fourth Berkeley Software Distribution (4BSD) by the University of California, Berkeley. This version is based on a fork of nvi by Sven Verdoolaege. It is very similar to the base vi but includes the expandtab option from NetBSD which is handy for Python development.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. bin/nex
  2. bin/nvi
  3. bin/nview
  4. share/man/man1/nex.1.gz
  5. share/man/man1/nvi.1.gz
  6. share/man/man1/nview.1.gz
  7. /usr/local/share/licenses/nvi2-2.2.1_2/catalog.mk
  8. /usr/local/share/licenses/nvi2-2.2.1_2/LICENSE
  9. /usr/local/share/licenses/nvi2-2.2.1_2/BSD3CLAUSE
Collapse this list.
Dependency lines:
  • nvi2>0:editors/nvi2
Conflicts:
CONFLICTS_INSTALL:
  • nvi-m17n
  • nvi
To install the port:
cd /usr/ports/editors/nvi2/ && make install clean
To add the package, run one of these commands:
  • pkg install editors/nvi2
  • pkg install nvi2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nvi2
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1695680540 SHA256 (lichray-nvi2-v2.2.1_GH0.tar.gz) = 9f7c9aef3924c0e39ef96e1aadb8f5d396825b8251addab1290aa866cf3d5af4 SIZE (lichray-nvi2-v2.2.1_GH0.tar.gz) = 443376

Packages (timestamps in pop-ups are UTC):
nvi2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.2.1_22.2.1_22.2.02.2.1_22.2.1_2-2.2.0-
FreeBSD:13:quarterly2.2.1_22.2.1_22.2.0_12.2.1_22.2.1_22.2.12.2.12.2.1
FreeBSD:14:latest2.2.1_22.2.1_22.2.0_12.2.1_22.2.1_22.2.0_1-2.2.0_1
FreeBSD:14:quarterly2.2.1_22.2.1_2-2.2.1_22.2.1_22.2.12.2.12.2.1
FreeBSD:15:latest2.2.1_22.2.1_2n/a2.2.1_2n/a2.2.1_12.2.1_12.2.1_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libdb-18.1.so : databases/db18
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for nvi2-2.2.1_2: DEBUG=off: Build with debugging support ICONV=on: Enable iconv support WIDECHAR=on: Enable wide-character support (UTF-8) ===> Use 'make config' to modify these settings
Options name:
editors_nvi2
USES:
bdb:18 cmake compiler:c11 ncurses iconv
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/lichray/nvi2/tar.gz/v2.2.1?dummy=/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.2.1_2
20 Sep 2024 17:19:00
commit hash: 0a18e7825754292156e6a2389501c025b2612af4commit hash: 0a18e7825754292156e6a2389501c025b2612af4commit hash: 0a18e7825754292156e6a2389501c025b2612af4commit hash: 0a18e7825754292156e6a2389501c025b2612af4 files touched by this commit
Craig Leres (leres) search for other commits by this committer
editors/nvi2: Explicitly use db18

The default (db5) has been deprecated for some time.
2.2.1_1
10 Jan 2024 08:16:01
commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070commit hash: 1b819e486953bae191a4b8f0da175b55cb6c3070 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MAN?PREFIX: eleminate its usage  and move man to share/man
2.2.1
25 Sep 2023 22:38:28
commit hash: cd5299ac4798448925546ac008459d4d97233749commit hash: cd5299ac4798448925546ac008459d4d97233749commit hash: cd5299ac4798448925546ac008459d4d97233749commit hash: cd5299ac4798448925546ac008459d4d97233749 files touched by this commit
Craig Leres (leres) search for other commits by this committer
editors/nvi2: Update to V2.2.1

    https://github.com/lichray/nvi2/releases/tag/v2.2.1

Changes since V2.2.0:

 - Display control chars in altnotation.

 - Intuitively jump between troff paragraphs.

 - Keep correct count for unprintable character sequences in
   opts_print().

 - Do a full reformat when ^L/^R redrawing.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.2.0_2
29 Aug 2023 22:45:01
commit hash: 8f10d31b4cfaf46496a805b0b13d8b2ea209289bcommit hash: 8f10d31b4cfaf46496a805b0b13d8b2ea209289bcommit hash: 8f10d31b4cfaf46496a805b0b13d8b2ea209289bcommit hash: 8f10d31b4cfaf46496a805b0b13d8b2ea209289b files touched by this commit
Craig Leres (leres) search for other commits by this committer
editors/nvi2: Fix "move forward paragraphs" (}) with numeric prefix

Two github issues identified the same problem:

    https://github.com/lichray/nvi2/issues/118
    https://github.com/lichray/nvi2/pull/119

For example typing "}" three times on this sample text:

.PP
1
.PP
2
.PP
3
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.2.0_1
03 Nov 2022 06:41:34
commit hash: 5ac4f1e502572cd1e2e8678600a56b3894af2e95commit hash: 5ac4f1e502572cd1e2e8678600a56b3894af2e95commit hash: 5ac4f1e502572cd1e2e8678600a56b3894af2e95commit hash: 5ac4f1e502572cd1e2e8678600a56b3894af2e95 files touched by this commit
Craig Leres (leres) search for other commits by this committer
editors/nvi2: Fix core dump when tags file pattern has a trailing '\'

If you create a tags file of a macro that ends with a '\' and tag
for it, vi dumps core. For example:

    zinc 76 % cat test.h
    #define LATIN2PLAIN(ch) (((u_char)ch) >= 0x80 ? \
       pgm_read_byte_far(pgm_get_far_address(latin2plain) + \
       (((u_char)ch) - 0x80)) : (isprint(ch) ? (ch) : '_'))
    zinc 77 % ctags test.h
    zinc 78 % vi -t LATIN2PLAIN
    Segmentation fault

The problem is that the loop variable is unsigned (size_t) and it
gets decremented twice: 1 -> 0 -> 4294967295

Apply the upstream patch to solve this:

    https://github.com/lichray/nvi2/pull/111
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.2.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.2.0
20 Jul 2022 14:21:49
commit hash: 7cd7a8d850aa40bd9f93927a98e3664a54cf15e1commit hash: 7cd7a8d850aa40bd9f93927a98e3664a54cf15e1commit hash: 7cd7a8d850aa40bd9f93927a98e3664a54cf15e1commit hash: 7cd7a8d850aa40bd9f93927a98e3664a54cf15e1 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
editors: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Andreas Kohout <shanee@augusta.de>
  *  Andrej Zverev <az@inec.ru>
  *  Andrey Zakhvatov
  *  Anton Tornqvist <antont@inbox.lv>
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Bob Eager <bob@eager.cx>
  *  Chris D. Faulhaber <jedgar@fxp.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.2.0
23 Nov 2021 22:11:40
commit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7afcommit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7afcommit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7afcommit hash: 5933ac0b099d61d98eb531d373cf57a8927bc7af files touched by this commit
Stefan Eßer (se) search for other commits by this committer
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2.2.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.2.0
15 Sep 2020 09:22:18
Revision:548722Original commit files touched by this commit
mat search for other commits by this committer
Regular USE_GITHUB cleanup.
2.2.0
17 Aug 2020 16:22:12
Revision:545172Original commit files touched by this commit
pkubaj search for other commits by this committer
editors/nvi2: fix build on GCC architectures

Use newer GCC:
cc1: error: unrecognized command line option "-Wno-dangling-else"
cc1: error: unrecognized command line option "-fcolor-diagnostics"

-fcolor-diagnostics is incompatible with GCC, compilation works fine with Clang
also without it.
2.2.0
03 Aug 2020 23:28:23
Revision:544113Original commit files touched by this commit
leres search for other commits by this committer
editors/nvi2: Update to 2.2.0

Switch to the release version, there are no functional changes
compared to 2.1.3.g2020801.

Documented changes between 2.1.3 and 2.2.0:

    https://github.com/lichray/nvi2/releases/tag/v2.2.0

 - Vim-style expandtab option

 - Provides Turkish translation

 - Backspace now deletes \ rather than being escaped

 - T during motion commands is now VI-compatible

 - Encoding related fixes, such as UTF-8 detection

 - Fixed a number of memory management issues
2.1.3.g2020801
01 Aug 2020 21:35:31
Revision:543924Original commit files touched by this commit
leres search for other commits by this committer
editors/nvi2: Update to the 2020801 version

 - The expandtab option now applies to lines filtered with the !
   command

 - Enable Ninja for the build thanks to upstream changes

 - Add symlinks for the nex and nview man pages
2.1.3.g2020726
27 Jul 2020 01:58:34
Revision:543502Original commit files touched by this commit
leres search for other commits by this committer
editors/nvi2-port: Rename to editors/nvi2

Grrr... my addport notes failed me.

Number of commits found: 15