summaryrefslogtreecommitdiff
path: root/usr.bin/vi/docs/USD.doc/edit
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-24 16:16:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-07-24 16:16:11 +0000
commit9fe0ebe622331e4ca8b324440857ac3415cf231e (patch)
treeda7d517118e7d40dfef8b4943e368ecbd43475cb /usr.bin/vi/docs/USD.doc/edit
parent4e78eb09c86098d70b62e357fffcf4c3d379074f (diff)
bring vi/ex up to 1.71
Diffstat (limited to 'usr.bin/vi/docs/USD.doc/edit')
-rw-r--r--usr.bin/vi/docs/USD.doc/edit/Makefile2
-rw-r--r--usr.bin/vi/docs/USD.doc/edit/edittut.ms64
2 files changed, 12 insertions, 54 deletions
diff --git a/usr.bin/vi/docs/USD.doc/edit/Makefile b/usr.bin/vi/docs/USD.doc/edit/Makefile
index 3d30bc91964..e9b8d3c5610 100644
--- a/usr.bin/vi/docs/USD.doc/edit/Makefile
+++ b/usr.bin/vi/docs/USD.doc/edit/Makefile
@@ -2,7 +2,7 @@
DIR= usd/11.edit
SRCS= edittut.ms
-MACROS= -msU
+MACROS= -ms
paper.ps: ${SRCS}
${TBL} ${SRCS} | ${ROFF} > ${.TARGET}
diff --git a/usr.bin/vi/docs/USD.doc/edit/edittut.ms b/usr.bin/vi/docs/USD.doc/edit/edittut.ms
index 5f4c28cb6d2..274e28676ed 100644
--- a/usr.bin/vi/docs/USD.doc/edit/edittut.ms
+++ b/usr.bin/vi/docs/USD.doc/edit/edittut.ms
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)edittut.ms 8.1 (Berkeley) 6/8/93
+.\" @(#)edittut.ms 8.2 (Berkeley) 6/27/96
.\"
.EH 'USD:11-%''Edit: A Tutorial'
.OH 'Edit: A Tutorial''USD:11-%'
@@ -89,19 +89,19 @@ September 1981
.nf
Introduction\ \ \ 3
.sp
-Session 1\ \ \4
+Session 1\ \ 4
.in +.5i
Making contact with \s-2UNIX\s+2\ \ \ 4
-Logging in\ \ \4
+Logging in\ \ 4
Asking for \fIedit\fR\ \ \ 4
The ``Command not found'' message\ \ \ 5
-A summary\ \ \5
+A summary\ \ 5
Entering text\ \ \ 5
Messages from \fIedit\fR\ \ \ 5
Text input mode\ \ \ 6
Making corrections\ \ \ 6
Writing text to disk\ \ \ 7
-Signing off\ \ \7
+Signing off\ \ 7
.in -.5i
.sp
Session 2\ \ \ 8
@@ -1034,56 +1034,14 @@ Instead, you may identify the line you want to change
by asking edit to search for a specified pattern of letters
that occurs in that line.
The parts of the above command are:
-.TS
.in +1i
-.nr 35 \n(.u
-.nf
-.ds #d .d
-.if \(ts\n(.z\(ts\(ts .ds #d nl
-.nr 80 0
-.nr 38 \w\f3/strange/\fP
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 38 \w\f3s\fP
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 38 \w\f3/strange, but //\fP
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 81 0
-.nr 38 \wtells edit to find the characters ``strange'' in the text
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 \wtells edit to make a substitution
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 \wsubstitutes nothing at all for the characters ``strange, but ''
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 1n
-.nr 79 0
-.nr 40 \n(79+(0*\n(38)
-.nr 80 +\n(40
-.nr 41 \n(80+(3*\n(38)
-.nr 81 +\n(41
-.nr TW \n(81
-.if t .if (\n(TW+\n(.o)>7.75i .tm Table at line 307 file ed2.tbl is too wide - \n(TW units
-.fc  
-.nr #T 0
-.eo
-.de T#
-.ds #d .d
-.if \(ts\n(.z\(ts\(ts .ds #d nl
-.mk ##
-.nr ## -1v
-..
-.ec
-.ta \n(80u \n(81u
-\&\h'|\n(40u'\f3/strange/\fP\h'|\n(41u'tells edit to find the characters ``strange'' in the text
-.ta \n(80u \n(81u
-\&\h'|\n(40u'\f3s\fP\h'|\n(41u'tells edit to make a substitution
-.ta \n(80u \n(81u
-\&\h'|\n(40u'\f3/strange, but //\fP\h'|\n(41u'substitutes nothing at all for the characters ``strange, but ''
-.fc
-.nr T. 1
-.T# 1
-.if \n(35>0 .fi
-.in -1i
+.TS
+l l.
+\fB/strange/\fP tells edit to find the characters ``strange'' in the text
+\fBs\fP tells edit to make a substitution
+\fB/strange, but //\fP substitutes nothing at all for the characters ``strange, but ''
.TE
+.in -1i
.PP
You should note the space after ``but'' in ``/strange, but /''.
If you do not indicate that the space is to be taken out,