home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SH162_2S.ZIP / INSTALL < prev    next >
Text File  |  1990-05-21  |  3KB  |  73 lines

  1.  MS-DOS Shell Version 1.6    INSTALL                April 1990
  2.  
  3.  MS-DOS SHELL - Copyright (c) 1990 Data Logic Limited and Charles Forsyth
  4.  
  5.  This code is based on (in part) the shell program written by Charles
  6.  Forsyth and is subject to the following copyright restrictions:
  7.  
  8.  1.  Redistribution and use in source and binary forms are permitted
  9.      provided that the above copyright notice is duplicated in the
  10.      source form and the copyright notice in file sh6.c is displayed
  11.      on entry to the program.
  12.  
  13.  2.  The sources (or parts thereof) or objects generated from the
  14.      sources (or parts of sources) cannot be sold under any circumstances.
  15.  
  16.     $Header: install 1.2 90/04/03 18:03:28 MS_user Exp $
  17.  
  18.     $Log:    install $
  19.     Revision 1.2  90/04/03  18:03:28  MS_user
  20.     Upgrade for 1.6
  21.  
  22.     Revision 1.1  90/01/29  18:03:04  MS_user
  23.     Initial revision
  24.  
  25. ________________________________________________________________________________
  26.  
  27. To rebuild and install the shell, you should follow the following the
  28. steps:
  29.  
  30. 1)  Load the include files in the include directory into the standard
  31.     location (\msc\include or equivalent).  Read CHANGES file for the
  32.     additional definitions which are required in the standard Microsoft
  33.     5 include files and edit them in to the appropriate files.
  34.  
  35.     We have standardised our MSDOS and Unix include files such that
  36.     the same include file exists our Unix system and MSDOS systems.
  37.     This makes porting a lot easier.  If you don't want to edit the
  38.     standard include files, you will have to generate an new include
  39.     file for the shell and include it as the first include in all the
  40.     C sources for the additional library functions and the Shell itself
  41.  
  42. 2)  Modify the library function open so that the O_NOINHERIT flag is
  43.     passed to MSDOS by the library.  This is not strictly necessary.
  44.     I did it using CodeView to see where the library function masks
  45.     the bottom three bits, noted the bytes around this location,
  46.     extracted the open function from the library, patched the mask
  47.     to be 0x83 instead of 0x03, and then replaced the function in the
  48.     library (Also see the Patch.Lib file).
  49.  
  50. 3)  Compile the library files in the directory /lib in large model mode
  51.     and add the objects to your large model library
  52.  
  53.     cl -c -AL -Olt *.c
  54.     <appropriate library commands>
  55.  
  56. 4)  Build the shell, either using make or
  57.  
  58.     cl -c -AL -Olt *.c
  59.     masm /Ml sh0.asm
  60.     link sh0+sh1+sh2+sh3+sh4+sh5+sh6+sh7+sh8+sh9+sh10/noi, sh.exe;
  61.  
  62.     Note that the order is important.  SH0.OBJ must be the first object
  63.     file in the load line.
  64.  
  65.     Install the shell in its correct location.
  66.  
  67. 5)  Modify the initialisation file sh.ini for your edit key preferences.
  68.  
  69. 6)  Modify the scripts as appropriate for your installation and install
  70.     them in the correct directories.
  71.  
  72. 7)  Type "sh -0" and see what happens.
  73.