150471Speter$FreeBSD$
23044Sdg
316Salmed is an 8-bit-clean, POSIX-compliant line editor.  It should work with
416Salmany regular expression package that conforms to the POSIX interface
516Salmstandard, such as GNU regex(3).
616Salm
716SalmIf reliable signals are supported (e.g., POSIX sigaction(2)), it should
81057Salmcompile with little trouble.  Otherwise, the macros SPL1() and SPL0()
916Salmshould be redefined to disable interrupts.
1016Salm
1116SalmThe following compiler directives are recognized:
121057SalmDES		- to add encryption support (requires crypt(3))
131057SalmNO_REALLOC_NULL	- if realloc(3) does not accept a NULL pointer
141057SalmBACKWARDS	- for backwards compatibility
151057SalmNEED_INSQUE	- if insque(3) is missing
1616Salm
1716SalmThe file `POSIX' describes extensions to and deviations from the POSIX
1816Salmstandard.
1916Salm
2016SalmThe ./test directory contains regression tests for ed. The README
2116Salmfile in that directory explains how to run these.
2216Salm
2316SalmFor a description of the ed algorithm, see Kernighan and Plauger's book
2416Salm"Software Tools in Pascal," Addison-Wesley, 1981.
25