projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4 release
[unix-history]
/
usr
/
src
/
bin
/
ed
/
ed.1
diff --git
a/usr/src/bin/ed/ed.1
b/usr/src/bin/ed/ed.1
index
88b0393
..
6882268
100644
(file)
--- a/
usr/src/bin/ed/ed.1
+++ b/
usr/src/bin/ed/ed.1
@@
-1,11
+1,13
@@
.\" Copyright (c) 1980, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Copyright (c) 1980, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
-.\" %sccs.include.proprietary.man%
+.\" This module is believed to contain source code proprietary to AT&T.
+.\" Use and redistribution is subject to the Berkeley Software License
+.\" Agreement and your Software Agreement with AT&T (Western Electric).
.\"
.\"
-.\" @(#)ed.1 6.8 (Berkeley)
%G%
+.\" @(#)ed.1 6.8 (Berkeley)
12/5/92
.\"
.\"
-.Dd
+.Dd
December 5, 1992
.Dt ED 1
.Os ATT 7th
.Sh NAME
.Dt ED 1
.Os ATT 7th
.Sh NAME
@@
-14,6
+16,7
@@
.Sh SYNOPSIS
.Nm \&ed
.Op Fl
.Sh SYNOPSIS
.Nm \&ed
.Op Fl
+.Op Fl \&x
.Op Ar file
.Sh DESCRIPTION
.Nm \&Ed
.Op Ar file
.Sh DESCRIPTION
.Nm \&Ed
@@
-57,6
+60,13
@@
command (see below) on the named file; that is to say,
the file is read into
.Nm \&ed Ns 's
buffer so that it can be edited.
the file is read into
.Nm \&ed Ns 's
buffer so that it can be edited.
+.Pp
+Available options:
+.Bl -tag -width Ds
+.It Fl \&x
+An
+.Cm \&x
+command is simulated first to handle an encrypted file.
.It Fl
Suppresses the printing
of explanatory output
.It Fl
Suppresses the printing
of explanatory output
@@
-804,6
+814,17
@@
command is done,
exiting the editor
after the file is written.
.Pp
exiting the editor
after the file is written.
.Pp
+.It \&x
+A key string is demanded from the standard input.
+Later
+.Cm \&r , \&e
+and
+.Cm \&w
+commands will encrypt and decrypt the text
+with this key by the algorithm of
+.Xr crypt 1 .
+An explicitly empty key turns off encryption.
+.Pp
.It Xo
.Po Ad \&.+1
.Pc Ns Cm \&z
.It Xo
.Po Ad \&.+1
.Pc Ns Cm \&z
@@
-938,3
+959,13
@@
command mishandles
The
.Cm \&undo
command causes marks to be lost on affected lines.
The
.Cm \&undo
command causes marks to be lost on affected lines.
+.br
+The
+.Cm \&x
+command,
+.Fl \&x
+option,
+and
+special treatment of hangups
+only work on
+.Ux .