summaryrefslogtreecommitdiff
path: root/usr.bin/vi
AgeCommit message (Expand)Author
2019-07-22In secure mode (-S), skip sending mail when executing the :pre[serve]Ingo Schwarze
2019-05-21Also apply stricter pledge when secure mode is set via rc file or command.Martijn van Duren
2019-01-24Fix a crash on long lines when switching to another file byTodd C. Miller
2018-09-17Use the strict pragma for better warnings.Todd C. Miller
2018-07-13Remove cscope leftover and a stray comma.Anthony J. Bentley
2018-07-13Unused variable.Kenneth R Westerback
2018-07-11Remove an old and false comment. REALLOC now free(3)s the code if reallocMartijn van Duren
2018-02-12Simplify documentation of split-screen mode, avoiding abuse of []Ingo Schwarze
2018-02-03The recover script should have the same sanity checks as recover.c.Todd C. Miller
2017-12-14Enable the awk scripts to generate ex_def.h and options_def.h.Martijn van Duren
2017-11-26Fix segfault which could be triggered by deleting a backwards sentence ifRicardo Mestre
2017-11-10When tracing is compiled in make sure it flushes its content to disk asMartijn van Duren
2017-11-10Fix a use after free when sending SIGHUP or SIGTERM to vi when in editingMartijn van Duren
2017-11-10Add rcv_openat() function that does the open, makes sure it is aTodd C. Miller
2017-11-10Avoid using system(3) when running "sendmail -t". We already haveTodd C. Miller
2017-08-22Do not treat comma as part of the command modifier.anton
2017-07-31Silence some warnings generated by clang.Martijn van Duren
2017-07-20Replace usage of strtol() with strtonum().anton
2017-07-05avoid double space caused by end-of-sentence detection; requested by jmc@Ingo Schwarze
2017-07-05nits about trailing punctuation found with mandoc -TlintIngo Schwarze
2017-07-03markup fixes;Jason McIntyre
2017-07-03Remove settings that were unimplemented for 20 years; update STANDARDS.Anthony J. Bentley
2017-06-30Add mdoc(7) macros to vi's built-in lists of roff paragraph/section macros.Anthony J. Bentley
2017-06-24Fix a check in ADD_SPACE_{GOTO,RET} that potentially allowed for aMartijn van Duren
2017-06-20Better document the :s ex command and its variants.Anthony J. Bentley
2017-06-15"10th's of a second" -> "tenths of a second"Anthony J. Bentley
2017-06-12Use openat() and unlinkat() instead of chdir()ing to the recovery dir.Todd C. Miller
2017-04-26Remove extraneous ", NULL" in the assignment of msgstr which wasTodd C. Miller
2017-04-18free(NULL) is ok so use it; from Michael W. BombardieriTheo de Raadt
2017-01-20Nuke some excess whitespace.Kenneth R Westerback
2016-12-18Use %zu/%d to print size_t/ssize_t. Cast recno_t (a.k.a. u_int32_t)Kenneth R Westerback
2016-12-18Nuke more unused variables.Kenneth R Westerback
2016-11-05Remove syscall.ph from vi.recoverAndrew Fresh
2016-09-02Fix the begin of word issue in vi(1).Martijn van Duren
2016-08-27Pull in <sys/time.h> for struct timespec and timevalPhilip Guenther
2016-08-14Kill '#if defined(DEBUG) && 0' blocks that used %qPhilip Guenther
2016-08-08/tmp and /var/tmp are the same, consistently use the former in bothIgor Sobrado
2016-08-01Remove vi's "directory" option and TMPDIR support.Anthony J. Bentley
2016-07-07biff, mesg, vi: only consider ACCESSPERMS for setting tty mode.Sebastien Marie
2016-06-29If /tmp/vi.recover doesn't exist, don't create it. Warn onceTheo Buehler
2016-05-28Test if stdin is a terminal before resetting the tty state.Martijn van Duren
2016-05-27Revert CHAR_T removal. Some signedness flaws were introduced.Martijn van Duren
2016-05-07Free memory if realloc fails. The application is most likely to terminate afterMartijn van Duren
2016-05-05Remove __sigblockset. This is a leftover after the removal of the signalMartijn van Duren
2016-05-02Remove pointless comment. getcwd(3) is safe.Martijn van Duren
2016-05-02Remove CHAR_T in favor of native types.Martijn van Duren
2016-04-20Remove pointless reenter variable.Martijn van Duren
2016-04-19Remove not implemented decliration of sscr_pty.Martijn van Duren
2016-04-19Remove some useless code.Martijn van Duren
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre