home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / pipedos.zip / PipeDOS.doc < prev    next >
Text File  |  1995-06-21  |  2KB  |  67 lines

  1.  
  2. What is PipeDOS
  3. ---------------
  4.  
  5. PipeDOS is a simple DOS command executer.  One big problem with running DOS
  6. commands in OS/2 is that OS/2 always creates a separate window, executes the
  7. command, and then closes the window when the command finishes.  Not only is
  8. this a bit jarring, but any important messages the DOS program outputs are
  9. destroyed with the window.
  10.  
  11. PipeDOS is an attempt to deal with this problem. Using PipeDOS, many simple
  12. command line utilities (PKUNZIP, DOS compilers, file converters) may be run
  13. seamlessly in an OS/2 window.
  14.  
  15. Since it also returns the error result code, it is especially good for running
  16. DOS compilers and make utilities seamlessly.
  17.  
  18. How it Works
  19. ------------
  20.  
  21. What PipeDOS does is very simple. It creates an invisible DOS window and
  22. tells the window to send all of its screen output to the original OS/2
  23. window through pipes. For you programmer types, it pipes the DOS sessions
  24. stdout and stderr to the OS/2 sessions stdout and stderr.
  25.  
  26. What this means is that many command line utilities will appear to be running
  27. in the OS/2 window.
  28.  
  29. Limitations
  30. -----------
  31.  
  32. This whole process really only works if the DOS program needs NO interaction.
  33. If it requires you to hit a key or enter a filename, the program will appear
  34. to stop. If I can figure out how to redirect the input as well as the output,
  35. I will fix this problem. (Suggestions anyone?)
  36.  
  37. As an example, if you do:
  38.   pipedos pkunzip /v pipedos.zip
  39. PipeDOS will show a listing of the files in pipedos.zip.  However, if you do:
  40.   pipedos pkunzip
  41. you will see the first help and then the program will seem to freeze. On the 
  42. invisible DOS screen, pkunzip is waiting for you to hit a key.  You will have
  43. to either hit Ctrl-C or change to the DOS session.
  44.  
  45.  
  46. Usage
  47. -----
  48.  
  49. PipeDOS is easy to use.  Simply copy pipedos.exe to the \os2 directory on your
  50. boot disk and copy _pd.exe to \os2\mdos.
  51.  
  52. To execute a DOS program you simply type 'PIPEDOS' followed by your standard
  53. DOS command.  For instance:
  54.  
  55.   pipedos mem /c
  56.  
  57.  
  58. Comments
  59. --------
  60.  
  61. Please send any comments to the author:
  62.   Scott Maxwell
  63.   scottmax@netcom.com
  64.  
  65. PipeDOS is freeware but still:
  66. (C) 1995 Scott Maxwell
  67.