This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / bin / ed / README
CommitLineData
54a7a3ed
AM
1ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
2any regular expression package that conforms to the POSIX interface
3standard, such as GNU regex(3).
4
5If reliable signals are supported (e.g., POSIX sigaction(2)), it should
6compile with little trouble. Otherwise, the macros spl1() and spl0()
7should be redefined to disable interrupts.
8
9The following compiler directives are recognized:
54a7a3ed
AM
10DES - use to add encryption support (requires crypt(3))
11NO_REALLOC_NULL - use if realloc(3) does not accept a NULL pointer
12BACKWARDS - use for backwards compatibility
13
14The file `POSIX' describes extensions to and deviations from the POSIX
15standard.
16
17The ./test directory contains regression tests for ed. The README
18file in that directory explains how to run these.
19
20For a description of the ed algorithm, see Kernighan and Plauger's book
21"Software Tools in Pascal," Addison-Wesley, 1981.