summaryrefslogtreecommitdiff
path: root/usr.bin/vi
AgeCommit message (Expand)Author
2009-06-10Use poll() instead of select(). The sscr_check_input() bit isTodd C. Miller
2009-06-02If the read from the tty fails with EAGAIN, pop back up to the select.Todd C. Miller
2009-04-27It's called `msgcat', not `mesgcat'.Michael Knudsen
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
2009-02-01Move variable declarations around to compile with gcc 2Miod Vallat
2009-01-28remove undocumented support for "-e" in ex(1).Igor Sobrado
2009-01-28ex(1), vi(1), and view(1) have different synopses; each nex/nvi utilityIgor Sobrado
2008-09-25do not hardcode the editor name in the message displayed by "-r"Igor Sobrado
2008-08-29Fix nvi's cscope support in the case that someone provided a filenameOwain Ainsworth
2008-06-12remove superfluous "usage:" from v_estr().Igor Sobrado
2008-03-28- minor ansificationJasper Lievisse Adriaanse
2008-03-08avoid inifite recursion on certain error conditions; from netbsd;Otto Moerbeek
2008-03-08fix vs_columns() for the "set nu" case. avoids segfaults for very longOtto Moerbeek
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
2007-09-14remove some warnings:Charles Longeau
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
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
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
2007-05-14use sys/queue macros instead of accessing fields directly.Pierre-Yves Ritschard
2007-03-27Catch OOB access for tag searches mathching lines ending with \Otto Moerbeek
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2006-12-21Fix !command piping by Alexander Bluhm in PR 5325. Tested by quite aOtto Moerbeek
2006-12-11rfc 3834 support: Auto-Submitted: auto-generated on lots of things; from Tama...Theo de Raadt
2006-07-07Don't add space for line numbers twice.Ray Lai
2006-06-18Fix memleak; From Coverity Scan, CID 3135.Jasper Lievisse Adriaanse
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
2006-04-28ensure NUL termination after read(); ok rayJared Yanovich
2006-04-22Removes unused variables and rename variables shadowing externalRay Lai
2006-03-20if we're in visual mode reading a command, check the termination valuePeter Valchev
2006-03-15Handle ^C correctly, morph it to escape key so the inputPeter Valchev
2006-03-11Fixes the `optindx' might be used uninitialized in this functionRay Lai
2006-03-11Silence 2 warnings.Ray Lai
2006-03-11Silence 39 warnings.Ray Lai
2006-03-11Silence uninitialized variable warning.Ray Lai
2006-03-11Make FLUSH macro more function-like, so there are no hidden surprises.Ray Lai
2006-03-11Initialize p to NULL to prevent gcc warning.Ray Lai
2006-03-04the theMiod Vallat
2006-02-17Fix use after free. Problem hunted down by wilfried@; ok fgsch@Otto Moerbeek
2006-01-08Remove unused NADD_USLONG macro, and remove unused sp argument from NADD_SLONG;Miod Vallat
2006-01-08Fix one more uninitialized variable scenario; from Ray Lai.Miod Vallat
2006-01-08Make sure we can exit from a loop in v_key_init() regardless of the localeMiod Vallat
2006-01-08Appease gcc 3 and the C gods by fixing a couple of undefined statements;Miod Vallat
2006-01-08Explicit braces around macro fields and logical operations, gets rid of 148Miod Vallat
2005-10-17Use queue macros instead of directly accessing fields. ok pat@ "put itOtto Moerbeek