home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / AP / JED / JED097-1.TAR / jed / install.vms < prev    next >
Encoding:
Text File  |  1994-12-12  |  4.5 KB  |  113 lines

  1. 0. Building and installing JED requires that you also have the S-Lang library
  2.    to link to.  Build it first.  
  3.  
  4. 1. Pick some place for JED.
  5.    JED is distributed in a TREE structure:
  6.  
  7.      JED_ROOT:
  8.      JED_ROOT:[src]
  9.      JED_ROOT:[info]
  10.      JED_ROOT:[doc]
  11.      JED_ROOT:[lib]
  12.      JED_ROOT:[bin]
  13.      
  14.    Here JED_ROOT can be anything.  Its value is up to you.  It should be a
  15.    concealed logical.  For example, suppose that JED is unpacked in a
  16.    directory 
  17.    
  18.        dev$source:[editors.jed]
  19.        
  20.    You CANNOT simply define JED_ROOT to be this value.  Instead, it must be a
  21.    concealed logical defined as:
  22.    
  23.      $ define/job/trans=(concealed) jed_root dev$source:[editors.jed.]
  24.  
  25.    It is important to note the final `.' after jed.  This logical must be
  26.    placed in the job table; system managers may put it in the system table
  27.    instead.
  28.  
  29.    Instead of the above, I recommend something like:
  30.    
  31.      $ jedroot = f$logical("DEV$SOURCE") - "]" + "EDITORS.JED.]"
  32.      $ define/job/trans=(concealed) jed_root 'jedroot'
  33.    
  34.    It is best to put the definition in the appropriate startup file
  35.    (systartup.com, sylogin.com, login.com).
  36.    
  37.    Note: If are currently using a very old version of JED and and you have
  38.    JED_LIBRARY defined as a logical, please remove it.
  39.  
  40. 2. Build the jed.exe executable file: After you have properly setup the
  41.    JED_ROOT logical, change to the directory 'jed_root:[src]'.  You should
  42.    now edit the 'vmsmake.com' file to indicate the location of the S-Lang
  43.    library constructed in step 0. Directions are included in vmsmake.com.
  44.  
  45.    Currently the file is structured such that typing `@vmsmake' at the VMS
  46.    DCL prompt will make jed.exe for systems which have DEC's VMS C compiler.
  47.    For systems that use GCC, `@vmsmake gcc' might also work.  That is:
  48.    
  49.      $ @vmsmake          ! VMS CC
  50.      $ @vmsmake gcc      ! GNU GCC
  51.  
  52.    Once JED.EXE and XJED.exe are built, move them to JED_ROOT:[bin].  This
  53.    may be accomplished by doing:  
  54.    
  55.      $ rename *.exe [-.bin]
  56.  
  57. 4. Put one of the following in either your sylogin.com for all users
  58.    or in login.com.  Note that JED_ROOT must be defined!
  59.  
  60.      $ @JED_ROOT:[bin]init_jed.com  0 0     ! no kept editor/no mail
  61.      $ @JED_ROOT:[bin]init_jed.com  0 1     ! no kept editor/ use for mail
  62.      $ @JED_ROOT:[bin]init_jed.com  1 0     ! kept editor/ no mail (most systems)
  63.      $ @JED_ROOT:[bin]init_jed.com  1 1     ! kept editor/use for mail
  64.      
  65.    The first flag indicates whether jed should be installed as a standalone
  66.    executable or as a kept editor.  Use 1 for kepteditor or 0 for standalone.
  67.    The second flag indicates whether or not mail$edit logical should be 
  68.    defined to point to jed.  If it is set to 1, vms mail will call jed to
  69.    edit the mail message.  If JED is run as a kept editor, mail will simply
  70.    attach to JED for editing.   Most systems will probably use the 3rd
  71.    choice above.    
  72.      
  73. 5. The file jed.rc contains the default keysettings for most users.  On VMS
  74.    this means users will get both edt and emacs keybindings.  It is not
  75.    necessary for every user to have a copy of this file.  JED will search
  76.    for jed.rc in sys$login first and if not found, it will load jed.rc from
  77.    JED_ROOT:[LIB].
  78.  
  79. 6. It may be necessary to edit site.sl if you have an info directory where
  80.    info files are kept.  If you do not understand this statement, then you
  81.    do not have info.
  82.    
  83. 7. Make sure all users who will be using JED have permission to do so.  The
  84.    easiest way to do this is to type:
  85.    
  86.      $ set file/protection=(w:re) jed_root:[000000...]
  87.    
  88. 8. Optional but highly recommended.  Preparse the S-Lang files.  This
  89.    is done by running JED as:
  90.      
  91.          $ jed -batch -n -l preparse
  92.      
  93.    This creates pre-parsed *.slc files that load quicker than *.sl files.
  94.    It is also a convenient test to see if JED has been installed properly.
  95.    
  96.    Once you do this, make sure that you give the WORLD read permission on
  97.    the files.  Do:
  98.    
  99.          $ set file/protection=(W:RE) JED_ROOT:[lib]*.slc
  100.      
  101.      !!! Do not use *.*.   Use *.slc.
  102.      
  103. 9. It is possible that you have the PC distribution.  This distribution
  104.    truncates filenames to 8+3 style names.  If you have
  105.    JED_ROOT:[LIB]VMS_SHEL.COM, rename it to VMS_SHELL.COM.  Also make sure
  106.    that JED_ROOT:[INFO] contains dir.info and not dir.inf.
  107.    
  108. 10. Read the bit about defaults.sl in install.all for customizing your
  109.     distribution. 
  110.    
  111. 11. Please email bugs, installation problems, or hints about how to better
  112.     install JED to `davis@amy.tch.harvard.edu'.
  113.