.TH VI 1 .UC .SH NAME vi \- screen oriented (visual) display editor based on ex .SH SYNOPSIS .B vi [ .B \-t tag ] [ .B \-r ] [ \fB+\fP\fIlineno\fP ] name ... .SH DESCRIPTION .I Vi (visual) is a display oriented text editor based on .IR ex (1). .I Ex and .I vi run the same code; it is possible to get to the command mode of .I ex from within .I vi and vice-versa. .PP The .I "Vi Quick Reference" card and the .I "Introduction to Display Editing with Vi" provide full details on using .I vi. .SH FILES See .IR ex (1). .SH SEE ALSO ex (1), ``Vi Quick Reference'' card, ``An Introduction to Display Editing with Vi''. .SH BUGS Scans with \fB/\fP and \fB?\fP begin on the next line, skipping the remainder of the current line. .PP Software tabs using \fB^T\fP work only immediately after the .I autoindent. .PP Left and right shifts on intelligent terminals don't make use of insert and delete character operations in the terminal. .PP The .I wrapmargin option can be fooled since it looks at output columns when blanks are typed. If a long word passes through the margin and onto the next line without a break, then the line won't be broken. .PP Insert/delete within a line can be slow if tabs are present on intelligent terminals, since the terminals need help in doing this correctly. .PP Occasionally inverse video scrolls up into the file from a diagnostic on the last line. .PP Saving text on deletes in the named buffers is somewhat inefficient. .PP The .I source command does not work when executed as \fB:source\fP; there is no way to use the \fB:append\fP, \fB:change\fP, and \fB:insert\fP commands, since it is not possible to give more than one line of input to a \fB:\fP escape. To use these on a \fB:global\fP you must \fBQ\fP to \fIex\fP command mode, execute them, and then reenter the screen editor with .I vi or .I open.