Port details |
- nvi2 Updated implementation of the ex/vi text editor
- 2.2.1_2 editors =2 2.2.1_1Version of this port present on the latest quarterly branch.
- Maintainer: leres@FreeBSD.org
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- Library dependencies:
-
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.2.1_2 20 Sep 2024 17:19:00 |
Craig Leres (leres) |
editors/nvi2: Explicitly use db18
The default (db5) has been deprecated for some time. |
2.2.1_1 10 Jan 2024 08:16:01 |
Baptiste Daroussin (bapt) |
MAN?PREFIX: eleminate its usage and move man to share/man |
2.2.1 25 Sep 2023 22:38:28 |
Craig Leres (leres) |
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 ) |
2.2.0_2 29 Aug 2023 22:45:01 |
Craig Leres (leres) |
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 ) |
2.2.0_1 03 Nov 2022 06:41:34 |
Craig Leres (leres) |
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 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
2.2.0 20 Jul 2022 14:21:49 |
Tobias C. Berner (tcberner) |
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 ) |
2.2.0 23 Nov 2021 22:11:40 |
Stefan Eßer (se) |
*/*: 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 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.2.0 15 Sep 2020 09:22:18 |
mat |
Regular USE_GITHUB cleanup. |
2.2.0 17 Aug 2020 16:22:12 |
pkubaj |
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 |
leres |
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 |
leres |
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 |
leres |
editors/nvi2-port: Rename to editors/nvi2
Grrr... my addport notes failed me. |