home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / BASHOS2.ZIP / README.OS2 < prev   
Text File  |  1992-11-28  |  3KB  |  79 lines

  1. Hey Emacs this is -*- text -*-
  2.  
  3. NOTE: If you do not have a directory containing emx.dll, emxio.dll, 
  4.       and emxlibc.dll in the LIBPATH statement of your CONFIG.SYS,
  5.       Please add the directory \dll contained in this archive
  6.       to your LIBPATH.
  7.  
  8. This file will List problems and fixes and new features for OS/2.
  9.  
  10.  
  11. Known inconsistencies.
  12.  
  13. * (unix style) Jobs and background proccess are not ported
  14.    (see Launch below)
  15. * cannot exec a pm application
  16. * shell scripts must end in .sh 
  17. * ...
  18.  
  19. New Features of BASH/2
  20.  
  21. * DRIVE environment Variable contains the current drive
  22. * \x \X In the prompt will include the drive in lower and upper case 
  23. * changing directories to a drive (ie. cd c:/os2) 
  24.   (see below on how to make c: work)
  25. * To get the hostname define (SYSTEMNAME) in config.sys
  26. * To get the user name define (LOGNAME) in config.sys
  27. * two new Environment variables:
  28.   bash_spec - contains the name of the program to use to interpret .cmd & .bat
  29.         if the values is not set it will be set from COMSPEC
  30.   spec_options - contains the options to pass to bash_spec. the default is /c
  31.  
  32.        The variables come in handy when you want to run .cmd and .bat files
  33.        in a certain command procceser. Let's say you were using 4OS2 and you
  34.        want you subshells from application to 4OS2 shell and you want you .cmd
  35.        & .bat file to be processed bye com.exe. Setting bash_spec will allow 
  36.        you to accomplish this.
  37.                               
  38. * New built in type of fstype [ drive ]. With no arguments it will return the
  39.   file system type for the current drive.  The return values are HPFS,FAT,LAN,
  40.   CDFS, NFS
  41.     example:
  42.     if [ `fstype c:` = "HPFS" ] then
  43.       echo "Cool, FAT Free" > foo.fi.foum
  44.     else 
  45.       echo "FAT is bad for you health" > foo.fat
  46.     fi         
  47.  
  48. *** New the week of 11/13/92 *****
  49. * when using a fat file system just rename the startup files without the dots
  50.   (hpfs: .bashrc fat: bashrc)
  51.  
  52. * New builtin launch
  53.   allows you to launch a program in another session. The following options
  54.   are available:
  55.     -d detach     run the specified program without input or output.
  56.     -w wait       wait for the program to finish. The program runs in
  57.               a windowed foreground session
  58.     -b background run the program in a different session in the background
  59.                   the default is foreground.
  60.     -n noclose    don't close the window when the program is done.
  61.         -f fullscreen run the program in a fullscreen session
  62.  
  63. * Arrow, home, delete keys work as expected
  64.   Pageup and Pagedown work the sames as Meta-< and Meta->.
  65.    (top and bottom of history)
  66.   Alt key will work like Meta is some cases.
  67.  
  68. * New Builtin dpwd
  69.   usage `dpwd c' returns the working directory of a drive. This is useful
  70.   to put in .bashrc as an alias (alias c:='cd `dpwd c`') to simulate
  71.   the drive change command of OS/2.
  72.  
  73.  
  74. Strangeness
  75.  
  76. * when executeing a shell script with a #!/bin/foo make sure the slashes
  77.   are backslashed (ie. #!\bin\foo) unless you use the extension for the forward
  78.   slashed (ie. #!/bin/foo.exe)
  79.