summaryrefslogtreecommitdiff
path: root/usr.bin/vi
AgeCommit message (Collapse)Author
2000-04-21Remove the races so that this is safe to run anytime. We openTodd C. Miller
/var/tmp/vi.recover to get an fd and user O_NOFOLLOW to following a symlink. Once we have a file handle we can use it to safely chdir to the right place and form then on do operations relative to ".". Also restrict to root.
2000-04-20If recover dir is not owned by root, chown it. If the mode is notTodd C. Miller
01777, fix that too. This is safe because the script is run before user processes start.
2000-03-09Pull in fnctl modeul so we are sure to get O_* for sysopen().Todd C. Miller
2000-01-22Some minor doc updates that should have gotten commited ages ago.Todd C. Miller
2000-01-20Use sysopen() when opening recover files. This is purely paranoiaTodd C. Miller
since we check that the filename matches '^recover' and hence the first character cannot play games with perl's magic open().
1999-11-26o Update README files etc. from nvi-1.79 so they have the correct infoTodd C. Miller
o make port.h empty since we there is nothing we lack o include <sys/param.h>, not <sys/types.h> in files that use MIN/MAX macros o add perl api support since we have libperl (off by default)
1999-10-11Rewrite in perl for safety and paranoia. It might have been possibleTodd C. Miller
to play tricks with filesnames that include spaces.
1999-07-10Fix a SEGV after you HUP vi; dean@netbsd.orgTodd C. Miller
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-05-29MLINKS, not MLINKAaron Campbell
1999-05-24set the close-on-exec flag for newly opened filesDavid Leonard
Reason: vi uses flock to help you notice when you are already editing a file. But, when using :shell or :! the fdesc for the locked file is inherited by the subprocess. This means that if you (say) do a :!xterm& and then quit vi, the fdesc is kept open by the xterm and the lock is never released. future vi's on that file will then complain. I sent this off to bostic.com a long time ago but have as yet heard nothing.
1999-03-10fix comma splices involving 'however'Paul Janzen
1999-03-06back out changes that should not have escaped my local treeTodd C. Miller
1999-03-06add missing reference to infocmpTodd C. Miller
1999-03-03better grammar for err msgAaron Campbell
1999-02-08Don't call curses routines beep() or flash() if the screen has not beenTodd C. Miller
setup yet (as they will try to us SP which is NULL at this point).
1998-07-24Man pages Xrefs.Marc Espie
1998-07-24-D_USE_OLD_CURSE_ for -locurses and no more -ltermlib/termcapTodd C. Miller
1998-06-23Fix snprintf return value usage.Todd C. Miller
1998-04-25fix relative tags in vi; Frank Mayhar <frank@exit.com>Todd C. Miller
1997-09-24no, use new curses so that the build process works. reevaluate this laterTheo de Raadt
1997-09-23Make building with ocurses/termcap and curses/termlib conditional onJason Downs
USE_OCURSES being defined, and define it for now. This switches nvi back to use BSD curses.
1997-09-21$OpenBSD$Theo de Raadt
1997-08-24Check for >= UINT_MAX not > UINT_MAXTodd C. Miller
1997-08-2464bit fix wrt strtoul(3). Fix send to Keith.Todd C. Miller
1997-07-27move recover script ala 1.79.Jason Downs
1997-07-27syncJason Downs
1997-07-27Update to 1.79 and install as vi/ex/view.Jason Downs
1997-07-21Get rid of compilation warnings.Angelos D. Keromytis
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-16*** empty log message ***michaels
1996-10-16namechange.michaels
1996-10-16nvi 1.78:michaels
+ Fix bugs when both the leftright scrolling and number edit options were on. + Fix bug where splitting in the middle of the screen could repaint incorrectly. + Fix first-nul in input bug, where random garbage was inserted. + Correct search and mark-as-motion-command bug, it's a line mode action if the search starts at or before the first non<blank>. + Fix bug autoindent bug, where ^D could shift too far in the line. + Fix core dump where ! command called from the .exrc file. + Add the -S command-line option, which initializes vi to have the secure edit option preset.
1996-09-22vi -> nvi, ex -> nexJason Downs
1996-09-17nvi 1.76:michaels
+ Fix bug where ^V didn't keep input mapping from happening. + Fix a core dump bug in the R command. + Give up on licensing: no more shareware, adware, whatever. + Fix cursor positioning bug for C, S and c$ in an empty file.
1996-08-23nvi 1.75michaels
1996-08-20nvi 1.74michaels
1996-08-16nvi 1.73michaels
1996-07-28missed changes.Michael Shalayeff
copyright changed.
1996-07-27do not build docsTheo de Raadt
1996-07-24bring vi/ex up to 1.71Michael Shalayeff
1996-07-16sendmail is in /usr/sbinccappuc
1996-06-18vi fixes from bosticTheo de Raadt
1996-06-03'make install' works nowMichael Shalayeff
1996-06-02We have a modern curses implementation now; enable its useThorsten Lockert
1996-06-02Always use -ltermlib when linking with -lcursesThorsten Lockert
Be consistent in use of LIBTERMCAP and LIBTERMLIB when depending
1996-05-28syncTheo de Raadt
1996-05-28syncTheo de Raadt
1996-05-28Install catalog files under ${DESTDIR}, and createdm
${DESTDIR}/usr/share/vi/catalog.
1996-05-22new viTheo de Raadt