1Before reading this, read the appropriate install file for you system, e.g.,
2install.unx.  For MSDOS, WINDOWS, or OS/2, read INSTALL.pc.
3
4This file contains hints for customizing JED in such a way that it is easy
5to upgrade to later releases.
6
7When JED starts up, it reads the file `site.sl' which is located in the lib
8directory under JED_ROOT.  This file contains much of the code that defines
9the look of the editor.  For instance, it defines how the command line
10parameters are to be interpreted and the name of the user's personal
11initialization file.
12
13One could always edit site.sl and taylor it to the needs of a given system.
14However, one would have to do this with every upgrade.  There is a better
15way.
16
17Immediately after loading site.sl, the editor will attemp to load a file
18called `defaults.sl' from JED_ROOT/lib.  This file is not distributed with
19JED.  It is up to the installer to create this file if that is the desire.
20An example called `linux.sl' is provided for Linux systems.  Linux
21administrators are encouraged to pattern their defaults.sl file after
22linux.sl.
23
24What is this file used for?  It is used to modify site.sl.  Since site.sl is
25written in S-Lang, any of the functions defined in it can simply be
26redefined by creating new ones.  The same is true for the variables that it
27defines.
28
29For example, many systems have a directory where info files are kept.  Let's
30assume that this directory is `/usr/info'.  Then one should point the
31`Info_Directory' variable defined by `site.sl' to this directory:
32
33% defaults.sl
34Info_Directory = "/usr/info";
35
36It is probably a good idea to copy the files in JED_ROOT/info to directory
37where the info files are kept and edit the info DIR file appropriately.
38
39Another idea is to take advantage of the fact that JED's info reader has the
40ability to search along a path list.  Simply edit the /usr/info/DIR file and
41add jed to the tree but leave JED's info files in JED_ROOT/info.  Then, use
42something like:
43
44%defaults.sl
45Info_Directory = strcat ("/usr/info,", Info_Directory);
46
47Enjoy.
48