Jaakko Heinonen
29c4b7861b
Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.h
...
O_DIRECTORY flag.
PR: bin/173924
Obtained from: git://repo.or.cz/nvi.git
2013-05-15 18:41:49 +00:00
Jordan K. Hubbard
3f2d9117d4
Close buffer overflow noted in security advisory DSA-085.
...
Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from: Debian
2001-10-26 08:25:32 +00:00
David E. O'Brien
fbd7787b32
It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own.
...
So lets stop that nonsense and allow `w!' to do something useful.
Submitted by: green
2001-07-09 04:11:33 +00:00
Kris Kennaway
4f38e89827
10 X's in mkstemp().
2000-01-10 09:17:46 +00:00
Brian Somers
2e4e1ffe62
Set the close-on-exec flag when we lock the file we're editing.
...
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
1999-08-06 08:34:42 +00:00
Bruce Evans
52f07e4286
Fixed printf format errors.
1999-04-03 06:58:32 +00:00
Bruce Evans
c513aafea1
Fixed printf format errors.
1998-08-02 15:18:45 +00:00
Jordan K. Hubbard
e56a720515
Enable GLOBAL tags support for nvi.
...
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-18 23:36:52 +00:00
Joerg Wunsch
ac8fc3346d
Everyone's favorite: finally bump vi's escapetime.
...
Closes bin/2510: vi escape keys over slow... (and i think yet another one)
Submitted by: kargl@troutmask.apl.washington.edu (Steven G. Kargl)
1997-01-17 23:10:58 +00:00
Peter Wemm
51ce9de0e7
Bump default escapetime from 1 (ie: 100ms) to 3 (ie: 300ms). Hopefully
...
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.
1996-12-30 15:51:51 +00:00
Peter Wemm
b8ba871bd9
Import of nvi-1.79, minus a few bits that we dont need (eg: postscript
...
files, curses, db, regex etc that we already have). The other glue will
follow shortly.
Obtained from: Keith Bostic <bostic@bostic.com>
1996-11-01 06:45:43 +00:00