home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / ms_sh22s.zip / ReadMe < prev    next >
Text File  |  1993-12-03  |  6KB  |  161 lines

  1.  MS-DOS Shell Version 2.2    README                December 1993
  2.  
  3.  MS-DOS SHELL - Copyright (c) 1990,3 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: /usr/users/istewart/src/shell/sh2.2/Release/RCS/ReadMe,v 2.2 1993/12/03 13:32:52 istewart Exp $
  17.  
  18.     $Log: ReadMe,v $
  19.     Revision 2.2  1993/12/03  13:32:52  istewart
  20.     Release 2.2
  21.  
  22.     Revision 2.1  1992/12/14  11:14:32  istewart
  23.     BETA 215 Fixes and 2.1 Release
  24.  
  25.     Revision 2.0  1992/04/13  17:40:33  Ian_Stewartson
  26.     MS-Shell 2.0 Baseline release
  27.  
  28.     
  29. ________________________________________________________________________________
  30.  
  31. This is an implementation of the Unix Shell for MSDOS.  As far as possible it
  32. is compatible with the System V.4 program sh(1) with ksh(1) extension.  The
  33. following differences are noted:
  34.  
  35. 1)  Background or asynchronous commands are not supported under MSDOS.  Some
  36.     support is provided under OS/2, but it is not as full as UNIX.  You can
  37.     only run one command and not a pipeline in background.
  38.  
  39. 2)  Certain internal commands which have no equivalent MSDOS or OS/2 supported
  40.     functionality support (ulimit, time etc) are not provided.
  41.  
  42. 3)  Command hashing and accounting are not supported.
  43.  
  44. 4)  Some of the ksh functionality has not yet been implemented or made ksh
  45.     compatible (see Notes file).
  46.  
  47. 5)  The Shell uses all variables starting with a ~ (tilde) internally and will
  48.     not allow you to display them.  I don't think this is a difference from
  49.     the user's view, just internally.
  50.  
  51. The Shell has been tested mainly under MSDOS 3.3, 4.01, 5.2, 6.0, 6.2 and OS/2
  52. 1.3, 2.0 and 2.1.  It has exposed some shortcomings in the C6.0 compiler and
  53. MSDOS library.  As such, using C5.1 and its library are prefered when
  54. re-building the shell for MSDOS.
  55.  
  56. The following enhancements have been made for the MSDOS environment.  These
  57. enhancements are described in the appropriate section of the manual pages.
  58.  
  59. 1)  Under MSDOS (16-bit version), the Shell will swap itself out to one of
  60.     the following:
  61.  
  62.     - Expanded memory
  63.     - Extended memory
  64.     - Disk (this is the slowest)
  65.  
  66.     The swapping is controlled by the shell internal command swap.  If
  67.     swapping is enabled, the shell only uses 3K of memory whilst a child
  68.     process is executing.
  69.  
  70.     Note: Swapping to Extended memory is probably the most dangerous unless
  71.       you have an XMS memory manager available.  The shell requires the
  72.       XMS manager to support the version 2 XMS specification.
  73.  
  74. 2)  Command line editing has been added for non VI or EMACS mode.  A
  75.     configuration file (sh.ini) allows the Command Line editing keys to be
  76.     tailored to the users requirements.
  77.  
  78. 3)  The command line prompt can be programmed to display 'useful' information.
  79.  
  80. 4)  The shell uses Unix format file names (ie slashes and not backslashes) to
  81.     delimit directories.  Some programs require certain environment variables
  82.     to be in MS-DOS format (using backslashes).  The msdos or typeset -H
  83.     commands allows these variables to be marked so that they are set correctly
  84.     when the environment for a program is set up.
  85.  
  86. 5)  The format of the command line which the shell passes to a program is
  87.     configurable between normal, indirect files and environment variables
  88.     (see SH.1).  A version of stdargv.c which supports the indirect file
  89.     format (and wildcards from a normal command line) is included.
  90.  
  91. 6)  Wild cards on drives (ie echo *:*.c will echo all the C files in the
  92.     current directories of each drive) are supported.
  93.  
  94. 7)  Full Interrupt 24 processing has been added.
  95.  
  96. 8)  Alternate command interpreters are supported in shell scripts a la
  97.     Unix V.4.
  98.  
  99. 9)  A number of OS/2 internal commands (start, detach) have been addded.
  100.  
  101. 10) The Notes file describes the fixes and changes between Release 2.1 and
  102.     2.2
  103.  
  104. 11) Significant parts of the shell have been re-written this release 2.1.
  105.  
  106.  
  107. The following Bugs are known to exist in the Shell.
  108.  
  109. 1)  See Notes file.
  110.  
  111. 2)  EMACS line editing mode is not enabled or tested.
  112.  
  113. 3)  I may have mis-interpreted the functionality of either the UNIX version
  114.     of sh or ksh (tell me about it).
  115.  
  116. The shell was built using Microsoft C 5.1 and MASM v5.1 in large model mode
  117. for MSDOS and Microsoft C6.0 for OS/2 (16 bit) and WATCOM 9 for both 32-bit
  118. versions.
  119.  
  120. In addition, the version of open in your library must pass the O_NOINHERIT bit
  121. on the MSDOS kernel.  The Microsoft C v5.1 library (and possibly the v6.0) does
  122. not pass this bit on to the MSDOS open System call.  I fixed this using CodeView
  123. to find where the library function masks off the bottom 2 bits.  Extracted the
  124. object from the library and patched mask from 0x03 to 0x83 in the object and
  125. reload into the library.  No Problem.  The Patch.Lib document describes the
  126. process in more detail.
  127.  
  128. You can do want you like with this software as long as you don't sell it or
  129. remove the Copyright notices in the sources or object.
  130.  
  131. If you have any problems or want to let me know about any enhancements you
  132. have made (which could be included in a new general release), you can contact
  133. me at
  134.  
  135.     Data Logic Limited
  136.     Kings House
  137.     Kymberley Way
  138.     Harrow
  139.     Middlesex, HA1 1YD
  140.     UK.
  141.  
  142.     Phone : +44 1 863 0383
  143.     E-Mail: istewart@datlog.co.uk
  144.  
  145. Note:
  146.     Unix is a registered trademark of AT&T Bell Laboratories
  147.     Microsoft, MSDOS, MASM and CodeView are registered trademarks of Microsoft
  148.     Corporation
  149.     OS/2 is a registered trademark of Internation Business Machines Corporation
  150.  
  151. Acknowledgements:
  152.  
  153. This program is based on ideas, code or parts of code developed by:
  154.  
  155.     David Korn and Steve Bourne (the original ideas)
  156.     Charles Forsyth (original source for the MINIX Shell program)
  157.     Erik Baalbergen (original source for the MINIX test program)
  158.     Paul Falstad (original source for the maths functions from GNU zsh program)
  159.     Simon J. Gerraty (the code for the new lexical analyser and the VI/EMACS
  160.     edit functions).
  161.