History log of /freebsd-current/contrib/nvi/common/exf.c
Revision Date Author Comments
# 1a176e87 22-Jun-2020 Yuri Pankov <yuripv@FreeBSD.org>

Revert r362148.

Breaks UTF-8 input for new or having only 7bit characters present files.

Reported by: glebius


# 38f168e1 13-Jun-2020 Yuri Pankov <yuripv@FreeBSD.org>

nvi: fallback to ISO8859-1 as last resort

Current logic of using user's locale encoding that is UTF-8 doesn't make
much sense if we already failed the looks_utf8() check and skipped
encoding set using "fileencoding" as being UTF-8 as well; fallback to
ISO8859-1 in that case.

Reviewed by: Zhihao Yuan <lichray@gmail.com>
Differential Revision: https://reviews.freebsd.org/D24919


# 29c4b786 15-May-2013 Jaakko Heinonen <jh@FreeBSD.org>

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


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 3f2d9117 26-Oct-2001 Jordan K. Hubbard <jkh@FreeBSD.org>

Close buffer overflow noted in security advisory DSA-085.
Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from: Debian


# fbd7787b 08-Jul-2001 David E. O'Brien <obrien@FreeBSD.org>

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


# 4f38e898 10-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

10 X's in mkstemp().


# 2e4e1ffe 06-Aug-1999 Brian Somers <brian@FreeBSD.org>

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


# b8ba871b 31-Oct-1996 Peter Wemm <peter@FreeBSD.org>

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>