home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / pipdos11.zip / PipeDOS.doc < prev   
Text File  |  1995-07-05  |  2KB  |  73 lines

  1.  
  2. What is PipeDOS 1.1
  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 does only BIOS output.
  33. PipeDOS can now handle keyboard input. (YEAH!)  Programs like compilers,
  34. pkunzip, debug, etc. should work.  QBasic won't because it doesn't use BIOS
  35. output.  When in doubt, try it and see.
  36.  
  37.  
  38. Usage
  39. -----
  40.  
  41. PipeDOS is easy to use.  Simply copy pd.exe to the \os2 directory on your
  42. boot disk or any other directory in your path and copy _pd.exe to \os2\mdos
  43. or any other directory in your 'DOS' path.
  44.  
  45. To execute a DOS program you simply type 'PIPEDOS' followed by your standard
  46. DOS command.  For instance:
  47.  
  48.   pd mem /c
  49.  
  50.  
  51. What's New
  52. ----------
  53.  
  54. PipeDOS now handles keyboard input as well as output.
  55.  
  56.  
  57. Recompiling
  58. -----------
  59.  
  60. I have now included the source code.  I compiled _pd.c with the
  61. Borland C compiler and pd.c with IBM CSet++ 2.1.
  62.  
  63.  
  64. Comments
  65. --------
  66.  
  67. Please send any comments to the author:
  68.   Scott Maxwell
  69.   scottmax@netcom.com
  70.  
  71. PipeDOS is freeware but still:
  72. (C) 1995 Scott Maxwell
  73.