home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat1
/
jove.0
< prev
next >
Wrap
Text File
|
1995-01-12
|
15KB
|
397 lines
JOVE(1) JOVE(1)
NNAAMMEE
jove - an interactive display-oriented text editor
SSYYNNOOPPSSIISS
jove [-d directory] [-w] [-t tag] [+[n] file] [-p file] [files]
jove -r
DDEESSCCRRIIPPTTIIOONN
JOVE is Jonathan's Own Version of Emacs. It is based on
the original EMACS editor written at MIT by Richard Stall-
man. Although JOVE is meant to be compatible with EMACS,
there are some major differences between the two editors
and you shouldn't rely on their behaving identically.
JOVE works on any reasonable display terminal that is
described in the _t_e_r_m_c_a_p file (see TERMCAP(5) for more
details). When you start up JOVE, it checks to see
whether you have your _T_E_R_M environment variable set. On
most systems that will automatically be set up for you,
but if it's not JOVE will ask you what kind of terminal
you are using. To avoid having to type this every time
you run JOVE you can set your _T_E_R_M environment variable
yourself. How you do this depends on which shell you are
running. If you are running the C Shell, as most of you
are, you type
% setenv TERM _t_y_p_e
and with the Bourne Shell, you type
$ TERM= _t_y_p_e ; export TERM
where _t_y_p_e is the name of the kind of terminal you are
using (e.g., vt100). If neither of these works get some-
body to help you.
IINNVVOOKKIINNGG JJOOVVEE
If you run JOVE with no arguments you will be placed in an
empty buffer, called _M_a_i_n_. Otherwise, any arguments you
supply are considered file names and each is "given" its
own buffer. Only the first file is actually read
in--reading other files is deferred until you actually try
to use the buffers they are attached to. This is for
efficiency's sake: most of the time, when you run JOVE on
a big list of files, you end up editing only a few of
them.
The names of all of the files specified on the command
line are saved in a buffer, called _*_m_i_n_i_b_u_f_*_. The mini-
buffer is a special JOVE buffer that is used when JOVE is
prompting for some input to many commands (for example,
when JOVE is prompting for a file name). When you are
being prompted for a file name, you can type C-N (that's
Control-N) and C-P to cycle through the list of files that
12 February 1986 1
JOVE(1) JOVE(1)
were specified on the command line. The file name will be
inserted where you are typing and then you can edit it as
if you typed it in yourself.
JOVE recognizes the following switches:
_-_d The following argument is taken to be the name of
the current directory. This is for systems that
don't have a version of C shell that automatically
maintains the _C_W_D environment variable. If _-_d is
not specified on a system without a modified C
shell, JOVE will have to figure out the current
directory itself, and that can be VERY slow. You
can simulate the modified C shell by putting the
following lines in your C shell initialization file
(.cshrc):
alias cd 'cd \!*; setenv CWD $cwd'
alias popd 'popd \!*; setenv CWD $cwd'
alias pushd 'pushd \!*; setenv CWD $cwd'
_+_n Reads the file, designated by the following argu-
ment, and positions point at the _n_'_t_h line instead
of the (default) 1'st line. This can be specified
more than once but it doesn't make sense to use it
twice on the same file; in that case the second one
wins. If no numeric argument is given after the +,
the point is positioned at the end of the file.
_-_p Parses the error messages in the file designated by
the following argument. The error messages are
assumed to be in a format similar to the C com-
piler, LINT, or GREP output.
_-_t Runs the _f_i_n_d_-_t_a_g command on the string of charac-
ters immediately following the -t if there is one
(as in -tTagname), or on the following argument (as
in -t Tagname) otherwise (see ctags(1)).
_-_w Divides the window in two. When this happens,
either the same file is displayed in both windows,
or the second file in the list is read in and dis-
played in its window.
RREECCOOVVEERRIINNGG BBUUFFFFEERRSS AAFFTTEERR AA CCRRAASSHH
The _-_r option of jove runs the JOVE recover program. Use
this when the system crashes, or JOVE crashes, or you
accidently get logged out while in JOVE. If there are any
buffers to be recovered, this will find them.
Recover looks for JOVE buffers that are left around and
are owned by you. (You cannot recover other peoples'
buffers, obviously.) If there were no buffers that were
modified at the time of the crash or there were but
12 February 1986 2
JOVE(1) JOVE(1)
recover can't get its hands on them, you will be informed
with the message, "There is nothing to recover." Other-
wise, recover prints the date and time of the version of
the buffers it has, and then waits for you type a command.
To get a list of the buffers recover knows about, use the
_l_i_s_t command. This will list all the buffers and the
files and the number of lines associated with them. Next
to each buffer is a number. When you want to recover a
buffer, use the _g_e_t command. The syntax is _g_e_t _b_u_f_f_e_r
_f_i_l_e_n_a_m_e where _b_u_f_f_e_r is either the buffer's name or the
number at the beginning of the line. If you don't type
the buffer name or the filename, recover will prompt you
for them.
If there are a lot of buffers and you want to recover all
of them, use the _r_e_c_o_v_e_r command. This will recover each
buffer to the name of the buffer with ".#" prepended to
the name (so that the original isn't over-written). It
asks for each file and if you want to restore that buffer
to that name you type "yes". If you want to recover the
file but to a different name, just type the new name in.
If you type "no" recover will skip that file and go on to
the next one.
If you want to look at a buffer before deciding to recover
it, use the _p_r_i_n_t command. The syntax for this is _p_r_i_n_t
_b_u_f_f_e_r where _b_u_f_f_e_r again is either its name or the num-
ber. You can type ^C if you want to abort printing the
file to the terminal, and recover will respond with an
appropriate message.
When you're done and have all the buffers you want, type
the _q_u_i_t command to leave. You will then be asked whether
it's okay to delete the tmp files. Most of the time
that's okay and you should type "yes". When you say that,
JOVE removes all traces of those buffers and you won't be
able to look at them again. (If you recovered some
buffers they will still be around, so don't worry.) So,
if you're not sur