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