1
0
Fork 0
mirror of git://repo.or.cz/nvi.git synced 2026-05-26 23:07:54 +02:00
The Berkeley Vi Editor
Find a file
Sven Verdoolaege 8e8d24e682 file_spath: detect errors during stat
The function file_spath used stat() to check whether a file exists, but
it incorrectly treated any error return as indicating the file does not
exist while there could be other reasons for stat() to fail.
In particular, this can occur on LFS systems when a file is larger than 2GB.

Reported-by: hesso@pool.math.tu-berlin.de
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
2026-04-04 17:49:00 +02:00
build.unix add some notes on Solaris 2001-08-20 15:32:42 +00:00
catalog fix some error messages 2001-08-18 21:51:59 +00:00
cl cl_main.c: free GO_TERM memory allocation 2026-02-08 15:54:11 +01:00
clib add iswblank 2001-10-11 19:22:29 +00:00
common file_spath: detect errors during stat 2026-04-04 17:49:00 +02:00
db.1.85 db.1.85: fix return from hcreate 2024-09-01 16:57:49 +02:00
dist dist: automatically generate options_def.h file 2026-04-04 17:30:33 +02:00
docs fix typo in documentation 2024-08-31 16:12:07 +02:00
ex ex_comm_search: avoid potential buffer overflow 2026-02-08 15:58:37 +01:00
gtk remove v_strset 2001-06-25 15:48:44 +00:00
include include config.h from compat.h 2024-09-08 15:43:34 +02:00
ip ip_main.c: free GO_TERM memory allocation 2026-02-08 15:55:39 +01:00
ipc only allow literal search if REG_NOSPEC is available 2026-02-08 15:38:41 +01:00
motif alternative for avoiding LOCK_SUCCESS conflict 2003-11-05 17:09:57 +00:00
motif_l only allow literal search if REG_NOSPEC is available 2026-02-08 15:38:41 +01:00
perl_api perl: remove conflicting re_compile define 2016-10-22 21:27:06 +02:00
perl_scripts display tag message 2000-07-12 12:23:29 +00:00
regex regex: fix test for deciding whether to use smatcher or lmatcher 2013-06-19 23:12:33 +02:00
tcl_api tcl support compiles again 2001-08-24 12:17:26 +00:00
tcl_scripts new procedure from From: George Neville-Neil <gnn@wrs.com> 1996-04-29 12:31:35 +00:00
tests/ex ex_comm_search: avoid potential buffer overflow 2026-02-08 15:58:37 +01:00
vi consistently convert db_recno_t values to u_long for snprintf 2024-09-14 09:44:07 +02:00
.gitignore introduce simple testing infrastructure 2024-12-28 14:50:01 +01:00
Changes nvi 1.81.6 2007-11-18 17:41:42 +01:00
LICENSE Update the license: we're going to standard BSD, copyright UC Berkeley, 2000-08-18 14:58:41 +00:00
README long overdue documentation changes 2001-04-30 09:31:12 +00:00
README.1st correct web site pointer 2001-06-03 20:00:37 +00:00
README.DB3 typo 2001-07-29 19:04:32 +00:00
TODO checkpoint 1997-04-12 15:53:31 +00:00

#	$Id: README,v 8.153 2001/04/30 09:31:12 skimo Exp $ (Berkeley) $Date: 2001/04/30 09:31:12 $

This is version 1.80 (%H%) of nex/nvi, a reimplementation of the ex/vi
text editors originally distributed as part of the Fourth Berkeley
Software Distribution (4BSD), by the University of California, Berkeley.

The directory layout is as follows:

    LICENSE ....... Copyright, use and redistribution information.
    README ........ This file.
    build.unix .... UNIX build directory.
    catalog ....... Message catalogs; see catalog/README.
    cl ............ Vi interface to the curses(3) library.
    clib .......... C library replacement source code.
    common ........ Code shared by ex and vi.
    db ............ A stripped-down, replacement db(3) library.
    dist .......... Various files used to build the vi distribution.
    docs .......... Ex/vi documentation, both current and historic.
    docs/README ... Documentation overview.
    docs/edit ..... Edit: A tutorial.
    docs/exref .... Ex Reference Manual -- Version 3.7.
    docs/vi.man ... UNIX manual page for nex/nvi.
    docs/vi.ref ... Nex/nvi reference manual.
    docs/vitut .... An Introduction to Display Editing with Vi.
    ex ............ Ex source code.
    gtk ........... Vi gtk application.
    include ....... Replacement include files.
    ip ............ Library interface to vi: vi side.
    ipc ........... Library interface to vi: application side.
    motif ......... Vi motif application.
    motif_l ....... Motif library interface to vi.
    perl_api ...... Perl scripting language support.
    perl_scripts .. Perl scripts.
    regex ......... POSIX 1003.2 regular expression library.
    tcl_api ....... Tcl scripting language support.
    tcl_scripts ... Tcl scripts.
    vi ............ Vi source code.

To build DB for a UNIX platform:

    cd build.unix
    ../dist/configure
    make

To build multiple UNIX versions of DB in the same source tree, create
a new directory then configure and build.

    mkdir build.bsdos3.0
    cd build.bsdos3.0
    ../dist/configure
    make

For additional information about building DB for UNIX platforms, the
description of possible configuration options and other information
on DB configuration and build issues, see the file build.unix/README.
	
Bug fixes and updated versions of this software will periodically be made
available.  For more information, as well as a list of Frequently Asked
Questions, see:

	http://www.bostic.com/vi

To ask questions about vi, report vi problems, request notification of
future releases and/or bug fixes, or to contact the authors for any
reason, please send email to:

	bostic@bostic.com

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
o This software is several years old and is the product of many folks' work.  

	This software was originally derived from software contributed to
	the University of California, Berkeley by Steve Kirkendall, the
	author of the vi clone elvis.  Without his work, this work would
	have been far more difficult.

	IEEE POSIX 1003.2 style regular expression support is courtesy of
	Henry Spencer, for which I am *very* grateful.

	Elan Amir did the original 4BSD curses work that made it possible
	to support a full-screen editor using curses.

	George Neville-Neil added the Tcl interpreter, and the initial
	interpreter design was his.

	Sven Verdoolaege added the Perl interpreter.

	Rob Mayoff provided the original Cscope support.

o Many, many people suggested enhancements, and provided bug reports and
  testing, far too many to individually thank.

o From the original vi acknowledgements, by William Joy and Mark Horton:

	Bruce Englar encouraged the early development of this display
	editor.  Peter Kessler helped bring sanity to version 2's
	command layout.  Bill Joy wrote versions 1 and 2.0 through 2.7,
	and created the framework that users see in the present editor.
	Mark Horton added macros and other features and made the editor
	work on a large number of terminals and Unix systems.

o And...
	The financial support of UUNET Communications Services is gratefully
	acknowledged.