VI(1) UNIX Programmer's Manual VI(1) NAME vi - screen oriented (visual) display editor based on ex SYNOPSIS vi [ -t tag ] [ -r ] [ +_l_i_n_e_n_o ] name ... DESCRIPTION _V_i (visual) is a display oriented text editor based on _e_x(1). _E_x and _v_i run the same code; it is possible to get to the command mode of _e_x from within _v_i and vice-versa. The _V_i _Q_u_i_c_k _R_e_f_e_r_e_n_c_e card and the _I_n_t_r_o_d_u_c_t_i_o_n _t_o _D_i_s_p_l_a_y _E_d_i_t_i_n_g _w_i_t_h _V_i provide full details on using _v_i. FILES See _e_x(1). SEE ALSO ex (1), ``Vi Quick Reference'' card, ``An Introduction to Display Editing with Vi''. BUGS Scans with / and ? begin on the next line, skipping the remainder of the current line. Software tabs using ^T work only immediately after the _a_u_t_o_i_n_d_e_n_t. Left and right shifts on intelligent terminals don't make use of insert and delete character operations in the termi- nal. The _w_r_a_p_m_a_r_g_i_n 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. Insert/delete within a line can be slow if tabs are present on intelligent terminals, since the terminals need help in doing this correctly. Occasionally inverse video scrolls up into the file from a diagnostic on the last line. Saving text on deletes in the named buffers is somewhat inefficient. The _s_o_u_r_c_e command does not work when executed as :source; there is no way to use the :append, :change, and :insert commands, since it is not possible to give more than one line of input to a : escape. To use these on a :global you must Q to _e_x command mode, execute them, and then reenter Printed 12/7/82 1 VI(1) UNIX Programmer's Manual VI(1) the screen editor with _v_i or _o_p_e_n. Printed 12/7/82 2