<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/editors/nvi2, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2025-10-09T16:34:08Z</updated>
<entry>
<title>editors/nvi2: Update to 2.2.2</title>
<updated>2025-10-09T16:34:08Z</updated>
<author>
<name>Craig Leres</name>
<email>leres@FreeBSD.org</email>
</author>
<published>2025-10-09T16:34:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=5d1c444364e6332de80823da229ecd7422078a96'/>
<id>urn:sha1:5d1c444364e6332de80823da229ecd7422078a96</id>
<content type='text'>
    https://github.com/lichray/nvi2/compare/v2.2.1...v2.2.2

Changes:

 - New option showfilename

 - Show percentage in addition to line counts in ruler

 - Fixed a segfault in expandtab

 - Improve POSIX-compliance when handling ex insert empty lines

 - Counted-p pastes without interleaving copied content

 - Code in analyzer-friendly style

 - Portability fixes

Reported by:	Zhihao Yuan
</content>
</entry>
<entry>
<title>editors/nvi2: Update to 26-Apr-2024 (52c07e8)</title>
<updated>2025-01-14T21:01:28Z</updated>
<author>
<name>Craig Leres</name>
<email>leres@FreeBSD.org</email>
</author>
<published>2025-01-14T21:01:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=ab0fed1b910aa3192a3702f1361a98b706f2bacb'/>
<id>urn:sha1:ab0fed1b910aa3192a3702f1361a98b706f2bacb</id>
<content type='text'>
 - In ruler show the current line number as a percentage of the
   total lines

 - Link macro for hyperlink

 - Add showfilename set option

 - Fix undefined string comparison

 - Replace Clang-only __builtin_is_aligned with C code

 - Use memmove to realign buffers
</content>
</entry>
<entry>
<title>editors/nvi2: Explicitly use db18</title>
<updated>2024-09-20T17:19:00Z</updated>
<author>
<name>Craig Leres</name>
<email>leres@FreeBSD.org</email>
</author>
<published>2024-09-20T17:19:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=0a18e7825754292156e6a2389501c025b2612af4'/>
<id>urn:sha1:0a18e7825754292156e6a2389501c025b2612af4</id>
<content type='text'>
The default (db5) has been deprecated for some time.
</content>
</entry>
<entry>
<title>MAN?PREFIX: eleminate its usage  and move man to share/man</title>
<updated>2024-01-10T08:16:01Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-01-10T08:15:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=1b819e486953bae191a4b8f0da175b55cb6c3070'/>
<id>urn:sha1:1b819e486953bae191a4b8f0da175b55cb6c3070</id>
<content type='text'>
</content>
</entry>
<entry>
<title>editors/nvi2: Update to V2.2.1</title>
<updated>2023-09-25T22:38:28Z</updated>
<author>
<name>Craig Leres</name>
<email>leres@FreeBSD.org</email>
</author>
<published>2023-09-25T22:38:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=cd5299ac4798448925546ac008459d4d97233749'/>
<id>urn:sha1:cd5299ac4798448925546ac008459d4d97233749</id>
<content type='text'>
    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.

 - Fix printing of line number when the 's' command is used with
   the 'c' flag and the number option is set.

 - Fix wide buffer growth when expanding filenames.

 - Fix segmentation fault when window size changes.

 - Fix buffer overflow in ex_comm_search.

 - Fix segmentation fault in number increment.

 - Fix for terminal state corruption on q from ex-mode.

 - Fix core dump when tags file pattern has a trailing '\'.

Reported by:	Zhihao Yuan
</content>
</entry>
<entry>
<title>editors/nvi2: Fix "move forward paragraphs" (}) with numeric prefix</title>
<updated>2023-08-29T22:45:01Z</updated>
<author>
<name>Craig Leres</name>
<email>leres@FreeBSD.org</email>
</author>
<published>2023-08-29T22:45:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=8f10d31b4cfaf46496a805b0b13d8b2ea209289b'/>
<id>urn:sha1:8f10d31b4cfaf46496a805b0b13d8b2ea209289b</id>
<content type='text'>
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
.PP
4
.PP
5
.PP
6

