Commit | Line | Data |
---|---|---|
25df5839 KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
3553475a | 5 | .\" @(#)vi.1 6.1 (Berkeley) %G% |
25df5839 | 6 | .\" |
3553475a | 7 | .TH VI 1 "" |
25df5839 KM |
8 | .UC |
9 | .SH NAME | |
10 | vi \- screen oriented (visual) display editor based on ex | |
11 | .SH SYNOPSIS | |
12 | .B vi | |
13 | [ | |
14 | .B \-t | |
15 | tag | |
16 | ] [ | |
17 | .B \-r | |
18 | ] [ | |
19 | \fB+\fR\fIcommand\fR | |
20 | ] [ | |
21 | .B \-l | |
22 | ] [ | |
23 | \fB\-w\fIn\fR | |
24 | ] | |
25 | name ... | |
26 | .SH DESCRIPTION | |
27 | .I Vi | |
28 | (visual) is a display oriented text editor based on | |
29 | .IR ex (1). | |
30 | .I Ex | |
31 | and | |
32 | .I vi | |
33 | run the same code; it is possible to get to | |
34 | the command mode of | |
35 | .I ex | |
36 | from within | |
37 | .I vi | |
38 | and vice-versa. | |
39 | .PP | |
40 | The | |
41 | .I "Vi Quick Reference" | |
42 | card and the | |
43 | .I "Introduction to Display Editing with Vi" | |
44 | provide full details on using | |
45 | .I vi. | |
46 | .SH FILES | |
47 | See | |
48 | .IR ex (1). | |
49 | .SH SEE ALSO | |
50 | ex (1), edit (1), ``Vi Quick Reference'' card, | |
51 | ``An Introduction to Display Editing with Vi''. | |
52 | .SH AUTHOR | |
53 | William Joy | |
54 | .br | |
55 | Mark Horton added macros to \fIvisual\fR mode and is maintaining version 3 | |
56 | .SH BUGS | |
57 | Software tabs using \fB^T\fR work only immediately after the | |
58 | .I autoindent. | |
59 | .PP | |
60 | Left and right shifts on intelligent terminals don't make use of | |
61 | insert and delete character operations in the terminal. | |
62 | .PP | |
63 | The | |
64 | .I wrapmargin | |
65 | option can be fooled since it looks at output columns when blanks are typed. | |
66 | If a long word passes through the margin and onto the next line without a | |
67 | break, then the line won't be broken. | |
68 | .PP | |
69 | Insert/delete within a line can be slow if tabs are present on intelligent | |
70 | terminals, since the terminals need help in doing this correctly. | |
71 | .PP | |
72 | Saving text on deletes in the named buffers is somewhat inefficient. | |
73 | .PP | |
74 | The | |
75 | .I source | |
76 | command does not work when executed as \fB:source\fR; | |
77 | there is no way to use the \fB:append\fR, \fB:change\fR, | |
78 | and \fB:insert\fR commands, since it is not possible to give | |
79 | more than one line of input to a \fB:\fR escape. To use these | |
80 | on a \fB:global\fR you must \fBQ\fR to \fIex\fR command mode, | |
81 | execute them, and then reenter the screen editor with | |
82 | .I vi | |
83 | or | |
84 | .I open. |