4.3BSD-Reno/share/man/cat1/ex.0

Compare this file to the similar file:
Show the results in this format:

EX(1)			    UNIX Reference Manual			 EX(1)

NNAAMMEE
     eexx, eeddiitt - text editor

SSYYNNOOPPSSIISS
     eexx [--] [--vv] [--tt _t_a_g] [--rr] [++_c_o_m_m_a_n_d] [--ll] _n_a_m_e ...
     eeddiitt [ex options]

DDEESSCCRRIIPPTTIIOONN
     EExx is the root of a family of editors: eeddiitt, eexx and vvii.  EExx is a superset
     of ed, with the most notable extension being a display editing facility.
     Display based editing is the focus of vi(1).

     If you have not used ed(1), or are a casual user, you will find that the
     editor eeddiitt is convenient for you.  It avoids some of the complexities of
     eexx used mostly by systems programmers and persons very familiar with
     ed(1).

     If you have a CRT terminal, you may wish to use a display based editor;
     in this case see vi(1), which is a command which focuses on the display
     editing portion of eexx.

DDOOCCUUMMEENNTTAATTIIOONN
     The document _E_d_i_t: _A _t_u_t_o_r_i_a_l (USD:14) provides a comprehensive introduc-
     tion to eeddiitt assuming no previous knowledge of computers or the UNIX sys-
     tem.

     The _E_x _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l - _V_e_r_s_i_o_n _3._7 (USD:16) is a comprehensive and
     complete manual for the command mode features of eexx, but you cannot learn
     to use the editor by reading it.  For an introduction to more advanced
     forms of editing using the command mode of eexx see the editing documents
     written by Brian Kernighan for the editor ed(1); the material in the in-
     troductory and advanced documents works also with eexx.

     _A_n _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 (USD:15) introduces the
     display editor vi(1) and provides reference material on vi(1).  In addi-
     tion, the _V_i _Q_u_i_c_k _R_e_f_e_r_e_n_c_e card summarizes the commands of vi(1) in a
     useful, functional way, and is useful with the _I_n_t_r_o_d_u_c_t_i_o_n.

EENNVVIIRROONNMMEENNTT
     The eexx command uses the following environment variables.

     EXINIT    User specified startup values for eexx.

     HOME      Default directory to search for the file ~/._e_x_r_c

     SHELL     Shell used for _e_s_c_a_p_e_d commands (with the !!  command).

     TERM      Terminal type.

     TERMCAP   Alternate termcap file.

FFIILLEESS
     /_u_s_r/_l_i_b_e_x_e_c/_e_x?.?_s_t_r_i_n_g_s	  error messages
     /_u_s_r/_l_i_b_e_x_e_c/_e_x?.?_r_e_c_o_v_e_r	  recover command
     /_u_s_r/_l_i_b_e_x_e_c/_e_x?.?_p_r_e_s_e_r_v_e   preserve command
     /_u_s_r/_s_h_a_r_e/_m_i_s_c/_t_e_r_m_c_a_p	  describes capabilities of terminals
     ~/._e_x_r_c			  editor startup file
     /_t_m_p/_E_x_n_n_n_n_n		  editor temporary
     /_t_m_p/_R_x_n_n_n_n_n		  named buffer temporary
     /_v_a_r/_p_r_e_s_e_r_v_e		  preservation directory


SSEEEE AALLSSOO
     awk(1), ed(1), grep(1), sed(1), grep(1), vi(1), termcap(5), environ(7)
HHIISSTTOORRYY
     EExx appeared in 3 BSD.

AAUUTTHHOORR
     Originally written by William Joy
     Mark Horton has maintained the editor since version 2.7, adding macros,
     support for many unusual terminals, and other features such as word ab-
     breviation mode.

BBUUGGSS
     The uunnddoo command causes all marks to be lost on lines changed and then
     restored if the marked lines were changed.

     UUnnddoo never clears the buffer modified condition.

     The zz command prints a number of logical rather than physical lines.
     More than a screen full of output may result if long lines are present.

     File input/output errors don't print a name if the command line `--'
     option is used.

     There is no easy way to do a single scan ignoring case.

     The editor does not warn if text is placed in named buffers and not used
     before exiting the editor.

     Null characters are discarded in input files, and cannot appear in
     resultant files.