summaryrefslogtreecommitdiffstats
path: root/contrib/nvi
Commit message (Collapse)AuthorAgeFilesLines
* Fixes from NetBSD for nvi visual mode:jh2010-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
* Fix misspelling of "substitution".jh2010-05-282-2/+2
| | | | | PR: bin/130874 Submitted by: Yoshihiro Ota
* - Sort the headers per style(9)rafan2007-06-061-1/+1
| | | | | Reminded by: yar Approved by: delphij (mentor, implicit)
* - Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missingrafan2007-06-061-0/+1
| | | | | | | | | | | | | | | | 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)
* Remove the dates from these files. They serve no purpose and result incperciva2005-08-171-1/+1
| | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
* Remove ru_SU, we don't need it in favour to ru_RUache2003-06-234-651/+0
| | | | Submitted by: ru
* Copy ru_SU spelling fixes to ru_RUache2003-06-233-9/+9
| | | | Submitted by: ru
* Fixes for the Russian translations of the messages.jdp2003-03-082-8/+8
| | | | | | | PR: bin/48035, bin/48036 Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru> Reviewed by: ache MFC after: 4 weeks
* Merge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlocksheldonh2002-01-311-8/+9
|
* Merge rev 1.1.1.2 from the vendor branch: fix leftright scrolling forsheldonh2002-01-311-1/+4
| | | | long lines
* Add $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from thesheldonh2002-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. :-(
* This commit was generated by cvs2svn to compensate for changes in r90019,sheldonh2002-01-311-2/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix core dump in left-right screen scrolling for long lines.sheldonh2002-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
* | This commit was generated by cvs2svn to compensate for changes in r89010,sheldonh2002-01-071-8/+12
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import patch from vendor (taken from nvi-1.81.5) that fixes problematicsheldonh2002-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
* | o nvi failed to correctly handle EINTR returned from tcsetattr(), exitingrwatson2001-11-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Close buffer overflow noted in security advisory DSA-085.jkh2001-10-261-1/+1
| | | | | | | | | | Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org> Obtained from: Debian
* | Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)dd2001-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
* | It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own.obrien2001-07-091-0/+29
| | | | | | | | | | | | So lets stop that nonsense and allow `w!' to do something useful. Submitted by: green
* | Update/improve Ukrainian translation.sobomax2001-04-172-580/+580
| | | | | | | | Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)
* | more(3) -> more(1), and add $FreeBSD$ben2001-01-031-1/+2
| | | | | | | | | | PR: 24033 Submitted by: Rich Morin <rdm@cfcl.com>
* | This commit was generated by cvs2svn to compensate for changes in r69482,ru2000-12-012-0/+2
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Follow POLA and bind the <End> key to the `$' command.ru2000-12-012-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is committed to the vendor (BOSTIC) branch because it was accepted (committed) by ``nvi'' maintainers: On Fri, Dec 01, 2000 at 03:51:14PM +0100, Sven Verdoolaege wrote: [...] > RCS file: /b/CVSROOT/vi/cl/cl_bsd.c,v > Working file: cl_bsd.c > head: 8.32 > branch: > locks: strict > access list: > symbolic names: > nvi1-81-1: 8.31 > nvi1-81-0: 8.30 > nvi1-80: 8.29.0.2 > keyword substitution: kv > total revisions: 32; selected revisions: 1 > description: > ---------------------------- > revision 8.32 > date: 2000/12/01 13:56:17; author: skimo; state: Exp; lines: +2 -1 > allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>) > ============================================================================= > > RCS file: /b/CVSROOT/vi/cl/cl_term.c,v > Working file: cl_term.c > head: 10.28 > branch: > locks: strict > access list: > symbolic names: > nvi1-81-1: 10.27 > nvi1-81-0: 10.23 > nvi1-80: 10.23.0.2 > keyword substitution: kv > total revisions: 47; selected revisions: 1 > description: > ---------------------------- > revision 10.28 > date: 2000/12/01 13:56:18; author: skimo; state: Exp; lines: +2 -1 > allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
* | Catch up to perl-5.6.0.sheldonh2000-12-011-14/+16
| |
* | Ukrainian message catalogs for vi.phantom2000-08-223-0/+625
| | | | | | | | Submitted by: Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>
* | 10 X's in mkstemp().kris2000-01-101-1/+6
| |
* | Re-encode spanish messages using ISO-8859-1.jmas1999-09-173-324/+324
| | | | | | | | | | | | | | Patches also sent to bostic@bostic.com. PR: bin/5966 Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
* | Fix a coredump when commands in ~/.exrc prepended with addresses.ru1999-09-141-1/+3
| | | | | | | | PR: 13000
* | Fix potential buffer overflow when using gtags.hoek1999-08-221-25/+35
| | | | | | | | | | Submitted by: Shigio Yamaguchi [3]shigio@wafu.netgate.net (gtags author) PR: bin/7607
* | Set the close-on-exec flag when we lock the file we're editing.brian1999-08-061-3/+10
| | | | | | | | | | | | | | | | 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
* | Fixed printf format errors.bde1999-04-031-3/+4
| |
* | Make this work with the perl5 in the source tree - the API has "evolved"peter1998-12-162-3/+7
| | | | | | | | and some code glitches had to be fixed.
* | Fixed printf format errors.bde1998-08-025-9/+13
| |
* | Polish message catalogs for vi.wosch1997-09-225-2/+662
| | | | | | | | | | Submitted by: abial@warman.org.pl PR: 4522
* | Typo: environmental variable -> environment variable.charnier1997-09-181-5/+5
| |
* | spelling corrections.wosch1997-09-131-1/+1
| | | | | | | | | | PR: docs/4450 Submitted by: josh@quick.net
* | Enable GLOBAL tags support for nvi.jkh1997-04-1811-94/+292
| | | | | | | | Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
* | Everyone's favorite: finally bump vi's escapetime.joerg1997-01-171-1/+1
| | | | | | | | | | | | Closes bin/2510: vi escape keys over slow... (and i think yet another one) Submitted by: kargl@troutmask.apl.washington.edu (Steven G. Kargl)
* | Bump default escapetime from 1 (ie: 100ms) to 3 (ie: 300ms). Hopefullypeter1996-12-301-1/+1
| | | | | | | | | | | | | | | | 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.
* | More fixes to Russian catalogache1996-11-268-536/+526
| | | | | | | | | | Should go to 2.2 (wrong number of % formatting found in old version)
* | Update the French message catalog to use ISO 8859-1 instead of IBM437joerg1996-11-252-459/+459
| | | | | | | | | | | | | | | | characters. 2.2 candidate. Submitted by: roberto@keltia.freenix.fr (Ollivier Robert)
* | Restore 8bit stripped down in all linesache1996-11-062-532/+532
|/ | | | | | Without this change all messages looks very funny 2.2 candidate
* Import of nvi-1.79, minus a few bits that we dont need (eg: postscriptpeter1996-11-01292-0/+98515
files, curses, db, regex etc that we already have). The other glue will follow shortly. Obtained from: Keith Bostic <bostic@bostic.com>
OpenPOWER on IntegriCloud