home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / misc / 41547 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!unruh
  2. From: unruh@physics.ubc.ca (William Unruh)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Detach command.
  5. Date: 7 Jan 1993 20:29:28 GMT
  6. Organization: The University of British Columbia
  7. Lines: 24
  8. Distribution: world
  9. Message-ID: <1ii3r8INNfea@iskut.ucs.ubc.ca>
  10. References: <1ih9vnINNbrf@transfer.stratus.com>             <21062@ucdavis.ucdavis.edu> <19930107.115224.653@almaden.ibm.com>
  11. NNTP-Posting-Host: physics.ubc.ca
  12.  
  13. KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) writes:
  14.  
  15. >In <21062@ucdavis.ucdavis.edu> James E. Lee writes:
  16. >>Also, does anyone know of a way to put something in the background
  17. >>and foreground on the fly without using PM windows (like fg & bg in
  18. >>UNIX)?
  19. >>
  20.  
  21. >I'm not sure what you mean by "on the fly" but you can use the START command
  22. >to kick off a background process via the /B option.  You can create an object
  23. >that starts a command processor, File Name of '*', and specify parameters like
  24. >"/C START /B prog.exe" to start the background session without calling up a
  25. >new window.
  26.  
  27. He means, if you already have a program running , can you detach it from
  28. the window, and later reattach it. In Unix if you have a program running
  29. in you window from the command line, you can detach it fromn the winsow
  30. by halting it ( with ctrl-Z) and then issuing a bg command to restart it
  31. in the background. fg will take a backgrond task and reattach it to the
  32. window. Obviously if the task does console IO you can't detach it and
  33. have it keep running- In Unix it halts waiting for you to reattach it.
  34. .
  35.  
  36.  
  37.