History log of /freebsd-10.1-release/contrib/nvi/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


270026 15-Aug-2014 emaste

MFC r259088: Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fix

PR: bin/182463


259073 07-Dec-2013 peter

Hoist all the mergeinfo up to the root in preparation for enforcing merges
to the root only. All MFC's were rerecorded to the root.

Going forward, if an MFC includes mergeinfo, it will need to be made to
the root and committed from the root. Merges with --ignore-ancestry
or diff | patch can go anywhere.

The mergeinfo in HEAD is in a bad state from years of neglect and manual
tampering and this was branched into 10.x. This confuses the coalescing
code and prevents it from doing its job.

Approved by: re (gjb, implicit)


258231 16-Nov-2013 gjb

MFC r257999 (peter):
Merge nvi-2.1.1 -> 2.1.2

Approved by: re (???)

Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


254225 11-Aug-2013 peter

Update nvi-1.79 to 2.1.1-4334a8297f

This is the gsoc-2011 project to clean up and backport multibyte support
from other nvi forks in a form we can use.

USE_WIDECHAR is on unless building for the rescue crunchgen. This should
allow editing in the native locale encoding.

USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This
adds the ability to do things like edit a KOI8-R file while having $LANG
set to (say) en_US.UTF-8. iconv is used to transcode the characters for
display.

Other points:
* It uses gencat and catopen/etc instead of homegrown msg catalog stuff.
* A lot of stuff has been trimmed out, eg: the perl and tcl bindings which
we could never use in base anyway.
* It uses ncursesw when in widechar mode. This could be interesting.

GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1
Repo at: https://github.com/lichray/nvi2

Obtained from: Zhihao Yuan <lichray@gmail.com>


254213 11-Aug-2013 peter

Bootstrap svn:mergeinfo as of the 2008 run of cvs2svn.


250667 15-May-2013 jh

Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.h
O_DIRECTORY flag.

PR: bin/173924
Obtained from: git://repo.or.cz/nvi.git


246874 16-Feb-2013 dim

Fix two instances of undefined behaviour in contrib/nvi.

Found by: clang ToT
Obtained from: NetBSD
Reviewed by: jh
MFC after: 3 days


208612 28-May-2010 jh

Fixes from NetBSD for nvi visual mode:

- Fix handling of ^@ when reading an ex command. Don't try to replay
the previous input.
- Fix handling of ^C in insert mode and when reading an ex command.
Repeating an interrupted input could cause a crash and interrupting
ex command input could cause a file corruption.
- Fix a bug which causes crashes in file name completion when a file
name is longer than the screen width.
- When an error occurs in v_txt(), leave the input mode.

PR: bin/21089, bin/136393
Obtained from: NetBSD


208611 28-May-2010 jh

Fix misspelling of "substitution".

PR: bin/130874
Submitted by: Yoshihiro Ota


170371 06-Jun-2007 rafan

- Sort the headers per style(9)

Reminded by: yar
Approved by: delphij (mentor, implicit)


170356 06-Jun-2007 rafan

- Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing
header <term.h>, which is required by both tputs() and tgoto().

Without this header, nvi crashes with the call to tputs() at line 114.
This is because the first argument of tputs() is a pointer, and the
returned pointer from tgoto() is casted to an integer by compiler.

For some reasons, this only crashes on amd64+CURRENT. On 6.x system,
this does not happen.

PR: 101248
Reported by: yar, infofarmer, Roland Smith
Tested by: infofarmer, delphij, rafan
Approved by: delphij (mentor)


149196 17-Aug-2005 cperciva

Remove the dates from these files. They serve no purpose and result in
these files spuriously changing each time they are built.

Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.


116731 23-Jun-2003 ache

Remove ru_SU, we don't need it in favour to ru_RU

Submitted by: ru


116730 23-Jun-2003 ache

Copy ru_SU spelling fixes to ru_RU

Submitted by: ru


112012 08-Mar-2003 jdp

Fixes for the Russian translations of the messages.

PR: bin/48035, bin/48036
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>
Reviewed by: ache
MFC after: 4 weeks


90026 31-Jan-2002 sheldonh

Merge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlock


90023 31-Jan-2002 sheldonh

Merge rev 1.1.1.2 from the vendor branch: fix leftright scrolling for
long lines


90022 31-Jan-2002 sheldonh

