NetBSD/external/bsd/nvi/dist
rin 926200353e PR bin/55468
Fix crash due to out-of-bounds access with Ctrl-W.

PR is only for nottywerase, but also fix ttywerase case, taken from
OpenBSD via nvi2:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
5d5365d358

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.
Thanks for detailed explanation how to reproduce the problem!
2020-07-07 10:58:43 +00:00
..
build.unix
catalog One __RCSID is enough. Don't define it when building catalog as tool. 2014-01-28 20:43:55 +00:00
cl Add imctrl and imkey options, inspired by cannactrl and fepkey options in 2018-08-07 08:05:47 +00:00
clib Fix RCSID's 2014-01-26 21:43:44 +00:00
common Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
dist make configure.ac work with recent versions of autoconf 2013-11-25 23:03:18 +00:00
docs Fix unnamed/named edito. 2019-06-17 15:26:09 +00:00
ex Use wp and wlen instead of ip and ilen for consistency. 2018-08-07 11:41:23 +00:00
gtk
ip Add imctrl and imkey options, inspired by cannactrl and fepkey options in 2018-08-07 08:05:47 +00:00
ipc Fix RCSID's 2014-01-26 21:43:44 +00:00
motif Fix RCSID's 2014-01-26 21:43:44 +00:00
motif_l Fix RCSID's 2014-01-26 21:43:44 +00:00
perl_api Fix RCSID's 2014-01-26 21:43:44 +00:00
perl_scripts
regex PR/52671: Ralph Geier, return the wide character when changing case (because 2017-11-12 16:33:31 +00:00
tcl_api Fix RCSID's 2014-01-26 21:43:44 +00:00
tcl_scripts
vi PR bin/55468 2020-07-07 10:58:43 +00:00
Changes
LICENSE
README
README.1st
README.DB3
TODO

#	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.