minix/bin/ed
Sevan Janiyan 4db99f4012 Remove building with NOCRYPTO option
Infrastructure change to come in a separate commit.
https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
Patch for CVE-2018-049.
Prevent shell execution with r command.
Check bounds before dereferencing in encryption routines.
Document -S to disable ! commands.

Sync with NetBSD-8

closes #268

Change-Id: I1c2849e0097b0cc9f89beef5ee24ccd9d73b4ee2
2018-11-14 08:26:58 +01:00
..
test NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
buf.c NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
cbc.c Remove building with NOCRYPTO option 2018-11-14 08:26:58 +01:00
ed.1 Remove building with NOCRYPTO option 2018-11-14 08:26:58 +01:00
ed.h NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
glbl.c NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
io.c NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
main.c Remove building with NOCRYPTO option 2018-11-14 08:26:58 +01:00
Makefile Remove building with NOCRYPTO option 2018-11-14 08:26:58 +01:00
POSIX Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
re.c NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
README Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
sub.c NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00
undo.c NetBSD re-synchronization of the source tree 2016-01-13 20:32:14 +01:00

$NetBSD: README,v 1.9 1995/03/21 09:04:33 cgd Exp $

ed is an 8-bit-clean, POSIX-compliant line editor.  It should work with
any regular expression package that conforms to the POSIX interface
standard, such as GNU regex(3).

If reliable signals are supported (e.g., POSIX sigaction(2)), it should
compile with little trouble.  Otherwise, the macros SPL1() and SPL0()
should be redefined to disable interrupts.

The following compiler directives are recognized:
DES		- to add encryption support (requires crypt(3))
NO_REALLOC_NULL	- if realloc(3) does not accept a NULL pointer
BACKWARDS	- for backwards compatibility
NEED_INSQUE	- if insque(3) is missing

The file `POSIX' describes extensions to and deviations from the POSIX
standard.

The ./test directory contains regression tests for ed. The README
file in that directory explains how to run these.

For a description of the ed algorithm, see Kernighan and Plauger's book
"Software Tools in Pascal," Addison-Wesley, 1981.