Add $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from the
vendor branch. This file was taken off the vendor branch in 1998,
before we started enforcing the presence of CVS Id tags. :-(


90020 31-Jan-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r90019,
which included commits to RCS files with non-trunk default branches.


89011 07-Jan-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r89010,
which included commits to RCS files with non-trunk default branches.


86201 09-Nov-2001 rwatson

o nvi failed to correctly handle EINTR returned from tcsetattr(), exiting
instead of recovering, which happens in particular during a rapid series
of SIGWINCH's. This change forces nvi to loop on the call in the event
that the call is interrupted.

Interestingly, I submitted this bug report in 1998, and a solution was
posted shortly thereafter by Matthias Buelow; it's been sitting in the
PR database ever since.

Note: this takes this file off the vendor branch. If and when we find
a vendor for this code, the fix should be given back to them.

PR: bin/8438
Submitted by: Matthias Buelow <mkb@altair.mayn.de>
MFC after: 1 month


85526 26-Oct-2001 jkh

Close buffer overflow noted in security advisory DSA-085.
Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from: Debian


79950 19-Jul-2001 dd

Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)
(ironically, the assumption is in a code block which is conditional on its
converse). This isn't strictly the correct fix; it's more of a workaround
to prevent an infinite loop. The correct fix (see
ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off
the vendor branch, but since the result for this version of nvi is
identical, this route was elected.

PR: 28687
Approved by: -developers


79444 09-Jul-2001 obrien

It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own.
So lets stop that nonsense and allow `w!' to do something useful.

Submitted by: green


75583 17-Apr-2001 sobomax

Update/improve Ukrainian translation.

Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)


70641 03-Jan-2001 ben

more(3) -> more(1), and add $FreeBSD$

PR: 24033
Submitted by: Rich Morin <rdm@cfcl.com>


69483 01-Dec-2000 ru

This commit was generated by cvs2svn to compensate for changes in r69482,
which included commits to RCS files with non-trunk default branches.


69474 01-Dec-2000 sheldonh

Catch up to perl-5.6.0.


64961 22-Aug-2000 phantom

Ukrainian message catalogs for vi.

Submitted by: Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>


55738 10-Jan-2000 kris

10 X's in mkstemp().


51347 17-Sep-1999 jmas

Re-encode spanish messages using ISO-8859-1.
Patches also sent to bostic@bostic.com.

PR: bin/5966
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>


51277 14-Sep-1999 ru

Fix a coredump when commands in ~/.exrc prepended with addresses.

PR: 13000


50142 22-Aug-1999 hoek

Fix potential buffer overflow when using gtags.

Submitted by: Shigio Yamaguchi [3]shigio@wafu.netgate.net (gtags author)
PR: bin/7607


49457 06-Aug-1999 brian

Set the close-on-exec flag when we lock the file we're editing.
This prevents any background sub-command executed from inheriting
the descriptor & lock (and making vi think that someone else is
editing the file when it re-edits).

Remembered from: An OpenBSD commit message from May '99


45257 03-Apr-1999 bde

Fixed printf format errors.


41839 16-Dec-1998 peter

Make this work with the perl5 in the source tree - the API has "evolved"
and some code glitches had to be fixed.


38022 02-Aug-1998 bde

Fixed printf format errors.


29728 22-Sep-1997 wosch

Polish message catalogs for vi.

Submitted by: abial@warman.org.pl
PR: 4522


29561 18-Sep-1997 charnier

Typo: environmental variable -> environment variable.


29329 13-Sep-1997 wosch

spelling corrections.

PR: docs/4450
Submitted by: josh@quick.net


25011 18-Apr-1997 jkh

Enable GLOBAL tags support for nvi.
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>


21824 17-Jan-1997 joerg

Everyone's favorite: finally bump vi's escapetime.

Closes bin/2510: vi escape keys over slow... (and i think yet another one)

Submitted by: kargl@troutmask.apl.washington.edu (Steven G. Kargl)


21100 30-Dec-1996 peter

Bump default escapetime from 1 (ie: 100ms) to 3 (ie: 300ms). Hopefully
this will make it less likely to misinterpret arrow keys as seperate
keys when running over anything slower than a console.

This has been talked about for a while, I hope it's long enough but not
too long to be annoying.


19970 26-Nov-1996 ache

More fixes to Russian catalog

Should go to 2.2
(wrong number of % formatting found in old version)


19960 25-Nov-1996 joerg

Update the French message catalog to use ISO 8859-1 instead of IBM437
characters.

2.2 candidate.

Submitted by: roberto@keltia.freenix.fr (Ollivier Robert)


19439 06-Nov-1996 ache

Restore 8bit stripped down in all lines
Without this change all messages looks very funny

2.2 candidate


19305 01-Nov-1996 peter

This commit was generated by cvs2svn to compensate for changes in r19304,
which included commits to RCS files with non-trunk default branches.