-$OpenBSD: POSIX,v 1.6 2014/01/01 16:17:55 tobias Exp $
+$OpenBSD: POSIX,v 1.7 2014/04/20 09:29:36 deraadt Exp $
$NetBSD: POSIX,v 1.9 1995/03/21 09:04:32 cgd Exp $
This version of ed(1) is not strictly POSIX compliant, as described in
iv) `z' for scrolling through the buffer, and
v) BSD line addressing syntax (i.e., `^' and `%') is recognized.
-2) If crypt(3) is available, files can be read and written using DES
- encryption. The `x' command prompts the user to enter a key used for
- encrypting/decrypting subsequent reads and writes. If only a newline
- is entered as the key, then encryption is disabled. Otherwise, a key
- is read in the same manner as a password entry. The key remains in
- effect until encryption is disabled. For more information on the
- encryption algorithm, see the bdes(1) man page. Encryption/decryption
- should be fully compatible with SunOS des(1).
-
-3) The POSIX interactive global commands `G' and `V' are extended to
+2) The POSIX interactive global commands `G' and `V' are extended to
support multiple commands, including `a', `i' and `c'. The command
format is the same as for the global commands `g' and `v', i.e., one
command per line with each line, except for the last, ending in a
backslash (\).
-4) An extension to the POSIX file commands `E', `e', `r', `W' and `w' is
+3) An extension to the POSIX file commands `E', `e', `r', `W' and `w' is
that <file> arguments are processed for backslash escapes, i.e., any
character preceded by a backslash is interpreted literally. If the
first unescaped character of a <file> argument is a bang (!), then the
rest of the line is interpreted as a shell command, and no escape
processing is performed by ed.
-5) For SunOS ed(1) compatibility, ed runs in restricted mode if invoked
+4) For SunOS ed(1) compatibility, ed runs in restricted mode if invoked
as red. This limits editing of files in the local directory only and
prohibits shell commands.
-$OpenBSD: README,v 1.3 2014/02/24 13:28:40 millert Exp $
+$OpenBSD: README,v 1.4 2014/04/20 09:29:36 deraadt Exp $
$NetBSD: README,v 1.9 1995/03/21 09:04:33 cgd Exp $
ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
compile with little trouble. Otherwise, the macros SPL1() and SPL0()
should be redefined to disable interrupts.
-The following compiler directives are recognized:
-DES - to add encryption support (requires crypt(3))
+The following compiler directive is recognized:
BACKWARDS - for backwards compatibility
The file `POSIX' describes extensions to and deviations from the POSIX