home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / jed098-4.zip / JED / INSTALL.PC < prev    next >
Text File  |  1997-02-01  |  6KB  |  149 lines

  1. IBMPC (DOS and OS/2) installation specific functions.
  2.  
  3. !!! Note: Files with the extension '.zip' can be unzipped with 
  4. Info-Zip's unzip or with pkunzip. However, if using pkunzip, then 
  5. you MUST use the -d option; e.g.,
  6.  
  7.     pkunzip -d jed097.zip
  8.     
  9. Suppose that you have unzipped jed.zip from the subdirectory c:\editors. 
  10. You will then find:
  11.  
  12.     c:\editors\jed
  13.     c:\editors\jed\lib
  14.     c:\editors\jed\bin
  15.     c:\editors\jed\src
  16.     c:\editors\jed\info
  17.     c:\editors\jed\doc
  18.  
  19.         
  20. The directory C:\editors\jed will be your JED_ROOT directory.  You will 
  21. need to set the environment variable JED_ROOT, as in:
  22.  
  23.         set JED_ROOT=c:\editors\jed
  24.  
  25. Under DOS, this command should be placed in the autoexec.bat file.
  26. Under OS/2, users often place such lines in config.sys so that the
  27. variable is set in every command window. Other users have a standard
  28. file which they run at the start of every command window, and the
  29. "set" command could be placed in such a file. Don't edit config.sys
  30. unless you are confident in your ability to make changes to this
  31. essential file.
  32.  
  33.   +===========================================================
  34.  
  35.     Note:
  36.     
  37.     This version of JED is distributed in 3 ways:
  38.     
  39.          jed.exe   :  Borland BCC compiled DOS executable
  40.                   it runs on all PCs (8086,  80286, etc....
  41.  
  42.      wjed.exe  :  16 bit MS Windows executable.  This was compiled
  43.                   with Borland's BCC 3.1 compiler.  I do not have
  44.               access to a 32 bit Windows compiler so I am
  45.               unable to provide pre-compiled 32 bit Windows
  46.               executables.
  47.  
  48.      jed386.exe:  Flat 32 bit djgpp compiled executable.  A 386
  49.                   class machine is required.  It requires the
  50.               presence of DPMI server.  A DPMI server is
  51.               automatically available if running from a
  52.               Windows DOS box.  A free DPMI server is
  53.               available from ftp://space.mit.
  54.               available, 
  55.  
  56.     If you are intalling JED on a 386/486 DOS system, you should use
  57.     jed386.exe.  The jed386 executable is capable of editing much
  58.     larger files than is possible with jed.exe.  Previous versions
  59.     of jed386.exe relied on environment variables such as GO32TMP.
  60.     Since the new version of jed386.exe requires the presence of a
  61.     DPMI server, such environment variables are nolonger used.
  62.  
  63.     Windows, QDPMI, 386Max, NWDOS, OS/2, Win/NT and Linux DOSEmu all
  64.     provide DPMI services that jed386 can use.  If you do not have a
  65.     DPMI server, use Charles Sandmann's freely available DPMI server.
  66.     I have made the binary available via ftp from space.mit.edu in
  67.     /pub/davis/jed/csdpmi.  That directory contains two .zip files.
  68.     The only file that is required is `csdpmi3b.zip' which contains
  69.     the DPMI server and documentation. The other file, `csdpmi3s.zip',
  70.     contains the sources to the server and is not required.  Please
  71.     read the documentation that comes with the server for
  72.     installation.  Briefly this involves putting the executable
  73.     `cwsdpmi.exe' somewhere in your path, e.g., where you put
  74.     jed386.exe.  That's really all there is to it.  By default, it
  75.     will create a swap file called C:\cwsdpmi.swp.  Read the
  76.     instructions as part of csdpmi3b.zip for information about
  77.     changing the name or location of the swap file.
  78.     
  79.  +==================================================================
  80.   
  81. Copy the executable file `bin\jed.exe' to where you keep your other *.exe and
  82. *.com files (somewhere in your path!).
  83.  
  84.    [For DJGPP compiled jed386, copy it as well.  
  85.     Read above information about a DPMI server!]
  86.  
  87. Also, delete the *.com files from the bin directory.  These are VMS DCL
  88. command files and have nothing to do with DOS.   They are present simply
  89. because this distribution is also for VMS.
  90.  
  91. Reboot your machine so that the changes you have made in your autoexec.bat
  92. or config.sys file will take effect.
  93.  
  94. JED should now be installed on your system.  To test to see if it properly
  95. installed, byte compile the S-Lang library files by changing to the
  96. jed\lib\ subdirectory and running jed as:
  97.  
  98.         jed -batch -n -l preparse
  99.  
  100. This creates pre-parsed lib\*.slc files that load quicker than lib\*.sl files.
  101.  
  102. Once jed is installed on your system, it can be customized by editing the
  103. file `jed.rc'.  Read the bit about defaults.sl in install.all for
  104. customizing your distribution in a way that is compatable with future
  105. versions. 
  106.  
  107. !!!Note: If you run jed386.exe and you see an error message of the
  108. form:
  109.  
  110.    Load Error: no DPMI
  111.    
  112. then your need to re-read the above comments about a DPMI server.
  113.  
  114. -------------------------
  115. OS/2-specific information
  116. -------------------------
  117.  
  118. JED can be compiled for OS/2 2.x using Mattes' emx/gcc or Borland C, and
  119. for OS/2 1.x--2.x with Microsoft C.
  120.  
  121. The file jed/mkfiles/makefile.os2 will build JED using emx/gcc or MSC,
  122. depending on the settings given in the makefile.os2; the default is to
  123. use emx/gcc.  To compile JED for OS/2 using emx/gcc, just change to the
  124. directory jed/src, and give the command "DMAKE -f mkfiles/makefile.os2".
  125.  
  126. The default JED_ROOT location can be specified in the makefile, but if
  127. you prefer, you can leave the makefile value as it is, and instead
  128. specify the location by using a "SET JED_ROOT=..." statement in the OS/2
  129. config.sys file to set the environment variable.  The environment
  130. variable overrides the value built into JED by the makefile.
  131.  
  132. OS/2 versions first appeared in 0.95. Extended attributes are handled,
  133. and the case of filenames on HPFS will be preserved. Buffer-name
  134. completion will cycle through all matches, regardless of case.
  135.  
  136. The OS/2 versions can handle compressed info files, ispell, and man.
  137. Necessary support programs for these capabilities may be obtained from
  138. ftp.cdrom.com (currently in pub/os2/all/unix/ or pub/os2/2_x/unix/)
  139. or ftp.informatik.tu-muenchen.de.
  140.  
  141. I would like to acknowledge John Burnell (johnb@huia.grace.cri.nz) for his
  142. work on the OS/2 port.  In addition, I am very grateful to Darrel Hankerson
  143. (hankedr@mail.auburn.edu), who is responsible for the Microsoft C and
  144. emx/gcc versions, as well Dominik Wujastyk (ucgadkw@ucl.ac.uk) for his
  145. contribution to the OS/2 version.
  146.  
  147. Any questions should be emailed to me at davis@space.mit.edu.
  148.  
  149.