Merge from vendor branch GCC:
[dragonfly.git] / bin / ed / README
1 $FreeBSD: src/bin/ed/README,v 1.7 1999/08/27 23:14:12 peter Exp $
2 $DragonFly: src/bin/ed/README,v 1.2 2003/06/17 04:22:49 dillon Exp $
3
4 ed is an 8-bit-clean, POSIX-compliant line editor.  It should work with
5 any regular expression package that conforms to the POSIX interface
6 standard, such as GNU regex(3).
7
8 If reliable signals are supported (e.g., POSIX sigaction(2)), it should
9 compile with little trouble.  Otherwise, the macros SPL1() and SPL0()
10 should be redefined to disable interrupts.
11
12 The following compiler directives are recognized:
13 DES             - to add encryption support (requires crypt(3))
14 NO_REALLOC_NULL - if realloc(3) does not accept a NULL pointer
15 BACKWARDS       - for backwards compatibility
16 NEED_INSQUE     - if insque(3) is missing
17
18 The file `POSIX' describes extensions to and deviations from the POSIX
19 standard.
20
21 The ./test directory contains regression tests for ed. The README
22 file in that directory explains how to run these.
23
24 For a description of the ed algorithm, see Kernighan and Plauger's book
25 "Software Tools in Pascal," Addison-Wesley, 1981.