home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / ms_sh23s.zip / Notes < prev    next >
Text File  |  1994-08-26  |  9KB  |  260 lines

  1. RELEASE 2.3    June 10th 1994        RELEASE 2.3    June 10th 1994
  2.  
  3. Version 2.3 Release Notes:
  4.  
  5. Release 2.3 has a few bugs fixed, already, and some new functionality.
  6.  
  7. Changes Functionality:
  8.  
  9. 230 Beta Release
  10.  
  11.     1.    Fix bug in select code with put the wrong value in ${name}.
  12.  
  13.     2.  Fix bug read command which stopped prompt from being displayed. 
  14.  
  15.     3.  Changing EDITOR or VISUAL should update line edit mode.
  16.  
  17.     4.  Fix bug with semicolon after a [[..]] on if construct.
  18.  
  19.     5.  Fix bug in exec >{filename} which returns incorrect value.
  20.  
  21.     6.  Add PATHEXTS functionality to allow a function to be invoked based
  22.     on a file extension.
  23.  
  24.     7.  Fix bug in Here Documents so that the list is correctly released.
  25.  
  26.     8.  Fix bug in . program which causes re-direction to be lost.
  27.  
  28.     9.  Fix \a in VI edit mode so that it generates \a and not a.
  29.  
  30.    10.  Fix WATCOM C library so that stat on . in the root works correctly.
  31.  
  32.    11.  Enable extended keyboards in non-DESQview mode
  33.  
  34.    12.  Fix signal bug on v command in VI editing mode.
  35.  
  36.    13.  Get SHELL set up correctly for MSDOS & OS/2.
  37.  
  38.    14.  Debug EMACS editing mode.
  39.  
  40. 231 Beta Release
  41.  
  42.    15.  Fix bug in stdargv code which does not handle quotes and escaped
  43.         quotes correctly (actually fixed in 230, but not reported as fixed).
  44.  
  45.    16.  Allow environment variable ETCPROFILE to specify the location on
  46.         the /etc/profile script.
  47.    
  48.    17.  Fix TurboC 2.0 build
  49.  
  50.    18.  Fix bug in mail string handling
  51.  
  52.    19.  Fix bug in use of command line which falls to quote wildcards if
  53.         UNIX mode is defined.
  54.  
  55.    20.  Temporary fix for TAB character in EMACS editing mode.
  56.  
  57. 232 Beta Release
  58.  
  59.    21.  Fix two segement violations - file name completion (wrong include
  60.         files on development system); and very long paths.
  61.  
  62.    22.  Started on NT port (5 versions!).  See Note 7 below
  63.  
  64.    23.  Allow enable/disable of pipes as ttys (for EMACS under OS/2 and
  65.         presumably NT) via PipeTTY option in sh.ini or SH_ALLOWTTYPIPES in
  66.     the environment (either one set, enables pipes as ttys).
  67.  
  68.    24.  Fix cursor so it shows insert mode for VI and EMACS.
  69.  
  70. 233 Beta Release
  71.  
  72.    25.  Improve other O/S program detection and reporting.
  73.  
  74.    26.  Allow specification of startup directory and environment variables
  75.         on command line.
  76.  
  77.    27.  Allow DOS and OS/2 versions to auto-start Windows for Windows
  78.         programs.  This could be a real problem since detecting DOS only
  79.     programs can be difficult.
  80.  
  81.    28.  Provide -t option to whence to tell user the program type.
  82.  
  83.    29.  Add ignoretype attribute to extended line file to allow user to
  84.         tell DOS version to ignore the results of the executable file header
  85.         examination.  Some DOS programs have bad headers which make them
  86.     look like OS/2 programs.
  87.  
  88.    30.  The shell tries to detect the underlying OS (Windows, OS/2 or NT).
  89.         We detect Windows using int 0x2f.  OS/2 from the OS version.  No way
  90.     of detected Win NT yet.  So add 'set -o os2' and 'set -o winnt' as a
  91.     temporary fix.
  92.  
  93. 234 Beta Release
  94.  
  95.    31.  Fix bug in the checking of executable headers.  Some OS/2 with .com
  96.         extensions are actually .exe files.  So check for exe header, then
  97.     .com extension.
  98.  
  99.    32.  Revisited #23.  Changed this to be a option in the ${EXTENDED_LINE}
  100.         file.  I think this only applies to EMACS on OS/2, set up the entry
  101.     for emacs in this file to include the option 'pipetty'.  For
  102.     example:
  103.  
  104.         emacs = pipetty
  105.  
  106.    33.  Add option (quotewild) in the ${EXTENDED_LINE} to specify if wild
  107.         cards in parameters should be double quoted.  The default is not to.
  108.  
  109.    34.  Fix bug in the sh.ini keycodes to EMACS function keys mapping.
  110.  
  111.    35.  Fix bug in set -o 'option' which caused the loss of the editing
  112.        mode.
  113.  
  114.    36.  Fix bug in EMACS filename completion so that ignorecase is honoured.
  115.  
  116.    37.  Fix bug in re-tracking of tracked aliases.
  117.  
  118.    38.  Fix bug in SECONDS variable handling.
  119.  
  120.    40.  Fix bug in array number expansion (like it didn't get done).
  121.  
  122.    41.  Bring forward EMACS initialisation so that Bind will work in the
  123.     profiles.
  124.  
  125.    42.  Fix bug in tracked aliases which resulted in \s in the file name instead
  126.     of /s.
  127.  
  128.    43.  Allow non-function keys in sh.ini to be bound for emacs editing.
  129.  
  130.    44.  Add some new options to the start command to allow some addition
  131.         parameters to be specified:
  132.  
  133.        -h|H inherit current or start up environment
  134.        -b background
  135.        -x related session
  136.        -O [pm|dos] change the default parameters the shell uses to
  137.                   start a PM or DOS program
  138.        -O [pm|dos] -D display the parameters the shell uses to start
  139.                  a PM or DOS program
  140.  
  141.   45.  Fix some bugs in displaying functions.
  142.  
  143.   46.  Fix syntax of while ... do ... done.
  144.  
  145.   47.  Add catching of co-processes invokation and stop it at the moment.
  146.  
  147.   48.  Update manual pages for everything except PATHEXTS
  148.  
  149.   49.  Fix bug in starting Windows programs (and Windows) under DOS.
  150.  
  151.   50.  Use STARTWINP to define how to start a windows app when running
  152.        under Windows.
  153.  
  154.   51.  Fix bug in cd with CDPATH.  cd to . and .. should always go to the
  155.        current or parent directory, irrespective of the CDPATH value.
  156.  
  157.   52.  EMX OS/2 port done
  158.  
  159.   53.  Fix bug in reporting of 'program not found'
  160.  
  161. 235 Beta Release
  162.  
  163.   54.  Fix bug setting variables read-only - like it won't let you.
  164.  
  165.   55.  Fix bug in (( ... )), does not work.  Forgot to set string is inside
  166.        Double quotes.  Its still not quite right, but it works.  Try it in
  167.        a function and list the function to see a problem.
  168.  
  169.   56.  Implement set -o which was missing.
  170.  
  171.   57.  Fix bug in [[ ]] in functions.
  172.  
  173.   58.  EMX DOS port started.
  174.  
  175.   59.  Fix bug in Mail checking functionality.
  176.  
  177.   60.  Fix bug in EMACS history search.
  178.  
  179.   61.  Changed console detection for MSDOS.  Add check that /dev/con is the
  180.        console.  Otherwise, treate the stdin as a device. 
  181.  
  182.   62.  Changes exec handling in MSDOS 16bit.  Now do a spawn and exit so
  183.        that all memory is available to the new process, in stead of having
  184.        a 2K Memory Control Block down memory allocated to the shell.
  185.     
  186.   63.  In a script, if #!program cannot be found, strip the path and try
  187.        that.
  188.  
  189.   64.  Variables exported in a function, lose their export status on
  190.        completion of that function.
  191.  
  192. Missing POSIX Shell functionality:
  193.  
  194.     I've looked at three different version of ksh (under AIX, HP UX and ICL's
  195.     DN/X) and each one has something slightly different.  In general, I believe
  196.     the following functionality is missing from the shell, some of which can not
  197.     be implemented under either MSDOS or OS/2.
  198.  
  199.     1.  Filename generation currently matches the Bourne and not the Korn shell
  200.  
  201.     Missing, not supportable.
  202.  
  203.     1.  The ulimit command - no MSDOS or OS/2 equivalent
  204.     2.  The bg and fg commands are not implemented - no equivalent
  205.     functionality.
  206.     3.  The set -p (disable $HOME/.profile processing) has not been implemented.
  207.     4.  The ~ at the start of a word only supports the $HOME, $PWD or $OLDPWD
  208.         substitutions.  There's no /etc/passwd.
  209.     5.  TMOUT is not implemented, what's functionality under MSDOS or OS/2 I
  210.     ask?
  211.     6.  jobs under MSDOS - HA!
  212.     7.  Co-processes.  Again, really difficult to implement under MSDOS
  213.         and OS/2 (I think).
  214.  
  215. The following enhancements/bugs remain outstanding:
  216.  
  217.     1.  Interrupting a swap at the wrong time may cause the shell to hang.
  218.     I've not been able to track this down.  I think it may be some funny
  219.     interaction with Quaterdesk's QEMM memory manager, since it does
  220.     not happen with any other memory manager.
  221.  
  222.     2.  Under IBM's OS/2 C Set/2, the umask API does not work correctly.
  223.     umask (0) returns an error, when it should return the current
  224.     value.
  225.     
  226.     3.  Under WATCOM and OS/2, the DosQProcStatus API causes a core dump,
  227.     so the jobs function is disabled in versions built with WATCOM.
  228.     WATCOM have been informed - no response.  Use ps.exe instead.
  229.     The shell fex's ps.exe so if you use jobs, stick ps.exe in your
  230.     path.
  231.     
  232.     4.  Under OS/2 in 16-bit mode, the DosStartSession API causes the
  233.     system to died with dependent sessions.  Sessions are always
  234.     independent.  IBM (UK) have been informed - no response.  Microsoft
  235.     haven't.
  236.  
  237.     5.  I've built and run the Borland Turbo C version, but not really done
  238.     extensive testing on it.  The main development and release compiler
  239.     remains Microsoft C5.1 (for MSDOS), C6.0 (for OS/2) NT SDK (for NT)
  240.     and WATCOM for the 32-bit versions.
  241.  
  242.     6.  I've built and tested the OS/2 2.2 32-bit version using IBM C Set/2,
  243.     and extensively tested using that version.  However, I am no longer
  244.     in a position to build using this compiler.  Release 2.2 and later
  245.     have not been fully tested for the IBM C Set/2 OS/2 32-bit version.
  246.  
  247.     7.  Windows NT.  I've run the 16-bit DOS version on NT.  The 32-bit
  248.     DOS version does not work.  A real NT version is 99% there -
  249.     jobs do not appear to work - WaitForSingleObject and cwait fail.
  250.     Any ideas?
  251.  
  252.     8.  For a number of reasons, the EMX version cannot be used on DOS
  253.     (dup2 does not work reliably, spawn does not handle non-EMX apps).
  254.  
  255. Thanks are due to all the people on the Internet who comment on, tested, put
  256. up with me, and generally 'bash'ed the shell about for their comments, fixes,
  257. tolerance etc. in testing release 2.3
  258.  
  259. Ian Stewartson.
  260.