VI(1) UNIX Programmer's Manual VI(1) NAME vi - screen oriented (visual) display editor based on ex SYNOPSIS vi [ -t tag ] [ -r ] [ +_c_o_m_m_a_n_d ] [ -l ] [ -w_n ] 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), edit (1), ``Vi Quick Reference'' card, ``An Intro- duction to Display Editing with Vi''. AUTHOR William Joy Mark Horton added macros to _v_i_s_u_a_l mode and is maintaining version 3 BUGS 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. 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 the screen editor with _v_i or _o_p_e_n. Printed 11/26/99 April 29, 1985 1