Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>
@@ -110,11 +110,10 @@
[\fB-S\fR] [\fB-t\fR \fItag\fR] [\fB-v\fR] [\fB-V\fR] [\fB-x\fR] [\fB-w\fR\fIn\fR] [\fB-C\fR]
[\fB+\fR\fIcommand\fR | \fB-c\fR \fIcommand\fR] \fIfilename\fR...
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBvi\fR (visual) utility is a display-oriented text editor based on an
underlying line editor \fBex\fR. It is possible to use the command mode of
\fBex\fR from within \fBvi\fR and to use the command mode of \fBvi\fR from
within \fBex\fR. The visual commands are described on this manual page; how to
@@ -135,15 +134,13 @@
The \fBvedit\fR invocation is intended for beginners. It is the same as
\fBvi\fR except that the \fBreport\fR flag is set to \fB1\fR, the
\fBshowmode\fR and \fBnovice\fR flags are set, and \fBmagic\fR is turned off.
These defaults make it easier to learn how to use \fBvi\fR.
.SH OPTIONS
-.sp
.LP
-The following options are supporrted:
+The following options are supported:
.SS "Invocation Options"
-.sp
.LP
The following invocation options are interpreted by \fBvi\fR (previously
documented options are discussed under NOTES):
.sp
.ne 2
@@ -287,17 +284,15 @@
Begins editing by executing the specified editor \fIcommand\fR (usually a
search or positioning command).
.RE
.SS "/usr/xpg4/bin/vi and /usr/xpg6/bin/vi"
-.sp
.LP
If both the \fB-t\fR \fItag\fR and the \fB-c\fR \fIcommand\fR options are
-given, the \fB-t\fR \fItag\fR optionis processed first. That is, the file
+given, the \fB-t\fR \fItag\fR option is processed first. That is, the file
containing \fItag\fR is selected by \fB-t\fR and then the command is executed.
.SH OPERANDS
-.sp
.LP
The following operands are supported:
.sp
.ne 2
.na
@@ -306,15 +301,13 @@
.RS 12n
A file to be edited.
.RE
.SH COMMAND SUMMARY
-.sp
.LP
The \fBvi\fR command modes are summarized in this section.
.SS "vi Modes"
-.sp
.ne 2
.na
\fBCommand\fR
.ad
.RS 13n
@@ -350,11 +343,10 @@
Reading input for \fB: / ?\fR or \fB!\fR. Terminate by typing a carriage
return. An interrupt cancels termination.
.RE
.SS "Sample Commands"
-.sp
.LP
In the descriptions, \fICR\fR stands for carriage return and \fIESC\fR stands
for the escape key.
.sp
.ne 2
@@ -498,11 +490,10 @@
.RS 14n
any \fBex\fR or \fBed\fR command
.RE
.SS "Counts Before vi Commands"
-.sp
.LP
Numbers can be typed as a prefix to some commands. They are interpreted in one
of these ways:
.sp
.ne 2
@@ -530,11 +521,10 @@
.RS 22n
most of the rest
.RE
.SS "Interrupting, Canceling"
-.sp
.ne 2
.na
\fB\fIESC\fR\fR
.ad
.RS 7n
@@ -549,11 +539,10 @@
.RS 7n
(delete or rubout) interrupts
.RE
.SS "File Manipulation"
-.sp
.ne 2
.na
\fBZZ\fR
.ad
.RS 15n
@@ -726,11 +715,10 @@
.LP
In general, any \fBex\fR or \fBed\fR command (such as \fIsubstitute\fR or
\fIglobal\fR) can be typed, preceded by a colon and followed by a carriage
return.
.SS "Positioning Within a File"
-.sp
.ne 2
.na
\fBF\fR
.ad
.RS 14n
@@ -890,11 +878,10 @@
.RS 14n
find matching \fB( )\fR or \fB{ }\fR
.RE
.SS "Adjusting the Screen"
-.sp
.ne 2
.na
\fB^L\fR
.ad
.RS 16n
@@ -972,11 +959,10 @@
.RS 16n
scroll window up one line
.RE
.SS "Marking and Returning"
-.sp
.ne 2
.na
\fB\(ga\(ga\fR
.ad
.RS 12n
@@ -1018,11 +1004,10 @@
.RS 12n
move cursor to first non-white space in line marked by \fIx\fR
.RE
.SS "Line Positioning"
-.sp
.ne 2
.na
\fBH\fR
.ad
.RS 14n
@@ -1099,11 +1084,10 @@
.RS 14n
previous line, same column
.RE
.SS "Character Positioning"
-.sp
.ne 2
.na
\fB^\fR
.ad
.RS 13n
@@ -1235,11 +1219,10 @@
.RS 13n
find matching \fB( )\fR or \fB{ }\fR
.RE
.SS "Words, Sentences, Paragraphs"
-.sp
.ne 2
.na
\fBw\fR
.ad
.RS 5n
@@ -1326,11 +1309,10 @@
.RS 5n
end of a blank-delimited word
.RE
.SS "Corrections During Insert"
-.sp
.ne 2
.na
\fB^H\fR
.ad
.RS 16n
@@ -1427,11 +1409,10 @@
.RS 16n
quote non-printable character
.RE
.SS "Insert and Replace"
-.sp
.ne 2
.na
\fBa\fR
.ad
.RS 12n
@@ -1500,11 +1481,10 @@
.RS 12n
replace characters
.RE
.SS "Operators"
-.sp
.LP
Operators are followed by a cursor motion and affect all text that would have
been moved over. For example, since \fBw\fR moves over a word, \fBdw\fR deletes
the word that would be moved over. Double the operator, for example \fBdd\fR,
to affect whole lines.
@@ -1561,11 +1541,10 @@
.RS 5n
filter through command
.RE
.SS "Miscellaneous Operations"
-.sp
.ne 2
.na
\fBC\fR
.ad
.RS 5n
@@ -1634,11 +1613,10 @@
.RS 5n
yank lines (\fByy\fR)
.RE
.SS "Yank and Put"
-.sp
.LP
Put inserts the text most recently deleted or yanked; however, if a buffer is
named (using the \fBASCII\fR lower-case letters \fBa\fR - \fBz\fR), the text in
that buffer is put instead.
.sp
@@ -1703,11 +1681,10 @@
.RS 7n
delete into buffer \fIx\fR
.RE
.SS "Undo, Redo, Retrieve"
-.sp
.ne 2
.na
\fBu\fR
.ad
.RS 7n
@@ -1740,17 +1717,15 @@
.RS 7n
retrieve \fId\fR'th last delete
.RE
.SH USAGE
-.sp
.LP
See \fBlargefile\fR(5) for the description of the behavior of \fBvi\fR and
\fBview\fR when encountering files greater than or equal to 2 Gbyte ( 2^31
bytes).
.SH ENVIRONMENT VARIABLES
-.sp
.LP
See \fBenviron\fR(5) for descriptions of the following environment variables
that affect the execution of \fBvi\fR: \fBLANG\fR, \fBLC_ALL\fR,
\fBLC_COLLATE\fR, \fBLC_CTYPE\fR, \fBLC_TIME\fR, \fBLC_MESSAGES\fR,
\fBNLSPATH\fR, \fBPATH\fR, \fBSHELL\fR, and \fBTERM\fR.
@@ -1783,11 +1758,10 @@
Override the system-selected vertical screen size, used as the number of lines
in a screenful and the vertical screen size in visual mode.
.RE
.SH FILES
-.sp
.ne 2
.na
\fB\fB/var/tmp\fR\fR
.ad
.sp .6
@@ -1815,17 +1789,13 @@
.RS 4n
subset of compiled terminal description database
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.SS "/usr/bin/vi, /usr/bin/view, /usr/bin/vedit"
-.sp
-
-.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
@@ -1832,13 +1802,10 @@
_
CSI Not enabled
.TE
.SS "/usr/xpg4/bin/vi, /usr/xpg4/bin/view, /usr/xpg4/bin/vedit"
-.sp
-
-.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
@@ -1847,13 +1814,10 @@
_
Interface Stability Standard
.TE
.SS "/usr/xpg6/bin/vi, /usr/xpg6/bin/view, /usr/xpg6/bin/vedit"
-.sp
-
-.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE ATTRIBUTE VALUE
@@ -1862,25 +1826,22 @@
_
Interface Stability Standard
.TE
.SH SEE ALSO
-.sp
.LP
\fBIntro\fR(1), \fBctags\fR(1), \fBed\fR(1), \fBedit\fR(1), \fBex\fR(1),
\fBattributes\fR(5), \fBenviron\fR(5), \fBlargefile\fR(5), \fBstandards\fR(5)
.sp
.LP
\fISolaris Advanced User\&'s Guide\fR
.SH AUTHOR
-.sp
.LP
\fBvi\fR and \fBex\fR were developed by The University of California, Berkeley
California, Computer Science Division, Department of Electrical Engineering and
Computer Science.
.SH NOTES
-.sp
.LP
Two options, although they continue to be supported, have been replaced in the
documentation by options that follow the Command Syntax Standard (see
\fBIntro\fR(1)). An \fB-r\fR option that is not followed with an
option-argument has been replaced by \fB-L\fR and \fB+\fR\fBcommand\fR has been