moves the cursor 3 paragraphs but typing "3}" (correct)  moves the
cursor 5 paragraphs ((2 * N) - 1, incorrect).

Reported by:    Walter Alejandro Iglesias, Zhihao Yuan
</content>
</entry>
<entry>
<title>editors/nvi2: Fix core dump when tags file pattern has a trailing '\'</title>
<updated>2022-11-03T06:41:34Z</updated>
<author>
<name>Craig Leres</name>
<email>leres@FreeBSD.org</email>
</author>
<published>2022-11-03T06:41:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=5ac4f1e502572cd1e2e8678600a56b3894af2e95'/>
<id>urn:sha1:5ac4f1e502572cd1e2e8678600a56b3894af2e95</id>
<content type='text'>
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) &gt;= 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 -&gt; 0 -&gt; 4294967295

Apply the upstream patch to solve this:

    https://github.com/lichray/nvi2/pull/111
</content>
</entry>
<entry>
<title>Remove WWW entries moved into port Makefiles</title>
<updated>2022-09-07T21:58:51Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-09-07T21:30:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4'/>
<id>urn:sha1:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Add WWW entries to port Makefiles</title>
<updated>2022-09-07T21:10:59Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-09-07T21:06:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=b7f05445c00f2625aa19b4154ebcbce5ed2daa52'/>
<id>urn:sha1:b7f05445c00f2625aa19b4154ebcbce5ed2daa52</id>
<content type='text'>
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.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
</content>
</entry>
<entry>
<title>editors: remove 'Created by' lines</title>
<updated>2022-07-20T14:21:49Z</updated>
<author>
<name>Tobias C. Berner</name>
<email>tcberner@FreeBSD.org</email>
</author>
<published>2022-07-20T14:21:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=7cd7a8d850aa40bd9f93927a98e3664a54cf15e1'/>
<id>urn:sha1:7cd7a8d850aa40bd9f93927a98e3664a54cf15e1</id>
<content type='text'>
A big Thank You to the original contributors of these ports:

  *  Adam Saponara &lt;as@php.net&gt;
  *  Adam Weinberger &lt;adamw@FreeBSD.org&gt;
  *  Akinori MUSHA aka knu &lt;knu@idaemons.org&gt;
  *  Alexey Dokuchaev &lt;danfe@FreeBSD.org&gt;
  *  Andreas Kohout &lt;shanee@augusta.de&gt;
  *  Andrej Zverev &lt;az@inec.ru&gt;
  *  Andrey Zakhvatov
  *  Anton Tornqvist &lt;antont@inbox.lv&gt;
  *  Bill Fumerola &lt;billf@chc-chimes.com&gt;
  *  Bob Eager &lt;bob@eager.cx&gt;
  *  Chris D. Faulhaber &lt;jedgar@fxp.org&gt;
  *  Chris Petrik &lt;chris@officialunix.com&gt;
  *  Christian Brueffer &lt;chris@unixpages.org&gt;
  *  Craig Leres &lt;leres@FreeBSD.org&gt;
  *  Daniel Eischen &lt;deischen@FreeBSD.org&gt;
  *  David O'Brien &lt;obrien@cs.ucdavis.edu&gt;
  *  David Thiel &lt;lx@redundancy.redundancy.org&gt;
  *  Diego Depaoli &lt;trebestie@gmail.com&gt;
  *  Dima Dorfman &lt;dima@unixfreak.org&gt;
  *  Dmitri Goutnik &lt;dg@syrec.org&gt;
  *  Dominic Mitchell
  *  Emanuel Haupt &lt;ehaupt@FreeBSD.org&gt;
  *  Frederic Cambus
  *  Gea-Suan Lin &lt;gslin@gslin.org&gt;
  *  Geoffrey Mainland &lt;mainland@apeiron.net&gt;
  *  Grzegorz Blach &lt;gblach@FreeBSD.org&gt;
  *  Hakisho Nukama &lt;nukama@gmail.com&gt;
  *  James Bailie &lt;jimmy@mammothcheese.ca&gt;
  *  Janos Mohacsi &lt;janos.mohacsi@bsd.hu&gt;
  *  Jason Evans &lt;jasone@FreeBSD.org&gt;
  *  Jean-Yves Lefort &lt;jylefort@brutele.be&gt;
  *  Jille Timmermans (jille@quis.cx)
  *  Joe Marcus Clarke &lt;marcus@FreeBSD.org&gt;
  *  Johannes Meixner &lt;johannes@perceivon.net&gt;
  *  John Merryweather Cooper et al
  *  Jun-ichiro itojun Itoh &lt;itojun@itojun.org&gt;
  *  KIMURA Yasuhiro &lt;yasu@utahime.org&gt;
  *  Kelly Yancey &lt;kbyanc@posi.net&gt;
  *  Kenneth Vestergaard Schmidt &lt;kvs@pil.dk&gt;
  *  Kris Kennaway &lt;kris@FreeBSD.org&gt;
  *  Leif Pedersen &lt;bilbo@devpit.org&gt;
  *  MANTANI Nobutaka &lt;nobutaka@nobutaka.com&gt;
  *  Mark Pulford &lt;mark@kyne.com.au&gt;
  *  Martin Blapp
  *  Matías Pizarro &lt;matias@pizarro.net&gt;
  *  Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;
  *  Michael Johnson &lt;ahze@FreeBSD.org&gt;
  *  Michael Johnson &lt;ahze@ahze.net&gt;
  *  Michael L. Hostbaek (mich@freebsdcluster.org)
  *  Michael Vasilenko &lt;acid@stu.cn.ua&gt;
  *  Miguel Clara &lt;miguelmclara@gmail.com&gt;
  *  Mohammad S. Babaei &lt;info@babaei.net&gt;
  *  Nicola Vitale &lt;nivit@email.it&gt;
  *  Olga Smirnova &lt;mistresssilvara@hotmail.com&gt;
  *  Oliver Lehmann &lt;oliver@FreeBSD.org&gt;
  *  Olivier Cochard-Labbe &lt;olivier@FreeBSD.org&gt;
  *  Olivier Duchateau
  *  Patrick Li &lt;pat@databits.net&gt;
  *  Peter Wemm &lt;peter@FreeBSD.org&gt;
  *  Philippe Lefebvre &lt;nemesis@balistik.net&gt;
  *  Rimvydas Jasinskas &lt;zrj@ef.irc&gt;
  *  Roman Shterenzon &lt;roman@xpert.com&gt;
  *  Satoshi Asami (asami)
  *  Shaun Amott &lt;shaun@FreeBSD.org&gt;
  *  Shigeyuki FUKUSHIMA &lt;shige@FreeBSD.org&gt;
  *  Shigeyuki Fukushima &lt;shige@FreeBSD.org&gt;
  *  Stanislav Sedov &lt;stas@core.310.ru&gt;
  *  Thomas Gellekum &lt;tg@FreeBSD.org&gt;
  *  Vitaly Magerya &lt;vmagerya@gmail.com&gt;
  *  Xin LI &lt;delphij@FreeBSD.org&gt;
  *  Ying-Chieh Liao
  *  Ying-Chieh Liao &lt;ijliao@FreeBSD.org&gt;
  *  Yoichi NAKAYAMA &lt;yoichi@eken.phys.nagoya-u.ac.jp&gt;
  *  alepulver
  *  brett@peloton.physics.montana.edu
  *  buganini@gmail.com
  *  eric
  *  erich@rrnet.com
  *  gahr
  *  gelf
  *  giffunip@asme.org
  *  ijliao
  *  jkh
  *  joerg
  *  joseph@randomnetworks.com
  *  krion
  *  lightside &lt;lightside@gmx.com&gt;
  *  pgf
  *  rch@richard.eu.org
  *  tetsushi NAKAI &lt;nakai@tsl.pe.u-tokyo.ac.jp&gt;
  *  tg
  *  thierry@pompo.net
  *  torstenb@FreeBSD.org
  *  verm

With hat:	portmgr
</content>
</entry>
</feed>
