xref: /dflybsd-src/bin/ed/README (revision 18ccd94eadcf22f4964956900d3163ca451c9cde)
1*18ccd94eSSascha Wildner$FreeBSD: head/bin/ed/README 50471 1999-08-27 23:15:48Z peter $
2984263bcSMatthew Dillon
3984263bcSMatthew Dilloned is an 8-bit-clean, POSIX-compliant line editor.  It should work with
4984263bcSMatthew Dillonany regular expression package that conforms to the POSIX interface
5984263bcSMatthew Dillonstandard, such as GNU regex(3).
6984263bcSMatthew Dillon
7984263bcSMatthew DillonIf reliable signals are supported (e.g., POSIX sigaction(2)), it should
8984263bcSMatthew Dilloncompile with little trouble.  Otherwise, the macros SPL1() and SPL0()
9984263bcSMatthew Dillonshould be redefined to disable interrupts.
10984263bcSMatthew Dillon
11984263bcSMatthew DillonThe following compiler directives are recognized:
12984263bcSMatthew DillonDES		- to add encryption support (requires crypt(3))
13984263bcSMatthew DillonNO_REALLOC_NULL	- if realloc(3) does not accept a NULL pointer
14984263bcSMatthew DillonBACKWARDS	- for backwards compatibility
15984263bcSMatthew DillonNEED_INSQUE	- if insque(3) is missing
16984263bcSMatthew Dillon
17984263bcSMatthew DillonThe file `POSIX' describes extensions to and deviations from the POSIX
18984263bcSMatthew Dillonstandard.
19984263bcSMatthew Dillon
20984263bcSMatthew DillonThe ./test directory contains regression tests for ed. The README
21984263bcSMatthew Dillonfile in that directory explains how to run these.
22984263bcSMatthew Dillon
23984263bcSMatthew DillonFor a description of the ed algorithm, see Kernighan and Plauger's book
24984263bcSMatthew Dillon"Software Tools in Pascal," Addison-Wesley, 1981.
25