BSD 2 release
[unix-history] / man / vi.u
CommitLineData
1aa6c056
BJ
1.TH VI UCB 4/4/79 UCB
2.SH NAME
3vi \- screen oriented (visual) display editor based on ex
4.SH SYNOPSIS
5.B vi
6[
7.B \-t
8tag
9] [
10.B \-r
11] [
12\fB+\fR\fIlineno\fR
13]
14name ...
15.SH DESCRIPTION
16.I Vi
17(visual) is a display oriented text editor based on
18.IR ex (UCB).
19.I Ex
20and
21.I vi
22run the same code; it is possible to get to
23the command mode of
24.I ex
25from within
26.I vi
27and vice-versa.
28.PP
29The
30.I "Vi Quick Reference"
31card and the
32.I "Introduction to Display Editing with Vi"
33provide full details on using
34.I vi.
35.SH FILES
36See
37.IR ex (UCB).
38.SH SEE ALSO
39ex (UCB), vi (UCB), ``Vi Quick Reference'' card,
40``An Introduction to Display Editing with Vi''.
41.SH BUGS
42Scans with \fB/\fR and \fB?\fR begin on the next line,
43skipping the remainder of the current line.
44.PP
45Software tabs using \fB^T\fR work only immediately after the
46.I autoindent.
47.PP
48Left and right shifts on intelligent terminals don't make use of
49insert and delete character operations in the terminal.
50.PP
51The
52.I wrapmargin
53option can be fooled since it looks at output columns when blanks are typed.
54If a long word passes through the margin and onto the next line without a
55break, then the line won't be broken.
56.PP
57Insert/delete within a line can be slow if tabs are present on intelligent
58terminals, since the terminals need help in doing this correctly.
59.PP
60Occasionally inverse video scrolls up into the file from a diagnostic
61on the last line.
62.PP
63Saving text on deletes in the named buffers is somewhat inefficient.
64.PP
65The
66.I source
67command does not work when executed as \fB:source\fR;
68there is no way to use the \fB:append\fR, \fB:change\fR,
69and \fB:insert\fR commands, since it is not possible to give
70more than one line of input to a \fB:\fR escape. To use these
71on a \fB:global\fR you must \fBQ\fR to \fIex\fR command mode,
72execute them, and then reenter the screen editor with
73.I vi
74or
75.I open.