improve exit status handling for program map code
[unix-history] / usr / src / contrib / ed / README
CommitLineData
d0722e32 1# @(#)README 5.2 (Berkeley) %G%
99d7d097
KB
2
3For compiling:
4 There are several flag options for compiling 'ed' into executable.
99d7d097
KB
5
6This table briefly describes the flags used in compilation:
7
d0722e32 8 BSD | POSIX
99d7d097
KB
9 specifies over-riding behaviour in historical terms:
10 BSD=> BSD behaviour when confilicting with P1003.2,
d0722e32 11 POSIX=> as P1003.2 specified when conflicting with BSD.
99d7d097 12
d0722e32 13 STDIO | DBI | MEMORY
99d7d097
KB
14 specifies which method is to be used for the buffer.
15 Be sure to understand that there are trade-offs with
16 any of the methods:
17 STDIO=> standard I/O temp file,
d0722e32 18 DBI=> BSD recno database file (db(3)),
99d7d097
KB
19 MEMORY=> ye olde silicon.
20
d0722e32
KB
21 One of each compile flag option _must_ be chosen to get a sensible
22 compile.
99d7d097
KB
23
24One define not listed above, yet used as a flag, is RE_STARTEND. This
25is used to automagically check if you are using the real BSD RE interfaces.
d0722e32 26See regex(3) (4.4BSD) for a description of RE_STARTEND; an extension to
99d7d097
KB
27P1003.2 B.5. If you happen to be using another POSIX regex(3) this
28automatically taken care of; the old RE interfaces are unsupported.
29
30This implementation of `ed' is a superset of the POSIX 1003.2 description
31for `ed' to remain compatible with earlier (BSD) versions of `ed'.
32Hence, any BSD 'ed'isms that do not conflict with P1003.2 are available
33to the user even under the POSIX flag compilation. Likewise, any POSIX
34'ed'isms that do not conflict with historical BSD behaviour are available
35to the user.
36
37Refer to the man page ed(1) for information about using `ed'.
38
39-Rodney