UNIX installation specific functions.

Building and installing JED requires that you also have the S-Lang library
to link to (cc *.c -lslang).  This library is available from
amy.tch.harvard.edu in pub/slang.  Build it first.

Choose a path where you want the JED startup files kept.  Suppose, you
choose the path  /usr/local/lib/jed for this purpose.  Then

1. Create the directory:

		       pushd /usr/local/lib
		       mkdir jed
		       popd

2. Edit the appropriate .cshrc files (or .profile) and add

		   setenv JED_LIBRARY /usr/local/lib/jed

   Then source this (logout and back in if you do not know what I mean by
   `source').  This step is not necessary if JED is compiled with
   JED_LIBRARY defined.  See below.

3. Copy the *.sl, *.rc, *.info, *.?in, and *.hlp files to the new directory:

             cp *.rc *.info *.sl *.hlp *.?in /usr/local/lib/jed
		      
4. copy makefile.unx to makefile:

                     cp makefile.unx makefile

5. Edit the makefile to reflect your system.  Instructions are in it.  This
   is also the step where you have the chance to build JED with JED_LIBRARY
   hardcoded in the executable.
   
   Then type `make' at the prompt.

5. Copy the new executable to somewhere on your path, e.g.,

		       cp ./jed /usr/local/bin
		       rehash

6. By default, when JED starts up, it will load some files out of
   JED_LIBRARY then it will look for the file .jedrc in your home directory.
   If it does not find it, it will load the default file from JED_LIBRARY.
   This will give you both emacs and edt emulation.  If you do not want
   that, you will need to copy JED_LIBRARY/jed.rc to $HOME/.jedrc and edit it.

7. Optional but highly recommended.  Byte compile the S-Lang files.  This
   is done by running JED as:
     
         $ jed -batch -n -l bytecomp
	 
   This creates pre-parsed *.slc files that load quicker than *.sl files.
   
