summaryrefslogtreecommitdiff
path: root/usr.bin/vi/docs/USD.doc
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-07-27 22:28:26 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-07-27 22:28:26 +0000
commit4b78d53e662bebcd37bfe64c34ee64da5e5ca0f1 (patch)
tree4072a414806b098bf4aca70cea37e6063a2d3f3e /usr.bin/vi/docs/USD.doc
parentd3cd71e47815755c43ebd011e6c53f532e581239 (diff)
Update to 1.79 and install as vi/ex/view.
Diffstat (limited to 'usr.bin/vi/docs/USD.doc')
-rw-r--r--usr.bin/vi/docs/USD.doc/vi.man/vi.1 (renamed from usr.bin/vi/docs/USD.doc/vi.man/nvi.1)6
-rw-r--r--usr.bin/vi/docs/USD.doc/vi.ref/set.opt.roff7
-rw-r--r--usr.bin/vi/docs/USD.doc/vi.ref/spell.ok5
-rw-r--r--usr.bin/vi/docs/USD.doc/vi.ref/vi.ref75
4 files changed, 41 insertions, 52 deletions
diff --git a/usr.bin/vi/docs/USD.doc/vi.man/nvi.1 b/usr.bin/vi/docs/USD.doc/vi.man/vi.1
index 63c9c50a9fd..22aee3e7e95 100644
--- a/usr.bin/vi/docs/USD.doc/vi.man/nvi.1
+++ b/usr.bin/vi/docs/USD.doc/vi.man/vi.1
@@ -8,9 +8,9 @@
.\"
.\" See the LICENSE file for redistribution information.
.\"
-.\" @(#)vi.1 8.50 (Berkeley) 9/23/96
+.\" @(#)vi.1 8.51 (Berkeley) 10/10/96
.\"
-.TH VI 1 "September 23, 1996"
+.TH VI 1 "October 10, 1996"
.UC
.SH NAME
ex, vi, view \- text editors
@@ -1079,7 +1079,7 @@ Set the number of columns in the screen.
.B "comment [off]"
.I \&Vi
only.
-Skip leading comments in shell and C-language files.
+Skip leading comments in shell, C and C++ language files.
.TP
.B "directory, dir [environment variable TMPDIR, or /tmp]"
The directory where temporary files are created.
diff --git a/usr.bin/vi/docs/USD.doc/vi.ref/set.opt.roff b/usr.bin/vi/docs/USD.doc/vi.ref/set.opt.roff
index 7ba7adbab22..838412897ab 100644
--- a/usr.bin/vi/docs/USD.doc/vi.ref/set.opt.roff
+++ b/usr.bin/vi/docs/USD.doc/vi.ref/set.opt.roff
@@ -5,7 +5,7 @@
.\"
.\" See the LICENSE file for redistribution information.
.\"
-.\" @(#)set.opt.roff 8.65 (Berkeley) 8/17/96
+.\" @(#)set.opt.roff 8.66 (Berkeley) 10/10/96
.\"
.SH 1 "Set Options"
.pp
@@ -358,12 +358,13 @@ more information.
.CO Vi
only.
If the first non-empty line of the file begins with the string
+.QT # ,
.QT /\&*
or
-.QT # ,
+.QT // ,
this option causes
.CO vi
-to skip to the end of that C-language or shell comment (probably a
+to skip to the end of that shell, C or C++ comment (probably a
terribly boring legal notice) before displaying the file.
.KY directory
.IP "directory, dir [environment variable TMPDIR, or /tmp]"
diff --git a/usr.bin/vi/docs/USD.doc/vi.ref/spell.ok b/usr.bin/vi/docs/USD.doc/vi.ref/spell.ok
index 041d648cbcf..da45f8df092 100644
--- a/usr.bin/vi/docs/USD.doc/vi.ref/spell.ok
+++ b/usr.bin/vi/docs/USD.doc/vi.ref/spell.ok
@@ -59,6 +59,7 @@ Sy
TANDARDS
TIOCGWINSZ
TMPDIR
+TOC
Tagnext
Tagprev
Tcl
@@ -107,6 +108,7 @@ bg
bigword
bigwords
bostic
+bp
brev
bsd
bugs.current
@@ -300,6 +302,7 @@ showmode
sidescroll
slowopen
sm
+smd
sourceany
sp
spell.ok
@@ -388,6 +391,7 @@ viusage
wa
whitespace
wi
+windowname
wl
wm
wn
@@ -400,5 +404,6 @@ ws
www
xaw
xit
+xterm
ya
yy
diff --git a/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref b/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref
index 338099a427e..a880c1659e1 100644
--- a/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref
+++ b/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref
@@ -8,7 +8,7 @@
.\"
.\" See the LICENSE file for redistribution information.
.\"
-.\" @(#)vi.ref 8.83 (Berkeley) 8/20/96
+.\" @(#)vi.ref 8.88 (Berkeley) 10/19/96
.\"
.\"
.so ref.so
@@ -16,7 +16,7 @@
.(l C
.ps 12
.ft B
-Ex/Vi Reference Manual
+Vi/Ex Reference Manual
.ft
.ps
.sp
@@ -96,7 +96,7 @@ Scrolling and reworking for
was done by Elan Amir.
.pp
George Neville-Neil added the Tcl interpreter,
-and Sven Verdoolaege added the Perl5 interpreter.
+and Sven Verdoolaege added the Perl interpreter.
.pp
Rob Mayoff added Cscope support.
.pp
@@ -112,8 +112,8 @@ The financial support of UUNET Communications Services is gratefully
acknowledged.
.)q
.sy echo -n >index
-.oh 'Nvi/Nex Reference''USD:13-%'
-.eh 'USD:13-%''Nvi/Nex Reference'
+.oh 'Vi/Ex Reference''USD:13-%'
+.eh 'USD:13-%''Vi/Ex Reference'
.bp 4
.SH 1 Description
.pp
@@ -272,7 +272,7 @@ The
.CO ":perld[o] cmd"
and
.CO ":tc[l] cmd"
-commands execute Perl5 and Tcl/Tk commands, respectively,
+commands execute Perl and Tcl/Tk commands, respectively,
on lines from the edit buffer.
See the
.QB "Scripting Languages"
@@ -543,38 +543,19 @@ not yet have this bit set.
This is due to the method in which the files are created.)
Such files should be deleted when the system reboots.
.pp
-A simple way to do this cleanup is to insert the following Bourne
-shell script into your
+A simple way to do this cleanup is to run the Bourne shell script
+.CO recover ,
+from your
.LI /etc/rc.local
-(or other startup) file.
+(or other system startup) file.
The script should work with the historic Bourne shell,
a POSIX 1003.2 shell or the Korn shell.
-(A copy of this script is included as
-.LI nvi/install/recover.script
-in the
+The
+.CO recover
+script is installed as part of the
.EV nex nvi
-distribution.)
-.sp
-.(b
-.ft C
-.so ../../../recover/recover.script
-.ft R
-.)b
-.sp
-.pp
-If you are not using the default value for the
-.OP recdir
-option, be sure to substitute the value you're using for the
-.LI RECDIR
-value in the recovery script.
+installation process.
.pp
-If the path of your system's
-.CO sendmail
-program (or whatever mailer you're using) is not
-.LI /usr/lib/sendmail ,
-be sure to substitute the correct pathname for the
-.LI SENDMAIL
-value in the recovery script.
Consult the manual page for details on recovering preserved or
aborted editing sessions.
.SH 1 "Sizing the Screen"
@@ -1209,9 +1190,9 @@ will be discarded.)
.pp
The
.CO nvi
-editor currently supports two scripting languages, Tcl/Tk and Perl5.
-(Note that Perl4 isn't sufficient, and that the Perl5 must be version
-5.002 or later.
+editor currently supports two scripting languages, Tcl/Tk and Perl.
+(Note that Perl4 isn't sufficient, and that the Perl5 used must be
+version 5.002 or later.
See the
.QB "Building Nvi"
section for more information.
@@ -1662,11 +1643,11 @@ This character is almost always treated identically to a
.LI <control-M>
character, but differs in that it cannot be escaped into the file text or
into a command.
-.oh 'Nvi/Nex Reference (Vi Commands)''USD:13-%'
-.eh 'USD:13-%''Nvi/Nex Reference (Vi Commands)'
+.oh 'Vi/Ex Reference (Vi Commands)''USD:13-%'
+.eh 'USD:13-%''Vi/Ex Reference (Vi Commands)'
.so vi.cmd.roff
-.oh 'Nvi/Nex Reference''USD:13-%'
-.eh 'USD:13-%''Nvi/Nex Reference'
+.oh 'Vi/Ex Reference''USD:13-%'
+.eh 'USD:13-%''Vi/Ex Reference'
.SH 1 "Ex Addressing"
.pp
Addressing in
@@ -1833,14 +1814,14 @@ The first address must be less than or equal to the second address.
The first address must be greater than or equal to the first line of the
file, and the last address must be less than or equal to the last line
of the file.
-.oh 'Nvi/Nex Reference (Ex Commands)''USD:13-%'
-.eh 'USD:13-%''Nvi/Nex Reference (Ex Commands)'
+.oh 'Vi/Ex Reference (Ex Commands)''USD:13-%'
+.eh 'USD:13-%''Vi/Ex Reference (Ex Commands)'
.so ex.cmd.roff
-.oh 'Nvi/Nex Reference (Options)''USD:13-%'
-.eh 'USD:13-%''Nvi/Nex Reference (Options)'
+.oh 'Vi/Ex Reference (Options)''USD:13-%'
+.eh 'USD:13-%''Vi/Ex Reference (Options)'
.so set.opt.roff
-.oh 'Nvi/Nex Reference''USD:13-%'
-.eh 'USD:13-%''Nvi/Nex Reference'
+.oh 'Vi/Ex Reference''USD:13-%'
+.eh 'USD:13-%''Vi/Ex Reference'
.bp
.SH 1 Index
.lp
@@ -1849,6 +1830,8 @@ of the file.
.nf
.so index.so
.fi
+.\" Force the TOC to an odd page, in case it's a duplex printer.
+.if o .bp
.bp 3
.1c
.ce 1