Commit | Line | Data |
---|---|---|
d0722e32 | 1 | # @(#)README 5.2 (Berkeley) %G% |
99d7d097 KB |
2 | |
3 | For compiling: | |
4 | There are several flag options for compiling 'ed' into executable. | |
99d7d097 KB |
5 | |
6 | This 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 | |
24 | One define not listed above, yet used as a flag, is RE_STARTEND. This | |
25 | is used to automagically check if you are using the real BSD RE interfaces. | |
d0722e32 | 26 | See regex(3) (4.4BSD) for a description of RE_STARTEND; an extension to |
99d7d097 KB |
27 | P1003.2 B.5. If you happen to be using another POSIX regex(3) this |
28 | automatically taken care of; the old RE interfaces are unsupported. | |
29 | ||
30 | This implementation of `ed' is a superset of the POSIX 1003.2 description | |
31 | for `ed' to remain compatible with earlier (BSD) versions of `ed'. | |
32 | Hence, any BSD 'ed'isms that do not conflict with P1003.2 are available | |
33 | to the user even under the POSIX flag compilation. Likewise, any POSIX | |
34 | 'ed'isms that do not conflict with historical BSD behaviour are available | |
35 | to the user. | |
36 | ||
37 | Refer to the man page ed(1) for information about using `ed'. | |
38 | ||
39 | -Rodney |