aboutsummaryrefslogtreecommitdiff
path: root/contrib/nvi/vi
Commit message (Collapse)AuthorAgeFilesLines
* nvi: import version 2.2.1Baptiste Daroussin2023-09-272-3/+9
|\
* | import nvi 2.2.0-3bbdfe4Baptiste Daroussin2021-05-213-148/+3
|\|
* | Update nvi to 2.2.0-05ed8b9Baptiste Daroussin2020-10-0111-32/+46
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | This version incorporates many fixes in particular a fix for vi -w Another approach was proposed to merge those fixes (see review), I find it easier to track changes if we keep importing snapshot on regular basis PR: 241985 Reported by: fernape Differential Revision: https://reviews.freebsd.org/D26158 Notes: svn path=/head/; revision=366309
* | Update nvi to 2.2.0Baptiste Daroussin2020-09-0940-256/+77
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Main changes: * 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 MFC after: 3 weeks Notes: svn path=/head/; revision=365499
* | nvi: remove superfluous space before ^\Ed Maste2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This fixes alignment in vi's 'viusage' command and has been fixed upstream and in OpenBSD. Submitted by: Raf Czlonka (github:rjc) MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd/pull/122 Notes: svn path=/head/; revision=340288
* | Update nvi to 2.1.3 which fixes the data corruption when locale conversionBaptiste Daroussin2015-04-1040-383/+367
|\| | | | | | | | | | | | | failed Notes: svn path=/head/; revision=281373
* | Merge nvi-2.1.1 -> 2.1.2Peter Wemm2013-11-112-3/+5
|\| | | | | | | Notes: svn path=/head/; revision=257999
* | Update nvi-1.79 to 2.1.1-4334a8297fPeter Wemm2013-08-1141-1405/+1626
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=254225
| * Post-cvs2svn flatten pass.Peter Wemm2013-08-1140-16677/+0
| | | | | | | | Notes: svn path=/vendor/nvi/dist/; revision=254210
| * Fix deadlock between warning display and refresh engines. This fixSheldon Hearn2002-01-311-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | is taken from nvi-1.51.5. PR: bin/3170 Reported by: fenner Obtained from: skimo@kotnet.org MFC after: 1 month Notes: svn path=/vendor/nvi/dist/; revision=90025
* | Fix two instances of undefined behaviour in contrib/nvi.Dimitry Andric2013-02-161-2/+4
| | | | | | | | | | | | | | | | | | | | Found by: clang ToT Obtained from: NetBSD Reviewed by: jh MFC after: 3 days Notes: svn path=/head/; revision=246874
* | Fixes from NetBSD for nvi visual mode:Jaakko Heinonen2010-05-282-14/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=208612
* | Merge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlockSheldon Hearn2002-01-311-8/+9
| | | | | | | | Notes: svn path=/head/; revision=90026
* | Merge rev 1.1.1.2 from the vendor branch: fix leftright scrolling forSheldon Hearn2002-01-311-1/+4
| | | | | | | | | | | | | | long lines Notes: svn path=/head/; revision=90023
* | Add $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from theSheldon Hearn2002-01-311-0/+4
| | | | | | | | | | | | | | | | vendor branch. This file was taken off the vendor branch in 1998, before we started enforcing the presence of CVS Id tags. :-( Notes: svn path=/head/; revision=90022
* | This commit was generated by cvs2svn to compensate for changes in r90019,Sheldon Hearn2002-01-311-2/+2
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=90020
| * Fix core dump in left-right screen scrolling for long lines.Sheldon Hearn2002-01-312-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nvi maintainer expects this patch to be included in the upcoming nvi-1.81.6 unless a better fix presents itself. The MFC reminder below should be taken as a cue to MFC rev 1.1.1.2 of vs_relative.c as well. PR: bin/26869 Reported by: Alex Semenyaka <alexs@snark.ratmir.ru> Obtained from: skimo@kotnet.org (via "Alexey V. Neyman" <alex.neyman@auriga.ru>) MFC after: 1 month Notes: svn path=/vendor/nvi/dist/; revision=90019
* | This commit was generated by cvs2svn to compensate for changes in r89010,Sheldon Hearn2002-01-071-8/+12
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=89011
| * Import patch from vendor (taken from nvi-1.81.5) that fixes problematicSheldon Hearn2002-01-071-8/+12
| | | | | | | | | | | | | | | | | | | | | | interaction between the leftright and number options. PR: bin/23912 Reported by: "Stephen D. Spencer" <gladiatr@boneyard.lawrence.ks.us> Obtained from: skimo@kotnet.org Notes: svn path=/vendor/nvi/dist/; revision=89010
* | Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)Dima Dorfman2001-07-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 Notes: svn path=/head/; revision=79950
* | Fixed printf format errors.Bruce Evans1998-08-022-5/+6
| | | | | | | | Notes: svn path=/head/; revision=38022
* | Enable GLOBAL tags support for nvi.Jordan K. Hubbard1997-04-181-0/+5
|/ | | | | | | Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net> Notes: svn path=/head/; revision=25011
* Import of nvi-1.79, minus a few bits that we dont need (eg: postscriptPeter Wemm1996-11-0140-0/+16669
files, curses, db, regex etc that we already have). The other glue will follow shortly. Obtained from: Keith Bostic <bostic@bostic.com> Notes: svn path=/vendor/nvi/dist/; revision=19304