home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ELVIS(1) UNIX Programmer's Manual ELVIS(1)
-
-
-
- NNNNAAAAMMMMEEEE
- elvis, ex, vi, view, input - The editor
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- eeeellllvvvviiiissss [_f_l_a_g_s] [++++_c_m_d] [_f_i_l_e_s...]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _E_l_v_i_s is a text editor which emulates _v_i/_e_x.
-
- On systems which pass the program name as an argument, such
- as Unix and Minix, you may also install _e_l_v_i_s under the
- names "ex", "vi", "view", and "input". These extra names
- would normally be links to elvis; see the "ln" shell com-
- mand.
-
- When _e_l_v_i_s is invoked as "vi", it behaves exactly as though
- it was invoked as "elvis". However, if you invoke _e_l_v_i_s as
- "view", then the readonly option is set as though you had
- given it the "-R" flag. If you invoke _e_l_v_i_s as "ex", then
- _e_l_v_i_s will start up in the colon command mode instead of the
- visual command mode, as though you had given it the "-e"
- flag. If you invoke _e_l_v_i_s as "input" or "edit", then _e_l_v_i_s
- will start up in input mode, as though the "-i" flag was
- given.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----rrrr To the real vi, this flag means that a previous edit
- should be recovered. _E_l_v_i_s, though, has a separate
- program, called _e_l_v_r_e_c(_1), for recovering files. When
- you invoke _e_l_v_i_s with -r, _e_l_v_i_s will tell you to run
- _e_l_v_r_e_c.
-
- ----RRRR This sets the "readonly" option, so you won't acciden-
- tally overwrite a file.
-
- ----tttt _t_a_g
- This causes _e_l_v_i_s to start editing at the given tag.
-
- ----mmmm [_f_i_l_e]
- _E_l_v_i_s will search through _f_i_l_e for something that looks
- like an error message from a compiler. It will then
- begin editing the source file that caused the error,
- with the cursor sitting on the line where the error was
- detected. If you don't explicitly name a _f_i_l_e, then
- "errlist" is assumed.
-
- ----eeee _E_l_v_i_s will start up in colon command mode.
-
- ----vvvv _E_l_v_i_s will start up in visual command mode.
-
- ----iiii _E_l_v_i_s will start up in input mode.
-
-
-
-
- Printed 6/13/92 1
-
-
-
-
-
-
- ELVIS(1) UNIX Programmer's Manual ELVIS(1)
-
-
-
- ----wwww _w_i_n_s_i_z_e
- Sets the "window" option's value to _w_i_n_s_i_z_e.
-
- ++++_c_o_m_m_a_n_d or ----cccc _c_o_m_m_a_n_d
- If you use the +_c_o_m_m_a_n_d parameter, then after the first
- file is loaded _c_o_m_m_a_n_d is executed as an EX command. A
- typical example would be "elvis +237 foo", which would
- cause _e_l_v_i_s to start editing foo and then move directly
- to line 237. The "-c _c_o_m_m_a_n_d" variant was added for
- UNIX SysV compatibility.
-
- FFFFIIIILLLLEEEESSSS
- /tmp/elv*
- During editing, _e_l_v_i_s stores text in a temporary file.
- For UNIX, this file will usually be stored in the /tmp
- directory, and the first three characters will be
- "elv". For other systems, the temporary files may be
- stored someplace else; see the version-specific section
- of the documentation.
-
- tags This is the database used by the :_t_a_g_s command and the
- ----tttt option. It is usually created by the _c_t_a_g_s(_1) pro-
- gram.
-
- .exrc or elvis.rc
- On UNIX-like systems, a file called ".exrc" in your
- home directory is executed as a series of _e_x commands.
- A file by the same name may be executed in the current
- directory, too. On non-UNIX systems, ".exrc" is usu-
- ally an invalid file name; there, the initialization
- file is called "elvis.rc" instead.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ctags(1), ref(1), virec(1)
-
- _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.
-
- BBBBUUUUGGGGSSSS
- There is no LISP support. Certain other features are miss-
- ing, too.
-
- Auto-indent mode is not quite compatible with the real vi.
- Among other things, 0^D and ^^D don't do what you might
- expect.
-
- Long lines are displayed differently. The real vi wraps
- long lines onto multiple rows of the screen, but _e_l_v_i_s
- scrolls sideways.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Steve Kirkendall
- kirkenda@cs.pdx.edu
-
-
-
- Printed 6/13/92 2
-
-
-
-
-
-
- ELVIS(1) UNIX Programmer's Manual ELVIS(1)
-
-
-
- Many other people have worked to port _e_l_v_i_s to various
- operating systems. To see who deserves credit, run the
- :_v_e_r_s_i_o_n command from within _e_l_v_i_s, or look in the system-
- specific section of the complete documentation.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Printed 6/13/92 3
-
-
-
-