home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / editor / elvis / elvis.doc < prev    next >
Text File  |  1994-01-30  |  6KB  |  199 lines

  1.  
  2.  
  3.  
  4. ELVIS(1)            UNIX Programmer's Manual             ELVIS(1)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      elvis, ex, vi, view, input - The editor
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      eeeellllvvvviiiissss [_f_l_a_g_s] [++++_c_m_d] [_f_i_l_e_s...]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _E_l_v_i_s is a text editor which emulates _v_i/_e_x.
  16.  
  17.      On systems which pass the program name as an argument, such
  18.      as Unix and Minix, you may also install _e_l_v_i_s under the
  19.      names "ex", "vi", "view", and "input".  These extra names
  20.      would normally be links to elvis; see the "ln" shell com-
  21.      mand.
  22.  
  23.      When _e_l_v_i_s is invoked as "vi", it behaves exactly as though
  24.      it was invoked as "elvis".  However, if you invoke _e_l_v_i_s as
  25.      "view", then the readonly option is set as though you had
  26.      given it the "-R" flag.  If you invoke _e_l_v_i_s as "ex", then
  27.      _e_l_v_i_s will start up in the colon command mode instead of the
  28.      visual command mode, as though you had given it the "-e"
  29.      flag.  If you invoke _e_l_v_i_s as "input" or "edit", then _e_l_v_i_s
  30.      will start up in input mode, as though the "-i" flag was
  31.      given.
  32.  
  33. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  34.      ----rrrr   To the real vi, this flag means that a previous edit
  35.           should be recovered.  _E_l_v_i_s, though, has a separate
  36.           program, called _e_l_v_r_e_c(_1), for recovering files.  When
  37.           you invoke _e_l_v_i_s with -r, _e_l_v_i_s will tell you to run
  38.           _e_l_v_r_e_c.
  39.  
  40.      ----RRRR   This sets the "readonly" option, so you won't acciden-
  41.           tally overwrite a file.
  42.  
  43.      ----tttt _t_a_g
  44.           This causes _e_l_v_i_s to start editing at the given tag.
  45.  
  46.      ----mmmm [_f_i_l_e]
  47.           _E_l_v_i_s will search through _f_i_l_e for something that looks
  48.           like an error message from a compiler.  It will then
  49.           begin editing the source file that caused the error,
  50.           with the cursor sitting on the line where the error was
  51.           detected.  If you don't explicitly name a _f_i_l_e, then
  52.           "errlist" is assumed.
  53.  
  54.      ----eeee   _E_l_v_i_s will start up in colon command mode.
  55.  
  56.      ----vvvv   _E_l_v_i_s will start up in visual command mode.
  57.  
  58.      ----iiii   _E_l_v_i_s will start up in input mode.
  59.  
  60.  
  61.  
  62.  
  63. Printed 6/13/92                                                 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ELVIS(1)            UNIX Programmer's Manual             ELVIS(1)
  71.  
  72.  
  73.  
  74.      ----wwww _w_i_n_s_i_z_e
  75.           Sets the "window" option's value to _w_i_n_s_i_z_e.
  76.  
  77.      ++++_c_o_m_m_a_n_d or ----cccc _c_o_m_m_a_n_d
  78.           If you use the +_c_o_m_m_a_n_d parameter, then after the first
  79.           file is loaded _c_o_m_m_a_n_d is executed as an EX command.  A
  80.           typical example would be "elvis +237 foo", which would
  81.           cause _e_l_v_i_s to start editing foo and then move directly
  82.           to line 237.  The "-c _c_o_m_m_a_n_d" variant was added for
  83.           UNIX SysV compatibility.
  84.  
  85. FFFFIIIILLLLEEEESSSS
  86.      /tmp/elv*
  87.           During editing, _e_l_v_i_s stores text in a temporary file.
  88.           For UNIX, this file will usually be stored in the /tmp
  89.           directory, and the first three characters will be
  90.           "elv".  For other systems, the temporary files may be
  91.           stored someplace else; see the version-specific section
  92.           of the documentation.
  93.  
  94.      tags This is the database used by the :_t_a_g_s command and the
  95.           ----tttt option.  It is usually created by the _c_t_a_g_s(_1) pro-
  96.           gram.
  97.  
  98.      .exrc or elvis.rc
  99.           On UNIX-like systems, a file called ".exrc" in your
  100.           home directory is executed as a series of _e_x commands.
  101.           A file by the same name may be executed in the current
  102.           directory, too.  On non-UNIX systems, ".exrc" is usu-
  103.           ally an invalid file name; there, the initialization
  104.           file is called "elvis.rc" instead.
  105.  
  106. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  107.      ctags(1), ref(1), virec(1)
  108.  
  109.      _E_l_v_i_s - _A _C_l_o_n_e _o_f _V_i/_E_x, the complete _e_l_v_i_s documentation.
  110.  
  111. BBBBUUUUGGGGSSSS
  112.      There is no LISP support.  Certain other features are miss-
  113.      ing, too.
  114.  
  115.      Auto-indent mode is not quite compatible with the real vi.
  116.      Among other things, 0^D and ^^D don't do what you might
  117.      expect.
  118.  
  119.      Long lines are displayed differently.  The real vi wraps
  120.      long lines onto multiple rows of the screen, but _e_l_v_i_s
  121.      scrolls sideways.
  122.  
  123. AAAAUUUUTTTTHHHHOOOORRRR
  124.      Steve Kirkendall
  125.      kirkenda@cs.pdx.edu
  126.  
  127.  
  128.  
  129. Printed 6/13/92                                                 2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ELVIS(1)            UNIX Programmer's Manual             ELVIS(1)
  137.  
  138.  
  139.  
  140.      Many other people have worked to port _e_l_v_i_s to various
  141.      operating systems.  To see who deserves credit, run the
  142.      :_v_e_r_s_i_o_n command from within _e_l_v_i_s, or look in the system-
  143.      specific section of the complete documentation.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Printed 6/13/92                                                 3
  196.  
  197.  
  198.  
  199.