summaryrefslogtreecommitdiff
path: root/usr.bin/vi
AgeCommit message (Collapse)Author
2010-10-18remove references to now removed usd/psd/smm docs;Jason McIntyre
2010-10-17Stop installing me(1) and ms(1) source code.Ingo Schwarze
We will soon get rid of groff in base, so there is no longer any way to use these files with base. No opposition on tech@.
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
2010-09-24add a little padding to make SYNOPSIS line up nicely;Jason McIntyre
2010-07-25^U scrolls backwards, not forwards; from marrob at lavabit comJason McIntyre
2010-07-18remove some nasty hacks;Jason McIntyre
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,Ingo Schwarze
who asked me to commit because he is just running out of the door.
2010-05-29subsitution -> substitution;Jason McIntyre
from Yoshihiro Ota, freebsd pr bin/130874
2009-11-22Fix for flash defaulting to off, pointed out by jmc.Nicholas Marriott
2009-11-22Change the flash option to be off by default. Now that xterm has the flashNicholas Marriott
capability in terminfo, vi was using it instead of beeping, but it is too slow for some machines. ok deraadt
2009-11-15do not leak a lot of memory if a small memory allocation fails, found byTheo de Raadt
parfait ok kettenis guenther
2009-11-14fix leaks in error paths found by parfaitJonathan Gray
ok deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-20ex(1) and vi(1) are different editors. diff based on the originalIgor Sobrado
printed edition of the User's Reference Manual from USENIX and O'Reilly. 4.4BSD had exactly this, that is much more accurate than our current description (while here, Jason observed that both FreeBSD and NetBSD do the same). tweaked by jmc@ ok jmc@
2009-06-10Use poll() instead of select(). The sscr_check_input() bit isTodd C. Miller
adapted from nvi 1.81. Tested by several people during the hackathon.
2009-06-02If the read from the tty fails with EAGAIN, pop back up to the select.Todd C. Miller
Seems to happen occasionally even though select reported the fd is ready. OK ray@
2009-04-27It's called `msgcat', not `mesgcat'.Michael Knudsen
speedy ok millert
2009-04-19fix tagnext and tagprev; from patrick keshishianJason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-02-01Move variable declarations around to compile with gcc 2Miod Vallat
2009-01-28remove undocumented support for "-e" in ex(1).Igor Sobrado
millert@ says that neither 4.4BSD nor Solaris ex(1) accept this flag, so it is safe to reject it too. ok jsing@
2009-01-28ex(1), vi(1), and view(1) have different synopses; each nex/nvi utilityIgor Sobrado
should manage the right set of options and return an appropriate usage when required. jsing@ has suggested preserving "-e" in ex(1) as an undocumented compatibility flag to avoid breaking silly scripts that may use this option with the line-oriented editor. diff sent upstream to nex/nvi maintainers. ok ("put it in!") jsing@
2008-09-25do not hardcode the editor name in the message displayed by "-r"Igor Sobrado
when there are no files to recover as this flag is used by ex(1) and view(1) too. problem found by jsing@, Sven Verdoolaege did some suggestions to improve its portability. diff committed upstream. ok jsing@
2008-08-29Fix nvi's cscope support in the case that someone provided a filenameOwain Ainsworth
without a directory (e.g. :cscope add cscope.out). Found and fixed by Paul Irofti, with help from me; Thanks! upstream nvi also has this fix. ok otto@.
2008-06-12remove superfluous "usage:" from v_estr().Igor Sobrado
ok millert@
2008-03-28- minor ansificationJasper Lievisse Adriaanse
from Gleydson Soares ok otto@
2008-03-08avoid inifite recursion on certain error conditions; from netbsd;Otto Moerbeek
ok millert@
2008-03-08fix vs_columns() for the "set nu" case. avoids segfaults for very longOtto Moerbeek
lines containing tabs; from Nathan Houghton; ok millert@
2008-03-04fix ifdef DEBUG code; ok krw@ deraadt@Otto Moerbeek
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-07-26Add the correct file descriptor to rdfd when cycling throughTodd C. Miller
the list of scripting windows. Appears to be a cut and paste error. OK deraadt@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-05-14use sys/queue macros instead of accessing fields directly.Pierre-Yves Ritschard
no binary change. ok krw@
2007-03-27Catch OOB access for tag searches mathching lines ending with \Otto Moerbeek
From patrick keshishian with a twist by me. ok thib@
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2006-12-21Fix !command piping by Alexander Bluhm in PR 5325. Tested by quite aOtto Moerbeek
few on tech@.
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from ↵Theo de Raadt
Tamas TEVESZ; ok millert
2006-07-07Don't add space for line numbers twice.Ray Lai
OK otto@
2006-06-18Fix memleak; From Coverity Scan, CID 3135.Jasper Lievisse Adriaanse
From simonb NetBSD ok naddy@, otto@
2006-05-30avoid double fclose(), from coverity/NetBSD; ok ottoPeter Valchev
2006-05-21Backport fix from nvi 1.81.5: do not go into loop if :set number andOtto Moerbeek
:set leftright and the cursor moves to an empty line; PR 3154; ok beck@
2006-04-28ensure NUL termination after read(); ok rayJared Yanovich
2006-04-22Removes unused variables and rename variables shadowing externalRay Lai
variables. No binary change. Found by lint. OK otto@ and jaredy@
2006-03-20if we're in visual mode reading a command, check the termination valuePeter Valchev
of v_tcmd() and bail if it's not TERM_OK as opposed to in a more specific case. this is based on the NetBSD ^C fix but after discussion with otto@. while it did not affect the specific crash it is more correct.
2006-03-15Handle ^C correctly, morph it to escape key so the inputPeter Valchev
is correctly finished for a potential replay; if not, simply bail out and notify that something wrong occurs. Callers will cope. Consistent with what vim and Solaris vi do. Fixes a crash described in NetBSD PR11544, fixed by aymeric ok otto ray