home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff342.lzh / SKsh / readme.pipes < prev    next >
Text File  |  1990-04-15  |  1KB  |  33 lines

  1.  
  2. This is a short note which describes how to use concurrent pipes.  Concurrent
  3. pipes are *NOT* supported as of SKsh version 1.4; however, there is enough
  4. there to play with.
  5.  
  6. First, set the 'r' option of SKsh by using the "options" command.  This
  7. turns on "real" pipes.  Now, set the following environment varibles:
  8.  
  9.    BG_PRI = 0
  10.    BG_STACK = 8000
  11.    PIPE_DEV = 'pipe:sksh'
  12.  
  13. (All of the variables must be set; if not, the pipes will not work).
  14.  
  15. Now, pipes between two external binaries will use the AmigaDos pipe device.
  16. However, there are several severe limitations:
  17.  
  18.   1) Pipes between 3 or more external binaries WILL CRASH THE SYSTEM.  This
  19.      appears to be a result of the ugly method used to join the native
  20.      AmigaDos I/O with the ANSI standard I/O, and not an SKsh bug.
  21.  
  22.   2) Pipes between interal SKsh commands (functions, etc) and external or
  23.      internal commands will still use temporary files.  This is because
  24.      concurrent pipes between internal shell commands requires a capability
  25.      that I simply do not have in the current version of AmigaDos.
  26.  
  27. Again, because this is important, *these inter process pipes are not at all
  28. robust*.  Use them at your own risk.  They will probably work much better in
  29. a future version of SKsh, but I'm not promising anything.
  30.  
  31.      - steve
  32.  
  33.